:root {
  --primary-color: #f8e5e5;
  --secondary-color: #d4af37;
  --accent-color: #ff6b9d;
  --text-dark: #2c2c2c;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #f8e5e5 0%, #fdf2f8 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  background-image: url("https://images.pexels.com/photos/1444442/pexels-photo-1444442.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.8;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 229, 229, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-style: italic;
}

.hero-title {
  font-family: "Dancing Script", cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 32px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-date {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  font-family: "Playfair Display", serif;
}

.date-day,
.date-month {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.date-number {
  font-size: 4rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 80px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-color);
  font-family: "Playfair Display", serif;
}

.countdown-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
}

/* About Section */
.about {
  background: var(--gradient);
}

.couple-info {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
  text-align: center;
}

.couple-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 4px solid var(--secondary-color);
  box-shadow: var(--shadow);
}

.couple-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bride h3,
.groom h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.bride p,
.groom p {
  color: var(--text-light);
  font-size: 1rem;
}

.love-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart {
  font-size: 3rem;
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.love-story {
  max-width: 800px;
  margin: 0 auto;
}

.story-timeline {
  position: relative;
}

.story-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 40%;
  margin: 0 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 60px;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 60px;
  margin-right: 0;
}

.timeline-content h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Details Section */
.details {
  background: var(--white);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.detail-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.detail-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.detail-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.detail-info p {
  margin-bottom: 12px;
  color: var(--text-light);
}

.detail-info strong {
  color: var(--text-dark);
}

.map-btn {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 24px;
}

.map-btn:hover {
  background: #b8941f;
}

/* Gallery Section */
.gallery {
  background: var(--gradient);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 2rem;
  color: var(--white);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  margin: 5% auto;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  font-size: 2rem;
  padding: 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* RSVP Section */
.rsvp {
  background: var(--white);
}

.rsvp-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-text {
  margin-bottom: 48px;
}

.rsvp-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.rsvp-form {
  display: grid;
  gap: 24px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group textarea {
  resize: vertical;
}

.rsvp-btn {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 16px;
}

.rsvp-btn:hover {
  background: #b8941f;
}

.rsvp-success {
  display: none;
  text-align: center;
  padding: 48px;
  background: var(--gradient);
  border-radius: 12px;
  margin-top: 32px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.rsvp-success h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.rsvp-success p {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text h3 {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.footer-text p {
  color: #ccc;
}

.footer-date p {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.nav-link-2{
  color: white;
}
.nav-link-2 {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
} 

.nav-link-2:hover {
  color: var(--secondary-color);
}

.nav-link-2::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link-2:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .countdown {
    gap: 16px;
  }

  .countdown-item {
    min-width: 60px;
    padding: 12px;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .couple-info {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .couple-photo {
    width: 150px;
    height: 150px;
  }

  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-content {
    width: 80%;
    margin: 40px auto 0 !important;
  }

  .story-timeline::before {
    display: none;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    padding: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-date {
    flex-direction: column;
    gap: 8px;
  }

  .date-number {
    font-size: 3rem;
  }

  .countdown {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  section {
    padding: 60px 0;
  }
}
