/* --- MODERN 243 NEWS BAKE CAKES STYLES --- */

:root {
  --primary: #e7c6b1;      /* Pastry Bakery Soft Rose Gold Warmth */
  --accent: #ffffff;       /* Pure Crisp White */
  --dark: #2a1f19;          /* Rich Sweet Cocoa Brown */
  --light: #fffbf7;         /* Fluffy Icing Cream Vanilla White */
  --glass: rgba(42, 31, 25, 0.95);
  --radius: 8px;           /* Elegant structure layout angles */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lexend', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
  background: rgba(42, 31, 25, 0.96);
  backdrop-filter: blur(10px);
  padding: 1.1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #3d2e25;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo { 
  font-family: 'Bungee', sans-serif; 
  color: white; 
  text-decoration: none; 
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.logo span { color: var(--primary); }

.brand-phone {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  border-left: 2px solid #543f32;
  padding-left: 15px;
  transition: 0.3s;
  white-space: nowrap;
}

.brand-phone:hover { color: white; }

.menu-links a { 
  color: #e5d9d0; 
  text-decoration: none; 
  margin-left: 12px;        /* Optimized to prevent button drops */
  font-weight: 700; 
  text-transform: uppercase;
  font-size: 0.8rem;        /* Scaled down to balance long logo width */
  letter-spacing: 0.5px;
  transition: 0.3s; 
}

.menu-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: 4px;
}

