@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

            @font-face {
                font-family: 'Cause';
                src: url('../fonts/Cause.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
            }
            
            @font-face {
                font-family: 'Inter';
                src: url('../fonts/Inter.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
            }
            
            @font-face {
                font-family: 'Montserrat';
                src: url('../fonts/Montserrat.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
            }
            
            @font-face {
                font-family: 'Open Sans';
                src: url('../fonts/OpenSans.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
            }
            
            @font-face {
                font-family: 'Siddhanta';
                src: url('../fonts/Siddhanta.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
            }
            
/* --- Theme Variables --- */
:root {
    --font-family: 'Lora', Georgia, serif;
    --font-body: var(--font-family);
    --font-display: 'Cinzel', Georgia, serif;
    --font-ui: 'Plus Jakarta Sans', sans-serif;
    --nav-bg: #0a0c14;
    --dropdown-bg: rgba(16, 19, 32, 0.98);
    --accent-primary: #d4af37;
    --accent-secondary: #9b8afb;
    --accent-copper: var(--accent-primary); /* Map to dynamic */
    --accent-gold: var(--accent-primary);    /* Map to dynamic */
    --text-main: #f2ede2;
    --text-dim: rgba(242, 237, 226, 0.7);
    --bg-color: #07090f;
    --bg-texture: none;
    --card-bg: #101320;
    --card-img-bg: var(--card-bg); /* Use card-bg or dynamic */
    --footer-bg: #06070c;
    --border-color: rgba(200, 164, 93, 0.28);
    --nav-height: 72px;
    --blur-amount: 12px;

    /* Dynamic Theme Button Custom Properties */
    --theme-btn-bg: rgba(20, 24, 39, 1.0);
    --theme-btn-color: #d4af37;
    --theme-btn-border: 1px solid rgba(212, 175, 55, 0.35);
    --theme-btn-radius: 8px;
    --theme-btn-hover-bg: rgba(212, 175, 55, 1.0);
    --theme-btn-hover-color: #07090f;
    --theme-btn-halo: rgba(212, 175, 55, 0.3);

    /* Social Icon Custom Properties */
    --social-shape: none;
    --social-radius: 0;
    --social-size: 28px;
    --social-padding: 0px;
    --social-spacing: 15px;
    --social-border-width: 0px;
    --social-bg: transparent;
    --social-color: #B5835A;
    --social-border-color: transparent;
    --social-hover-bg: transparent;
    --social-hover-color: #1a120b;
    --logo-height-layout-a: 96px;
    --title-size-layout-a: 2.25rem;
    --motto-size-layout-a: 0.8rem;
    --gap-layout-a: 0.64rem;

    /* Layout B Banner Specifics */
    --banner-text-bg-title: transparent;
    --banner-text-bg-motto: transparent;
    --banner-text-color-title: #f7f0df;
    --banner-text-color-motto: #c8a45d;
    --banner-text-border-title: none;
    --banner-text-border-motto: none;
    --banner-text-shadow-title: none;
    --banner-text-shadow-motto: none;

    /* Logo Decoration Custom Properties (Dark Mode) */
    --logo-border: 2px solid var(--accent-primary);
    --logo-radius: 50%;
    --logo-shadow: 0 0 30px rgba(0,0,0,0.5);
    --logo-padding: 0px;
    --logo-bg: transparent;
    
    --logo-ring-enabled: block;
    --logo-ring-border: 1px solid rgba(255,255,255,0.15);
    --logo-ring-radius: 50%;
    --logo-ring-shadow: 0 0 40px rgba(0,0,0,0.3);
    --logo-ring-size: 180px;

    /* Page Title Custom Properties */

    --page-title-font-family: 'Cinzel', Georgia, serif;
    --page-title-font-size: 2.5rem;
    --page-title-font-weight: 700;
    --page-title-text-transform: uppercase;
    --page-title-letter-spacing: 2px;
    --page-title-border-bottom: 2px solid var(--border-color);
    --page-title-padding-bottom: 0.5rem;
    --page-title-color: var(--accent-primary);

    /* Blog Custom Properties */
    --blog-title: var(--accent-primary);
    --blog-text: var(--text-main);
    --blog-bg: var(--bg-color);
    --blog-card-bg: var(--card-bg);
    --blog-accent-primary: var(--accent-primary);

    /* Gradient Custom Properties */
    --gradient-start: #07090f;
    --gradient-end: #111629;
    --gradient-dir: 135deg;

    /* Footer Menu Custom Properties */
    --footer-menu-font-family: inherit;
    --footer-menu-font-size: 0.85rem;
    --footer-menu-color: var(--text-main);
}

[data-theme="light"] {
    --nav-bg: #fbf8f1;
    --dropdown-bg: rgba(253, 251, 246, 0.98);
    --accent-primary: #946b1e; 
    --accent-secondary: #4c3f82;
    --accent-copper: var(--accent-primary);
    --accent-gold: var(--accent-primary);
    --text-main: #1b1814; 
    --text-dim: rgba(27, 24, 20, 0.6);
    --bg-color: #f5efe2;
    --card-bg: #fdfbf6;
    --card-img-bg: var(--card-bg);
    --footer-bg: #ede4d0;
    --border-color: rgba(140, 109, 47, 0.28);

    /* Dynamic Theme Button Custom Properties */
    --theme-btn-bg: rgba(253, 251, 246, 1.0);
    --theme-btn-color: #946b1e;
    --theme-btn-border: 1px solid rgba(140, 109, 47, 0.38);
    --theme-btn-radius: 8px;
    --theme-btn-hover-bg: rgba(148, 107, 30, 1.0);
    --theme-btn-hover-color: #fdfbf6;
    --theme-btn-halo: rgba(148, 107, 30, 0.3);

    /* Social Icon Custom Properties */
    --social-bg: transparent;
    --social-color: #2a1f18;
    --social-border-color: transparent;
    --social-hover-bg: transparent;
    --social-hover-color: transparent;

    /* Layout B Banner Specifics */
    --banner-text-bg-title: transparent;
    --banner-text-bg-motto: transparent;
    --banner-text-color-title: #1b1814;
    --banner-text-color-motto: #6b5324;
    --banner-text-border-title: none;
    --banner-text-border-motto: none;
    --banner-text-shadow-title: none;
    --banner-text-shadow-motto: none;

    /* Logo Decoration Custom Properties (Light Mode) */
    --logo-border: 2px solid var(--accent-primary);
    --logo-radius: 50%;
    --logo-shadow: 0 0 30px color-mix(in srgb, var(--accent-primary) 40%, transparent);
    --logo-padding: 0px;
    --logo-bg: transparent;
    
    --logo-ring-enabled: block;
    --logo-ring-border: 1px solid rgba(0,0,0,0.15);
    --logo-ring-radius: 50%;
    --logo-ring-shadow: 0 0 40px rgba(0,0,0,0.15);
    --logo-ring-size: 180px;

    /* Page Title Custom Properties */

    --page-title-color: var(--accent-primary);

    /* Blog Custom Properties */
    --blog-title: var(--accent-primary);
    --blog-text: var(--text-main);
    --blog-bg: var(--bg-color);
    --blog-card-bg: var(--card-bg);
    --blog-accent-primary: var(--accent-primary);

    /* Gradient Custom Properties */
    --gradient-start: #f8f4ea;
    --gradient-end: #ece2cc;
    --gradient-dir: 135deg;

    /* Footer Menu Custom Properties */
    --footer-menu-color: var(--text-main);
}
@layer legacy {

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

html, body {
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

body {
    font-family: var(--font-family, 'Lora', serif);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: var(--bg-texture);
}


/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-secondary), var(--accent-primary));
    border: 1px solid var(--bg-color);
}


/* --- Banner Styles --- */
.banner {
    width: 100%;
    height: 180px;
            background: linear-gradient(var(--gradient-dir), var(--gradient-start), var(--gradient-end));
        display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    border-bottom: 2px solid var(--border-color, var(--accent-primary));
}

.spanda {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 50px;
    z-index: 1;
    pointer-events: none;
}

.top-bar-toggles {
    position: absolute;
    top: 20px;
    right: 40px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-toggles .theme-toggle,
.top-bar-toggles .login-toggle,
.top-bar-toggles .gm-toggle,
.top-bar-toggles .email-toggle,
.top-bar-toggles .lang-selector-wrapper {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    z-index: auto !important;
}

.lang-selector-wrapper {
    position: relative;
    display: inline-block;
}

.lang-toggle-btn {
    background: var(--theme-btn-bg);
    border: var(--theme-btn-border, none);
    outline: none;
    color: var(--accent-primary, #B5835A);
    width: 50px;
    height: 50px;
    border-radius: var(--theme-btn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.lang-toggle-btn:hover {
    background: var(--theme-btn-hover-bg, var(--accent-primary, #B5835A));
    color: var(--theme-btn-hover-color, var(--bg-color, #0f0a07)) !important;
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent-primary) 40%, transparent);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg, #1a120b);
    border: 1px solid var(--border-color, var(--accent-primary));
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1200;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lang-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
}

.lang-option:hover {
    background: var(--accent-secondary);
    color: #ffffff;
}

[data-theme="light"] .lang-option:hover {
    color: inherit;
}

.lang-option.active {
    background: var(--accent-primary);
    color: var(--bg-color, #0f0a07) !important;
    font-weight: bold;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 100px;
    z-index: 10;
    background: var(--theme-btn-bg);
    border: var(--theme-btn-border, none);
    outline: none;
    color: var(--theme-btn-color);
    width: 50px;
    height: 50px;
    padding: 0;
    line-height: 1;
    border-radius: var(--theme-btn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.theme-toggle:hover {
    background: var(--theme-btn-hover-bg);
    color: var(--theme-btn-hover-color);
    box-shadow: 0 0 10px var(--theme-btn-halo);
}

.login-toggle {
    position: absolute;
    top: 20px;
    right: 40px;
    z-index: 10;
    background: var(--theme-btn-bg);
    border: var(--theme-btn-border, none);
    outline: none;
    color: var(--theme-btn-color);
    width: 50px;
    height: 50px;
    border-radius: var(--theme-btn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.login-toggle:hover {
    background: var(--theme-btn-hover-bg);
    color: var(--theme-btn-hover-color);
    box-shadow: 0 0 10px var(--theme-btn-halo);
}

.gm-toggle {
    position: absolute;
    top: 20px;
    right: 160px;
    z-index: 10;
    background: var(--theme-btn-bg);
    border: var(--theme-btn-border, none);
    outline: none;
    color: var(--theme-btn-color);
    width: 50px;
    height: 50px;
    border-radius: var(--theme-btn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.gm-toggle:hover {
    background: var(--theme-btn-hover-bg);
    color: var(--theme-btn-hover-color);
    box-shadow: 0 0 10px var(--theme-btn-halo);
}

.gm-toggle .gm-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.email-toggle {
    position: absolute;
    top: 20px;
    right: 160px;
    z-index: 10;
    background: var(--theme-btn-bg);
    border: var(--theme-btn-border, none);
    outline: none;
    color: var(--theme-btn-color);
    width: 50px;
    height: 50px;
    border-radius: var(--theme-btn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.email-toggle:hover {
    background: var(--theme-btn-hover-bg);
    color: var(--theme-btn-hover-color);
    box-shadow: 0 0 10px var(--theme-btn-halo);
}

[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .email-toggle:hover,
[data-theme="light"] .gm-toggle:hover,
[data-theme="light"] .login-toggle:hover {
    color: var(--theme-btn-hover-color, #fdfbf6) !important;
}

.email-toggle .email-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.login-toggle .login-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.theme-toggle .theme-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.theme-toggle span.theme-icon-img {
    width: 24px;
    height: 24px;
}

.theme-toggle .theme-icon-light {
    display: inline-flex;
}

.theme-toggle .theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-toggle .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-toggle .theme-icon-dark {
    display: inline-flex;
}

[data-theme="dark"] .email-icon,
html:not([data-theme="light"]) .email-icon,
[data-theme="dark"] .login-icon,
html:not([data-theme="light"]) .login-icon,
[data-theme="dark"] .gm-icon,
html:not([data-theme="light"]) .gm-icon {
    filter: invert(1);
}


.email-toggle ~ .gm-toggle {
    right: 220px;
}

.top-bar-toggles .email-toggle ~ .gm-toggle,
.top-bar-toggles .gm-toggle ~ .email-toggle {
    right: auto !important;
    position: relative !important;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px 40px;
}

.banner-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin: 0;
    color: var(--banner-text-color-title);
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: var(--banner-text-shadow-title, none);
}

.banner-subtitle {
    font-family: var(--font-ui, 'Montserrat', sans-serif);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-copper);
    margin-bottom: 5px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* --- Blog Cards --- */
.main-content {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 40px;
    flex: 1;
    width: 100%;
}


/* --- Footer --- */
.footer {
    background: var(--footer-bg);
    padding: 40px 0;
    border-top: 3px double var(--border-color, var(--accent-primary));
    text-align: center;
    transition: background 0.4s;
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--social-spacing, 15px);
    margin-bottom: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--social-color);
    background-color: var(--social-bg, transparent);
    border: var(--social-border-width, 0px) solid var(--social-border-color, transparent);
    border-radius: var(--social-radius, 0);
    padding: var(--social-padding, 8px);
    text-decoration: none;
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.social-icon svg,
.social-icon img {
    width: var(--social-size, 28px);
    height: var(--social-size, 28px);
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: var(--social-hover-color);
    background-color: var(--social-hover-bg);
    border-color: var(--social-hover-bg);
}

.social-icon:hover svg,
.social-icon:hover img {
    transform: scale(1.15);
}

.copyright {
    color: var(--text-main);
    opacity: 0.7;
    font-size: 0.8rem;
    margin-top: 40px;
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
}

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
    .social-links {
        gap: 12px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 40px 20px 20px 20px; /* Increased top padding for better gap */
        overflow-x: visible;
    }

}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

}

@media (max-width: 360px) {
    .main-content {
        padding: 30px 10px 10px 10px !important; /* Larger gap for 360px devices */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

}

/*
@media (min-width: 1920px) {
    .banner, .navbar, .main-content, .footer {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        border-left: 2px solid var(--border-color, var(--accent-primary));
        border-right: 2px solid var(--border-color, var(--accent-primary));
    }
}
*/

/* --- Custom Pages Page Title Styling --- */
.page-title {
    font-family: var(--page-title-font-family, inherit);
    font-size: var(--page-title-font-size, 2.5rem);
    font-weight: var(--page-title-font-weight, 700);
    text-transform: var(--page-title-text-transform, uppercase);
    letter-spacing: var(--page-title-letter-spacing, 2px);
    border-bottom: var(--page-title-border-bottom, 2px solid var(--border-color));
    padding-bottom: var(--page-title-padding-bottom, 0.5rem);
    color: var(--page-title-color, var(--accent-primary));
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    html:not([data-vibe-header="compact-nav"]):not([data-vibe-header="glass-hero"]) .banner {
        display: none;
    }
}

.mobile-biz-name, .category-title, #menu-title {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
}


.main-logo {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: var(--logo-radius);
    border: var(--logo-border);
    box-shadow: var(--logo-shadow);
    padding: var(--logo-padding);
    background-color: var(--logo-bg);
    transition: all 0.3s ease;
}

.mobile-logo {
    border-radius: var(--logo-radius) !important;
    border: var(--logo-border) !important;
    box-shadow: var(--logo-shadow) !important;
    padding: var(--logo-padding) !important;
    background-color: var(--logo-bg) !important;
}

.logo-outer-ring {
    display: var(--logo-ring-enabled, block);
    position: absolute;
    width: var(--logo-ring-size, 180px);
    height: var(--logo-ring-size, 180px);
    border-radius: var(--logo-ring-radius, 50%);
    border: var(--logo-ring-border, 1px solid rgba(255,255,255,0.15));
    box-shadow: var(--logo-ring-shadow, 0 0 40px rgba(0,0,0,0.3));
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Hide Scrollbars in Iframe Preview */
html.hide-scrollbars, 
html.hide-scrollbars body,
html.hide-scrollbars * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
html.hide-scrollbars::-webkit-scrollbar,
html.hide-scrollbars body::-webkit-scrollbar,
html.hide-scrollbars *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* --- Content Dividers --- */
.content-header-divider, .content-footer-divider {
    height: 1px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, var(--accent-primary, #b5835a), transparent);
    opacity: 0.8;
}

.content-header-divider {
    margin-top: 0;
    margin-bottom: 2rem;
}

.content-footer-divider {
    margin-top: 2rem;
    margin-bottom: 0;
}

.layout-a .main-logo {
    height: var(--logo-height-layout-a, 150px);
    width: var(--logo-height-layout-a, 150px);
}
.layout-a .banner-title {
    font-size: var(--title-size-layout-a, 3.5rem) !important;
}
.layout-a .banner-motto {
    font-size: var(--motto-size-layout-a, 1.2rem) !important;
}
.layout-a {
    gap: var(--gap-layout-a, 1rem) !important;
}

/* --- Home Page Spacing Adjustments (classic canvas-only layout only) --- */
body.home-page .main-content:not(:has(.vibe-sec)) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 !important;
}
body.home-page .content-header-divider {
    display: none !important;
}
body.home-page .content-footer-divider {
    display: none !important;
}
html[data-vibe-footer="classic"] body.home-page .footer {
    padding: 15px var(--vibe-gutter, 1.5rem) !important;
}
} /* end @layer legacy */
