/* Universal Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
nav div{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-right: 20px;  /* Could be an extra issue */
}
nav button {
    background: #fff3da;
    color: #333;
    border: 2px solid #333;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
nav button:hover{
    background: #ffd700;
    color: #fff3da;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #fff3da; /* Peach background */
    color: #333; /* Charcoal grey */
    line-height: 1.6;
}

/* Header and Logo */
.header {
    width: 100%;
    height: calc(100vh-150px);
    padding-top: 20px;
    background: #fff3da; /* Peach */
    color: #333;
    padding: 20px 10%;
    position: relative;
    text-align: center;
}
.full-logo{
    width: 200px;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    cursor: pointer;
    margin-left: 0;
    margin-right: auto;
    margin: 20px;
    height: auto;
    display: block;
}

.header-content {
    position: relative;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin: 0 auto;
    margin-top: 0; /* Tune to raise/lower properly*/
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    height: auto;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 50px;
}

.header-content h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 60px;
    font-weight: 600;
    line-height: 70px;
    color: #333;
}

.header-content h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}

/* Search Form */
.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.search-form input {
    width: 300px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form input:focus {
    border-color: #ffd700; /* Gold focus border */
    box-shadow: 0 0 5px #ffd700; /* Gold glow */
}

.search-form button {
    background-color: #fff3da; /* Peach */
    color: #333; /* Charcoal grey */
    border: 2px solid #333; /* Charcoal grey border */
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background-color: #ffd700; /* Gold */
    color: #fff3da; /* Peach text */
    transform: scale(1.05);
}
.results-container{
    margin-top: 20px;
    padding: 20px;
    background-color: #fff3da;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    max-height: 300px;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #333 #fff3da;
}

.search-result{
    padding: 10px;
    border-bottom: 1px solid #333;
}

.search-result:last-child{
    border-bottom: none;
}
/* For Chrome, Safari, Edge, etc. */
.results-container::-webkit-scrollbar {
    width: 6px;                 /* Adjust scrollbar width as needed */
    background-color: #fff3da;  /* Peach background */
}

.results-container::-webkit-scrollbar-track {
    background-color: #fff3da;  /* Matches container background */
}

.results-container::-webkit-scrollbar-thumb {
    background-color: #333;     /* Charcoal grey scrollbar thumb */
    border-radius: 3px;
}
/* Divider */
.divider {
    height: 2px;
    background-color: #333; /* Charcoal grey */
    margin: 20px auto;
    width: 80%;
}

/* Buttons */
button {
    background-color: #fff3da; /* Peach */
    color: #333; /* Charcoal grey */
    border: 2px solid #333; /* Charcoal grey */
    border-radius: 8px; /* Rounded corners */
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #ffd700; /* Gold */
    color: #fff3da; /* Peach text */
    box-shadow: 0 0 8px #ffd700; /* Optional glow effect */
}

#theme-toggle {
    display: block;
    background-color: #fff3da; /* Peach */
    color: #333; /* Charcoal grey */
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    background-color: #ffd700; /* Gold hover */
    color: #fff3da; /* Peach text */
}

/* Button Container */
.button-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: flex-start;
    gap: 10px; /* Add spacing between buttons */
    margin-top: 10px;
    margin-left: 20px;
}
#music-toggle {
    position: relative;
    z-index: 10; 
}
/* FAQ */
.faq {
    padding: 10px 12%;
    text-align: center;
    font-size: 18px;
}

.accordion {
    margin: 60px auto;
    width: 100%;
    max-width: 750px;
}

.accordion li {
    list-style: none;
    padding: 5px;
}

.accordion li label {
    display: flex;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    background: #fff3da; /* Peach */
    margin-bottom: 2px;
    cursor: pointer;
    border: 1px solid #333; /* Charcoal grey border */
}

.accordion li label:hover {
    background: #ffd700; /* Gold */
    color: #fff3da; /* Peach text */
}

