/* =====================================================
   Baker & Mom - Main Stylesheet
   Theme: Rustic & Cosy — Dark wood, Deep reds, Cream
   ===================================================== */

/* --- CSS Variables --- */
:root {
    --wood-dark:    #2C1A0E;
    --wood-mid:     #4A2C17;
    --wood-light:   #7B4F2E;
    --red-deep:     #8B1A1A;
    --red-warm:     #A0281E;
    --red-light:    #C0392B;
    --cream:        #F5EFE0;
    --cream-dark:   #EDE0C4;
    --parchment:    #D4B896;
    --text-dark:    #1E1209;
    --text-mid:     #4A3728;
    --text-light:   #7A6050;
    --gold:         #C8973C;
    --gold-light:   #E8B96A;
    --white:        #FFFFFF;
    --shadow:       rgba(44, 26, 14, 0.15);
    --shadow-deep:  rgba(44, 26, 14, 0.35);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', 'Helvetica Neue', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--wood-dark);
    font-weight: 700;
}

a {
    color: var(--red-deep);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--red-light); text-decoration: none; }

img { max-width: 100%; }

/* --- Top Bar --- */
.topbar {
    background: var(--wood-dark);
    color: var(--parchment);
    padding: 6px 0;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}
.topbar a { color: var(--parchment); }
.topbar a:hover { color: var(--gold-light); }

/* --- Header --- */
.site-header {
    background: var(--wood-mid);   
    padding: 20px 0;
    border-bottom: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Logo */
.logo-link { text-decoration: none; display: inline-block; }
.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--red-deep);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-light);
    flex-shrink: 0;
    box-shadow: 0 2px 10px var(--shadow-deep);
    transition: transform 0.3s ease;
}
.logo-link:hover .logo-icon { transform: rotate(-10deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
    letter-spacing: 0.01em;
}
.logo-amp { color: var(--gold-light); }
.logo-sub {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--parchment);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.header-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--parchment);
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.85;
}

/* --- Navigation --- */
.site-nav {
    background: var(--red-deep);
    padding: 0;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 3px 12px var(--shadow-deep);
}
.site-nav .navbar-nav .nav-item { position: relative; }
.site-nav .navbar-nav .nav-link {
    color: var(--cream) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 20px !important;
    transition: background 0.2s ease, color 0.2s ease;
}
.site-nav .navbar-nav .nav-link:hover,
.site-nav .navbar-nav .active .nav-link {
    background: var(--wood-dark) !important;
    color: var(--gold-light) !important;
}
.site-nav .navbar-nav .active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* --- Wrapper --- */
.wrapper2 {
    padding: 50px 0;
}

/* --- Page Title Banner --- */
.page-banner {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-mid) 100%);
    color: var(--cream);
    padding: 50px 0 40px;
    text-align: center;
    border-bottom: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -15px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid var(--gold);
}
.page-banner h1 {
    font-family: var(--font-display);
    color: var(--cream);
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.page-banner .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: var(--parchment); font-size: 0.85rem; }
.page-banner .breadcrumb-item.active { color: var(--gold-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--parchment); }

/* --- Hero / Index Section --- */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--wood-light);
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /*background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?w=1600&q=80');*/
    background-image: url('../../images/main_page_background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.70; /* watermark / faded effect */
    transition: opacity 0.5s ease;
}
.hero-section:hover .hero-bg { opacity: 0.70; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(44,26,14,0.5) 0%, rgba(44,26,14,0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cream);
    padding: 40px 0;
}
.hero-content .hero-badge {
    display: inline-block;
    background: var(--red-deep);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 20px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    margin-bottom: 20px;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-content h1 em {
    color: var(--gold-light);
    font-style: italic;
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--parchment);
    max-width: 600px;
    margin: 0 auto 32px;
    font-weight: 300;
    line-height: 1.8;
}
.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
}

/* --- Buttons --- */
.btn-rustic {
    background: var(--red-deep);
    color: var(--cream);
    border: 2px solid var(--red-deep);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 12px 30px;
    border-radius: 3px;
    transition: all 0.25s ease;
}
.btn-rustic:hover {
    background: var(--wood-dark);
    border-color: var(--gold);
    color: var(--gold-light);
    text-decoration: none;
}
.btn-outline-rustic {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--parchment);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 12px 30px;
    border-radius: 3px;
    transition: all 0.25s ease;
}
.btn-outline-rustic:hover {
    background: var(--cream);
    color: var(--wood-dark);
    text-decoration: none;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
    display: inline-block;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; text-decoration: none; }
.btn-gold {
    background: var(--gold);
    color: var(--wood-dark);
    border: 2px solid var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 28px;
    border-radius: 3px;
    transition: all 0.25s ease;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--wood-dark); }

/* --- Section Headings --- */
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--wood-dark);
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--gold);
}
.section-title.centered::after { left: 50%; transform: translateX(-50%); }
.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 40px;
    font-style: italic;
}

/* --- Feature Cards (Homepage) --- */
.feature-card {
    background: #fff;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px var(--shadow-deep);
}
.feature-card .feature-icon {
    width: 64px; height: 64px;
    background: var(--red-deep);
    color: var(--gold-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}
.feature-card h5 { font-family: var(--font-display); color: var(--wood-dark); }
.feature-card p { color: var(--text-light); font-size: 0.93rem; }

/* --- Rustic Section BG --- */
.bg-rustic { background: var(--wood-dark); color: var(--cream); }
.bg-rustic h2, .bg-rustic h3 { color: var(--cream); }
.bg-cream { background: var(--cream); }
.bg-parchment { background: var(--cream-dark); }
.bg-wood { background: var(--wood-mid); color: var(--cream); }

/* --- Product Cards --- */
.product-card {
    background: #fff;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-deep);
}
.product-card-img {
    height: 220px;
    overflow: hidden;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.07); }
