/* ============================================
   FAWLUX - TAILORING WEBSITE CSS
   Organized with OCD perfection
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #0a0a0a;
  --card: #111;
  --text: #e9e9e9;
  --muted: #bdbdbd;
  --gold: #d4af37;
  --accent: var(--gold);
  --link: #e8d27e;
  --maxw: 1100px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* White Theme Variables */
[data-theme="white"] {
  --bg: #ffffff;
  --card: #f8f8f8;
  --text: #1a1a1a;
  --muted: #666666;
  --gold: #1a1a1a;
  --accent: #1a1a1a;
  --link: #333333;
  --shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* ===== RESET & BASE STYLES ===== */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #1d1d1d;
  transition: all 0.3s ease;
}
[data-theme="white"] .site-header {
  background: rgba(255,255,255,.75);
  border-bottom-color: #e0e0e0;
}

/* Centered Header Layout */
.nav-wrapper {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 14px 0;
}
.brand {
  grid-column: 2 !important;
  justify-self: center !important;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: .5px;
}
.header-controls {
  grid-column: 3 !important;
  justify-self: end !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center;
}

/* Enhanced Brand Text */
.brand-text {
  font-family: "Playfair Display", serif;
  font-weight: 900 !important;
  font-size: 1.8rem !important;
  letter-spacing: 4px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.3s var(--ease);
}
[data-theme="white"] .brand-text { text-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.brand:hover .brand-text {
  transform: scale(1.03);
  text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

/* Theme Switcher */
.theme-switcher {
  width: 42px;
  height: 42px;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  background: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}
[data-theme="white"] .theme-switcher {
  background: #f0f0f0;
  border-color: #ccc;
}
.theme-switcher:hover { transform: scale(1.05); border-color: var(--accent); }
.theme-icon { transition: all 0.3s var(--ease); position: absolute; }
.theme-icon.moon { opacity: 0; transform: rotate(-90deg); }
.theme-icon.sun { opacity: 1; transform: rotate(0); }
[data-theme="white"] .theme-icon.moon { opacity: 1; transform: rotate(0); }
[data-theme="white"] .theme-icon.sun { opacity: 0; transform: rotate(90deg); }

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.05); }
[data-theme="white"] .nav-links a:hover { background: rgba(0,0,0,.05); }

