* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #333;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

p {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #586e26;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #586e26;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('public/main.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  z-index: 2;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: white;
  margin: 1.5rem auto;
}

.hero-date {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-location {
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 300;
}



/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #586e26;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: #586e26;
  margin: 1rem auto;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Story Section */
.story-section {
  padding: 6rem 0;
  background: #fafafa;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.story-person h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #586e26;
  margin-bottom: 1rem;
}

.story-person p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.stars {
  color: #586e26;
  font-size: 1.2rem;
}

.story-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

/* Quote Section */
.quote-section {
  padding: 6rem 0;
  background: #f5f5f5;
}

.quote-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  font-size: 4rem;
  color: #586e26;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.quote-mark.bottom {
  transform: rotate(180deg);
  display: inline-block;
}

.quote-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #333;
  margin: 1rem 0;
  font-weight: 400;
  line-height: 1.4;
}

.quote-author {
  color: #586e26;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: 2rem;
}

/* Events Section */
.events-section {
  padding: 6rem 0;
  background: white;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.event-item {
  text-align: center;
  padding: 2rem;
}

.event-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: #586e26;
}

.event-icon svg {
  width: 100%;
  height: 100%;
}

.event-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #586e26;
  margin-bottom: 1rem;
}

.event-item p {
  color: #666;
  line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0 2rem 0;
  background: #f5f5f5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  position: relative;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
  display: block;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(88, 110, 38, 0.9), transparent);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding-top: 1.5rem;
}

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

/* Mobile touch state */
.gallery-item.touched .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  text-align: center;
  padding: 0 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Venue Section */
.venue-section {
  padding: 6rem 0;
  background: #f5f5f5;
}

.venue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.venue-card {
  text-align: center;
  padding: 2rem;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  transition: border-color 0.3s ease;
}

.venue-card:hover {
  border-color: #586e26;
}

.venue-card.ceremony {
  background: white;
}

.venue-card.party {
  background: white;
}

.venue-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  color: #586e26;
}

.venue-icon svg {
  width: 100%;
  height: 100%;
}

.venue-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #586e26;
  margin-bottom: 1rem;
}

.venue-card p {
  color: #666;
  line-height: 1.6;
}

.venue-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.venue-link:hover .venue-card {
  cursor: pointer;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    max-width: 768px;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 50px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 1rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .story-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .story-image {
    order: -1;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .venue-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .quote-content h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero {
    background-position: 45% center;
  }

  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle,
  .hero-date,
  .hero-location {
    font-size: 0.8rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .story-person h3 {
    font-size: 1.3rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 400px;
    object-fit: cover;
    object-position: center top;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.time-value {
    font-size: 3.5em;
    font-weight: 300;
    color: #586e26;
    line-height: 1;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-size: 0.9em;
    color: #586e26;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .countdown-container {
        padding: 30px 20px;
    }

    .time-value {
        font-size: 2.5em;
    }

    .time-unit {
        min-width: 70px;
    }
}

/* Regalos Section */
.regalos-section {
  padding: 6rem 0;
  background: white;
}

.regalos-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.regalos-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #586e26;
  margin-bottom: 1.5rem;
}

.regalos-subtitle {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-style: italic;
}

.regalos-method {
  font-size: 1.3rem;
  color: #586e26;
  font-weight: 700;
  letter-spacing: 2px;
}

.regalos-image {
  text-align: center;
  margin-bottom: 0.5rem;
}

.regalos-image svg {
  width: 60px;
  height: 60px;
  fill: #586e26;
}

.regalos-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  filter: hue-rotate(0deg) saturate(1.2);
}

@media (max-width: 768px) {
  .regalos-content {
    gap: 1rem;
  }

  .regalos-title {
    font-size: 2rem;
  }

  .regalos-subtitle {
    font-size: 0.95rem;
  }
}