/* ========================================
   ESPINITAS Y FLORES - WORLD-CLASS CSS
   Design System & Global Styles
   ======================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Color Palette */
  --primary-green: #2e7d32;
  --secondary-green: #4caf50;
  --accent-green: #8bc34a;
  --warm-accent: #ff9800;
  --dark-green: #1b5e20;
  --light-green: #c8e6c9;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #212121;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  
  /* Typography */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  
  /* Spacing System (8px base) */
  --space-1: 0.5rem;     /* 8px */
  --space-2: 1rem;       /* 16px */
  --space-3: 1.5rem;     /* 24px */
  --space-4: 2rem;       /* 32px */
  --space-5: 2.5rem;     /* 40px */
  --space-6: 3rem;       /* 48px */
  --space-8: 4rem;       /* 64px */
  --space-10: 5rem;      /* 80px */
  --space-12: 6rem;      /* 96px */
  --space-16: 8rem;      /* 128px */
  --space-20: 10rem;     /* 160px */
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%; /* Base para rem units - mejor adaptación al zoom */
}

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-green);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-700);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-green);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  max-width: 100%; /* Cambiado de 1200px a 100% */
  margin: 0 auto;
  padding: 0 var(--space-4);
  overflow-x: hidden; /* Prevenir scroll horizontal no deseado */
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-4);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; /* Aumentado de 60px */
  height: 4px; /* Aumentado de 3px */
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-green), var(--warm-accent));
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3); /* Añadir sombra colorida */
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--text-lg);
  color: var(--gray-600);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green), var(--warm-accent));
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, transparent, rgba(255, 152, 0, 0.1));
  color: var(--primary-green);
  border: 2px solid var(--warm-accent);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--primary-green);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 20px rgba(46, 125, 50, 0.1);
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
  box-shadow: 0 4px 30px rgba(46, 125, 50, 0.15);
  border-bottom: 2px solid var(--secondary-green);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transform: scale(1.25); /* Agrandar logos un 25% */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); /* Añadir sombra para destacar */
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.3); /* Efecto hover sutil */
}

.logo-img {
  width: 60px; /* Aumentado de 50px */
  height: 60px; /* Aumentado de 50px */
  object-fit: contain;
}

.logo-text {
  height: 38px; /* Aumentado de 30px */
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-weight: 600; /* Aumentado de 500 */
  color: var(--dark-green); /* Cambiado de gray-700 a dark-green */
  position: relative;
  transition: color var(--transition-fast);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8); /* Añadir sombra de texto */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-green);
  transition: all var(--transition-normal);
  border-radius: var(--radius-sm);
}

.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.8), rgba(76, 175, 80, 0.6));
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.title-line {
  display: block;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.title-line:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-description {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.9s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  color: var(--white);
  font-size: var(--text-2xl);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
  padding: var(--space-20) 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px; /* Aumentado de 4px */
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-green), var(--warm-accent));
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4); /* Añadir sombra colorida */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 90px; /* Aumentado de 80px */
  height: 90px; /* Aumentado de 80px */
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3); /* Sombra colorida */
  border: 3px solid var(--warm-accent); /* Borde colorido */
  transition: all var(--transition-normal);
}

.service-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 152, 0, 0.5);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  color: var(--dark-green);
}

.service-description {
  margin-bottom: var(--space-6);
  color: var(--gray-600);
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--gray-700);
}

.service-features i {
  color: var(--secondary-green);
  font-size: var(--text-sm);
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
  padding: var(--space-20) 0;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-3) var(--space-6);
  background: transparent;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-green), var(--warm-accent));
  border-color: var(--warm-accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  aspect-ratio: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.8), rgba(76, 175, 80, 0.6));
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--white);
  font-size: var(--text-4xl);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  padding: var(--space-20) 0;
  background: var(--gray-50);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start; /* Cambiado de center a start */
}

.about-story {
  margin-top: var(--space-8);
}

.story-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.story-icon {
  width: 70px; /* Aumentado de 60px */
  height: 70px; /* Aumentado de 60px */
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green), var(--warm-accent));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-xl);
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
  border: 3px solid var(--warm-accent);
  transition: all var(--transition-normal);
}

.story-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.5);
}