/* --- HERO SECTION --- */
.hero {
  height: 90vh;
  /* Multi-layered backdrop background: 1. Dark Overlay Gradient -> 2. Repeating Cake SVGs -> 3. Local Hero image */
  background: 
    linear-gradient(rgba(42, 31, 25, 0.7), rgba(42, 31, 25, 0.75)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 16c2 0 3-1 3-3s-1-3-3-3-3 1-3 3 1 3 3 3zm0-5c.5 0 1 .5 1 1s-.5 1-1 1-1-.5-1-1 .5-1 1-1zm10 14h-4v-2c0-1.7-1.3-3-3-3H27c-1.7 0-3 1.3-3 3v2h-4c-1.7 0-3 1.3-3 3v10c0 1.7 1.3 3 3 3h20c1.7 0 3-1.3 3-3V28c0-1.7-1.3-3-3-3zm-14-2c0-.5.5-1 1-1h6c.5 0 1 .5 1 1v2h-8v-2zm16 15c0 .5-.5 1-1 1H20c-.5 0-1-.5-1-1v-2h22v2zm0-4H19v-4c0-.5.5-1 1-1h20c.5 0 1 .5 1 1v4z' fill='%23e7c6b1' fill-opacity='0.08'%3E%3C/path%3E%3C/svg%3E"),
    url('watermarked_img_11280978322210818052.png');
  background-size: cover, auto, cover;
  background-position: center, center, center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 60px;
}

.badge { 
  background: #3d2e25; 
  color: var(--primary); 
  padding: 6px 16px; 
  border-radius: 4px; 
  font-size: 0.8rem; 
  font-weight: bold; 
  text-transform: uppercase;
  border: 1px solid var(--primary);
}

.hero h1 { 
  font-size: 4.5rem; 
  margin: 20px 0; 
  line-height: 1.1; 
}

.highlight { 
  color: var(--primary); 
  font-family: 'Bungee', sans-serif; 
}

.hero-btns { margin-top: 30px; }

.btn-primary { 
  background: var(--primary); 
  color: var(--dark); 
  padding: 16px 32px; 
  text-decoration: none; 
  border-radius: var(--radius); 
  display: inline-block; 
  margin: 10px; 
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.btn-secondary { 
  background: transparent; 
  color: white; 
  border: 2px solid white;
  padding: 14px 30px; 
  text-decoration: none; 
  border-radius: var(--radius); 
  display: inline-block; 
  margin: 10px; 
  font-weight: bold; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(231, 198, 177, 0.3); }
.btn-secondary:hover { background: white; color: var(--dark); transform: translateY(-3px); }

/* --- MENU CATEGORIES --- */
.category { padding: 100px 20px; }
.light-bg { background-color: #f5eae1; }

.section-header { text-align: center; margin-bottom: 60px; }
.subtitle { color: white; background: var(--dark); padding: 4px 12px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; }
.section-header h2 { font-size: 2.5rem; font-family: 'Bungee', sans-serif; margin-top: 15px; text-transform: uppercase; color: var(--dark); }

/* --- PRODUCT GRID --- */
.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 35px; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.modern-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  cursor: pointer;
  border: 1px solid #efe6dd;
}

.modern-card:hover { 
  transform: translateY(-8px); 
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Kept Tall image configuration (320px tall setup) */
.card-img-wrapper { height: 320px; overflow: hidden; background: #000; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.4s; }
.modern-card:hover .card-img-wrapper img { scale: 1.05; opacity: 1; }

/* Maintained lower spacing configuration for word typography layout */
.card-info { padding: 35px 25px 25px 25px; }
.card-info h3 { font-size: 1.3rem; margin-bottom: 14px; color: var(--dark); text-transform: uppercase; font-weight: 700; }
.card-info p { font-size: 0.95rem; color: #695d56; height: 50px; overflow: hidden; margin-bottom: 10px; }

.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; }
.price { font-weight: 800; font-size: 1.3rem; color: var(--dark); }
.card-footer i { font-size: 1.6rem; color: #cbd5e1; transition: 0.3s; }
.modern-card:hover .card-footer i { color: var(--dark); }

/* --- TEAM SECTION --- */
.team-section { background: var(--dark); color: white; padding: 100px 20px; }
.team-section .subtitle { background: white; color: var(--dark); }
.team-section h2 { color: white; }

.team-grid { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 25px; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.team-card {
  background: #382b23;
  padding: 40px 20px;
  border-radius: var(--radius);
  text-align: center;
  width: 220px;
  transition: 0.3s;
  border: 1px solid #48382e;
}

.team-card:hover { border-color: var(--primary); background: #403128; }

.avatar-box {
  width: 120px;
  height: 120px;
  border-radius: 4px; 
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--primary);
}

.avatar-box img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 5px; text-transform: uppercase; }
.team-card span { color: var(--primary); font-size: 0.85rem; text-transform: uppercase; font-weight: bold; letter-spacing: 0.5px; }

/* --- MODAL --- */
.modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(42, 31, 25, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  max-width: 500px;
  width: 100%;
  position: relative;
}

.modal-content h2 { text-transform: uppercase; font-family: 'Bungee', sans-serif; font-size: 1.6rem; color: var(--dark); }

.modal-content img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 20px 0;
}

.close-btn { position: absolute; top: 20px; right: 25px; font-size: 2rem; cursor: pointer; color: #aba098; }
.close-btn:hover { color: var(--dark); }

.order-btn {
  background: var(--dark);
  color: var(--primary);
  border: 1px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}
.order-btn:hover { background: var(--primary); color: var(--dark); }

.footer-socials a .fa-youtube:hover {
  color: #FF0000;
}

/* --- FOOTER --- */
footer {
  background: #1e1510;
  color: #9c8e85;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #2d2018;
}

.footer-content p { color: #b0a298; }
.footer-socials { margin-top: 20px; }
.footer-socials a { color: white; margin: 0 15px; font-size: 1.4rem; transition: 0.3s; }
.footer-socials a:hover { color: var(--primary); }

/* --- RESPONSIVE --- */
@media (max-width: 1120px) { /* Shift to compact screen logic sooner for the longer logo */
  .logo { font-size: 1rem; }
  .brand-phone { font-size: 0.8rem; padding-left: 10px; }
  .menu-links a { margin-left: 8px; font-size: 0.75rem; }
}

@media (max-width: 950px) {  /* Switches safely to hamburger layout before links wrap over */
  .hero h1 { font-size: 2.8rem; }
  .brand-phone { display: none; }
  .menu-links a:not(.nav-cta) { display: none; }
}