/* ===========================
   Global Styles
=========================== */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #FAF3E0, #EDE7D9); /* Warm gradient */
    color: #444; /* Softer text color */
}

/* ===========================
   Header Styling (Elegant Look)
=========================== */
header {
    background: linear-gradient(to right, #D5E8D4, #A0D8B3); /* Soft Sage Green */
    padding: 3px 0;
    border-bottom: 2px solid #EAC67A; /* Gold Accent */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}



.header-container {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 10px;
}

.menu-column {
    flex: 1; /* Takes up available space */
    display: flex;
    justify-content: flex-end; /* Move menu items to the right */
}

.menu-column nav ul {
    list-style: none; /* Removes bullets */
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}


.menu-column nav ul li a {
    font-size: 16px;
    color: #4A4A4A; /* Softer contrast */
    transition: all 0.3s ease-in-out;
}

.menu-column nav ul li a:hover {
    background: #EAC67A; /* Muted Gold */
    color: white;
    border-radius: 5px;
}


.logo-column {
    flex: 0 0 auto; /* Prevents stretching */
    text-align: left; /* Align to the left */
}

.logo-column img {
    max-width: 60px; /* Adjust as needed */
    height: auto;
}



.logo-column p {
    margin: 5px 0 0;
    font-size: 12px; /* Reduce font size */
    color: #555;
}

/* ===========================
   Mobile Menu Fix
=========================== */
.menu-toggle {
    display: block;
    background: #FF4500; /* Bright Red Accent */
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    position: absolute;
    right: 10px; /* Move to the right */
    top: 10px; /* Adjust positioning */
}
/* Show the toggle menu on smaller screens */
@media (max-width: 768px) {
    .menu-column nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 50px; /* Position under header */
        right: 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        z-index: 999;
    }

    .menu-column nav ul.show {
        display: flex;
    }

    .menu-column nav ul li {
        padding: 10px;
        text-align: center;
    }

    .menu-column nav ul li a {
        font-size: 16px;
        color: #333;
    }
}



/* Hide the toggle menu on desktop screens */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    #menu {
        display: block; /* Always show the menu on desktop */
    }
}








/* ===========================
   Welcome Section (Refined Appeal)
=========================== */
.container.my-3 {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.container.my-3 h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #8D3B3B; /* Cultural deep maroon */
}

.container.my-3 p {
    font-size: 1.2rem;
    color: #555;
}

/* ===========================
   Button Styles (Inviting Feel)
=========================== */
.btn-primary {
    background: #8D3B3B; /* Deep Maroon */
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background: #EAC67A; /* Gold */
    color: #333;
}

/* ===========================
   Random Images (Smoother Display)
=========================== */
.random-images h2 {
    color: #8D3B3B; /* Deep Cultural Maroon */
    text-align: center;
    margin-bottom: 20px;
}

.random-images .col-md-4 img {
    max-width: 90%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.random-images .col-md-4 img:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Footer (Warm & Minimal)
=========================== */
footer {
    background: #A0D8B3; /* Pastel Teal */
    padding: 20px;
    color: #333;
    font-size: 14px;
    text-align: center;
}

/* added cookie*/
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 128, 128, 0.45); /* Teal with 45% transparency */
    color: white;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 128, 128, 0.9); /* Teal with 90% transparency */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    text-align: center;
    color: white;
    width: 300px;
}

/* Modal Buttons */
.cookie-modal-buttons {
    margin-top: 10px;
}

#save-cookie-settings, #close-cookie-settings {
    background: white;
    color: teal;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
}

#save-cookie-settings:hover, #close-cookie-settings:hover {
    background: #ffcc00;
    color: teal;
}


/* Mobile-first adjustments */
@media (max-width: 768px) {
    /* Cookie Banner */
    .cookie-banner {
        flex-direction: column;
        padding: 15px 10px;
        text-align: left;
    }

    .cookie-banner p {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .cookie-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .cookie-buttons button,
    .cookie-buttons a {
        flex: 1 1 45%;
        padding: 10px;
        font-size: 14px;
        min-width: 120px;
    }

    #close-cookie-banner {
        position: absolute;
        top: 5px;
        right: 10px;
    }

    /* Cookie Settings Modal */
    .cookie-modal {
        width: 90%;
        max-width: 100%;
        padding: 15px;
        top: 20px;
        transform: translateX(-50%);
    }

    .cookie-modal-content {
        max-height: 80vh;
        overflow-y: auto;
    }

    .cookie-modal h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .cookie-modal label {
        display: block;
        margin: 10px 0;
        text-align: left;
        font-size: 14px;
    }

    .cookie-modal-buttons {
        flex-direction: column;
        gap: 10px;
    }

    #save-cookie-settings,
    #close-cookie-settings {
        width: 100%;
        padding: 12px;
    }
}



/* Additional Mobile Fixes */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 60px; /* Prevent overlap with iOS menu bar */
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button,
    .cookie-buttons a {
        width: 100%;
        flex: none;
    }

    .cookie-modal {
        top: 10px;
        bottom: 10px;
        transform: translateX(-50%);
        height: auto;
    }
}