:root {
  --bg-color: #FFFFFF;
  --surface-color: #FFFFFF;
  --primary-accent: #6C757D;
  --primary-accent-hover: #495057;
  --secondary-accent: #F1F3F5;
  --text-dark: #343A40;
  --text-light: #868E96;
  --border-color: #E9ECEF;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, .logo {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-accent-hover);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

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

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

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

.cart-icon {
  display: none; /* Hidden for showcase mode */
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.cart-icon:hover {
  transform: scale(1.1);
  color: var(--primary-accent-hover);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--secondary-accent);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--primary-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5%;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-tag {
  display: inline-block;
  background-color: var(--secondary-accent);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.highlight {
  color: var(--primary-accent-hover);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--secondary-accent);
  z-index: -1;
  opacity: 0.6;
}

.hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-graphics {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--secondary-accent), var(--border-color));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 8s ease-in-out infinite alternate;
  z-index: 1;
  opacity: 0.5;
  filter: blur(20px);
}

@keyframes morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.floating-cake img {
  width: 100%;
  max-width: 450px;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  object-fit: cover;
  aspect-ratio: 1/1;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Products Section */
.products {
  padding: 5rem 5%;
  background-color: white;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-accent-hover);
}

.section-header p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--surface-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-weight: 700;
  color: var(--primary-accent-hover);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.btn-add {
  display: none; /* Hidden for showcase mode */
  width: 100%;
  background-color: transparent;
  border: 2px solid var(--primary-accent);
  color: var(--primary-accent-hover);
  border-radius: 20px;
  padding: 0.6rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.product-option {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-family: 'Quicksand', sans-serif;
  color: var(--text-dark);
  background-color: #FAFAFA;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.product-option:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
  padding: 5rem 5%;
  display: flex;
  justify-content: center;
}

.about-card {
  background: var(--surface-color);
  padding: 4rem;
  border-radius: var(--radius);
  text-align: center;
  max-width: 800px;
  box-shadow: var(--shadow);
  border: 4px solid var(--border-color);
}

.about-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-accent-hover);
}

.about-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.feature i {
  font-size: 2.5rem;
  color: var(--text-light);
  background: var(--secondary-accent);
  padding: 1rem;
  border-radius: 50%;
}

.feature span {
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

/* Footer */
footer {
  background-color: white;
  padding: 2rem 5%;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

footer .logo {
  justify-content: center;
  margin-bottom: 1rem;
}

footer p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Cart Modal */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-modal {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--surface-color);
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-modal.active {
  transform: translateX(-400px);
}

@media(max-width: 400px) {
  .cart-modal.active {
    transform: translateX(-100vw);
  }
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

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

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

.empty-cart {
  text-align: center;
  color: var(--text-light);
  margin-top: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-item-price {
  color: var(--primary-accent-hover);
  font-weight: 700;
}

.remove-item {
  color: #ff6b6b;
  cursor: pointer;
  font-size: 0.8rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: #fafafa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.btn-checkout {
  width: 100%;
  background: var(--primary-accent);
  color: white;
  padding: 1rem;
  font-size: 1.1rem;
  border: none;
}

.btn-checkout:hover {
  background: var(--primary-accent-hover);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 2rem;
  }
  .blob-bg {
    width: 250px;
    height: 250px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
}
