/* Palette: primary #a855f7, secondary #ec4899, accent #06b6d4, neutral #111827, surface #faf5ff */
/* Style Direction: B - Friendly rounded */

/* ========== Global Styles ========== */
:root {
  --primary: #a855f7;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --neutral: #111827;
  --surface: #faf5ff;
}

body {
  background-color: #ffffff;
  color: #1f2937;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neutral);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header p {
  color: #6b7280;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-names {
  font-size: 4rem;
  font-weight: 300;
  color: var(--neutral);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-names span {
  font-weight: 700;
  color: var(--primary);
}

.hero-date {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-location {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.countdown-item {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  min-width: 100px;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.9rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ========== Our Story Section ========== */
.story-section {
  background-color: var(--surface);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 2rem;
}

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

.story-highlight {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.story-highlight i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ========== Wedding Details Section ========== */
.details-section {
  background-color: #ffffff;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.detail-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.detail-icon i {
  font-size: 2rem;
  color: white;
}

.detail-card h3 {
  color: var(--neutral);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.detail-card p {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.detail-card .time {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

/* ========== Gallery Section ========== */
.gallery-section {
  background-color: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 2rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

/* ========== RSVP Section ========== */
.rsvp-section {
  background-color: #ffffff;
}

.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--neutral);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

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

/* ========== Footer Customization ========== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid #e5e7eb;
}

.footer-brand h3 {
  color: var(--neutral);
}

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

.footer-contact .contact-item i {
  color: var(--primary);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .hero-names {
    font-size: 2.5rem;
  }
  
  .countdown {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .countdown-item {
    min-width: 80px;
    padding: 1rem;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .rsvp-form {
    padding: 2rem;
  }
}

/* ========== Custom Header ========== */
.wedding-header .navbar-brand {
  color: var(--primary);
}

.wedding-header .nav-link {
  color: var(--neutral);
}

.wedding-header .nav-link:hover {
  color: var(--primary);
}

.wedding-header .nav-link.active {
  color: var(--primary);
}

.wedding-header .cta-button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
}

.wedding-header .cta-button:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
