/* ============================================================
   Blue Legacy Studio - Main Stylesheet
   A premium nail salon experience
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Reset & Custom Properties
   ------------------------------------------------------------ */

:root {
  /* Color Palette */
  --color-primary: #1a3a6b;
  --color-primary-dark: #122a4f;
  --color-primary-light: #2a5298;
  --color-primary-rgb: 26, 58, 107;
  --color-secondary: #0a0a0a;
  --color-white: #ffffff;
  --color-offwhite: #f8f9fa;
  --color-silver: #c0c0c0;
  --color-silver-light: #e8e8e8;
  --color-light-blue: #e8f0fe;
  --color-hover-blue: #2a5298;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #e0e0e0;
  --color-success: #25D366;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1a3a6b 0%, #0a0a0a 100%);
  --gradient-blue: linear-gradient(135deg, #1a3a6b 0%, #2a5298 100%);
  --gradient-accent: linear-gradient(90deg, #1a3a6b, #2a5298);
  --gradient-glass: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-blue: 0 4px 20px rgba(26, 58, 107, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
  --mobile-nav-height: 64px;
}

/* Box-sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ------------------------------------------------------------
   2. General Styles
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-secondary);
}

h1 {
  font-size: var(--fs-4xl);
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-2xl);
}

h4 {
  font-size: var(--fs-xl);
}

h5 {
  font-size: var(--fs-lg);
}

h6 {
  font-size: var(--fs-md);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  line-height: 1.7;
}

a:hover {
  color: var(--color-primary);
}

/* Selection */
::selection {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-offwhite);
}

::-webkit-scrollbar-thumb {
  background: var(--color-silver);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ------------------------------------------------------------
   3. Navbar
   ------------------------------------------------------------ */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 0;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.nav-logo .logo-sub {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

/* CTA Button in Nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-base);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

/* Hamburger Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-secondary);
  transition: all var(--transition-base);
  position: absolute;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(2) {
  transform: translateY(0);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

/* Hamburger active state - animate to X */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}

/* Mobile Nav Slide-in */
.nav-menu {
  display: none;
}

.nav-menu.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: var(--shadow-xl);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  flex-direction: column;
  gap: var(--space-sm);
  transition: right var(--transition-base);
  z-index: 999;
  overflow-y: auto;
}

.nav-menu.mobile-menu.open {
  right: 0;
}

.nav-menu.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-silver-light);
  transition: all var(--transition-fast);
}

.nav-menu.mobile-menu a:hover,
.nav-menu.mobile-menu a.active {
  color: var(--color-primary);
  padding-left: var(--space-sm);
}

.nav-menu.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: var(--space-md);
  border-bottom: none;
  padding: 14px 24px;
}

/* Nav overlay for mobile */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
}

/* ------------------------------------------------------------
   4. Mobile Bottom Nav
   ------------------------------------------------------------ */

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: var(--mobile-nav-height);
  padding: var(--space-xs) 0;
  border-top: 1px solid var(--color-silver-light);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  transition: color var(--transition-fast);
  position: relative;
  flex: 1;
}

.mobile-nav-item i,
.mobile-nav-item svg {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.mobile-nav-item span {
  font-size: 0.625rem;
  letter-spacing: 0.3px;
}

.mobile-nav-item.active {
  color: var(--color-primary);
}

.mobile-nav-item:hover {
  color: var(--color-primary);
}

/* Center Book button */
.mobile-nav-item.book-btn {
  position: relative;
}

.mobile-nav-item.book-btn::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: var(--gradient-blue);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(26, 58, 107, 0.35);
  z-index: -1;
  transition: transform var(--transition-spring);
}

.mobile-nav-item.book-btn i,
.mobile-nav-item.book-btn svg {
  color: var(--color-white);
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
  margin-top: -10px;
}

.mobile-nav-item.book-btn span {
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 6px;
}

.mobile-nav-item.book-btn:hover::before {
  transform: translateX(-50%) scale(1.08);
}

/* ------------------------------------------------------------
   5. Hero Section
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-primary);
  overflow: hidden;
  padding: var(--space-3xl) var(--space-lg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(42, 82, 152, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(42, 82, 152, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero .tagline {
  font-size: var(--fs-md);
  color: var(--color-silver);
  margin-bottom: var(--space-2xl);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.6;
}

.hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 40px;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: var(--fs-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.hero .hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
  color: var(--color-primary-dark);
}

/* Decorative floating elements */
.hero-decoration {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.1;
  pointer-events: none;
}

.hero-decoration--1 {
  width: 300px;
  height: 300px;
  border: 2px solid var(--color-white);
  top: 10%;
  right: -5%;
  animation: float 6s ease-in-out infinite;
}

.hero-decoration--2 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  bottom: 15%;
  left: -3%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-decoration--3 {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  top: 30%;
  left: 10%;
  animation: float 5s ease-in-out infinite 1s;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
}

/* ------------------------------------------------------------
   6. Section Styles
   ------------------------------------------------------------ */

.section {
  padding: 80px 0;
}

