@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-dark: #5A0F1B; /* Wine Red */
  --primary-main: #8E1616; /* Deep Red */
  --accent: #D4AF37; /* Champagne Gold */
  --text-main: #2C2C2C;
  --text-light: #666666;
  --bg-cream: #FDF5E6;
  --bg-white: #FFFFFF;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

/* Glassmorphism utility */
.glass {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

/* Premium Button */
.btn-premium {
  background-color: var(--primary-dark);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 1px solid transparent;
}

.btn-premium:hover {
  background-color: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

nav.scrolled {
  padding: 5px 5%;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo img {
  height: 100px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

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

.nav-links a {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--primary-dark);
  transition: var(--transition-smooth);
}

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

.cart-btn {
  color: var(--primary-dark);
  transition: var(--transition-smooth);
}

.cart-btn:hover {
  color: var(--primary-main);
}

nav.scrolled .logo img {
  height: 60px;
}

/* Hero Carousel */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-section.three-col-layout {
  display: grid;
  grid-template-columns: 33% 34% 33%;
  height: 100%;
}

.hero-content-middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  height: 100%;
  color: white;
}

.hero-center-logo {
  height: 220px;
  width: 220px;
  object-fit: contain;
  background-color: white;
  border-radius: 50%;
  padding: 2px;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.hero-content-middle h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content-middle p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: 300;
  max-width: 400px;
}

.hero-image-side-container {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-image-side {
  height: 100%;
  margin-top: 0;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-section.three-col-layout {
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
  }
  
  .hero-image-side-container {
    height: 45vh;
  }

  .hero-image-side {
    height: 100%;
    margin-top: 0;
  }
  
  .hero-content-middle {
    padding: 40px 5%;
  }

  .hero-center-logo {
    height: 140px;
    width: 140px;
    margin-bottom: 15px;
  }

  .hero-content-middle h1 {
    font-size: 2.2rem;
  }
}

/* media query covered above */

/* Product Grid */
.section-title {
  text-align: center;
  padding: 80px 0 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 5%;
  margin-bottom: 80px;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-info {
  padding: 20px;
  text-align: center;
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.product-name {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.product-price {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Shopping Cart Drawer */
.cart-drawer {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100%;
  background: white;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 5%;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 220px;
  width: 220px;
  object-fit: contain;
  background-color: white;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  color: #FFF;
}
