/* Smart360 — Quiet Luxury Edition */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@200;300;400;500;600&display=swap');

:root {
  /* Luxury Palette */
  --navy: #0B1426;
  --navy-mid: #111D32;
  --navy-light: #1A2940;
  --gold: #C9A96E;
  --gold-light: #D4BA85;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --gold-glow: rgba(201, 169, 110, 0.25);
  --cream: #F5F0E8;
  --cream-dark: #E8E0D4;
  --white: #FFFFFF;
  --text-primary: #F5F0E8;
  --text-secondary: rgba(245, 240, 232, 0.7);
  --text-muted: rgba(245, 240, 232, 0.45);
  --text-dark: #1a1a1a;
  --text-dark-secondary: #555;
  --border: rgba(201, 169, 110, 0.12);
  --border-hover: rgba(201, 169, 110, 0.4);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.6s;
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* === SCROLL PROGRESS === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.4rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 20, 38, 0.6);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.5s var(--ease-smooth);
}

.navbar.scrolled {
  padding: 0.9rem 3.5rem;
  background: rgba(11, 20, 38, 0.92);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo span { color: var(--gold); font-weight: 600; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.4s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: border-color 0.3s;
}
.nav-toggle:hover { border-color: var(--gold); }

/* Country Switcher */
.country-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.country-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.country-current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
}
.country-current:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.country-dropdown {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  background: rgba(11, 20, 38, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.35s var(--ease-out);
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.country-switcher:hover .country-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.country-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.25s;
}
.country-option:hover {
  background: var(--gold-dim);
  color: var(--gold);
}
.country-option.active {
  color: var(--gold);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero--image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 20, 38, 0.5) 0%,
    rgba(11, 20, 38, 0.4) 40%,
    rgba(11, 20, 38, 0.7) 70%,
    rgba(11, 20, 38, 0.95) 100%
  );
  z-index: 1;
}
.hero--image .hero-content { position: relative; z-index: 2; }

.hero-content {
  max-width: 700px;
  animation: heroReveal 1.4s var(--ease-out) forwards;
  opacity: 0;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero h1 strong {
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.9;
  font-weight: 300;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.5s var(--ease-smooth);
  cursor: pointer;
  border: none;
  position: relative;
}

.btn-primary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 0 var(--gold-glow);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--gold-glow);
}
.btn-primary:active {
  transform: translateY(0);
}

/* === SECTIONS === */
section {
  padding: var(--space-xl) var(--space-md);
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.section-title span {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* Elegant decorative line */
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 1.2rem auto 0;
  opacity: 0.5;
}

/* === ABOUT === */
.about {
  background: transparent;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.about-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-content p {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.about-content p:last-child { margin-bottom: 0; }

/* === GALLERY === */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}
.gallery-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: all 0.8s var(--ease-out);
  opacity: 0.6;
  filter: saturate(0.6) brightness(0.8);
}
.gallery-strip img:hover {
  opacity: 1;
  filter: saturate(1) brightness(1);
  transform: scale(1.03);
}

/* === SERVICES === */
.services {
  background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease-smooth);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(201, 169, 110, 0.08);
  pointer-events: none;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--gold-dim);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: all 0.6s var(--ease-out);
  filter: saturate(0.7);
}
.service-card:hover .service-card-img {
  opacity: 0.9;
  filter: saturate(0.9);
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.8rem 1.5rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* === VALUES === */
.values {
  background: transparent;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease-smooth);
  position: relative;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.6s var(--ease-out);
}
.value-item:hover::before { width: 80%; }

.value-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}
.value-item h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-family: var(--font-display);
}
.value-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* === TESTIMONIALS === */
.testimonials {
  background: transparent;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 2.2rem;
  background: var(--cream);
  border: none;
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}
.testimonial-card::after {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.testimonial-card p {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 400;
  font-style: italic;
}
.testimonial-author {
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-dark-secondary);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.04em;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
}

/* === CONTACT === */
.contact {
  text-align: center;
}

.contact-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all 0.5s var(--ease-smooth);
}
.contact-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-dim);
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: var(--text-muted);
  text-align: center;
  padding: var(--space-md);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border);
}

/* === RESPONSIVE === */

/* Large tablet / small desktop */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .testimonials-grid { gap: 1.4rem; }
  .hero h1 { font-size: 3.5rem; }
  .navbar { padding: 1.2rem 2rem; }
  .navbar.scrolled { padding: 0.8rem 2rem; }
  section { padding: var(--space-xl) 2rem; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 20, 38, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 0.85rem; letter-spacing: 0.08em; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }

  .country-switcher { order: -1; }
  .country-label { display: none; }
  .country-dropdown { right: auto; left: 0; }

  .hero {
    min-height: 75vh;
    padding: 7rem 1.5rem 4rem;
    background-attachment: scroll;
  }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1rem; max-width: 100%; }

  section { padding: var(--space-lg) 1.5rem; }
  .section-title { font-size: 2.2rem; }
  .section-subtitle { font-size: 0.82rem; margin-bottom: var(--space-md); }

  .gallery-strip img { height: 180px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .service-card-img { height: 140px; }
  .service-card-body { padding: 1.4rem 1.1rem; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.8rem; }

  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .value-item { padding: 2rem 1.2rem; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .testimonial-card { padding: 1.8rem; }

  .contact-links { gap: 1rem; }
  .contact-link { padding: 0.8rem 1.5rem; font-size: 0.8rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .navbar { padding: 0.8rem 1rem; }
  .navbar.scrolled { padding: 0.6rem 1rem; }
  .nav-logo { font-size: 0.95rem; letter-spacing: 0.15em; }

  .hero {
    min-height: 65vh;
    padding: 6rem 1.2rem 3rem;
  }
  .hero h1 { font-size: 2rem; margin-bottom: 1rem; }
  .hero h1 strong { display: block; }
  .hero p { font-size: 0.88rem; margin-bottom: 2rem; line-height: 1.8; }
  .btn { padding: 0.8rem 2rem; font-size: 0.7rem; letter-spacing: 0.14em; }

  section { padding: 3rem 1rem; }
  .section-title { font-size: 1.7rem; }
  .section-title::after { width: 35px; margin-top: 0.8rem; }
  .section-subtitle { font-size: 0.8rem; margin-bottom: 1.5rem; }

  .about-content p { font-size: 0.92rem; line-height: 1.8; }

  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-strip img { height: 220px; }

  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { border-radius: var(--radius-md); }
  .service-card-img { height: 180px; }
  .service-card-body { padding: 1.5rem 1.2rem; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.82rem; }

  .values-grid { grid-template-columns: 1fr; gap: 1rem; }
  .value-item { padding: 2rem 1.5rem; border-radius: var(--radius-md); }
  .value-item h3 { font-size: 1rem; }
  .value-item p { font-size: 0.82rem; }

  .testimonial-card { padding: 1.5rem; border-radius: var(--radius-md); }
  .testimonial-card p { font-size: 0.88rem; }

  .contact-links { flex-direction: column; align-items: center; }
  .contact-link { width: 100%; max-width: 240px; justify-content: center; }

  .footer { padding: 1.5rem 1rem; font-size: 0.65rem; }
}
