:root {
  /* Light Theme - User Provided Palette */
  --bg-color: #ffffff;
  --text-color: #7d1a3d; /* Dark Maroon */
  --primary-color: #dc2d6f; /* Pink 1 */
  --secondary-color: #2596be; /* Blue */
  --accent-color: #dc3176; /* Pink 2 */
  --card-bg: rgba(255, 255, 255, 0.95);
  --nav-bg: rgba(255, 255, 255, 0.98);
  --shadow: 0 10px 30px rgba(125, 26, 61, 0.15);
  --hero-gradient: linear-gradient(135deg, #ffffff 0%, #f4eef1 100%);
}

[data-theme="dark"] {
  /* Dark Theme - Using Dark Maroon as base */
  --bg-color: #7d1a3d; /* Dark Maroon */
  --text-color: #ffffff;
  --primary-color: #dc2d6f; /* Pink 1 */
  --secondary-color: #2596be; /* Blue */
  --accent-color: #dc3176; /* Pink 2 */
  --card-bg: rgba(100, 20, 50, 0.8); /* Darker transparent maroon */
  --nav-bg: rgba(125, 26, 61, 0.95);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --hero-gradient: linear-gradient(135deg, #7d1a3d 0%, #5a122b 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-color);
  transition: transform 0.3s;
}

.theme-btn:hover {
  transform: rotate(15deg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 50%;
  z-index: 2;
}

.date-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary-color);
  background: -webkit-linear-gradient(
    45deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--text-color);
  color: var(--bg-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-image-container {
  position: relative;
  width: 400px;
  height: 500px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  transition: transform 0.5s;
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* About Section */
.about-section {
  padding: 5rem 10%;
}

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

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

/* Message Section */
.message-section {
  padding: 5rem 10%;
  background: var(--card-bg);
  text-align: center;
}

.message-container {
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid var(--primary-color);
  padding: 3rem;
  border-radius: 20px;
  position: relative;
}

.romantic-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* Gallery */
.gallery {
  padding: 5rem 10%;
  text-align: center;
}

.gallery h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

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

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background: var(--nav-bg);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 3rem;
  }

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

  .hero-image-container {
    width: 100%;
    height: 400px;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.4s;
}

@keyframes zoomIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

@media only screen and (max-width: 700px) {
  .lightbox-content {
    width: 100%;
  }
}
