/*
Theme Name: Shades of Blinds - Flanex Edition
Theme URI: https://shadesofblindsdecor.com
Author: Shades of Blinds
Description: Responsive luxury interior theme tailored for custom blinds & architectural wallpapers, inspired by Flanex Kit layout.
Version: 1.0.0
Text Domain: shades-of-blinds
*/

/* --- Global Variables & Colors --- */
:root {
  --primary-accent: #9A5B2B;       /* Flanex Warm Terracotta / Leather Brown */
  --primary-accent-hover: #834c21;
  --gold: #D4AF37;
  --dark-bg: #121213;
  --dark-surface: #1B1B1D;
  --dark-border: #2C2C30;
  --text-dark: #1F242E;
  --text-muted: #6C727F;
  --text-light: #F4F5F7;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: #FFFFFF;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================
   HEADER COMPONENT (Matches Exact Header Screenshot)
========================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #ECECEC;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-emblem-wrap {
  display: flex;
  align-items: center;
}

.brand-logo-frame {
  background: #000000;
  padding: 0.4rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.brand-logo-svg {
  height: 38px;
  width: auto;
}

.brand-logo-text {
  color: #D4AF37;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-top: 3px;
  text-transform: uppercase;
}

.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.site-nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1A1A1A;
  transition: var(--transition);
}

.site-nav-menu a:hover {
  color: var(--primary-accent);
}

.header-action-btn {
  background-color: var(--primary-accent);
  color: #FFFFFF !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.header-action-btn:hover {
  background-color: var(--primary-accent-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #1A1A1A;
  cursor: pointer;
}

/* ==========================================================
   HOMEPAGE BODY (Flanex Structure)
========================================================== */
.flanex-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: #111112 url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 5rem 1.5rem;
}

.flanex-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.75) 55%, rgba(10, 10, 10, 0.35) 100%);
  z-index: 1;
}

.flanex-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.hero-text-col {
  max-width: 680px;
}

.hero-pill-badge {
  display: inline-block;
  background: rgba(154, 91, 43, 0.2);
  color: var(--gold);
  border: 1px solid var(--primary-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.flanex-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.flanex-hero p {
  color: #D1D5DB;
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-solid-accent {
  background: var(--primary-accent);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  display: inline-block;
  transition: var(--transition);
}

.btn-solid-accent:hover {
  background: var(--primary-accent-hover);
}

.btn-outline-light {
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  display: inline-block;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Statistics Strip */
.flanex-counter-strip {
  background: #18181A;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 2.5rem 1.5rem;
}

.counter-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

.counter-label {
  color: #9CA3AF;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Section Common */
.section-wrapper {
  padding: 5.5rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--primary-accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

/* 4-Grid Cards */
.flanex-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.flanex-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.flanex-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-accent);
}

.flanex-card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.flanex-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flanex-card:hover .flanex-card-thumb img {
  transform: scale(1.05);
}

.card-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 18, 19, 0.85);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.flanex-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.flanex-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.flanex-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.flanex-card-btn {
  color: var(--primary-accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 3-Step Process (Flanex Style) */
.flanex-process-bg {
  background: #F9FAFB;
  border-top: 1px solid #ECECEC;
  border-bottom: 1px solid #ECECEC;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-item {
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  position: relative;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.process-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Lead Booking Box */
.flanex-cta-box {
  background: var(--dark-bg);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.cta-info h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.cta-info p {
  color: #9CA3AF;
  margin-bottom: 1.5rem;
}

.cta-perks {
  list-style: none;
}

.cta-perks li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-perks span {
  color: var(--gold);
  font-weight: bold;
}

.cta-form-panel {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-bottom: 0.4rem;
}

.form-group input, 
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #111112;
  border: 1px solid var(--dark-border);
  color: #FFFFFF;
  border-radius: 6px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-accent);
}

.btn-form-submit {
  width: 100%;
  background: var(--primary-accent);
  color: #FFFFFF;
  border: none;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  background: var(--primary-accent-hover);
}

/* ==========================================================
   FOOTER COMPONENT (Matches Exact Footer Screenshot)
========================================================== */
.site-footer {
  position: relative;
  background: #000000;
  color: #FFFFFF;
  overflow: hidden;
  padding-top: 4.5rem;
}

.footer-overlay-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.95) 100%), 
              url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  opacity: 0.28;
  z-index: 1;
}

.footer-main-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
}

.footer-brand-col {
  max-width: 480px;
}

.footer-brand-logo {
  margin-bottom: 1.5rem;
}

.footer-quote-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ECECEC;
  margin-bottom: 2rem;
  font-style: normal;
}

.footer-social-strip {
  display: flex;
  gap: 0.8rem;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition);
  font-size: 0.95rem;
}

.social-circle-btn:hover {
  background: var(--primary-accent);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
}

.footer-menu-links {
  list-style: none;
}

.footer-menu-links li {
  margin-bottom: 0.75rem;
}

.footer-menu-links a {
  color: #AEAEB2;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-menu-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
}

.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #AEAEB2;
  font-size: 0.88rem;
}

.footer-legal-links a {
  color: #AEAEB2;
  margin-left: 1.5rem;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Floating WhatsApp (Bottom-Right matching widget) */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25D366;
  color: #FFFFFF;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  transition: transform 0.2s ease;
}

.floating-whatsapp-widget:hover {
  transform: scale(1.1);
}

/* ==========================================================
   RESPONSIVE DESIGN (Desktop -> Tablet -> Mobile)
========================================================== */

/* Tablet (768px to 1024px) */
@media screen and (max-width: 1024px) {
  .site-nav-menu {
    gap: 1.2rem;
  }
  
  .flanex-hero h1 {
    font-size: 2.8rem;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flanex-collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .flanex-cta-box {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Mobile (< 768px) */
@media screen and (max-width: 767px) {
  .site-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    gap: 1rem;
    text-align: center;
  }

  .site-nav-menu.is-active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-action-btn {
    display: none; /* Keep clean on smaller phones */
  }

  .flanex-hero {
    padding: 4rem 1.2rem;
  }

  .flanex-hero h1 {
    font-size: 2.1rem;
  }

  .flanex-hero p {
    font-size: 1rem;
  }

  .hero-btn-group {
    flex-direction: column;
  }

  .hero-btn-group a {
    text-align: center;
    width: 100%;
  }

  .counter-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .flanex-collection-grid {
    grid-template-columns: 1fr;
  }

  .flanex-cta-box {
    padding: 1.5rem;
  }

  .cta-info h2 {
    font-size: 1.8rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal-links a {
    margin: 0 0.5rem;
  }
}