.section--offwhite {
  background-color: var(--color-offwhite);
}

.section--dark {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-silver);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  text-align: center;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  max-width: 600px;
  margin: var(--space-md) auto var(--space-3xl);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   7. Service Cards
   ------------------------------------------------------------ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-silver-light);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  font-size: var(--fs-xl);
  transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
  background: var(--gradient-blue);
  color: var(--color-white);
}

.service-card-name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-secondary);
}

.service-card-description {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-silver-light);
  margin-bottom: var(--space-md);
}

.service-card-duration {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.service-card-price {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-primary);
}

.service-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* ------------------------------------------------------------
   8. About Section
   ------------------------------------------------------------ */

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(26, 58, 107, 0.15), transparent);
  pointer-events: none;
}

.about-content h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-lg);
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.about-content p {
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text);
  font-weight: 500;
}

.about-feature i,
.about-feature svg {
  color: var(--color-primary);
  font-size: var(--fs-md);
}

/* ------------------------------------------------------------
   9. Testimonials
   ------------------------------------------------------------ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-silver-light);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-card .quote-icon {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-light-blue);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}

.testimonial-card .quote-icon i {
  color: var(--color-primary);
  opacity: 0.15;
  font-size: 3rem;
}

.testimonial-text {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-secondary);
  font-size: var(--fs-sm);
}

.testimonial-service {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.testimonial-stars {
  color: #f5a623;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  display: flex;
  gap: 2px;
}

/* ------------------------------------------------------------
   10. Gallery Grid
   ------------------------------------------------------------ */

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

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-light-blue), var(--color-silver-light));
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 58, 107, 0.6) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  color: var(--color-white);
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item-overlay h4 {
  color: var(--color-white);
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* Placeholder gradient backgrounds for gallery */
.gallery-item--placeholder-1 {
  background: linear-gradient(135deg, #dbe9f9, #c0d4ed);
}

.gallery-item--placeholder-2 {
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.gallery-item--placeholder-3 {
  background: linear-gradient(135deg, #f0e6f6, #e0d0ea);
}

.gallery-item--placeholder-4 {
  background: linear-gradient(135deg, #e6f0f0, #d0e4e4);
}

.gallery-item--placeholder-5 {
  background: linear-gradient(135deg, #f9e8e8, #ecd0d0);
}

.gallery-item--placeholder-6 {
  background: linear-gradient(135deg, #f5f0e0, #e8dcc0);
}

/* ------------------------------------------------------------
   11. Contact Page
   ------------------------------------------------------------ */

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

.contact-form {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-silver-light);
}

.contact-form h3 {
  margin-bottom: var(--space-xl);
  font-size: var(--fs-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.contact-info-text p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: 0;
}

.contact-info-text a {
  color: var(--color-primary);
}

.contact-info-text a:hover {
  text-decoration: underline;
}

/* WhatsApp Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-base);
  transition: all var(--transition-base);
  margin-top: var(--space-md);
}

.btn-whatsapp:hover {
  background-color: #1fb855;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp i,
.btn-whatsapp svg {
  font-size: var(--fs-lg);
}

/* Contact Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-top: var(--space-xl);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ------------------------------------------------------------
   12. Page Header
   ------------------------------------------------------------ */

.page-header {
  background: var(--gradient-blue);
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(42, 82, 152, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--color-white);
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
}

.breadcrumb a,
.breadcrumb span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb .separator {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: var(--color-white);
  font-weight: 500;
}

/* ------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------ */

.footer {
  background-color: var(--color-secondary);
  color: var(--color-silver);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-about p {
  font-size: var(--fs-sm);
  color: var(--color-silver);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-silver);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: var(--fs-sm);
  color: var(--color-silver);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-col ul li a:hover {
  color: var(--color-white);
  padding-left: var(--space-xs);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--color-silver);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: calc(var(--mobile-nav-height) + 16px);
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--fs-xl);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 800;
  transition: all var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background-color: #25D366;
  animation: whatsappPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ------------------------------------------------------------
   14. Buttons
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-sm {
  padding: 8px 20px;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--fs-base);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-offwhite);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ------------------------------------------------------------
   15. Form Inputs
   ------------------------------------------------------------ */

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: var(--fs-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-error {
  font-size: var(--fs-xs);
  color: #e74c3c;
  margin-top: var(--space-xs);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e74c3c;
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Underline variant */
.form-input--underline,
.form-select--underline,
.form-textarea--underline {
  border: none;
  border-bottom: 2px solid var(--color-border);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
}

.form-input--underline:focus,
.form-select--underline:focus,
.form-textarea--underline:focus {
  border-bottom-color: var(--color-primary);
  box-shadow: none;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
  margin-top: 2px;
}

.form-check label {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  cursor: pointer;
}

/* ------------------------------------------------------------
   16. Utility Classes
   ------------------------------------------------------------ */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-blue {
  color: var(--color-primary);
}

.text-white {
  color: var(--color-white);
}

.text-silver {
  color: var(--color-silver);
}

.text-muted {
  color: var(--color-text-muted);
}

.font-heading {
  font-family: var(--font-heading);
}

.fw-bold {
  font-weight: 700;
}

.fw-semibold {
  font-weight: 600;
}

/* Margins */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-xl); }
.mb-4 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-xl); }
.mt-4 { margin-top: var(--space-2xl); }

/* Padding */
.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-xl); }
.p-4 { padding: var(--space-2xl); }

/* Display */
.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: var(--space-sm); }
.gap-2 { gap: var(--space-md); }
.gap-3 { gap: var(--space-xl); }

/* Width */
.w-100 {
  width: 100%;
}

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: var(--space-lg) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* Animation utility classes */
.fade-in {
  animation: fadeIn 0.6s ease both;
}

.slide-up {
  animation: slideUp 0.6s ease both;
}

/* ------------------------------------------------------------
   17. Animations
   ------------------------------------------------------------ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Scroll-triggered animation states */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate--delay-1 {
  transition-delay: 0.1s;
}

.animate--delay-2 {
  transition-delay: 0.2s;
}

.animate--delay-3 {
  transition-delay: 0.3s;
}

.animate--delay-4 {
  transition-delay: 0.4s;
}

.animate--fade {
  transform: none;
}

.animate--slide-left {
  transform: translateX(-30px);
}

.animate--slide-left.in-view {
  transform: translateX(0);
}

.animate--slide-right {
  transform: translateX(30px);
}

.animate--slide-right.in-view {
  transform: translateX(0);
}

.animate--scale {
  transform: scale(0.9);
}

.animate--scale.in-view {
  transform: scale(1);
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-silver-light) 25%,
    var(--color-offwhite) 50%,
    var(--color-silver-light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

/* ------------------------------------------------------------
   18. Responsive Breakpoints
   ------------------------------------------------------------ */

/* 19. Main Content - mobile bottom nav clearance */
.main-content {
  padding-bottom: calc(var(--mobile-nav-height) + 8px);
}

/* Small devices (576px+) */
@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .gallery-grid {
    gap: var(--space-lg);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices - Tablets (768px+) */
@media (min-width: 768px) {
  :root {
    --fs-4xl: 3.5rem;
    --fs-3xl: 2.75rem;
  }

  /* Show desktop nav, hide mobile nav */
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu.mobile-menu {
    display: none !important;
  }

  .nav-overlay {
    display: none !important;
  }

  .mobile-nav {
    display: none;
  }

  /* Remove mobile bottom padding */
  .main-content {
    padding-bottom: 0;
  }

  /* WhatsApp float - no offset needed for mobile nav */
  .whatsapp-float {
    bottom: 24px;
  }

  /* Sections */
  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: var(--fs-3xl);
  }

  /* Hero */
  .hero h1 {
    font-size: var(--fs-4xl);
  }

  .hero .tagline {
    font-size: var(--fs-lg);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Page header */
  .page-header {
    padding: var(--space-4xl) 0 var(--space-3xl);
  }

  .page-header h1 {
    font-size: var(--fs-4xl);
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Large devices - Desktops (992px+) */
@media (min-width: 992px) {
  :root {
    --fs-5xl: 4.5rem;
    --fs-4xl: 3.75rem;
  }

  .container {
    padding: 0 var(--space-xl);
  }

  /* Services - 3 columns */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
  }

  /* Section padding increase */
  .section {
    padding: 120px 0;
  }
}

/* Extra-large devices (1200px+) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: var(--fs-5xl);
  }

  /* Services - 4 columns when there are enough cards */
  .services-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    gap: var(--space-xl);
  }

  .nav-links {
    gap: var(--space-2xl);
  }
}

/* ------------------------------------------------------------
   Print Styles
   ------------------------------------------------------------ */

@media print {
  .navbar,
  .mobile-nav,
  .whatsapp-float,
  .nav-toggle,
  .hero-decoration,
  .hero-scroll {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: var(--space-xl);
    background: none;
    color: var(--color-text);
  }

  .hero h1 {
    color: var(--color-secondary);
    font-size: var(--fs-3xl);
  }

  .hero .tagline {
    color: var(--color-text-light);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .main-content {
    padding-bottom: 0;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ------------------------------------------------------------
   Accessibility - Reduced Motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate {
    opacity: 1;
    transform: none;
  }

  .hero-decoration {
    animation: none;
  }

  .whatsapp-float::before {
    animation: none;
  }
}

/* ------------------------------------------------------------
   Dark Mode Support (optional, system preference)
   ------------------------------------------------------------ */

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-override: #0f1117;
  }

  /* Dark mode styles can be activated by adding .dark-mode class to body */
}

.dark-mode {
  --color-white: #0f1117;
  --color-offwhite: #181a22;
  --color-secondary: #e8e8e8;
  --color-text: #d0d0d0;
  --color-text-light: #a0a0a0;
  --color-text-muted: #707070;
  --color-border: #2a2d36;
  --color-silver-light: #222530;
  --color-light-blue: rgba(26, 58, 107, 0.3);
}
