@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Montserrat:wght@500&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* General Styles */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    background-color: #FFFFFF;
    color: #272727;
    scroll-behavior: smooth;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    padding-top: 92px; /* Height of the fixed header */
}

a {
    color: #AD7C00;
    text-decoration: none;
}

a:hover {
    color: #3D3D3D;
}

/* Header and Navigation */
header {
    background-color: #FFFFFF;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #3D3D3D;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #272727;
}

.lang-switcher button {
    background: none;
    border: 1px solid #272727;
    color: #272727;
    padding: 0.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
}

.lang-switcher button:hover, .lang-switcher button.active {
    background-color: #3D3D3D;
    color: #FFFFFF;
    border-color: #3D3D3D;
}

.lang-switcher-mobile {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 1.5rem;
    color: #272727;
}

/* Banner */
#banner {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('imgs/gallery/IMG_1507.png');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

.banner-content h1 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #AD7C00;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #3D3D3D;
    color: #FFFFFF;
}


#slogan-section {
    background-color: #FFFFFF;
    text-align: center;
    padding: 6rem 2rem;
}

#slogan-section .tagline-1 {
    font-size: 2rem;
    color: #AD7C00;
    letter-spacing: 2px;
    margin: 0;
}

#slogan-section .tagline-2 {
    font-size: 1.2rem;
    color: #AD7C00;
    letter-spacing: 1px;
    margin: 0;
}

/* Sections */
main section {
    padding: 6rem 2rem;
    position: relative;
}

#about p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #000000;
}

#gallery, #services {
    background-color: #272727;
    color: #FFFFFF;
}

#gallery h2, #services h2 {
    color: #FFFFFF;
}

/* Services Section */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #FFFFFF;
}

.accordion-input {
    display: none;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.accordion-header::after {
    content: '+';
    font-size: 2rem;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.accordion-input:checked + .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-input:checked ~ .accordion-content {
    max-height: 100vh; /* A large enough value to show all content */
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Gallery Slider */
.slider {
    position: relative;
    max-width: 800px;
    max-height: 600px; /* Increased max-height to accommodate vertical images */
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center; /* Center images vertically */
}

.slides img {
    width: 100%;
    height: auto; /* Allow height to adjust based on aspect ratio */
    max-height: 600px; /* Ensure images don't exceed slider height */
    object-fit: contain; /* Ensure entire image is visible */
    flex-shrink: 0;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Contact */
#contact {
    text-align: center;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact input, #contact textarea {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #3D3D3D;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

#contact button {
    width: 100%;
}


/* Footer */
footer {
    background-color: #272727;
    padding: 2rem;
    text-align: center;
    color: #FFFFFF;
}

.footer-content h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-content h3 i {
    margin-right: 0.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.address, .social-media {
    margin: 1rem;
}

.social-media a {
    font-size: 1.5rem;
    margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #FFFFFF;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 2rem;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    .hamburger {
        display: block;
    }

    .lang-switcher-desktop {
        display: none;
    }

    .lang-switcher-mobile {
        display: block;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}