.accordion .content {
    background: #fff3da; /* Peach */
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion input[type="radio"]:checked + label + .content {
    max-height: 600px;
    padding: 20px;
}

/* Existing Footer Styles */
.footer {
    background-color: #fff3da; /* Peach */
    color: #333; /* Charcoal grey */
    padding: 20px 12%;
    border-top: 2px solid #333; /* Charcoal grey border */
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
    position: relative;
    align-items: center;
}

.footer-left {
    text-align: left;
    grid-column: 1 / 2;
}

/* Carousel Styles */
.footer .carousel-container {
    position: relative;
    height: 250px; /* Height of the carousel */
    overflow-y: scroll; /* Enable vertical scrolling */
    width: 100%;
    margin: 0 auto;
    grid-column: 2 / 3; /* Ensures carousel takes full width in grid layout */
    scroll-behavior: smooth; /* Smooth scrolling */
}

.footer .carousel {
    display: flex;
    flex-direction: column;
    width: auto;
    padding: 10px 0; /* Add some padding */
}

.footer .carousel a {
    font-size: 1rem;
    font-family: var(--font-family-body);
    text-decoration: none;
    color: #333; /* Charcoal grey */
    opacity: 0.3; /* Default opacity */
    transition: opacity 0.3s ease-in-out;
    padding: 10px 0; /* Increase padding for better spacing */
    text-align: center;
}

.footer .carousel a:hover {
    color: #ffd700; /* Golden colour for hover effect */
}

.footer .copyright-txt {
    font-size: 14px;
    color: #333;
    text-align: right;
    grid-column: 3 / 4;
}

/* Media Queries */
@media only screen and (max-width: 600px) {
    .logo {
        width: 60px;
    }

    .search-form input {
        width: 90%;
    }

    .header-content h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .button-container {
        margin-left: 0;
        align-items: center;
    }

    .footer {
        padding: 15px 10px;
        grid-template-columns: 1fr;
    }
    .footer a{
        font-size: 14px;
    }
}
/* Header Design for Secondary Pages */
.page-header {
    text-align: left;
    margin: 30px auto 20px;
    color: #333;
    font-size: 36px;
    font-weight: 700;
    position: relative;
    padding-left: 10%;
}


/* Description Below the Header */
.page-description {
    text-align: left;
    color: #666; /* Slightly lighter grey than #333 */
    font-size: 18px;
    margin: 10px 0 30px;
    max-width: 80%;
}

/* Paragraph Styling */
.page-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    text-align: justify;
    color: #333;
    max-width: 80%!important;
    margin-left: 10%;
}
.excerpt {
    max-width: 80%; /* Control the width */
    margin: 0 auto 1.5em; /* Center it with spacing */
    font-style: italic; /* Optional for emphasis */
    text-align: justify; /* Match the alignment with the rest of the page */
    color: #666; /* Slightly lighter color if needed */
}
/*Language for nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.language-dropdown{
    position: relative;
}
.language-btn {
    background-color: #fff3da; /* Peach */
    color: #333; /* Charcoal grey */
    border: 2px solid #333;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background-color: #ffd700; /* Gold */
    color: #fff3da; /* Peach text */
}

.language-options {
    display: none; /* Hidden by default */
    position: absolute;
    top:calc(100% + 5px);
    left:0;
    background-color: #fff3da; /* Peach */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid #333;
    z-index: 100;
    margin-top: 5px;
    border-radius: 8px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.language-options a {
    color: #333; /* Charcoal grey */
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.language-options a:hover {
    background-color: #ffd700; /* Gold */
    color: #333; /* grey text */
}
.language-dropdown:hover{
    cursor:pointer;
}

.language-dropdown:hover .language-options {
    display: block; /* Show dropdown on hover */
    opacity: 1;
    visibility: visible;
}
.language-dropdown:after{
    content:'';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    z-index: 99;
    background: transparent;

}
.sign-in-btn {
    background-color: #fff3da; /* Peach */
    color: #333; /* Charcoal grey */
    border: 2px solid #333;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px; /* Adjust for consistency */
    text-decoration: none; /* Ensure it behaves as a button */
    display: inline-block; /* Button-like behavior */
    transition: all 0.3s ease;
}

.sign-in-btn:hover {
    background-color: #ffd700; /* Gold */
    color: #fff3da; /* Peach text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional hover effect */
}

/*Separator*/

.separator {
    font-weight: bold;  /* Makes it stand out */
    font-size: 1.2em;   /* Slightly bigger */
    color: #555;        /* Darker grey for contrast */
    margin: 0 5px;      /* Adds space around the separator */
}


