/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://pugsoftonline.com
Description: Child theme for Twenty Twenty-Five
Author: Puneet Kukreja
Author URI: https://pugsoftonline.com
Template: twentytwentyfive
Version: 1.0
*/
/* CHILD THEME TEST - Agar ye kaam kare toh CSS attached hai */
/* Nav Menu - Uppercase + Active/Hover */
/* Uppercase + spacing */
.wp-block-navigation-item__content {
    text-transform: uppercase;
    letter-spacing: .05em;
    position: relative;
    padding-bottom: 4px;
    transition: color .25s;
}

/* Underline base */
.wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #f97316;
    transition: width .25s;
}

/* Hover + Active color */
.wp-block-navigation-item:hover .wp-block-navigation-item__content,
.current-menu-item .wp-block-navigation-item__content {
    color: #f97316;
}

/* Underline expand on Hover + Active */
.wp-block-navigation-item:hover .wp-block-navigation-item__content::after,
.current-menu-item .wp-block-navigation-item__content::after {
    width: 100%;
}
/* Auto responsive table */
table {
    width: 100%;
    border-collapse: collapse;
}

td, th {
    word-break: break-word;
}

/* Mobile - scroll if needed */
.wp-block-table {
    overflow-x: auto;
    display: block;
}
/* Remove default underline */
.wp-block-navigation-item__content {
    text-decoration: none !important;
}
/* =============================================
   EPOXY FLOORS — Before / After Slider
   Child Theme: style.css mein paste karein
   ============================================= */

.epoxy-before-after-section {
  background-color: #0F0E0C;
  padding: 60px 20px 50px;
}

.epoxy-ba-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Slider Wrapper ---------- */
.epoxy-ba-slider-wrap {
  position: relative;
}

.epoxy-ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;       /* Adjust karo agar chahein */
  overflow: hidden;
  border-radius: 6px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* ---------- Images ---------- */
.epoxy-ba-after,
.epoxy-ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.epoxy-ba-after img,
.epoxy-ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 0;           /* slider ke border-radius se hi clip hota hai */
}

/* BEFORE image — clip-path JS se control hota hai */
.epoxy-ba-before {
  clip-path: inset(0 50% 0 0);   /* default 50% — JS overwrite karega */
  will-change: clip-path;
}

/* ---------- Labels ---------- */
.epoxy-ba-label {
  position: absolute;
  top: 16px;
  padding: 5px 14px;
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  pointer-events: none;
}

.epoxy-ba-label-before {
  left: 16px;
  background: rgba(26, 26, 26, 0.82);
  color: #e0e0e0;
  border: 1px solid rgba(255,255,255,0.12);
}

.epoxy-ba-label-after {
  right: 16px;
  background: #e8660a;
  color: #ffffff;
}

/* ---------- Divider Line ---------- */
.epoxy-ba-divider {
  position: absolute;
  top: 0;
  left: 50%;                  /* JS se update hoga */
  width: 3px;
  height: 100%;
  background: #e8660a;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  transition: background 0.2s;
}

.epoxy-ba-divider:hover {
  background: #ff8c2f;
}

/* ---------- Drag Handle ---------- */
.epoxy-ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8660a;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(232, 102, 10, 0.55);
  transition: transform 0.2s, background 0.2s;
}

.epoxy-ba-divider:hover .epoxy-ba-handle {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff8c2f;
}

.epoxy-ba-arrow {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  margin-top: -1px;
}

/* ---------- Hint Text ---------- */
.epoxy-ba-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .epoxy-before-after-section {
    padding: 40px 16px 36px;
  }

  .epoxy-ba-slider {
    aspect-ratio: 4 / 3;
  }

  .epoxy-ba-label {
    font-size: 11px;
    padding: 4px 10px;
    top: 10px;
  }

  .epoxy-ba-handle {
    width: 36px;
    height: 36px;
  }

  .epoxy-ba-arrow {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .epoxy-ba-slider {
    aspect-ratio: 1 / 1;
  }
}
/* End Before/After slider images on home page Effect */
/* =============================================
   Contact Form 7 — Fields + Submit Button Only
   Child Theme: style.css ke END mein paste karo
   ============================================= */

/* Labels */
.wpcf7 label {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* Input fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"] {
  width: 100%;
  background-color: #ffffff;
  color: #1a1a1a;
  border: none;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 16px;
}

/* Textarea */
.wpcf7 textarea {
  width: 100%;
  background-color: #ffffff;
  color: #1a1a1a;
  border: none;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  height: 150px;
  resize: vertical;
  margin-bottom: 16px;
}

/* Focus — dark glow (orange background pe visible) */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 textarea:focus {
  box-shadow: 0 0 0 2px #1a1a1a;
}

/* Submit button */
.wpcf7 input[type="submit"] {
  background-color: #ffffff;
  color: #1a1a1a;
  border: 2px solid #ffffff;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.25s, color 0.25s;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}
/* CF7 Placeholder styling */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #888;
  font-size: 14px;
  opacity: 1;
}

/* Placeholder disappear on focus */
.wpcf7 input:focus::placeholder,
.wpcf7 textarea:focus::placeholder {
  opacity: 0;
  transition: opacity 0.3s;
}
/* Input fields — rounded corners */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"] {
  border-radius: 6px;
}

/* Textarea — rounded corners */
.wpcf7 textarea {
  border-radius: 6px;
}

/* Submit button — rounded corners */
.wpcf7 input[type="submit"] {
  border-radius: 6px;
}
/* Home page pe orange title banner hide */
.home .has-accent-1-background-color.has-background {
    display: none !important;
}
/* =============================================
   Submenu Styling
   ============================================= */

/* Submenu container */
.wp-block-navigation__submenu-container {
    background-color: #1a1a1a !important;
    /*border-top: 3px solid #f97316 !important;*/
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    min-width: 220px !important;
    padding: 8px 0 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Submenu items */
.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: color 0.25s, background 0.25s !important;
}

/* Submenu hover */
.wp-block-navigation__submenu-container .wp-block-navigation-item:hover 
.wp-block-navigation-item__content {
    color: #f97316 !important;
    background-color: #2a2a2a !important;
}

/* Submenu arrow hide */
.wp-block-navigation-item__submenu-icon {
    color: #f97316 !important;
}