/* CSS Variables - Elegant Noble Colors */
:root {
  --primary-color: #1a365d;
  --secondary-color: #ffffff;
  --accent-color: #d4b08a;
  --tertiary-color: #f7fafc;
  --text-dark: #1a202c;
  --text-light: #4a5568;
  --text-hero: #ffffff;
  --background-light: #fafbfc;
  --background-gradient: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
  --soft-gradient: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  --gold-gradient: linear-gradient(135deg, #faf5f0 0%, #f4ede4 100%);
  --blue-gradient: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
  --shadow-light: 0 4px 20px rgba(26, 54, 93, 0.1);
  --shadow-medium: 0 8px 30px rgba(26, 54, 93, 0.15);
  --shadow-colored: 0 10px 40px rgba(212, 176, 138, 0.2);
  --border-radius: 20px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--secondary-color);
  overflow-x: hidden;
}

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

/* Navigation */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  padding: 1rem 0;
  transform: translateY(-100%);
  animation: slideDown 0.6s ease forwards;
  animation-delay: 0.3s;
}

@keyframes slideDown {
  to {
    transform: translateY(0);
  }
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-hero);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('https://images.unsplash.com/photo-1469371670807-013ccf25f16a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 80px 20px 20px;
}

.hero-container {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

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

.logo-section {
  margin-bottom: 3rem;
  animation: fadeIn 1s ease;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

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

.logo {
  display: inline-block;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7));
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(212, 176, 138, 0.8);
  backdrop-filter: blur(15px);
}

.couple-names {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  font-weight: 400;
  color: var(--text-hero);
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease;
  animation-delay: 0.8s;
  animation-fill-mode: both;
  letter-spacing: 2px;
}

.ampersand {
  font-size: 2rem;
  color: var(--accent-color);
  margin: 0 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.wedding-date {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
  animation-delay: 1.1s;
  animation-fill-mode: both;
}

.date-number {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-hero);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.date-day {
  font-size: 1.1rem;
  color: var(--text-hero);
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.invitation-text {
  font-size: 1rem;
  color: var(--text-hero);
  max-width: 450px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7));
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(212, 176, 138, 0.6);
  backdrop-filter: blur(15px);
  animation: fadeInUp 1s ease;
  animation-delay: 1.4s;
  animation-fill-mode: both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-hero);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Styles */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

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

/* Countdown Section */
.countdown-section {
  padding: 2rem 0 4rem 0;
  background: var(--soft-gradient);
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.countdown-section .container {
  position: relative;
  z-index: 1;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.time-unit {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(26, 54, 93, 0.05));
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-colored);
  min-width: 140px;
  transition: var(--transition);
  border: 1px solid rgba(26, 54, 93, 0.1);
  backdrop-filter: blur(10px);
}

.time-unit:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(212, 176, 138, 0.08));
}

.time-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.time-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Details Section */
.details-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.details-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1545291730-faff8ca1d4b0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
}

.details-section .container {
  position: relative;
  z-index: 1;
}

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

.family-card {
  text-align: center;
  padding: 2.5rem;
  background: var(--gold-gradient);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-colored);
  transition: var(--transition);
  border: 1px solid rgba(212, 176, 138, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.family-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1502680390469-be75c86b636f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.family-card > * {
  position: relative;
  z-index: 1;
}

.family-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

.family-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.family-names {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

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

.event-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--blue-gradient);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-colored);
  transition: var(--transition);
  border: 1px solid rgba(26, 54, 93, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.event-card > * {
  position: relative;
  z-index: 1;
}

.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

.event-icon {
  font-size: 2rem;
  color: var(--primary-color);
  min-width: 60px;
}

.event-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.event-date {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.event-time {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-location {
  color: var(--text-light);
  line-height: 1.4;
}

/* Location Section */
.location-section {
  padding: 4rem 0;
  background: var(--soft-gradient);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.location-info {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(212, 176, 138, 0.05));
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-colored);
  border: 1px solid rgba(212, 176, 138, 0.2);
  backdrop-filter: blur(10px);
}

.location-info h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.location-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.directions-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}



/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--text-dark);
  color: var(--secondary-color);
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
  
  .couple-names {
    font-size: 4rem;
  }
  
  .date-number {
    font-size: 2.5rem;
  }
  
  .invitation-text {
    font-size: 1.1rem;
  }
  
  .countdown-timer {
    gap: 3rem;
  }
  
  .time-unit {
    min-width: 150px;
  }
  
  .location-content {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
  
  .map-container iframe {
    height: 400px;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .hero-section {
    padding: 100px 40px 60px;
  }
  
  .couple-names {
    font-size: 5rem;
  }
  
  .date-number {
    font-size: 3rem;
  }
  
  .invitation-text {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .countdown-timer {
    gap: 4rem;
  }
  
  .time-unit {
    padding: 2.5rem 2rem;
    min-width: 180px;
  }
  
  .time-number {
    font-size: 3rem;
  }
  
  .families-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  
  .events-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .event-card {
    padding: 3rem;
  }
  
  .location-content {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
  
  .map-container iframe {
    height: 500px;
  }
}

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

/* Animation on Scroll */
@media (prefers-reduced-motion: no-preference) {
  .section-title,
  .family-card,
  .event-card,
  .location-info {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }
  
  .section-title.animate,
  .family-card.animate,
  .event-card.animate,
  .location-info.animate {
    opacity: 1;
    transform: translateY(0);
  }
} 