@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@300;400;500;600&display=swap");

:root {
  /* Light Mode Colors */
  --primary-color: #2d5f4f;
  --secondary-color: #1e3a2e;
  --accent-color: #c9a872;
  --light-bg: #faf8f5;
  --white: #ffffff;
  --text-dark: #2c2c2c;
  --text-light: #666666;
  --border-color: #e8e4df;

  /* Dark Mode Colors */
  --dark-primary: #e8dcd0;
  --dark-secondary: #f5f1eb;
  --dark-accent: #d4af8f;
  --dark-bg: #1a1a1a;
  --dark-card: #2a2a2a;
  --dark-text: #f5f1eb;
  --dark-text-light: #b0a89e;

  /* Fonts */
  --font-serif: "Playfair Display", serif;
  --font-sans: "Poppins", sans-serif;
}

body.dark-mode {
  --primary-color: #d4af8f;
  --secondary-color: #e8dcd0;
  --accent-color: #a0826d;
  --light-bg: #1a1a1a;
  --white: #2a2a2a;
  --text-dark: #f5f1eb;
  --text-light: #b0a89e;
  --border-color: #3a3a3a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light-bg);
  color: var(--text-dark);
  transition: background-color 0.3s, color 0.3s;
}

/* Header */
.header {
  background-color: var(--white);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.logo-subtitle {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--text-light);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

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

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

.nav a:hover::after {
  width: 100%;
}

.theme-toggle {
  background: none;
  border: 2px solid var(--primary-color);
  padding: 0.5rem 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2d5f4f 0%, #1e3a2e 100%);
  color: var(--white);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(201, 168, 114, 0.1);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
  background-color: var(--accent-color);
  color: #1a1a1a;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 168, 114, 0.3);
}

/* Collection Section */
.collection {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

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

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

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

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 380px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 95, 79, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.whatsapp-btn {
  background-color: var(--accent-color);
  color: #1a1a1a;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(201, 168, 114, 0.4);
}

.whatsapp-icon {
  font-size: 1.2rem;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 700;
}

.availability {
  font-size: 0.85rem;
  color: #27ae60;
  font-weight: 600;
  background-color: rgba(39, 174, 96, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

/* About Section */
.about {
  background-color: var(--white);
  padding: 4rem 2rem;
  margin-top: 3rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #1e3a2e 0%, #2d5f4f 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.contact-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-color);
  color: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s;
}

.contact-whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 168, 114, 0.3);
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: var(--white);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

/* Welcome Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s;
}

.popup-overlay.hidden {
  display: none;
}

.popup-content {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--primary-color);
}

.popup-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.popup-header h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.popup-subtitle {
  color: var(--accent-color);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.popup-message {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.popup-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.popup-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 1rem;
    justify-content: space-around;
  }

  .hero {
    padding: 4rem 1rem;
  }

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

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

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .popup-content {
    padding: 1.5rem;
    width: 95%;
  }

  .contact-whatsapp-btn {
    display: flex;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.3rem;
  }

  .nav {
    gap: 0.8rem;
  }

  .nav a {
    font-size: 0.8rem;
  }

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

  .section-header h2 {
    font-size: 1.5rem;
  }

  .product-info h3 {
    font-size: 1.1rem;
  }
}
