/* ===================================================================
   BOYACIM TİCARET — Full-Page Room Painting Experience
   =================================================================== */

/* ---------- RESET & FOUNDATION ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; overflow-x: hidden; }

/* ---------- CSS VARIABLES — LIGHT THEME ---------- */
:root {
  --color-primary: #4A7C59;
  --color-primary-dark: #3a6347;
  --color-primary-light: #6aad7a;
  --color-text: #1a1a2e;
  --color-text-secondary: #555;
  --color-bg: #f8f6f1;
  --color-bg-alt: #f0ece4;
  --color-surface: rgba(255, 255, 255, 0.88);
  --color-surface-solid: #ffffff;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-shadow: rgba(0, 0, 0, 0.06);
  --header-height: 64px;

  /* Room colors */
  --room-wall-base: #e8e0d0;
  --room-wall-base-dark: #d5cbb8;
  --room-floor: #a0895c;
  --room-floor-dark: #8a7550;
  --room-molding: #d4cbb5;
  --room-ceiling-base: #ece6da;

  /* Paint colors for each wall */
  --paint-left: #4A90D9;
  --paint-center: #E27D60;
  --paint-right: #5BB55B;
  --paint-ceiling: #F5E6C8;

  /* Content section glass */
  --section-glass: rgba(255, 255, 255, 0.82);
  --section-glass-border: rgba(255, 255, 255, 0.5);
  --section-glass-shadow: rgba(0, 0, 0, 0.08);
}

/* ---------- DARK THEME ---------- */
[data-theme="dark"] {
  --color-primary: #6aad7a;
  --color-primary-dark: #5a9a6a;
  --color-primary-light: #83c490;
  --color-text: #e8e6e3;
  --color-text-secondary: #aaa;
  --color-bg: #1a1a2e;
  --color-bg-alt: #16213e;
  --color-surface: rgba(30, 30, 50, 0.88);
  --color-surface-solid: #1e1e32;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-shadow: rgba(0, 0, 0, 0.2);

  --room-wall-base: #2a2a3e;
  --room-wall-base-dark: #222236;
  --room-floor: #3a3a50;
  --room-floor-dark: #2e2e44;
  --room-molding: #353548;
  --room-ceiling-base: #2e2e42;

  --paint-left: #3670a8;
  --paint-center: #b8624a;
  --paint-right: #458a45;
  --paint-ceiling: #c4b896;

  --section-glass: rgba(26, 26, 46, 0.85);
  --section-glass-border: rgba(255, 255, 255, 0.06);
  --section-glass-shadow: rgba(0, 0, 0, 0.3);
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   FIXED ROOM BACKGROUND
   =================================================================== */
.room-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* --- Center/Back wall (full background) --- */
.room-wall-center {
  position: absolute;
  inset: 0;
}
.room-wall-center .room-wall-base {
  position: absolute;
  inset: 0;
  background: var(--room-wall-base);
  /* Subtle texture */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.015) 0%, transparent 50%);
}
.room-wall-center .room-wall-paint {
  position: absolute;
  inset: 0;
  background-color: var(--paint-center);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  will-change: clip-path;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.22));
}

/* --- Left wall panel --- */
.room-wall-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(50px, 8vw, 120px);
  z-index: 2;
}
.room-wall-left .room-wall-base {
  position: absolute;
  inset: 0;
  background: var(--room-wall-base-dark);
  background-image: linear-gradient(to right, rgba(0,0,0,0.06), transparent);
}
.room-wall-left .room-wall-paint {
  position: absolute;
  inset: 0;
  background-color: var(--paint-left);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  will-change: clip-path;
  filter: drop-shadow(0px 4px 5px rgba(0,0,0,0.20));
}
.room-wall-left .room-wall-baseboard {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--room-molding);
  border-top: 2px solid rgba(0,0,0,0.08);
  z-index: 3;
}

/* --- Right wall panel --- */
.room-wall-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: clamp(50px, 8vw, 120px);
  z-index: 2;
}
.room-wall-right .room-wall-base {
  position: absolute;
  inset: 0;
  background: var(--room-wall-base-dark);
  background-image: linear-gradient(to left, rgba(0,0,0,0.06), transparent);
}
.room-wall-right .room-wall-paint {
  position: absolute;
  inset: 0;
  background-color: var(--paint-right);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  will-change: clip-path;
  filter: drop-shadow(0px 4px 5px rgba(0,0,0,0.20));
}
.room-wall-right .room-wall-baseboard {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--room-molding);
  border-top: 2px solid rgba(0,0,0,0.08);
  z-index: 3;
}

