/* ===== CORE FIXES ===== */
body.page-id-1585 .site-header,
body.page-id-1585 header.site-header { display: none !important; }

body.page-id-1585 { margin-top: 0 !important; padding-top: 0 !important; }
body.page-id-1585 .site-main,
body.page-id-1585 #content,
body.page-id-1585 .entry-content { padding: 0 !important; margin: 0 !important; }

/* Make hero description text even more visible */
.hero-desc {
  color: rgba(242, 237, 228, 0.95) !important;
}

/* ===== REMOVE ALL GAPS ===== */
section, .sec, .reveal { margin: 0 !important; }
.entry-content p,
.entry-content > * { margin: 0 !important; padding: 0 !important; }

/* ===== REVEAL FIX ===== */
.reveal { opacity: 1 !important; transform: none !important; visibility: visible !important; }

/* ===== HERO ===== */
@keyframes rise { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
.hero { min-height:100vh !important; }

.hero-tag,.hero-h1,.hero-tagline,.hero-desc,.hero-btns,.hero-badge { opacity:1 !important; }
.admin-bar 

/* ===== GOLD BAR ===== */
.gold-bar { display:block !important; background:#C09A50 !important; height:52px !important; overflow:hidden !important; }
.gold-bar-inner { display:flex !important; align-items:center !important; justify-content:center !important; height:52px !important; }
.gb-track { display:flex !important; align-items:center !important; justify-content:center !important; white-space:nowrap !important; width:100% !important; }
.gb-item { display:inline-flex !important; align-items:center !important; gap:10px !important; padding:0 12px !important; }
.gb-txt { font-size:9.5px !important; letter-spacing:.26em !important; text-transform:uppercase !important; color:#08070A !important; font-weight:500 !important; }

/* ===== NAME STORY ===== */
.name-story { display:grid !important; grid-template-columns:1fr 1fr !important; gap:0 !important; margin:0 !important; padding:0 !important; align-items:stretch !important; }
.ns-left { padding:96px 64px 96px 52px !important; margin:0 !important; }
.ns-right { padding:96px 52px 96px 64px !important; margin:0 !important; }

/* ===== MOBILE ===== */
@media (max-width:768px) {
  
  .nav-links { display:none !important; }
  
  
  .hero-badge { bottom:20px !important; right:20px !important; }
  .sec { padding:60px 24px !important; }
  .name-story,.des-layout,.inst-layout,.ps-grid,.tf-layout,.specs-layout,.contact-sec { grid-template-columns:1fr !important; }
  .ns-left,.ns-right { padding:52px 24px !important; }
  .door-grid,.glass-grid { grid-template-columns:1fr !important; }
  .door-item.featured { grid-column:span 1 !important; }
  .proc-steps { grid-template-columns:1fr 1fr !important; }
  .proc-steps::before { display:none !important; }
  .cf-row { grid-template-columns:1fr !important; }
}
@media (max-width:480px) {
  
  .hero-btns { flex-direction:column !important; }
  .btn-gold,.btn-outline { width:100% !important; text-align:center !important; }
  .proc-steps { grid-template-columns:1fr !important; }
}

/* Fix name-story equal height columns */
.name-story {
  align-items: start !important;
}

/* Remove top padding from ps-sec - it looks like a gap */
.ps-sec {
  padding-top: 56px !important;
}

/* Also the name-story right col background extends too far */
.ns-right {
  background: var(--ink3) !important;
  min-height: 100% !important;
}

/* Fix the visual gap between sections */
.sec.name-story + .sec.ps-sec {
  margin-top: 0 !important;
}

/* Clean up empty WordPress spacing blocks safely */
.entry-content p:empty, 
article p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fix apex exclusive bar */
.apex-exclusive-bar {
  display: block !important;
  background: var(--ink2) !important;
  text-align: center !important;
  padding: 14px !important;
  border-bottom: 1px solid rgba(192,154,80,.1) !important;
}

.aeb-txt {
  font-family: 'Cormorant', Georgia, serif !important;
  font-size: 28px !important;
  color: var(--gold) !important;
  letter-spacing: .18em !important;
  font-style: italic !important;
  display: block !important;
}

/* Fix contact section */
.contact-sec {
  background: var(--gold) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  padding: 80px 52px !important;
  align-items: start !important;
}

.cs-left {
  padding-right: 52px !important;
  color: var(--ink) !important;
}

.cs-right {
  background: var(--ink2) !important;
  padding: 36px !important;
}

/* Fix designer section black gap */
.des-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  margin-top: 56px !important;
}

/* Fix form fields full width */
.cf-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-sec {
    grid-template-columns: 1fr !important;
    padding: 52px 24px !important;
  }
  .cf-row {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile fixes */
@media (max-width: 768px) {
  
  .nav-links { display: none !important; }
  

  
  
  
  .hero-desc { font-size: 13.5px !important; max-width: 100% !important; }
  .hero-badge { bottom: 20px !important; right: 20px !important; }
  .hero-btns { flex-wrap: wrap !important; }

  .sec { padding: 60px 24px !important; }
  .sec-h2 { font-size: clamp(28px,7vw,44px) !important; }

  .name-story { grid-template-columns: 1fr !important; }
  .ns-left, .ns-right { padding: 52px 24px !important; }

  .ps-grid { grid-template-columns: 1fr !important; }
  .ps-col { padding: 36px 24px !important; }

  .tf-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
  .tf-img img { height: 280px !important; }

  .inst-layout { grid-template-columns: 1fr !important; }
  .inst-img { height: 320px !important; }

  .door-grid { grid-template-columns: 1fr !important; }
  .door-item { height: 280px !important; }
  .door-item.featured { grid-column: span 1 !important; height: 360px !important; }

  .glass-grid { grid-template-columns: 1fr !important; }
  .glass-item { height: 280px !important; }

  .specs-layout { grid-template-columns: 1fr !important; }

  .proc-steps { grid-template-columns: 1fr 1fr !important; }
  .proc-steps::before { display: none !important; }

  .des-layout { grid-template-columns: 1fr !important; }
  .des-left, .des-right { padding: 48px 24px !important; }

  .contact-sec { grid-template-columns: 1fr !important; padding: 52px 24px !important; }
  .cf-row { grid-template-columns: 1fr !important; }
  .cs-left { padding-right: 0 !important; }
}

@media (max-width: 480px) {
  
  .hero-btns { flex-direction: column !important; }
  .btn-gold, .btn-outline { width: 100% !important; text-align: center !important; }
  .proc-steps { grid-template-columns: 1fr !important; }
  
}

/* Fix footer layout */
.site-footer,
footer,
.footer {
  padding: 60px 52px !important;
}

/* Fix footer columns */
.footer-inner,
.footer-grid,
.ft-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr !important;
  gap: 48px !important;
  padding: 0 !important;
}

/* Fix footer links spacing */
.ft-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.ft-links a {
  font-size: 13px !important;
  letter-spacing: .12em !important;
  line-height: 1.4 !important;
}

/* Fix footer left column */
.ft-brand {
  padding-left: 0 !important;
}

/* Mobile footer */
@media (max-width: 768px) {
  .footer-inner,
  .footer-grid,
  .ft-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .site-footer, footer, .footer {
    padding: 48px 24px !important;
  }
}



/* Fix glass gallery gaps on mobile */
@media (max-width: 768px) {
  .glass-gallery-sec {
    padding: 60px 24px !important;
  }
  
  .glass-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .glass-item {
    width: 100% !important;
    height: 420px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .glass-item.wide {
    width: 100% !important;
    height: 420px !important;
    grid-column: unset !important;
    display: block !important;
    margin: 0 !important;
  }
  
  .glass-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Fix specs table on mobile */
  .specs-layout { 
    grid-template-columns: 1fr !important; 
  }
  
  .spec-table { 
    overflow-x: auto !important; 
    display: block !important;
    width: 100% !important;
  }
  
  .st-header, .st-row { 
    grid-template-columns: 1.2fr 0.9fr 0.9fr !important;
    font-size: 11px !important;
  }
}

/* Fix footer link spacing - aggressive targeting */
footer a,
.ft-grid a,
footer li,
.ft-links a,
.ft-link {
  display: block !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Remove gap between footer link items */
footer ul,
.ft-links,
footer ol {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Make footer columns narrower */
.ft-grid {
  grid-template-columns: 1.8fr 0.7fr 0.8fr !important;
  align-items: start !important;
}
/* FORCE footer fix */
.ft-grid {
  grid-template-columns: 2.2fr 0.7fr 0.8fr !important;
  gap: 32px !important;
}

.ft-col a {
  margin-bottom: 4px !important;
  padding: 0 !important;
}

.ft-col h5 {
  margin-bottom: 10px !important;
}
.ft-col a {
  margin-bottom: 4px !important;
}



/* Fix nav position */
body.page-id-1585 
.admin-bar body.page-id-1585 

/* Restore cursor */
body.page-id-1585 * { cursor: auto !important; }
body.page-id-1585 a, body.page-id-1585 button { cursor: pointer !important; }


@media (max-width: 768px) {
  
  .nav-links { display: none !important; }
  
  
  .hero-badge { bottom: 20px !important; right: 20px !important; }
  .sec { padding: 60px 24px !important; }
  .name-story, .des-layout, .inst-layout { grid-template-columns: 1fr !important; }
  .ps-grid { grid-template-columns: 1fr !important; }
  .tf-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
  .door-grid, .glass-grid { grid-template-columns: 1fr !important; }
  .door-item.featured { grid-column: span 1 !important; }
  .specs-layout { grid-template-columns: 1fr !important; }
  .proc-steps { grid-template-columns: 1fr 1fr !important; }
  .proc-steps::before { display: none !important; }
  .contact-sec { grid-template-columns: 1fr !important; padding: 60px 24px !important; }
  .cf-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  
  .hero-btns { flex-direction: column !important; }
  .btn-gold, .btn-outline { width: 100% !important; text-align: center !important; }
  .proc-steps { grid-template-columns: 1fr !important; }
}


button.wp-block-search__button.wp-element-button {
    background-color: #f36613;
    color: #fff;
}
.page-content {
    margin-bottom: 50px;
}
.wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}

/* BRIGHTEN ALL IMAGES ON THE SITE */
img {
    filter: brightness(120%) !important;
    contrast: 110% !important;
}

/* FORCE HIDE THE BREADCRUMBS AND WHITE BAR */
.ast-breadcrumbs-wrapper, .breadcrumbs, .page-header, .entry-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Final fix to match the image height perfectly */
.elementor-element-15e3b5e {
    width: 42% !important;
    max-width: 500px;
    margin-left: auto !important;
    margin-right: 6% !important;
    display: flex !important;
    align-items: center !important; /* Centers the box vertically */
}

/* Brighten the banner and remove unwanted dark overlays */
.wp-block-cover, .banner-section { 
    filter: brightness(1.1) contrast(1.05);
}
.wp-block-cover__background {
    opacity: 0 !important; /* Removes the default dark tint */
}


.elementor-element-d391f17 .elementor-widget-container {
    padding: 30px 45px !important; /* Reduced from 60px to 30px to shrink the height */
    background-color: #000000;
    border: 1px solid #c59d5f;
    min-height: 520px; /* This helps match the visual weight of the door image */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.elementor-element-d391f17 h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    letter-spacing: 3px !important;
    font-size: 13px !important;
    text-transform: uppercase;
}

/* Adjust for mobile so it doesn't stay small */
@media (max-width: 767px) {
    .elementor-element-15e3b5e {
        width: 100% !important;
        margin-right: 0 !important;
    }
    .elementor-element-d391f17 .elementor-widget-container {
        min-height: auto; /* Lets it grow on mobile for text */
    }
}
/* --- ULTIMATE FIX FOR SECTION 2 --- */

/* 1. Kill the giant black background bar */
.aluminium-door-section {
    background-color: transparent !important;
}

/* 2. Fix the row alignment */
.aluminium-door-section .container .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

/* 3. Force the Text Column to be the Black Square */
.aluminium-door-section .col-md-6:first-of-type {
    background-color: #000000 !important;
    padding: 40px 45px !important;
    border: 1px solid #c59d5f !important;
    width: 42% !important;
    max-width: 500px;
    min-height: 520px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    margin-left: 5% !important;
    margin-right: 0 !important;
}

/* 4. Remove the white dots/bullets and add gold dashes */
.aluminium-door-section ul {
    list-style: none !important;
    padding: 0 !important;
}

.aluminium-door-section li {
    color: #ffffff !important;
    font-size: 15px !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-left: 20px !important;
}

.aluminium-door-section li::before {
    content: "—" !important;
    color: #c59d5f !important;
    position: absolute;
    left: 0;
}



/* Fix: Iberi Every Door Is a Canvas gallery gap on wide screens */
.door-grid {
  grid-auto-flow: dense;
  align-items: stretch;
}
