@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;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 {
    --nav-bg: #1e1e24;
    --dropdown-bg: rgba(17, 24, 39, 0.98);
    --accent-primary: #ffffff;
    --accent-secondary: #4b5563;
    --accent-copper: var(--accent-primary); /* Map to dynamic */
    --accent-gold: var(--accent-primary);    /* Map to dynamic */
    --text-main: #f9fafb;
    --text-dim: rgba(249, 250, 251, 0.7);
    --bg-color: #1e1e24;
    --bg-texture: none;
    --card-bg: #111827;
    --card-img-bg: var(--card-bg); /* Use card-bg or dynamic */
    --footer-bg: #1e1e24;
    --border-color: rgba(181, 131, 90, 0);
    --nav-height: 48px;
    --blur-amount: 12px;

    /* Dynamic Theme Button Custom Properties */
    --theme-btn-bg: rgba(143, 143, 143, 0.2);
    --theme-btn-color: #000000;
    --theme-btn-border: none;
    --theme-btn-radius: 50%;
    --theme-btn-hover-bg: rgba(217, 217, 217, 0.2);
    --theme-btn-hover-color: #1a120b;
    --theme-btn-halo: rgba(188, 205, 215, 0.3);

    /* Social Icon Custom Properties */
    --social-shape: none;
    --social-radius: 0;
    --social-size: 36px;
    --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: 118px;
    --title-size-layout-a: 2.75rem;
    --motto-size-layout-a: 0.94rem;
    --gap-layout-a: 0.79rem;

    /* Layout B Banner Specifics */
    --banner-text-bg-title: transparent;
    --banner-text-bg-motto: transparent;
    --banner-text-color-title: #ffffff;
    --banner-text-color-motto: #ffffff;
    --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(0,0,0,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: 'Inter', sans-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: #ffffff;

    /* Blog Custom Properties */
    --blog-title: #ffffff;
    --blog-text: #d1d5db;
    --blog-bg: #1e1e24;
    --blog-card-bg: #111827;
    --blog-accent-primary: #ffffff;

    /* Gradient Custom Properties */
    --gradient-start: #1e1e24;
    --gradient-end: #1e1e24;
    --gradient-dir: to top;
}

[data-theme="light"] {
    --nav-bg: #f8f9fa;
    --dropdown-bg: rgba(249, 250, 251, 0.98);
    --accent-primary: #000000; 
    --accent-secondary: #e1e6ef;
    --accent-copper: var(--accent-primary);
    --accent-gold: var(--accent-primary);
    --text-main: #111827; 
    --text-dim: rgba(17, 24, 39, 0.6);
    --bg-color: #f8f9fa;
    --card-bg: #f9fafb;
    --card-img-bg: var(--card-bg);
    --footer-bg: #f8f9fa;
    --border-color: rgba(0, 0, 0, 0);

    /* Dynamic Theme Button Custom Properties */
    --theme-btn-bg: rgba(143, 156, 168, 0.2);
    --theme-btn-color: #2a1f18;
    --theme-btn-border: none;
    --theme-btn-radius: 50%;
    --theme-btn-hover-bg: rgba(70, 89, 134, 0.2);
    --theme-btn-hover-color: #000000;
    --theme-btn-halo: rgba(90, 141, 181, 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: #000000;
    --banner-text-color-motto: #000000;
    --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 rgba(181, 131, 90, 0.4);
    --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: #000000;

    /* Blog Custom Properties */
    --blog-title: #cb2525;
    --blog-text: #374151;
    --blog-bg: #ffffff;
    --blog-card-bg: #f3f4f6;
    --blog-accent-primary: #000000;

    /* Gradient Custom Properties */
    --gradient-start: #f8f9fa;
    --gradient-end: #f8f9fa;
    --gradient-dir: 135deg;
}

* {
    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: '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: 220px;
            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: hidden;
    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: 100;
    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;
    top: auto;
    right: auto;
    z-index: auto;
}

.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: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.lang-toggle-btn:hover {
    background: var(--accent-primary, #B5835A);
    color: var(--bg-color, #0f0a07) !important;
    box-shadow: 0 0 10px rgba(181, 131, 90, 0.4);
}

.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: 1000;
    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: "Montserrat", 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;
    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;
    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);
    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;
    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);
    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;
    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);
    box-shadow: 0 0 10px var(--theme-btn-halo);
}

[data-theme="light"] .theme-toggle:hover {
    color: var(--theme-btn-color, #2a1f18) !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;
}

.theme-toggle .theme-icon-light {
    display: block;
}

.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: block;
}

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


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

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

.banner-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    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: '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: 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) !important;
    background-color: var(--social-hover-bg) !important;
    border-color: var(--social-hover-bg) !important;
}

.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: 'Inter', sans-serif;
    font-weight: 600;
}

/* --- 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: hidden;
    }

}

@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) {
    .banner { display: none !important; }
}

.mobile-biz-name, .category-title, #menu-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}


.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 --- */
body.home-page .main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
}
body.home-page .content-header-divider {
    display: none !important;
}
body.home-page .content-footer-divider {
    display: none !important;
}
body.home-page .footer {
    padding: 15px 0 !important;
}