/* --- Ceiling --- */
.room-ceiling {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(30px, 5vh, 60px);
  z-index: 2;
}
.room-ceiling-base {
  position: absolute;
  inset: 0;
  background: var(--room-ceiling-base);
}
.room-ceiling-paint {
  position: absolute;
  inset: 0;
  background-color: var(--paint-ceiling);
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  will-change: clip-path;
  filter: drop-shadow(4px 0px 5px rgba(0,0,0,0.15));
}

/* --- Roller texture overlay for all paint surfaces --- */
.room-wall-paint::before,
.room-ceiling-paint::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Vertical roller streaks for walls */
.room-wall-paint::before {
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(255,255,255,0.06) 1px,
      transparent 2px,
      transparent 5px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(0,0,0,0.035) 0.5px,
      transparent 1.5px,
      transparent 11px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(255,255,255,0.025) 2px,
      transparent 4px,
      transparent 18px
    );
}

/* Horizontal roller streaks for ceiling */
.room-ceiling-paint::before {
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(255,255,255,0.06) 1px,
      transparent 2px,
      transparent 5px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(0,0,0,0.035) 0.5px,
      transparent 1.5px,
      transparent 11px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(255,255,255,0.025) 2px,
      transparent 4px,
      transparent 18px
    );
}

/* Wet paint sheen gradient overlay */
.room-wall-paint::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07) 0%,
    transparent 15%,
    transparent 80%,
    rgba(255,255,255,0.04) 90%,
    rgba(0,0,0,0.06) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.room-ceiling-paint::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06) 0%,
    transparent 15%,
    transparent 80%,
    rgba(255,255,255,0.03) 90%,
    rgba(0,0,0,0.05) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* --- Floor --- */
.room-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--room-floor);
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(0,0,0,0.06) 60px,
      rgba(0,0,0,0.06) 62px
    );
  z-index: 2;
  border-top: 3px solid var(--room-floor-dark);
}

/* --- Crown molding (top) --- */
.room-molding-top {
  position: absolute;
  top: clamp(28px, 4.8vh, 58px);
  left: 0;
  right: 0;
  height: 6px;
  background: var(--room-molding);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  z-index: 3;
}

/* --- Baseboard (bottom) --- */
.room-molding-bottom {
  position: absolute;
  bottom: 38px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--room-molding);
  border-top: 2px solid rgba(0,0,0,0.06);
  z-index: 3;
}

/* --- Decorative elements --- */
.room-deco { position: absolute; z-index: 4; }

