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

:root {
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  --color-bg: #FAF7F2;         /* Warm Linen Cream */
  --color-card-bg: #FFFFFF;    /* Pure White */
  --color-text-dark: #2D3748;   /* Deep Dark Charcoal */
  --color-text-muted: #5C6A79;  /* Muted Slate */
  
  /* Business Card Branding Colors */
  --color-pink: #E03B8B;        /* Vibrant Cupcake Pink from Card */
  --color-pink-light: #FDF2F7;  /* Soft Blush Pink */
  --color-pink-hover: #C52572;
  --color-blue: #2B6CB0;        /* Royal Script Blue from Card */
  --color-blue-light: #EBF8FF;  /* Soft Ice Blue */
  --color-gold: #D4AF37;        /* Accent Champagne Gold */
  --color-dark: #1A202C;        /* Dark Slate */
  
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow: 0 8px 30px rgba(45, 55, 72, 0.03);
  --shadow-hover: 0 15px 40px rgba(45, 55, 72, 0.06);
  --radius-lg: 16px;
  --radius-md: 8px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Geometric Polygon Background Overlays (Mirroring Business Card) */
.polygon-decor-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(224, 59, 139, 0.08) 0%, rgba(224, 59, 139, 0.01) 70%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 0 85%);
  z-index: -1;
  pointer-events: none;
}

.polygon-decor-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 380px;
  height: 380px;
  background: linear-gradient(315deg, rgba(43, 108, 176, 0.08) 0%, rgba(43, 108, 176, 0.01) 70%, transparent 100%);
  clip-path: polygon(100% 100%, 100% 15%, 15% 100%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* Navigation bar */
header {
  background-color: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(45, 55, 72, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-dark);
  position: relative;
  padding: 8px 0;
}

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

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

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

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

/* Hero Section (Home) */
.hero {
  padding: 60px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, var(--color-pink-light) 0%, var(--color-bg) 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.hero-content h1 span {
  color: var(--color-blue);
  font-style: italic;
  font-weight: 400;
}

.hero-slogan {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-pink);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.btn-group {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-pink);
  color: white;
  box-shadow: 0 4px 15px rgba(224, 59, 139, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 59, 139, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-text-dark);
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.hero-image-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Featured Values Section */
.features {
  background-color: var(--color-card-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--color-text-muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(45, 55, 72, 0.02);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background-color: var(--color-card-bg);
  border-color: var(--color-pink-light);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--color-pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 28px;
  color: var(--color-pink);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--color-pink);
  color: white;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* Home Cupcakes Showcase / Teaser */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.teaser-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}

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

.teaser-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 32, 44, 0.85) 0%, rgba(26, 32, 44, 0) 100%);
  padding: 24px;
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

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

.teaser-card:hover .teaser-overlay {
  transform: translateY(0);
  opacity: 1;
}

.teaser-overlay h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 4px;
}

.teaser-overlay p {
  font-size: 13px;
  color: var(--color-pink-light);
  letter-spacing: 1px;
}

/* Page Header for Subpages */
.page-header {
  background: linear-gradient(to right, var(--color-pink-light) 0%, var(--color-bg) 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid rgba(45, 55, 72, 0.03);
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: 50px;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: 15px;
  letter-spacing: 2px;
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 38px;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.about-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img-box img {
  transition: var(--transition);
}

.about-img-box:hover img {
  transform: scale(1.04);
}

/* Menu Page Styles */
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--color-card-bg);
  border: 1px solid rgba(45, 55, 72, 0.1);
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-pink);
  color: white;
  border-color: var(--color-pink);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.menu-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(45, 55, 72, 0.02);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-pink-light);
}

.menu-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

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

.menu-price {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-blue);
  color: white;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(43, 108, 176, 0.3);
}

.menu-card-content {
  padding: 24px;
}

.menu-card-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.menu-card-content p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 55, 72, 0.02);
}

.contact-info-card h3 {
  font-size: 28px;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--color-pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-pink);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-detail:hover .contact-icon-wrapper {
  background-color: var(--color-pink);
  color: white;
  transform: scale(1.05);
}

.contact-detail p {
  font-size: 15px;
  color: var(--color-text-muted);
}

.contact-detail strong {
  display: block;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.social-links a {
  width: 44px;
  height: 44px;
  background-color: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-text-dark);
}

.social-links a:hover {
  background-color: var(--color-pink);
  color: white;
  transform: translateY(-3px);
}

.contact-form-wrapper {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 55, 72, 0.02);
}

.contact-form-wrapper h3 {
  font-size: 28px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  border: 1px solid rgba(45, 55, 72, 0.08);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background-color: white;
  border-color: var(--color-pink);
  box-shadow: 0 0 0 4px rgba(224, 59, 139, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Map Section */
.map-section {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 20px;
  border: 1px solid rgba(45, 55, 72, 0.05);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer styling */
footer {
  background-color: var(--color-dark);
  color: white;
  padding: 60px 0 30px 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

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

.copyright {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 36px auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery Section Styles (Version 3) */
.gallery-section {
  padding-top: 60px;
  border-top: 1px solid rgba(45, 55, 72, 0.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background-color: var(--color-pink-light);
  border: 1px solid rgba(45, 55, 72, 0.02);
  transition: var(--transition);
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* Disables right-click and dragging on image */
  user-select: none;
  -webkit-user-drag: none;
  filter: brightness(1.03) contrast(1.04) saturate(1.05); /* Clean up colors/brightness */
  transition: var(--transition);
}

/* Transparent shield on top of image to block right-clicks and dragging */
.gallery-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(224, 59, 139, 0.3);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'FontAwesome';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 24px;
  color: white;
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

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

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 32, 44, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  user-select: none;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  pointer-events: none; /* Block right-click on lightbox image */
  user-select: none;
  -webkit-user-drag: none;
  filter: brightness(1.03) contrast(1.04) saturate(1.05); /* Clean up colors/brightness */
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2100;
}

.lightbox-close:hover {
  color: var(--color-pink);
  transform: scale(1.1);
}


