/* ============================================================
   BALARAM uPVC WINDOORS — MAIN STYLESHEET
   File: css/style.css
   COLOR SCHEME: Light Blue Professional
   ============================================================ */

/* ----------------------------------------
   CSS VARIABLES — change here to retheme
   ---------------------------------------- */
:root {
  --color-primary:       #1a7abf;
  --color-primary-dark:  #0e5c8a;
  --color-primary-light: #e8f4fd;
  --color-accent:        #0ea5e9;
  --color-accent-warm:   #f59e0b;
  --color-text:          #1e293b;
  --color-text-muted:    #64748b;
  --color-text-light:    #94a3b8;
  --color-bg:            #f8fbff;
  --color-bg-white:      #ffffff;
  --color-border:        #dbeafe;
  --color-border-mid:    #bfdbfe;
  --color-hero-bg:       #0c2d4e;
  --color-hero-mid:      #0e3f6e;
  --font-body:     'Inter', 'Segoe UI', Arial, sans-serif;
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  5rem;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(14,92,138,0.08);
  --shadow-md:  0 4px 16px rgba(14,92,138,0.12);
  --shadow-lg:  0 8px 32px rgba(14,92,138,0.18);
  --shadow-xl:  0 20px 60px rgba(14,92,138,0.22);
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ----------------------------------------
   RESET & BASE
   ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }

/* ----------------------------------------
   UTILITIES
   ---------------------------------------- */
.container    { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-xl); }
.section-pad  { padding: var(--space-3xl) 0; }
.text-center  { text-align: center; }
.text-muted   { color: var(--color-text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-hero-bg);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--color-primary-dark); border-color: #fff; }
.btn-white:hover { background: var(--color-primary-light); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo size — change height to resize */
.nav-logo img { height: 70px; width: auto; }

.nav-links { display: flex; align-items: center; gap: var(--space-xl); }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.nav-cta { margin-left: var(--space-md); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span { display: block; width: 26px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--transition); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 2px solid var(--color-border);
  padding: var(--space-md) var(--space-xl);
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--color-text); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }

/* ============================================================
   HERO SECTION
   To change bg image: replace url() path below
   To adjust darkness: change the 0.55 values
   ============================================================ */
#hero {
  padding-top: calc(var(--nav-height) + 20px);
  min-height: 100vh;
  /* REPLACE: change home1.jpg to your hero image filename */
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('../assets/images/hero/home4.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle overlay effects */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(14,165,233,0.1) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(26,122,191,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(14,165,233,0.2);
  border: 1px solid rgba(14,165,233,0.4);
  color: #7dd3fc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}
.hero-title span { color: var(--color-accent); }

.hero-desc {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num   { font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 0.8rem; color: #94c7e8; margin-top: 2px; }

/* Desktop hero — more top padding */
@media (min-width: 1024px) {
  #hero { padding-top: calc(var(--nav-height) + 60px); }
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services { background: var(--color-bg-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* ---- SERVICE CARD ----
   background-image is set inline in HTML per card.
   The ::after creates the dark tint overlay.
   z-index 1 on children puts text above the tint.
   ---- */
.service-card {
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Fallback colour shown when image is missing */
  background-color: var(--color-primary-light);
}

/* Dark gradient tint over the background image */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 40, 80, 0.88) 0%,
    rgba(10, 40, 80, 0.45) 55%,
    rgba(10, 40, 80, 0.15) 100%
  );
  z-index: 0;
}

/* All card children sit above the tint */
.service-card > * { position: relative; z-index: 1; }

.service-card .service-icon { color: #ffffff; margin-bottom: var(--space-md); width: 52px; height: 52px; }
.service-card h3 { color: #ffffff; font-size: 1.15rem; font-weight: 700; margin-bottom: var(--space-sm); }
.service-card p  { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.6; }

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
#gallery { background: var(--color-primary-light); }

.gallery-filters {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--color-border-mid);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-white);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--color-border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,45,78,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label { color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}
#lightbox.open { display: flex; }
#lightbox img  { max-height: 85vh; max-width: 90vw; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); }
#lightbox-close {
  position: absolute;
  top: var(--space-xl); right: var(--space-xl);
  background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer; padding: 8px;
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
#projects { background: var(--color-bg-white); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.project-card-img { aspect-ratio: 16/10; overflow: hidden; background-color: var(--color-primary-light); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.project-card:hover .project-card-img img { transform: scale(1.05); }

.project-card-body { padding: var(--space-lg); }
.project-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2rem 0.6rem; border-radius: 4px;
  margin-bottom: var(--space-sm);
}
.project-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--color-hero-bg); margin-bottom: var(--space-xs); }
.project-card-body p  { font-size: 0.88rem; color: var(--color-text-muted); }

/* ============================================================
   FREE QUOTE SECTION
   ============================================================ */
#quote {
  background: linear-gradient(135deg, var(--color-hero-bg), var(--color-hero-mid));
  position: relative;
  overflow: hidden;
}
#quote::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(14,165,233,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.quote-left h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: #fff; margin-bottom: var(--space-md); line-height: 1.2; }
.quote-left p  { color: #94c7e8; font-size: 1rem; margin-bottom: var(--space-xl); line-height: 1.7; }

.quote-perks { display: flex; flex-direction: column; gap: var(--space-md); }
.quote-perk  { display: flex; align-items: center; gap: var(--space-md); color: #cce7ff; font-size: 0.95rem; }
.quote-perk-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.quote-form-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}
.quote-form-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-hero-bg); margin-bottom: var(--space-xl); }