/* Windows — two symmetric windows centered on the page */
.room-window {
  top: clamp(70px, 15vh, 170px);
}
.room-window-left {
  right: calc(50% + 60px);
  left: auto;
}
.room-window-right {
  left: calc(50% + 60px);
}
.window-frame {
  width: clamp(70px, 10vw, 130px);
  height: clamp(80px, 14vh, 160px);
  border: 4px solid var(--room-molding);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.1);
}
.window-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 60%, #98D8C8 100%);
}
[data-theme="dark"] .window-glass {
  background: linear-gradient(180deg, #1a1a3e 0%, #2a2a4e 60%, #1e3a4e 100%);
}
.window-sky {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 15%;
  right: 20%;
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}
[data-theme="dark"] .window-sky {
  background: #FFD700;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 15px rgba(255,215,0,0.4);
}
.window-cross-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--room-molding);
  transform: translateX(-50%);
}
.window-cross-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--room-molding);
  transform: translateY(-50%);
}
.window-sill {
  width: calc(100% + 16px);
  height: 8px;
  background: var(--room-molding);
  margin-left: -8px;
  margin-top: 2px;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Door (left-center area) */
.room-door {
  left: calc(50% - 220px);
  right: auto;
  bottom: 48px;
}
.door-frame {
  width: clamp(50px, 7vw, 90px);
  height: clamp(100px, 22vh, 200px);
  border: 4px solid var(--room-molding);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
  position: relative;
  background: var(--room-wall-base);
}
.door-panel {
  position: absolute;
  inset: 4px;
  bottom: 0;
  background: linear-gradient(180deg, #b8a88a, #a89878);
  border-radius: 1px;
}
[data-theme="dark"] .door-panel {
  background: linear-gradient(180deg, #3a3a50, #2e2e44);
}
.door-handle {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 14px;
  background: #c4a54a;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Picture frames */
.room-frame {
  pointer-events: none;
}
.room-frame-1 {
  left: clamp(58px, 10vw, 140px);
  bottom: clamp(100px, 28vh, 260px);
}
.room-frame-2 {
  right: clamp(58px, 10vw, 140px);
  top: clamp(60px, 14vh, 160px);
}
.frame-border {
  width: clamp(44px, 6vw, 72px);
  height: clamp(36px, 5vw, 60px);
  border: 3px solid var(--room-molding);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--room-wall-base);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.frame-inner {
  font-size: clamp(16px, 2.5vw, 28px);
  opacity: 0.7;
}

/* Shelf on left wall */
.room-shelf {
  left: 4px;
  top: 40%;
  width: clamp(40px, 6vw, 90px);
}
.shelf-board {
  width: 100%;
  height: 4px;
  background: var(--room-molding);
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.shelf-item {
  position: absolute;
  bottom: 4px;
  font-size: clamp(12px, 2vw, 20px);
}
.shelf-plant { left: 4px; }
.shelf-book { right: 4px; }

/* Clock on right wall */
.room-clock {
  right: 4px;
  top: 30%;
  width: clamp(28px, 4vw, 50px);
  text-align: center;
}
.clock-face {
  font-size: clamp(18px, 3vw, 36px);
}

/* Lamp */
.room-lamp {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
}
.lamp-cord {
  width: 2px;
  height: clamp(12px, 3vh, 30px);
  background: #888;
  margin: 0 auto;
}
.lamp-shade {
  width: clamp(20px, 4vw, 40px);
  height: clamp(12px, 2vh, 22px);
  background: linear-gradient(180deg, #f5e6c8, #e8d5b0);
  border-radius: 0 0 50% 50%;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(245, 230, 200, 0.3);
}
[data-theme="dark"] .lamp-shade {
  background: linear-gradient(180deg, #555, #444);
  box-shadow: 0 4px 16px rgba(255,200,100,0.15);
}

/* Paint splashes container */
.paint-splashes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.paint-splash {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: splashIn 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes splashIn {
  0% { transform: scale(0); opacity: 0.8; }
  60% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(1); opacity: 0; }
}

/* Paint particles (drips) */
.paint-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.paint-drip {
  position: absolute;
  width: 3px;
  border-radius: 0 0 3px 3px;
  opacity: 0;
  animation: dripDown 1.5s ease-in forwards;
}
@keyframes dripDown {
  0% { opacity: 0.7; transform: scaleY(0); }
  40% { opacity: 0.5; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1) translateY(20px); }
}


/* ===================================================================
   PAINT PROGRESS INDICATOR (Fixed right side)
   =================================================================== */
.paint-progress {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.paint-progress.visible { opacity: 1; }

.paint-progress-track {
  width: 4px;
  height: 80px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
[data-theme="dark"] .paint-progress-track {
  background: rgba(255,255,255,0.1);
}
.paint-progress-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: height 0.1s ease;
}
.paint-progress-label {
  font-size: 20px;
  line-height: 1;
}

/* ===================================================================
   HEADER
   =================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: var(--section-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 2px 12px var(--color-shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
  overflow: visible;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(0,0,0,0.06); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(255,255,255,0.1); }
.theme-icon { display: none; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: block; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-icon { font-size: 24px; line-height: 1; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--color-primary);
  background: rgba(74, 124, 89, 0.08);
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Lang switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--color-bg-alt);
  border-radius: 6px;
  padding: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--color-primary);
  color: #fff;
}

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================================================
   MAIN CONTENT — sits above the room background
   =================================================================== */
.main-content {
  position: relative;
  z-index: 1;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 60px;
  position: relative;
}
.hero-inner {
  text-align: center;
  max-width: 700px;
}
.hero-content {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 48px 40px;
  box-shadow: none;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-scroll-hint {
  font-size: 13px;
  color: var(--color-text-secondary);
  opacity: 0.7;
  animation: bounceHint 2s ease-in-out infinite;
}
@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ===================================================================
   CONTENT SECTIONS — Glass morphism over room background
   =================================================================== */
.trust, .services, .areas, .gallery, .contact {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

/* Glass card wrapper for each section's container */
.trust > .container,
.services > .container,
.areas > .container,
.gallery > .container,
.contact > .container {
  background: var(--section-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--section-glass-border);
  border-radius: 20px;
  padding: 48px 32px;
  box-shadow: 0 8px 32px var(--section-glass-shadow);
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Section fade-in animation */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   TRUST SECTION
   =================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.trust-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
[data-theme="dark"] .trust-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--color-primary);
}
.trust-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ===================================================================
   SERVICES SECTION
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 28px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
[data-theme="dark"] .service-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(74, 124, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary);
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===================================================================
   AREAS SECTION
   =================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.area-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
[data-theme="dark"] .area-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
.area-card:hover { transform: translateY(-2px); }
.area-pin { color: var(--color-primary); flex-shrink: 0; }
.area-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}
.areas-note {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ===================================================================
   GALLERY SECTION
   =================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
[data-theme="dark"] .gallery-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
.gallery-item:hover { transform: translateY(-4px); }
/* Gallery: single image layout */
.gallery-single { height: 220px; overflow: hidden; }
.gallery-single-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-single-img:hover { transform: scale(1.05); }

/* ===================================================================
   LIGHTBOX MODAL
   =================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Lightbox mobile */
@media (max-width: 600px) {
  .lightbox-img {
    max-width: 95vw;
    max-height: 80vh;
    border-radius: 8px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

.gallery-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  opacity: 0.8;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-mobile-note {
  background: rgba(74, 124, 89, 0.08);
  padding: 16px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  text-align: left;
  max-width: 100%;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contact-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.04);
}
[data-theme="dark"] .contact-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--color-primary);
}
.contact-icon-whatsapp { color: #25D366; background: rgba(37,211,102,0.1); }
.contact-icon-instagram { color: #E1306C; background: rgba(225,48,108,0.1); }
.contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.contact-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.contact-link:hover { text-decoration: underline; }
.contact-hint {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--section-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
}
.footer-brand p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 13px;
}
.footer-contact a:hover { color: var(--color-primary); }
.footer-copy p {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ===================================================================
   FLOATING SOCIAL BUTTONS
   =================================================================== */
.float-buttons {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.whatsapp-float,
.instagram-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.whatsapp-float {
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.instagram-float {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 4px 16px rgba(214,36,159,0.35);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}
.instagram-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(214,36,159,0.45);
}
.whatsapp-float-text,
.instagram-float-text {
  position: absolute;
  left: 64px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover .whatsapp-float-text,
.instagram-float:hover .instagram-float-text { opacity: 1; }
[data-theme="dark"] .whatsapp-float-text,
[data-theme="dark"] .instagram-float-text { background: #2a2a3e; color: #e8e6e3; }

/* Mobile: always show labels */
@media (max-width: 600px) {
  .float-buttons {
    bottom: 16px;
    left: 16px;
    gap: 10px;
  }
  .whatsapp-float,
  .instagram-float {
    width: auto;
    height: auto;
    border-radius: 50px;
    padding: 12px 18px;
    gap: 8px;
  }
  .whatsapp-float-text,
  .instagram-float-text {
    position: static;
    background: none;
    color: #fff;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
  }
  .whatsapp-float:hover .whatsapp-float-text,
  .instagram-float:hover .instagram-float-text { opacity: 1; }
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

/* Tablet */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--section-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    gap: 4px;
  }
  .nav.open .nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
  }
  .mobile-menu-btn { display: flex; }
  .header-phone-text { display: none; }
  .logo-text { font-size: 15px; }

  /* Room side walls thinner on tablet */
  .room-wall-left, .room-wall-right { width: clamp(35px, 6vw, 70px); }

  /* Decorative elements adjust */
  .room-window-left { right: calc(50% + 40px); left: auto; }
  .room-window-right { left: calc(50% + 40px); }
  .room-door { left: calc(50% - 180px); right: auto; }
  .room-frame-1 { left: clamp(42px, 7.5vw, 85px); }
  .room-frame-2 { right: clamp(42px, 7.5vw, 85px); }
}

/* Mobile */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* Room side walls very thin on mobile */
  .room-wall-left, .room-wall-right { width: clamp(20px, 4vw, 40px); }
  .room-ceiling { height: clamp(20px, 3vh, 40px); }
  .room-molding-top { top: clamp(18px, 2.8vh, 38px); }
  .room-floor { height: 30px; }
  .room-molding-bottom { bottom: 28px; height: 6px; }

  /* Hide some decorative elements on mobile */
  .room-shelf, .room-clock, .room-frame, .room-lamp { display: none; }
  .room-window-left {
    right: calc(50% + 30px);
    left: auto;
    top: clamp(55px, 12vh, 120px);
  }
  .room-window-right {
    left: calc(50% + 30px);
    top: clamp(55px, 12vh, 120px);
  }
  .window-frame {
    width: clamp(50px, 14vw, 80px);
    height: clamp(55px, 16vh, 90px);
  }
  .room-door {
    left: calc(50% - 140px);
    right: auto;
  }
  .door-frame {
    width: clamp(35px, 10vw, 60px);
    height: clamp(70px, 18vh, 130px);
  }

  .hero { min-height: 100vh; min-height: 100dvh; padding-top: calc(var(--header-height) + 20px); padding-bottom: 40px; }
  .hero-content { padding: 32px 20px; border-radius: 18px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-lg { width: 100%; justify-content: center; padding: 16px 20px; font-size: 15px; }

  .trust > .container,
  .services > .container,
  .areas > .container,
  .gallery > .container,
  .contact > .container {
    padding: 32px 16px;
    border-radius: 16px;
  }
  .trust, .services, .areas, .gallery, .contact { padding: 40px 0; }

  .trust-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-contact a { font-size: 14px; padding: 6px 0; }

  /* Gallery single image taller on mobile for better visibility */
  .gallery-single { height: 200px; }

  /* Section subtitle mobile */
  .section-subtitle { font-size: 14px; margin-bottom: 28px; }
  .section-title { font-size: 1.4rem; }

  /* Contact mobile note better spacing */
  .contact-mobile-note { font-size: 14px; line-height: 1.6; margin-bottom: 24px !important; }

  /* Safe area for bottom fixed elements */
  .float-buttons { bottom: max(16px, env(safe-area-inset-bottom, 16px)); }

  .paint-progress { right: 8px; }
  .paint-progress-track { height: 50px; }

  .lang-switcher { gap: 1px; }
  .lang-btn { padding: 5px 8px; font-size: 11px; min-width: 32px; min-height: 32px; }

  /* Ensure touch targets are at least 44px */
  .nav.open .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .header-phone {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Contact cards: wider tap area */
  .contact-link {
    display: inline-block;
    padding: 8px 4px;
    min-height: 44px;
    line-height: 28px;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .hero-title { font-size: 1.4rem; }
  .btn-lg { padding: 14px 18px; font-size: 14px; }
  .room-wall-left, .room-wall-right { width: 15px; }
  .room-window, .room-door { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: 13px; }
  .header-inner { gap: 6px; }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .room-wall-paint, .room-ceiling-paint {
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   SEO CONTENT BLOCK
   =================================================================== */
.seo-content {
  margin-top: 40px;
  padding: 28px 24px;
  background: rgba(74, 124, 89, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(74, 124, 89, 0.08);
}
.seo-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.seo-content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}
[data-theme="dark"] .seo-content {
  background: rgba(106, 173, 122, 0.06);
  border-color: rgba(106, 173, 122, 0.1);
}

/* ===================================================================
   FOOTER LINKS (SEO)
   =================================================================== */
.footer-links {
  width: 100%;
  text-align: center;
  padding-top: 12px;
}
.footer-seo {
  font-size: 11px;
  color: var(--color-text-secondary);
  opacity: 0.6;
  letter-spacing: 0.3px;
}

/* ===================================================================
   PULSE ANIMATION FOR CTA BUTTONS
   =================================================================== */
.btn-whatsapp {
  animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,0.3); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.5); }
}

