/* Global Styles */
:root {
  --primary-gold: #d4af37;
  --deep-gold: #b8860b;
  --luxury-black: #1a1a1a;
  --luxury-brown: #3d2b1f;
  --cream-bg: #fffaf5;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #5d6d7e;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --glass: rgba(255, 255, 255, 0.1);
  --shadow-elegant: 0 10px 30px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--luxury-brown);
  background-color: var(--cream-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-tag {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 8%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  padding: 15px 8%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
}

nav .logo {
  font-size: 28px;
  color: var(--luxury-brown);
  font-weight: 900;
  text-decoration: none;
}

nav .logo span {
  color: var(--primary-gold);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: var(--luxury-brown);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* For parallax */
  background: url('https://images.unsplash.com/photo-1517433367423-c7e5b0f35086?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
  z-index: -1;
  background-color: var(--luxury-black); /* Fallback color */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 16px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.hero h1 {
  font-size: clamp(45px, 10vw, 90px);
  margin-bottom: 25px;
  font-weight: 900;
  font-style: italic;
}

.hero h1 span {
  color: var(--primary-gold);
}

.hero-description {
  font-size: 20px;
  display: block;
  margin-bottom: 45px;
  font-weight: 300;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 18px 45px;
  border-radius: 0; /* Luxury sharp edges */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  background-color: var(--primary-gold);
  color: var(--white);
  border: none;
}

.btn.primary:hover {
  background-color: var(--deep-gold);
  transform: translateY(-5px);
}

.btn.secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(5px);
}

.btn.secondary:hover {
  background-color: var(--white);
  color: var(--luxury-black);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.mouse {
  width: 25px;
  height: 45px;
  border: 2px solid var(--white);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background-color: var(--primary-gold);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* About Section */
.about {
  padding: 150px 8%;
  background-color: var(--white);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 100px;
  max-width: 1300px;
  margin: 0 auto;
}

.about-img-wrapper {
  flex: 1;
  position: relative;
  background-color: transparent;
}

.main-about-img {
  width: 100%;
  border-radius: 0;
  box-shadow: 30px 30px 0 var(--cream-bg);
  background-color: #f0e6d2; /* Fallback color */
}

.floating-img {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 60%;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-elegant);
}

.floating-img img {
  width: 100%;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: clamp(35px, 5vw, 55px);
  margin-bottom: 30px;
  color: var(--luxury-black);
}

.about-text h2 span {
  color: var(--primary-gold);
}

.about-text p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
}

.features li {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
}

.features li i {
  color: var(--primary-gold);
  font-size: 18px;
}

/* Baking Specialities */
.baking {
  padding: 150px 8%;
  text-align: center;
}

.baking h2 {
  font-size: clamp(35px, 5vw, 55px);
  margin-bottom: 20px;
}

.baking p.sub {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 80px;
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  transition: var(--transition);
  text-align: left;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.card-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background-color: #f0e6d2; /* Fallback color */
}

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

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

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-gold);
  color: var(--white);
  padding: 5px 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card-content {
  padding: 30px;
}

.card h4 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--luxury-black);
}

.card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-gold);
}

.add-btn {
  background: none;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.add-btn:hover {
  background-color: var(--primary-gold);
  color: var(--white);
}

/* Gallery Section */
.gallery {
  padding: 150px 8%;
  background-color: var(--white);
  text-align: center;
}

.gallery h2 {
  font-size: clamp(35px, 5vw, 55px);
  margin-bottom: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 80px;
}

.gallery-item {
  height: 350px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background-color: #f0e6d2; /* Fallback color */
}

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

.gallery-item::after {
  content: '+';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 175, 55, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 40px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Testimonials */
.testimonials {
  padding: 150px 8%;
  background-color: var(--cream-bg);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 80px;
}

.testimonial-card {
  background: var(--white);
  padding: 50px;
  text-align: left;
  box-shadow: var(--shadow-elegant);
}

.stars {
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--luxury-brown);
}

.user {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.user h5 {
  font-size: 18px;
  color: var(--luxury-black);
}

.user span {
  font-size: 14px;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--luxury-black);
  color: var(--white);
  padding: 100px 8% 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-info .logo {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 25px;
  display: block;
  text-decoration: none;
}

.footer-info .logo span {
  color: var(--primary-gold);
}

.footer-info p {
  opacity: 0.7;
  max-width: 400px;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--white);
  font-size: 20px;
  transition: var(--transition);
}

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

.footer-links h4, .footer-contact h4 {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--primary-gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-left: 10px;
  color: var(--primary-gold);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.footer-contact i {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 20px 5%;
  }

  .menu-btn {
    display: block;
    color: var(--white);
  }
  
  nav.scrolled .menu-btn {
    color: var(--luxury-black);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.5s;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    color: var(--luxury-black);
    font-size: 18px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .floating-img {
    display: none;
  }
}