/* ============================================================
   SHARED FORM STYLES
   ============================================================ */
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-text); margin-bottom: var(--space-xs); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border-mid);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,122,191,0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.location-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

.form-message { display: none; padding: var(--space-md); border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; margin-top: var(--space-md); }
.form-message.success { display: block; background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-message.error   { display: block; background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
#reviews { background: var(--color-primary-light); }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.reviews-score-big { font-size: 4rem; font-weight: 900; color: var(--color-hero-bg); line-height: 1; }
.reviews-stars-row { display: flex; gap: 4px; margin: var(--space-xs) 0; }
.star              { color: var(--color-accent-warm); font-size: 1.3rem; }
.reviews-count     { font-size: 0.85rem; color: var(--color-text-muted); }

.reviews-track-wrap { overflow: hidden; position: relative; }
.reviews-track      { display: flex; gap: var(--space-lg); transition: transform 0.4s ease; }

.review-card {
  flex: 0 0 calc(33.333% - var(--space-md));
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.review-header  { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.review-avatar  { width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; }
.review-name    { font-weight: 700; color: var(--color-hero-bg); font-size: 0.95rem; }
.review-date    { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 2px; }
.review-stars   { display: flex; gap: 2px; margin-bottom: var(--space-sm); }
.review-text    { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; font-style: italic; }

.reviews-nav { display: flex; justify-content: center; gap: var(--space-md); margin-top: var(--space-xl); }
.reviews-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border-mid);
  background: var(--color-bg-white);
  color: var(--color-primary);
  font-size: 1.2rem; cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.reviews-nav button:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.review-form-wrap {
  max-width: 600px;
  margin: var(--space-2xl) auto 0;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.review-form-wrap h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-hero-bg); margin-bottom: var(--space-lg); }

.star-picker { display: flex; gap: 8px; margin-bottom: var(--space-md); font-size: 1.8rem; cursor: pointer; }
.star-picker span { color: #d1d5db; transition: color var(--transition); user-select: none; }
.star-picker span.lit { color: var(--color-accent-warm); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { background: var(--color-bg-white); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-3xl); align-items: start; }

.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--color-hero-bg); margin-bottom: var(--space-xl); }

.contact-item { display: flex; gap: var(--space-md); margin-bottom: var(--space-xl); align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; color: var(--color-primary);
}
.contact-item-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 2px; }
.contact-item-value { font-size: 0.95rem; font-weight: 500; color: var(--color-text); line-height: 1.5; }
.contact-item-value a { color: var(--color-primary); font-weight: 600; }

.social-links { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-xl); }
.social-link {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--color-text-muted);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-light); transform: translateY(-3px); }

.contact-map { border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-xl); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.contact-map iframe { width: 100%; height: 280px; border: none; display: block; }

.enquiry-form { background: var(--color-bg); border-radius: var(--radius-md); padding: var(--space-xl); border: 1px solid var(--color-border); }
.enquiry-form h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-hero-bg); margin-bottom: var(--space-lg); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--color-hero-bg); color: #94c7e8; padding: var(--space-3xl) 0 var(--space-xl); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: var(--space-md); color: #7db4d0; }
.footer-col h4  { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: var(--space-md); }
.footer-col ul  { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul a { font-size: 0.88rem; color: #7db4d0; transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-xl);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-md);
}
.footer-bottom p { font-size: 0.82rem; color: #5a8faa; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
#whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  overflow: hidden;
  max-width: 58px;
  white-space: nowrap;
}
#whatsapp-fab:hover { max-width: 220px; box-shadow: 0 6px 28px rgba(37,211,102,0.5); transform: scale(1.03); color: #fff; }
#whatsapp-fab img   { width: 34px; height: 34px; flex-shrink: 0; }
#whatsapp-fab span  { opacity: 0; transition: opacity 0.2s ease 0.1s; overflow: hidden; }
#whatsapp-fab:hover span { opacity: 1; }

#whatsapp-fab::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 100px;
  border: 2px solid #25D366;
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
#toast-container {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: 8500;
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.toast {
  background: var(--color-hero-bg);
  color: #fff;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--color-accent);
  animation: slideInRight 0.3s ease;
  max-width: 280px;
}
.toast.success { border-left-color: #34d399; }
.toast.error   { border-left-color: #f87171; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner      { grid-template-columns: 1fr; text-align: center; }
  .hero-actions    { justify-content: center; }
  .hero-stats      { justify-content: center; }
  .hero-desc       { margin: 0 auto var(--space-xl); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid    { grid-template-columns: repeat(3, 1fr); }
  .projects-grid   { grid-template-columns: repeat(2, 1fr); }
  .quote-inner     { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  .container     { padding: 0 var(--space-md); }
  .section-pad   { padding: var(--space-2xl) 0; }
  .nav-links     { display: none; }
  .nav-cta       { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .review-card   { flex: 0 0 calc(100% - var(--space-md)); }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #whatsapp-fab  { bottom: 20px; right: 20px; }
  .hero-stats    { flex-direction: column; gap: var(--space-md); }
  .hero-actions  { flex-direction: column; }
}

/* ============================================================
   REDUCED MOTION (accessibility)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
