/* --- Global Styles --- */
:root {
    --text-color: #3A2915;
    --logo-color-1: #8F481A;
    /* Darker Brown/Red */
    --logo-color-2: #F4A314;
    /* Orange/Yellow */
    --logo-color-3: #B72F17;
    /* Red */
    --background-light: #fdfaf6;
    --background-medium: #f7e9d7;
    --accent-color: var(--logo-color-2);
    --white: #FFFFFF;
    --font-primary: 'Arial', sans-serif;
    /* Basic font, replace with preferred one */
}

body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3 {
    color: var(--text-color);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    padding-top: 40px;
    /* Spacing for sections */
}

h3 {
    font-size: 1.5rem;
    color: var(--logo-color-1);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--logo-color-3);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background-color: var(--logo-color-1);
    color: var(--white);
    border-color: var(--logo-color-1);
    text-decoration: none;
}

/* --- Header --- */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo-text-1 {
    color: var(--logo-color-1);
}

.logo-text-2 {
    color: var(--logo-color-2);
}

.logo-text-3 {
    color: var(--logo-color-3);
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-box img {
    height: 50px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: bold;
    font-size: 1rem;
    color: var(--text-color);
}

nav ul li a:hover,
nav ul li a.active-link {
    color: var(--accent-color);
}


.language-switcher button {
    background: none;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.language-switcher button.active {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    /* Replace with your actual hero image */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    /* min-height: 50vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;

    animation: slideDown 12s ease-in-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-35%);
    }

    to {
        transform: translateY(25%);
    }
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-section .btn {
    background-color: var(--logo-color-2);
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 15px 30px;
}

.hero-section .btn:hover {
    background-color: var(--logo-color-1);
    color: var(--white);
}

.hero-section .container {
    position: relative;
}

/* --- About Section --- */
.about-section {
    padding: 60px 0;
    background-color: var(--background-medium);
}

.about-section .container {
    max-width: 900px;
}

/* --- Products Section --- */
.products-section {
    padding: 60px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(58, 41, 21, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 3px solid var(--background-medium);
}

.product-card h3 {
    margin-bottom: 10px;
}

/* --- Contact Section --- */
.contact-section {
    padding: 60px 0;
    background-color: var(--background-medium);
}

.contact-section .container {
    max-width: 700px;
}

.contact-section form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-section form input,
.contact-section form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    /* Ensures padding doesn't add to width */
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-color);
}

.contact-section form input:focus,
.contact-section form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(244, 163, 20, 0.3);
}


.contact-section form button {
    width: 100%;
}


/* --- Footer --- */
footer {
    background-color: var(--text-color);
    color: var(--background-light);
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: var(--accent-color);
}

footer a:hover {
    color: var(--white);
}

.social-media-links a {
    color: var(--accent-color);
    margin: 0 10px;
    font-size: 1.5rem;
    /* Adjust icon size */
    text-decoration: none;
}

.social-media-links a:hover {
    color: var(--white);
}

/* --- Popup Message Styles --- */
.popup-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Darker overlay for better focus */
    z-index: 2000;
    /* Ensure it's on top of everything */
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.popup-content {
    background-color: var(--background-light);
    /* Light background from your theme */
    color: var(--text-color);
    /* Text color from your theme */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 600px;
    width: 90%;
    position: relative;
    /* For positioning the close button */
    animation: fadeInPopup 0.5s ease-out;
}

@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-content h2 {
    color: var(--logo-color-1);
    /* Use one of your logo colors for the heading */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.popup-content p {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 1rem;
}

.popup-content .popup-question {
    font-weight: bold;
    color: var(--logo-color-3);
    /* Another logo color for emphasis */
    margin-top: 20px;
}

.popup-content .popup-hashtags {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--logo-color-2);
    /* A lighter logo color for hashtags */
    opacity: 0.8;
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.popup-close-btn:hover {
    color: var(--logo-color-3);
    /* Reddish color on hover */
}

/* Class to display the popup */
.popup-overlay.show-popup {
    display: flex;
    /* Use flex to center the content */
}


/* Responsive adjustments for popup */
@media (max-width: 768px) {
    .popup-content {
        padding: 25px 20px;
    }

    .popup-content h2 {
        font-size: 1.5rem;
    }

    .popup-content p {
        font-size: 0.95rem;
    }

    .popup-close-btn {
        top: 5px;
        right: 10px;
        font-size: 1.8rem;
    }
}

/* --- Specific popup design ---*/
#privacyPopupOverlay {
    max-height: 80vh;
    overflow-y: auto;
}

#privacyPopup {
    max-height: 69vh;
    overflow-y: auto;
    text-align: left;
}


#termsPopupOverlay {
    max-height: 80vh;
    overflow-y: auto;
}

#termsPopup {
    max-height: 69vh;
    overflow-y: auto;
    text-align: left;
}


.popup-ticket-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: var(--logo-color-1);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.popup-ticket-btn:hover {
    background-color: var(--logo-color-3);
    /* Change color on hover */
}


/* --- Responsive Design --- */

/* Tablets */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.3rem;
    }
}


/* Mobile */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        /* Allow items to wrap */
        justify-content: space-between;
        /* Space out logo and menu toggle */
    }

    .logo {
        width: calc(100% - 100px);
        /* Adjust width to make space for menu and lang switcher */
    }


    nav {
        display: none;
        /* Hide nav by default */
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        /* Position below the header */
        left: 0;
        z-index: 999;
    }

    nav.active {
        display: block;
        /* Show nav when active */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
        margin-left: 0;
        /* Reset margin */
    }

    .menu-toggle {
        display: block;
        /* Show menu toggle on mobile */
    }

    .language-switcher {
        order: 1;
        /* Move language switcher before menu toggle in source for easier CSS */
        margin-left: auto;
        /* Push it to the right */
        padding-right: 10px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 60px 0;
        min-height: 50vh;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        /* Stack products on mobile */
    }

    .contact-section form button {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
        width: calc(100% - 80px);
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-section .btn {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .language-switcher button {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .menu-toggle {
        font-size: 1.8rem;
    }
}