/* 
 * Brottoast Premium Design System 
 * Strictly class-based styling (no direct tag selectors)
 */

:root {
    --primary: #f39c12;
    /* Golden Toast */
    --primary-dark: #d35400;
    --secondary: #2c3e50;
    /* Charcoal */
    --accent: #e67e22;
    --bg-light: #ffffff;
    --bg-grey: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-mid: #555555;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.body-wrapper {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Classes (Used instead of tags) */
.hero-main-title {
    font-size: clamp(40px, 8vw, 75px);
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 20px 0;
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.left-align {
    text-align: left;
}

.section-subtitle {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Ad Note Area */
.top-ad-note {
    background-color: #fcfcfc;
    color: #888888;
    font-size: 12px;
    text-align: center;
    padding: 12px 15px;
    border-bottom: 1px solid #efefef;
    font-weight: 400;
}

/* Header & Nav Classes */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1.5px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Button Component */
.cta-button {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.4);
}

/* Hamburger UI */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: var(--transition);
}

/* Mobile Overlay System */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--secondary);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.4);
}

.mobile-overlay.active {
    right: 0;
}

.mobile-menu-inner {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
}

.mobile-close-btn {
    align-self: flex-end;
    font-size: 45px;
    color: var(--white);
    cursor: pointer;
    margin-bottom: 40px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.mobile-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
}

/* Hero Design */
.hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at top right, rgba(243, 156, 18, 0.05), transparent 60%);
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-text-content {
    flex: 1.2;
}

.hero-subtext {
    font-size: 20px;
    color: var(--text-mid);
    margin-bottom: 40px;
}

.hero-media-wrapper {
    flex: 1;
    position: relative;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.hero-media-wrapper:hover .hero-image {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-shadow {
    position: absolute;
    width: 80%;
    height: 70%;
    background: var(--primary);
    bottom: -20px;
    right: -20px;
    border-radius: 30px;
    opacity: 0.1;
    z-index: 1;
}

/* Feature Cards Grid */
.section-wrapper {
    padding: 120px 0;
}

.grey-bg {
    background-color: var(--bg-grey);
}

.container-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.tiny {
    max-width: 850px;
}

.text-center {
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.feature-icon-box {
    font-size: 48px;
    margin-bottom: 25px;
}

.feature-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-card-text {
    font-size: 16px;
    color: var(--text-mid);
    margin: 0;
}

/* About Section Design */
.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image-box {
    flex: 1;
}

.about-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-content-box {
    flex: 1.2;
}

.about-desc {
    font-size: 18px;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.check-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--secondary);
}

.check-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 20px;
}

/* Slider / Gallery Simulation */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-img {
    width: 100%;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

/* Testimonials System */
.gradient-bg {
    background: linear-gradient(135deg, var(--secondary) 0%, #1c2833 100%);
}

.text-white {
    color: var(--white);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card-dark {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* FAQ Accordion */
.faq-accordion {
    margin-top: 40px;
}

.faq-row {
    margin-bottom: 15px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-header:hover {
    background-color: var(--bg-grey);
}

.faq-label {
    font-weight: 700;
    font-size: 18px;
}

.faq-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-out;
}

.faq-row.active .faq-body {
    padding: 0 30px 25px 30px;
    max-height: 300px;
}

.faq-row.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer Section Classes */
.footer-main {
    background-color: var(--secondary);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

.footer-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-item {
    margin-bottom: 12px;
}

.footer-nav-link,
.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav-link:hover,
.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
    padding: 40px 30px 0;
    text-align: center;
}

.footer-ad-disclaimer {
    color: #718096;
    font-size: 13px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.footer-copy {
    color: #a0aec0;
    font-size: 14px;
}

/* Cookie Banner Classes */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 20px;
    right: 20px;
    background: var(--white);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    border-radius: 20px;
    padding: 25px 35px;
    transition: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 1000px;
    margin: 0 auto;
}

.cookie-banner.active {
    bottom: 30px;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-btns {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-alt {
    background-color: var(--bg-grey);
    color: var(--secondary);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Modal Classes */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-card {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 35px;
    cursor: pointer;
    color: var(--text-mid);
}

/* Animations */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.loader-brand {
    font-size: 50px;
    font-weight: 800;
    color: var(--primary);
    animation: loader-pulse 1.5s infinite;
}

@keyframes loader-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-main-title {
        font-size: 40px;
    }

    .about-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .section-title.left-align {
        text-align: center;
    }

    .check-list {
        display: inline-block;
        text-align: left;
    }
}