/* =========================================================
   Blinds 4 Less, Inc. — style.css
   Palette taken from the company logo (navy + silver/white)
   ========================================================= */

:root {
  --navy: #2b2869;          /* logo navy */
  --navy-deep: #18163f;     /* darker shade for backgrounds */
  --navy-soft: #4a46a0;     /* lighter accent / hover */
  --periwinkle: #8e8bd6;    /* highlight on dark */
  --silver: #c5c5c5;        /* logo "4" gray */
  --silver-dark: #8d8d96;
  --cloud: #f5f5fa;         /* light section background */
  --white: #ffffff;
  --ink: #1d1c33;
  --muted: #5d5c72;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 45px rgba(24, 22, 63, 0.18);
  --shadow-sm: 0 6px 18px rgba(24, 22, 63, 0.10);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 110px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  letter-spacing: .04em; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s, background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 22px rgba(43, 40, 105, .35); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--silver); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 600; color: var(--silver-dark); margin: 0 0 .8em;
}
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.6rem); color: var(--navy); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head::after {
  content: ""; display: block; width: 90px; height: 14px; margin: 18px auto 0;
  background: repeating-linear-gradient(to bottom, var(--silver) 0 3px, transparent 3px 5.5px);
}
.section-lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head.light .section-title, .section-head.light .section-lead { color: var(--white); }
.section-head.light .eyebrow { color: var(--periwinkle); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.0);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); --header-h: 70px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo {
  height: 52px; width: auto; background: var(--white);
  border-radius: 10px; padding: 4px 10px; mix-blend-mode: normal;
  transition: height .35s;
}
.site-header.scrolled .brand-logo { height: 44px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: var(--white); text-decoration: none; font-weight: 500; font-size: .9rem;
  position: relative; padding: 4px 0;
}
.site-header.scrolled .main-nav a { color: var(--navy); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--silver); transition: width .3s;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-link svg { width: 20px; height: 20px; fill: var(--white); transition: fill .3s, transform .3s; }
.site-header.scrolled .icon-link svg { fill: var(--navy); }
.icon-link:hover svg { transform: scale(1.15); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero / Slider ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  color: var(--white); padding: calc(var(--header-h) + 40px) 0 110px;
  background: var(--navy-deep);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(24,22,63,.92) 0%, rgba(43,40,105,.78) 45%, rgba(43,40,105,.35) 100%);
}
/* subtle horizontal "blind slats" texture */
.hero-slats {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background: repeating-linear-gradient(to bottom, #fff 0 2px, transparent 2px 26px);
}
.hero-content { position: relative; z-index: 2; max-width: 1180px; }
.hero-logo-card {
  display: inline-block; background: var(--white); border-radius: 16px;
  padding: 10px 18px; box-shadow: var(--shadow); margin-bottom: 26px;
}
.hero-logo-card img { height: 78px; width: auto; }
.hero .eyebrow { color: var(--silver); }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.4rem); margin-bottom: .25em; max-width: 13ch;
}
.hero-title em { font-style: italic; color: var(--silver); font-weight: 500; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 520px; color: rgba(255,255,255,.88); margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero-features { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 18px; }
.feature {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 18px 20px; backdrop-filter: blur(8px);
}
.feature h3 { font-size: .95rem; margin-bottom: .3em; color: var(--white); }
.feature p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.75); line-height: 1.5; }

/* floating bubble images */
.floating-img {
  position: absolute; z-index: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid rgba(255,255,255,.9); box-shadow: var(--shadow);
}
.floating-img img { width: 100%; height: 100%; object-fit: cover; }
.float-1 { width: 300px; height: 300px; right: 7%; top: 20%; animation: float 7s ease-in-out infinite; }
.float-2 { width: 200px; height: 200px; right: 26%; bottom: 13%; animation: float 8s ease-in-out -3s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(2deg); }
}

