/* ===== BASE & VARIABLES ===== */
:root {
    --gold: #C5A044;
    --gold-light: #D4B45E;
    --gold-dark: #A8872E;
    --dark: #1A1A1A;
    --dark-2: #222222;
    --dark-3: #2A2A2A;
    --cream: #FDF8F0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    font-family: var(--font-body);
    color: #333;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.text-gold { color: var(--gold) !important; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: #aaa;
    font-size: 0.8rem;
    padding: 8px 0;
}
.top-bar-social a {
    color: #aaa;
    margin-left: 12px;
    transition: color 0.3s;
}
.top-bar-social a:hover { color: var(--gold); }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--dark-2) !important;
    padding: 15px 0;
    transition: all 0.3s;
}
.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.brand-logo {
    height: 75px;
    width: auto;
    transition: all 0.3s;
}
.navbar.scrolled .brand-logo { height: 60px; }
.footer-logo {
    height: 100px;
    width: auto;
}
.brand-be {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gold);
}
.brand-bakes {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
}
.navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 25px;
    position: relative;
    transition: color 0.3s;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold) !important;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    padding: 120px 0 140px;
    overflow: hidden;
    background: var(--dark);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    background: var(--dark);
}
.hero-slide {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0;
}
.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,10,10,0.88) 0%, rgba(26,26,26,0.75) 45%, rgba(26,26,26,0.35) 80%, rgba(58,46,26,0.25) 100%);
    z-index: 1;
}
/* Ken Burns zoom on active slide */
.carousel-item.active .hero-slide,
.carousel-item-next .hero-slide,
.carousel-item-prev .hero-slide {
    animation: slowZoom 12s ease-in-out infinite alternate;
}
/* Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 5%;
    opacity: 0.6;
    z-index: 5;
}
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { opacity: 1; }
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(197,160,68,0.85);
    border-radius: 50%;
    background-size: 45%;
}
/* Indicators */
.hero-slider .carousel-indicators {
    bottom: 25px;
    z-index: 5;
    margin-bottom: 0;
}
.hero-slider .carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.4);
    border: none;
    margin: 0 5px;
    transition: all 0.3s;
}
.hero-slider .carousel-indicators button.active {
    background-color: var(--gold);
    width: 60px;
}
/* Animate slide text */
.carousel-item.active .hero-title,
.carousel-item.active .hero-subtitle,
.carousel-item.active .hero-desc,
.carousel-item.active .mt-4 {
    animation: fadeUp 0.9s ease-out both;
}
.carousel-item.active .hero-subtitle { animation-delay: 0.1s; }
.carousel-item.active .hero-title { animation-delay: 0.25s; }
.carousel-item.active .hero-desc { animation-delay: 0.4s; }
.carousel-item.active .mt-4 { animation-delay: 0.55s; }
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1589302168068-964664d93dc0?w=1920&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: slowZoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15,15,15,0.92) 0%, rgba(26,26,26,0.85) 40%, rgba(26,26,26,0.55) 75%, rgba(58,46,26,0.45) 100%);
    z-index: 1;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,68,0.18) 0%, transparent 70%);
    z-index: 1;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,68,0.12) 0%, transparent 70%);
    z-index: 1;
}
@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.min-vh-80 { min-height: 70vh; }
.hero-subtitle {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-cursive {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--gold-light);
}
.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 520px;
    line-height: 1.8;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    text-align: center;
    padding: 20px;
}
.hero-image {
    width: 100%;
    max-width: 480px;
    height: 480px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(197,160,68,0.3);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5), 0 0 0 15px rgba(197,160,68,0.08);
    position: relative;
    z-index: 2;
    animation: floatSlow 6s ease-in-out infinite;
}
.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,68,0.35) 0%, transparent 60%);
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite;
}
.hero-badge {
    position: absolute;
    top: 40px;
    right: 30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(197,160,68,0.5);
    transform: rotate(-15deg);
    border: 3px solid rgba(255,255,255,0.2);
}
.badge-text { font-size: 1.8rem; font-weight: 900; font-family: var(--font-heading); line-height: 1; }
.badge-sub { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 32px;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197,160,68,0.4);
}
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    padding: 10px 32px;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.py-6 { padding: 80px 0; }
.section-subtitle {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}
.title-underline {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== PRODUCT CARDS (Home) ===== */
.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 0 0 30px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid #f0f0f0;
    height: 100%;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: var(--gold);
}
.product-card.featured {
    background: var(--dark);
    color: #fff;
    border-color: var(--gold);
}
.product-card.featured p { color: rgba(255,255,255,0.7); }
.product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    margin-bottom: 22px;
    background: #f5f5f5;
}
.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.08);
}
.product-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #fff;
}
.product-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    padding: 0 25px;
}
.product-card p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0;
    padding: 0 25px;
}