.product-card-img .no-img {
    font-size: 3rem;
    color: var(--parchment);
}
.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-body h5 {
    font-family: var(--font-display);
    color: var(--wood-dark);
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.product-card-body .product-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red-deep);
    margin-bottom: 8px;
}
.product-card-body p {
    color: var(--text-light);
    font-size: 0.88rem;
    flex: 1;
}
.product-price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--red-deep);
    font-weight: 700;
    margin-top: 12px;
}
.product-weight { font-size: 0.8rem; color: var(--text-light); }
.badge-allergen {
    background: var(--cream-dark);
    color: var(--text-mid);
    border: 1px solid var(--parchment);
    border-radius: 2px;
    font-size: 0.7rem;
    padding: 2px 8px;
    display: inline-block;
    margin: 2px;
}

/* --- Category Sidebar --- */
.category-sidebar {
    background: #fff;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}
.category-sidebar .sidebar-title {
    background: var(--wood-dark);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 1rem;
    padding: 14px 18px;
    margin: 0;
    letter-spacing: 0.05em;
}
.category-sidebar .sidebar-title i { margin-right: 8px; }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    color: var(--text-mid);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--cream-dark);
    transition: background 0.15s, color 0.15s;
}
.category-list li a:hover,
.category-list li a.active {
    background: var(--cream);
    color: var(--red-deep);
    font-weight: 700;
    text-decoration: none;
}
.category-list li a .badge {
    background: var(--red-deep);
    color: #fff;
    font-size: 0.72rem;
    border-radius: 10px;
}

/* --- Blog Cards --- */
.blog-card {
    background: #fff;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px var(--shadow-deep); }
.blog-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--cream-dark);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body .post-date {
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.blog-card-body h5 { font-family: var(--font-display); color: var(--wood-dark); font-size: 1.1rem; }
.blog-card-body p { color: var(--text-light); font-size: 0.88rem; flex: 1; }
.blog-card-body .read-more { color: var(--red-deep); font-weight: 700; font-size: 0.85rem; }

/* --- Contact Form --- */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    padding: 36px;
    box-shadow: 0 2px 14px var(--shadow);
}
.form-control {
    border: 1px solid var(--parchment);
    border-radius: 3px;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    border-color: var(--red-deep);
    box-shadow: 0 0 0 3px rgba(139,26,26,0.12);
    background: #fff;
    color: var(--text-dark);
}
label { font-weight: 700; font-size: 0.88rem; color: var(--wood-dark); letter-spacing: 0.03em; }
.contact-info-box {
    background: var(--wood-dark);
    color: var(--cream);
    border-radius: 4px;
    padding: 36px;
}
.contact-info-box h4 { font-family: var(--font-display); color: var(--gold-light); }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item i { color: var(--gold); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.contact-info-item p { margin: 0; color: var(--parchment); font-size: 0.92rem; }
.contact-info-item a { color: var(--cream); }
.contact-info-item a:hover { color: var(--gold-light); }

/* --- About Page --- */
.about-img-wrap {
    position: relative;
}
.about-img-wrap img {
    border-radius: 4px;
    box-shadow: 10px 10px 0 var(--gold);
}
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 8px;
    width: 2px;
    background: var(--gold);
}
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-dot {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 14px; height: 14px;
    background: var(--red-deep);
    border: 2px solid var(--gold);
    border-radius: 50%;
}
.timeline-item h6 { font-family: var(--font-display); color: var(--red-deep); margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; color: var(--text-mid); margin: 0; }

/* --- Alert Styles --- */
.alert-rustic {
    background: var(--cream-dark);
    border: 1px solid var(--parchment);
    border-left: 4px solid var(--red-deep);
    color: var(--text-dark);
    border-radius: 3px;
}

/* --- Decorative Divider --- */
.rustic-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
}
.rustic-divider::before, .rustic-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--parchment));
}
.rustic-divider::after {
    background: linear-gradient(to left, transparent, var(--parchment));
}
.rustic-divider-icon { color: var(--gold); font-size: 1.2rem; }

/* --- Footer --- */
.site-footer { background: var(--wood-dark); color: var(--parchment); }
.footer-main { padding: 60px 0 40px; }
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    font-weight: 700;
}
.footer-logo i { color: var(--gold-light); }
.footer-desc { font-size: 0.88rem; color: var(--parchment); line-height: 1.7; }
.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: var(--parchment); font-size: 0.88rem; transition: color 0.2s; }
.footer-links li a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: var(--parchment);
}
.footer-contact li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: var(--parchment); }
.footer-contact a:hover { color: var(--gold-light); }
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--parchment);
    font-size: 0.9rem;
    margin-right: 8px;
    transition: all 0.2s;
}
.social-btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.social-btn.whatsapp-btn:hover { background: #25D366; border-color: #25D366; color: #fff; }
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 14px 0;
    font-size: 0.82rem;
    color: rgba(245,239,224,0.6);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-love { color: var(--red-deep); }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--wood-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-deep); }

/* --- Fade In Animation --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .site-nav .navbar-nav .nav-link { padding: 12px 16px !important; }
    .contact-form-wrap { padding: 24px; }
    .footer-main { padding: 40px 0 24px; }
}

.post-content video {
    max-height: 200px;
    width: auto;
}