.slider-dots {
  position: absolute; z-index: 3; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.slider-dots button {
  width: 34px; height: 5px; border-radius: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background .3s, width .3s;
}
.slider-dots button.active { background: var(--white); width: 52px; }
.scroll-cue {
  position: absolute; z-index: 3; right: 32px; bottom: 26px; color: rgba(255,255,255,.7);
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}

/* ---------- About ---------- */
.about { background: var(--cloud); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-img-wrap { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; right: -24px; bottom: 40px; background: var(--navy); color: var(--white);
  border-radius: 50%; width: 150px; height: 150px; display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); border: 5px solid var(--white);
}
.about-badge strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.about-badge span { font-size: .72rem; letter-spacing: .05em; color: var(--silver); }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--navy); }
.about-stats { list-style: none; padding: 0; margin: 34px 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-stats li { background: var(--white); border-radius: 14px; padding: 18px; text-align: center; box-shadow: var(--shadow-sm); border-top: 3px solid var(--navy); }
.about-stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.about-stats span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--silver-dark); }
.about-note { font-size: .88rem; background: var(--white); border-left: 4px solid var(--silver); padding: 12px 16px; border-radius: 0 10px 10px 0; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid #ebebf3;
  transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .product-img img { transform: scale(1.07); }
.product-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); margin: .3em 0 .3em; }
.product-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.tag { align-self: flex-start; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--navy); background: #e9e9f6; padding: 4px 10px; border-radius: 999px; }
.text-link { font-weight: 600; font-size: .88rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.center-note { text-align: center; margin-top: 44px; color: var(--muted); }
.center-note a { font-weight: 600; }

/* ---------- Estimate ---------- */
.estimate {
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.03) 0 2px, transparent 2px 28px),
    linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: var(--white);
}
.estimate .section-head::after { background: repeating-linear-gradient(to bottom, var(--periwinkle) 0 3px, transparent 3px 5.5px); }
.estimate-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.estimate-card {
  border-radius: var(--radius); padding: 40px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
}
.estimate-card.primary { background: linear-gradient(140deg, var(--navy-soft), var(--navy)); border-color: rgba(255,255,255,.3); box-shadow: var(--shadow); }
.estimate-card h3 { font-family: var(--font-display); font-size: 2rem; }
.estimate-card p { color: rgba(255,255,255,.82); }
.pill-list { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { font-size: .75rem; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.estimate-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { text-align: center; font-size: .85rem; color: rgba(255,255,255,.75); }
.steps span {
  display: grid; place-content: center; width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 50%; border: 2px solid var(--silver); font-family: var(--font-display); font-size: 1.4rem; color: var(--white);
}
.steps strong { display: block; color: var(--white); font-size: 1rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--cloud); border-radius: var(--radius); padding: 32px; border-bottom: 4px solid var(--navy); transition: transform .3s; }
.review-card:hover { transform: translateY(-5px); }
.review-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.review-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.stars { color: #f2b01e; letter-spacing: .15em; margin-bottom: 10px; }
.pull-quote {
  margin: 56px auto 36px; max-width: 720px; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--navy);
}
.pull-quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-size: .85rem; color: var(--silver-dark); }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Visit ---------- */
.visit { background: var(--cloud); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.visit-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.visit-card h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); }
address { font-style: normal; color: var(--muted); margin-bottom: 8px; }
.visit-line a { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .9rem; }
.hours th, .hours td { padding: 9px 6px; border-bottom: 1px solid #ebebf3; text-align: left; }
.hours th { font-weight: 500; }
.hours td { text-align: right; color: var(--muted); }
.hours tr.today { background: #ececf8; }
.hours tr.today th, .hours tr.today td { color: var(--navy); font-weight: 700; }
.small-note { font-size: .8rem; color: var(--silver-dark); margin: 6px 0; }
.open-status { font-weight: 600; font-size: .9rem; margin: 10px 0 20px; }
.open-status.open { color: #1f8a4c; }
.open-status.closed { color: #b23b3b; }
.payments { margin: 26px 0; }
.payments h4 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--silver-dark); }
.payments ul { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.payments li { font-size: .78rem; padding: 5px 12px; border-radius: 8px; background: var(--cloud); border: 1px solid #e3e3ee; }
.social-row { display: flex; gap: 10px; }
.social-btn { flex: 1; text-align: center; padding: 12px; border-radius: 12px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 600; font-size: .85rem; transition: background .3s; }
.social-btn:hover { background: var(--navy-soft); }
.map-wrap { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 60px 0 40px; text-align: center; }
.footer-logo { height: 64px; width: auto; margin: 0 auto 18px; background: var(--white); border-radius: 10px; padding: 6px 12px; }
.footer-inner p { max-width: 520px; margin: 0 auto 18px; font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-bottom: 22px; }
.footer-nav a { color: var(--white); text-decoration: none; font-size: .88rem; }
.footer-nav a:hover { color: var(--silver); }
.copyright { font-size: .78rem; color: var(--silver-dark); }

.mobile-call { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .float-1 { width: 220px; height: 220px; right: 4%; }
  .float-2 { width: 150px; height: 150px; right: 18%; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 0 0 auto auto; top: 0; height: 100vh; width: min(300px, 80vw);
    flex-direction: column; gap: 6px; padding: 100px 30px 30px; background: var(--white);
    box-shadow: var(--shadow); transform: translateX(100%); transition: transform .35s;
  }
  .main-nav.open { transform: none; }
  .main-nav a { color: var(--navy); font-size: 1.05rem; padding: 10px 0; }
  .nav-toggle { display: block; position: relative; z-index: 101; }
  .nav-toggle.open span { background: var(--navy); }
  .header-actions .btn-sm { display: none; }
  .about-grid, .estimate-grid, .visit-grid { grid-template-columns: 1fr; }
  .about-badge { right: 10px; }
  .review-grid { grid-template-columns: 1fr; }
  .floating-img { border-width: 4px; }
  .float-1 { width: 170px; height: 170px; right: 4%; top: 16%; }
  .float-2 { width: 110px; height: 110px; right: 6%; top: auto; bottom: 9%; }
  .hero-features { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .brand-logo { height: 42px; }
  .hero-logo-card img { height: 56px; }
  .hero-features { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .estimate-card, .visit-card { padding: 28px 22px; }
  .scroll-cue { display: none; }
  .floating-img { border-width: 3px; opacity: .9; }
  .float-1 { width: 110px; height: 110px; right: 14px; top: calc(var(--header-h) + 18px); }
  .float-2 { width: 76px; height: 76px; right: 20px; bottom: 70px; }
  .mobile-call {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 90;
    background: var(--navy); color: var(--white); text-align: center; padding: 14px; border-radius: 999px;
    text-decoration: none; font-weight: 600; box-shadow: var(--shadow);
  }
  .site-footer { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: opacity .6s ease; transform: none !important; }
  .floating-img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
