:root {
  --primary-color: #ff6b9d;
  --secondary-color: #ffd93d;
  --accent-color: #6bcf7f;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-light: #ffeef5;
  --bg-white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #ffeef5 0%, #e8f4fd 100%);
  min-height: 100vh;
}

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

/* Header Styles */
header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

.logo {
  font-family: "Lato", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

/* Hero Section */
.hero {
  padding: 80px 0 80px;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" patternUnits="userSpaceOnUse" width="20" height="20"><text x="10" y="15" text-anchor="middle" font-size="12" fill="rgba(255,255,255,0.1)">💕</text></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
  opacity: 0.3;
}

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

.hero-title {
  font-family: "Lato", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

.heart-icon {
  font-size: 4rem;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Birthday Announcement Section */
.birthday-announcement {
  padding: 20px 0;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
  position: relative;
  overflow: hidden;
}

.birthday-announcement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="birthday-pattern" patternUnits="userSpaceOnUse" width="50" height="50"><text x="25" y="25" text-anchor="middle" font-size="20" fill="rgba(255,107,157,0.1)">🎂</text><text x="12.5" y="37.5" text-anchor="middle" font-size="15" fill="rgba(255,107,157,0.08)">🎉</text><text x="37.5" y="12.5" text-anchor="middle" font-size="15" fill="rgba(255,107,157,0.08)">🎈</text></pattern></defs><rect width="100" height="100" fill="url(%23birthday-pattern)"/></svg>');
  opacity: 0.5;
}

.birthday-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.birthday-icon {
  font-size: 4rem;
  margin-bottom: 2px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.birthday-title {
  font-family: "Lato", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.birthday-text {
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 400;
}

.birthday-date-info {
  margin-bottom: 30px;
}

.birthday-date {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: var(--shadow);
  }
  100% {
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
  }
}

.birthday-btn {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
  color: var(--text-light);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.birthday-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 0.5s ease;
}

.birthday-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.birthday-btn:hover::before {
  left: 100%;
}

/* Carousel Section */
.carousel-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.section-title {
  font-family: "Lato", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "💕";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}

.carousel-container {
  position: relative;
  max-width: 700px; /* Narrower for portrait orientation */
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 800px; /* Taller for portrait orientation */
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 1000%; /* 10 slides × 100% */
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 calc(100% / 10); /* Each slide takes 1/10 of track width */
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 800px; /* Match the taller container */
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--text-light);
  padding: 40px 30px 30px;
  text-align: center;
}

.carousel-caption h3 {
  font-family: "Lato", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

/* Dots Navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg-white);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot:hover {
  background: var(--secondary-color);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-dark);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--text-light);
  text-align: center;
  padding: 40px 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 60px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .birthday-text {
    font-size: 1.1rem;
  }

  .birthday-btn {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .birthday-date {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

  .carousel-section,
  .about-section {
    padding: 60px 0;
  }

  .carousel-wrapper {
    height: 600px; /* Portrait ratio for tablet */
  }

  .carousel-slide img {
    height: 600px;
    object-fit: cover;
    object-position: center;
  }

  .carousel-caption {
    padding: 20px 15px 15px;
  }

  .carousel-caption h3 {
    font-size: 1.4rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

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

  .birthday-title {
    font-size: 1.8rem;
  }

  .birthday-text {
    font-size: 1rem;
  }

  .birthday-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .birthday-date {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .birthday-icon {
    font-size: 3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .carousel-wrapper {
    height: 500px; /* Portrait ratio for mobile */
  }

  .carousel-slide img {
    height: 500px;
    object-fit: cover;
    object-position: center;
  }

  .carousel-caption {
    padding: 15px 10px 10px;
  }

  .carousel-caption h3 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }

  .carousel-dots {
    padding: 15px;
    gap: 8px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}