/* Mobile Navigation */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  background: #121212;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
[data-theme="white"] .hamburger {
  background: #f0f0f0;
  border-color: #ccc;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #eaeaea;
  transition: all 0.3s ease;
}
[data-theme="white"] .hamburger span { background: #333; }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 20px;
    flex-direction: column;
    background: var(--card);
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 12px;
    display: none;
    box-shadow: var(--shadow);
  }
  [data-theme="white"] .nav-links { border-color: #e0e0e0; }
  .nav-links.open { display: flex; }
  .brand-text {
    font-size: 1.5rem !important;
    letter-spacing: 3px !important;
  }
}
@media (max-width: 480px) {
  .brand-text {
    font-size: 1.3rem !important;
    letter-spacing: 2px !important;
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(212,175,55,.15), transparent 60%), 
              linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 84px 0 64px;
  border-bottom: 1px solid #141414;
  transition: all 0.3s ease;
}
[data-theme="white"] .hero {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(0,0,0,.05), transparent 60%), 
              linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
  border-bottom-color: #e0e0e0;
}
.hero-inner h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 12px;
}
.hero-inner .accent { color: var(--accent); }
.lead {
  color: var(--muted);
  max-width: 720px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

/* Page Hero (Gallery, Contact) */
.page-hero {
  padding: 56px 0 24px;
  border-bottom: 1px solid #141414;
  background: linear-gradient(180deg, #0b0b0b, #0a0a0a);
  transition: all 0.3s ease;
}
[data-theme="white"] .page-hero {
  background: linear-gradient(180deg, #f5f5f5, #ffffff);
  border-bottom-color: #e0e0e0;
}
.page-hero h1 { margin: 0 0 8px; }

/* ===== BUTTON STYLES ===== */
.btn-cta, .btn-ghost {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}

/* Colored Buttons (.btn-cta) */
.btn-cta {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}
[data-theme="white"] .btn-cta {
  background-color: #000000 !important;
  border-color: #000000 !important;
}
[data-theme="white"] .btn-cta:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Ghost Buttons (.btn-ghost) */
.btn-ghost {
  background-color: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--muted) !important;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: #1a1a1a !important;
}
[data-theme="white"] .btn-ghost { border-color: #ccc !important; }
[data-theme="white"] .btn-ghost:hover { background: #f0f0f0 !important; }

/* Full Width CTA */
.btn-cta.full { display: block; text-align: center; margin-top: 12px; }

/* ===== CONTENT SECTIONS ===== */
/* About Section */
.about.container { padding: 56px 20px; }
.about.container h2,
.about.container p,
.about.container .pill-list {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

/* Pill List */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.pill-list li {
  border: 1px solid #2a2a2a;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ddd;
  transition: all 0.3s ease;
}
[data-theme="white"] .pill-list li {
  border-color: #ccc;
  color: #666;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 56px;
}
.feature-grid article {
  background: var(--card);
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
[data-theme="white"] .feature-grid article { border-color: #e0e0e0; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* CTA Band */
.cta-band {
  background: linear-gradient(90deg, rgba(212,175,55,.06), transparent 60%);
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  transition: all 0.3s ease;
}
[data-theme="white"] .cta-band {
  background: linear-gradient(90deg, rgba(0,0,0,.03), transparent 60%);
  border-color: #e0e0e0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 20px;
}
@media (max-width: 620px) {
  .cta-band .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===== GALLERY ===== */
.gallery-grid {
  padding: 26px 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  background: var(--card);
  border: 1px solid #1c1c1c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
[data-theme="white"] .gallery-grid figure { border-color: #e0e0e0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption {
  padding: 10px 12px;
  color: #c7c7c7;
  font-size: .95rem;
  border-top: 1px solid #1b1b1b;
  transition: all 0.3s ease;
}
[data-theme="white"] .gallery-grid figcaption {
  color: #666;
  border-top-color: #e0e0e0;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: block; }
.contact-top-row {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-form-card { width: 100%; }
.contact-card {
  background: var(--card);
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
[data-theme="white"] .contact-card { border-color: #e0e0e0; }

/* Contact Map */
.map-wrap {
  margin-top: 10px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #1a1a1a;
  transition: all 0.3s ease;
}
[data-theme="white"] .map-wrap { border-color: #ccc; }
.map-wrap iframe { width: 100%; height: 300px; border: 0; }

/* Contact List */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.contact-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

/* Contact Form */
.contact-form { display: grid; gap: 10px; margin-top: 8px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #2b2b2b;
  background: var(--card);
  color: var(--text);
  transition: all 0.3s ease;
}
[data-theme="white"] .contact-form input,
[data-theme="white"] .contact-form textarea,
[data-theme="white"] .contact-form select {
  border-color: #ccc;
  background: var(--card);
}
.contact-form button { border: 0; }
.form-note {
  color: #a9a9a9;
  font-size: .95rem;
  margin-top: 8px;
  transition: all 0.3s ease;
}
[data-theme="white"] .form-note { color: #888; }

/* Google Business */
.google-business {
  padding: 1.5rem;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  margin-top: 1rem;
  border: 1px solid #2a2a2a;
  transition: all 0.3s ease;
}
[data-theme="white"] .google-business { border-color: #e0e0e0; }
.google-business h3 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Business Hours */
.business-hours {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid #2a2a2a;
  margin-top: 1rem;
  transition: all 0.3s ease;
}
[data-theme="white"] .business-hours { border-color: #e0e0e0; }
.business-hours h4 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #2a2a2a;
  color: var(--muted);
  transition: all 0.3s ease;
}
[data-theme="white"] .hours-list li { border-bottom-color: #e0e0e0; }
.hours-list li:last-child { border-bottom: none; }
.hours-list .closed { color: #ff6b6b; }
[data-theme="white"] .hours-list .closed { color: #e74c3c; }

@media (max-width: 860px) { .contact-top-row { grid-template-columns: 1fr; } }

/* ===== PORTFOLIO HIGHLIGHTS ===== */
.portfolio-highlights {
  padding: 5rem 20px;
  background: linear-gradient(180deg, #0c0c0c 0%, var(--bg) 100%);
  transition: all 0.3s ease;
}
[data-theme="white"] .portfolio-highlights {
  background: linear-gradient(180deg, #f0f0f0 0%, var(--bg) 100%);
}
.portfolio-highlights h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 2.5rem;
  font-weight: 700;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}
.portfolio-section {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #2a2a2a;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
[data-theme="white"] .portfolio-section { border-color: #e0e0e0; }
.section-header h3 {
  color: var(--text);
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Portfolio Slider */
.portfolio-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid #2a2a2a;
  transition: all 0.3s ease;
}
[data-theme="white"] .portfolio-slider { border-color: #e0e0e0; }
.portfolio-slide { display: none; }
.portfolio-slide.active { display: block; }
.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.portfolio-slide.active .portfolio-image img { transform: scale(1.02); }
.portfolio-info { padding: 1.5rem; }
.portfolio-info h4 {
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.portfolio-info p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Slider Controls */
.slider-controls {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 15px;
  padding: 10px 0;
}
.slider-arrow {
  width: 40px;
  height: 40px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
  position: static;
  transform: none;
}
.slider-arrow:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.1);
}
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.dot.active { background: var(--accent); transform: scale(1.2); }
.dot:hover { background: var(--accent); transform: scale(1.1); }

/* ===== TESTIMONIALS ===== */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 50px;
}
.testimonial-slide { display: none; animation: fadeIn 0.8s ease; }
.testimonial-slide.active { display: block; }
.testimonial-card {
  background: var(--card);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}
.stars {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--muted);
  font-size: 1.1rem;
  position: relative;
  padding: 0 1rem;
}
.client {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}

/* Testimonials Navigation */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.testimonial-arrow:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}
.prev-testimonial { left: 0; }
.next-testimonial { right: 0; }

/* Testimonials Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}
.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.testimonial-dot.active { background: var(--accent); transform: scale(1.2); }
.testimonial-dot:hover { background: var(--accent); transform: scale(1.1); }

/* ===== STATISTICS COUNTER ===== */
.stats-section {
  padding: 5rem 20px;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  transition: all 0.3s ease;
}
[data-theme="white"] .stats-section {
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  border-color: #e0e0e0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}
.stat-item { padding: 2rem 1rem; }
.stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.stat-label {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid #161616;
  background: #0b0b0b;
  margin-top: 10px;
  transition: all 0.3s ease;
}
[data-theme="white"] .site-footer {
  background: #f8f8f8;
  border-top-color: #e0e0e0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
}
.foot-brand {
  text-decoration: none;
  color: inherit;
}
.foot-brand:hover { text-decoration: none; }
.foot-brand .brand-line { font-weight: 800; }
.foot-brand .tagline { color: var(--muted); }
.foot-links { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-social { display: flex; gap: 12px; }
.icon {
  width: 22px;
  height: 22px;
  fill: var(--text);
  opacity: .9;
  transition: all 0.3s ease;
}
.copyright {
  text-align: center;
  color: #a0a0a0;
  border-top: 1px solid #161616;
  padding: 12px 0;
  font-size: .95rem;
  transition: all 0.3s ease;
}
[data-theme="white"] .copyright {
  color: #888;
  border-top-color: #e0e0e0;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* ===== FLOATING ELEMENTS ===== */
/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s var(--ease);
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  animation: none;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
  transition: all 0.3s var(--ease);
  z-index: 100;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212,175,55,0.4);
}
[data-theme="white"] .back-to-top {
  background-color: #000000 !important;
  color: #ffffff !important;
}
[data-theme="white"] .back-to-top:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}
.back-to-top.show { display: flex; }

/* ===== LOADING SPINNER ===== */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-spinner.hidden {
  opacity: 0;
  visibility: hidden;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(212,175,55,0.3);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
.loading-spinner p {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HELPER CLASSES ===== */
.note { padding-bottom: 56px; }
.inline-cta { font-weight: 700; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
  }
  .testimonials-slider { padding: 0 40px; }
  .testimonial-card { padding: 2rem 1.5rem; }
  .portfolio-section { padding: 1.5rem; }
  .stats-section { padding: 3rem 20px; }
  .stat-number { font-size: 3rem; }
}

@media (max-width: 480px) {
  .testimonials-slider { padding: 0 35px; }
  .testimonial-card { padding: 1.5rem 1rem; }
  .portfolio-info { padding: 1rem; }
}