.story-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--dark-green);
}

.story-content p {
  color: var(--gray-600);
  margin-bottom: 0;
}

.about-images {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6); /* Espaciado entre imágenes */
}

.image-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about-img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%; /* Asegurar que ocupe todo el ancho disponible */
  height: auto;
  object-fit: cover;
}

.about-img-1 {
  position: relative;
  z-index: 2;
}

.about-img-2 {
  position: relative; /* Cambiado de absolute a relative */
  z-index: 1;
  width: 100%; /* Cambiado de 60% a 100% */
}

/* ========================================
   BLOG SECTION
   ======================================== */

.blog {
  padding: var(--space-20) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--space-6);
}

.blog-meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.blog-meta i {
  margin-right: var(--space-1);
}

.blog-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--dark-green);
}

.blog-excerpt {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary-green);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.blog-link:hover {
  gap: var(--space-3);
  color: var(--secondary-green);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  padding: var(--space-20) 0;
  background: var(--gray-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-icon {
  width: 70px; /* Aumentado de 60px */
  height: 70px; /* Aumentado de 60px */
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green), var(--warm-accent));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-xl);
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
  border: 3px solid var(--warm-accent);
  transition: all var(--transition-normal);
}

.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.5);
}

.contact-details h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--dark-green);
}

.contact-details p {
  color: var(--gray-600);
  margin-bottom: 0;
}

.contact-details a {
  color: var(--primary-green);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--secondary-green);
}

/* Contact Form */
.contact-form-container {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  transition: all var(--transition-normal);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  color: var(--gray-500);
  font-size: var(--text-base);
  transition: all var(--transition-normal);
  pointer-events: none;
  background: var(--white);
  padding: 0 var(--space-1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: var(--space-3);
  font-size: var(--text-sm);
  color: var(--primary-green);
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--dark-green);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.footer-description {
  margin-bottom: var(--space-6);
  color: var(--gray-300);
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: var(--space-4);
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-lg);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--warm-accent);
  transform: translateY(-3px);
  color: var(--white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: var(--space-2);
}

.footer-list a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--white);
}

.footer-list i {
  margin-right: var(--space-2);
  color: var(--warm-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--gray-300);
}

.footer-bottom p {
  margin-bottom: var(--space-2);
}

.footer-bottom i {
  color: var(--warm-accent);
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--white);
  font-size: var(--text-4xl);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--warm-accent);
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-lg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: var(--text-2xl);
  padding: var(--space-4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  pointer-events: all;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--warm-accent);
}

.lightbox-prev {
  margin-left: -60px;
}

.lightbox-next {
  margin-right: -60px;
}

/* ========================================
   LOADING SCREEN
   ======================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-6);
  animation: pulse 2s infinite;
}

.loading-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary-green);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-4);
}

.loading-text {
  color: var(--gray-600);
  font-size: var(--text-lg);
  font-weight: 500;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-6);
  }
  
  .hero-title {
    font-size: var(--text-5xl);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .about-img-2 {
    position: static;
    width: 100%;
    margin-top: var(--space-6);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--space-8);
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .lightbox-prev {
    margin-left: -40px;
  }
  
  .lightbox-next {
    margin-right: -40px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .services-grid {
    gap: var(--space-6);
  }
  
  .service-card {
    padding: var(--space-6);
  }
  
  .gallery-filters {
    gap: var(--space-2);
  }
  
  .filter-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }
  
  .contact-form-container {
    padding: var(--space-6);
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: var(--text-lg);
    padding: var(--space-3);
  }
  
  .lightbox-prev {
    margin-left: -30px;
  }
  
  .lightbox-next {
    margin-right: -30px;
  }
}

/* ========================================
   ACCESSIBILITY & PERFORMANCE
   ======================================== */

/* Focus styles */
*:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #000000;
    --secondary-green: #333333;
    --gray-600: #000000;
    --gray-700: #000000;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-buttons,
  .scroll-indicator,
  .lightbox,
  .loading-screen {
    display: none !important;
  }
  
  .hero {
    height: auto;
    padding: var(--space-8) 0;
  }
  
  .hero-background {
    display: none;
  }
  
  .hero-content {
    color: var(--black);
  }
}