/* ===== TAGLINE BANNER ===== */
.tagline-banner {
    background: var(--dark);
    padding: 80px 0;
}
.tagline-text {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.tagline-text em {
    font-family: var(--font-heading);
    color: var(--gold-light);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid #eee;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(197,160,68,0.1), rgba(197,160,68,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.3rem;
    color: var(--gold);
}
.feature-card h6 { font-weight: 700; margin-bottom: 10px; font-family: var(--font-heading); }
.feature-card p { color: #777; font-size: 0.85rem; margin-bottom: 0; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #2a1f0a 100%);
    padding: 80px 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    background: var(--dark);
    isolation: isolate;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1589302168068-964664d93dc0?w=1920&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: slowZoom 25s ease-in-out infinite alternate;
}
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,15,15,0.92) 0%, rgba(26,26,26,0.8) 50%, rgba(58,46,26,0.6) 100%);
    z-index: -1;
}
.page-header .container { position: relative; z-index: 1; }
.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.page-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    letter-spacing: 1px;
}

/* Per-page header variants */
.page-header.page-header-about::before {
    background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1920&auto=format&fit=crop&q=80');
}
.page-header.page-header-products::before {
    background-image: url('https://images.unsplash.com/photo-1631452180519-c014fe946bc7?w=1920&auto=format&fit=crop&q=80');
}
.page-header.page-header-contact::before {
    background-image: url('https://images.unsplash.com/photo-1504754524776-8f4f37790ca0?w=1920&auto=format&fit=crop&q=80');
}

/* ===== ABOUT PAGE ===== */
.stat-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(197,160,68,0.2);
}
.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}
.stat-card p { color: #777; font-size: 0.85rem; margin-bottom: 0; }

/* MVV Cards */
.mvv-card {
    height: 100%;
    padding: 10px 0;
}
.mvv-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
}
.mvv-card h4 { color: var(--gold); font-weight: 700; margin-bottom: 15px; }
.mvv-list {
    list-style: none;
    padding: 0;
}
.mvv-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}
.mvv-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}
.mvv-vision-text {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

/* ===== PRODUCTS PAGE ===== */
.product-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 0 0 30px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.product-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.4s;
    z-index: 3;
}
.product-detail-card:hover::before { transform: scaleX(1); }
.product-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}
.product-detail-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    background: #f5f5f5;
}
.product-detail-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.18) 100%);
}
.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-detail-card:hover .product-detail-image img {
    transform: scale(1.08);
}
.product-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
}
.product-detail-card h5 { font-weight: 700; margin-bottom: 8px; padding: 0 25px; }
.product-badge {
    display: inline-block;
    background: var(--cream);
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.product-detail-card p { color: #777; font-size: 0.9rem; padding: 0 25px; }
.product-features {
    list-style: none;
    padding: 0 25px;
    margin: 15px 0 0;
    text-align: left;
}
.product-features li {
    font-size: 0.85rem;
    color: #555;
    padding: 5px 0;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: var(--cream);
    border-radius: 12px;
}
.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197,160,68,0.15);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.footer-brand { margin-bottom: 10px; }
.footer-tagline { color: var(--gold); font-size: 0.9rem; font-weight: 500; }
.footer-heading {
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 18px;
    font-size: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    margin-right: 8px;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}
.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 20px;
}
.site-footer .text-muted a {
    color: var(--gold);
    text-decoration: none;
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out both;
}
.animate-fade-up:nth-child(2) { animation-delay: 0.15s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.45s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .tagline-text { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .page-title { font-size: 2rem; }
    .py-6 { padding: 50px 0; }
    .top-bar-contact { display: none; }
    .brand-logo { height: 55px; }
    .navbar.scrolled .brand-logo { height: 48px; }
}