/* Prevent horizontal scrolling and smooth scrolling */
html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Global color variables */
:root {
    --white: #ffffff;
    --light-black: #333333;
    --accent: #444444;
    --nav-bg: #d3d3d3;       /* Light grey for nav bar */
    --mobile-bg: #a9a9a9;    /* Darker grey for mobile overlay */
    --transition: 0.3s;
}

/* Container for sections */
.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 40px 0;
}

/* Language Selection Banner */
#language-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.lang-choice {
    padding: 8px 16px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--white);
    transition: background var(--transition), border-color var(--transition);
    border-radius: 5px;
}
.lang-choice:hover {
    background: var(--white);
    color: var(--light-black);
}
.close-banner {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Navigation Bar */
#navbar {
    position: fixed;
    top: 50px; /* Below language banner */
    left: 0;
    right: 0;
    background: #e4f4f4;
    z-index: 999;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop Navigation */
.desktop-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 10px 0;
}
.desktop-menu li {
    margin: 0 15px;
}
.desktop-menu .nav-link {
    text-decoration: none;
    color: var(--light-black);
    padding-bottom: 5px;
    position: relative;
    transition: color var(--transition);
}
.desktop-menu .nav-link:hover {
    color: var(--accent);
}
/* Underline effect on nav links */
.desktop-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: var(--light-black);
    transition: width var(--transition);
}
.desktop-menu .nav-link.active::after {
    width: 100%;
}

/* Hamburger Icon (Mobile Only) - Less bulky */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--light-black);
    position: absolute;
    right: 10px;
    top: 15px;
    z-index: 1100;
}

/* Mobile Navigation Overlay (Sliding from the right) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -80%; /* Initially off-screen */
    width: 80%;
    height: 100%;
    background: #d6eded;
    z-index: 1000;
    text-align: center;
    padding-top: 70px; /* Space for nav bar */
    transition: right 0.3s ease-in-out;
}
.mobile-menu.show {
    right: 0;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu li {
    margin: 20px 0;
}
.mobile-menu .nav-link {
    font-size: 20px;
    text-decoration: none;
    color: var(--light-black);
    transition: color var(--transition);
}
.mobile-menu .nav-link:hover {
    color: var(--accent);
}

/* Section Titles (Centered with Underline) */
section h1,
section h2 {
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}
section h1::after,
section h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 90%;
    height: 2px;
    background-color: var(--light-black);
}

/* Section Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
#hero .hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 80vh;
}
.hero-text, .hero-image {
    flex: 1 1 400px;
    padding: 20px;
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Price List */
#prices .price-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.price-item {
    flex: 1 1 30%;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

/* Slider Carousel Styles */
.slider-container {
    overflow: hidden;
    margin: 20px 0;
}
.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}
.slider-item {
    flex: 0 0 85%;
    margin-right: 15px;
}
.slider-item img {
    width: 100%;
    height: auto;
    max-height: 1584px;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

/* Contact Section */
#contact .contact-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
}
#contact .contact-list li a {
    text-decoration: none;
    color: var(--light-black);
    border: 1px solid var(--light-black);
    padding: 8px 12px;
    border-radius: 4px;
    transition: background var(--transition), color var(--transition);
}
#contact .contact-list li a:hover {
    background: var(--light-black);
    color: var(--white);
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Make nav bar shorter on mobile */
    #navbar {
        height: 50px;
        justify-content: space-between;
        padding: 0 20px;
    }
    /* Hide desktop menu on mobile */
    .desktop-menu {
        display: none;
    }
    /* Show hamburger icon on mobile */
    .menu-toggle {
        display: block;
    }
    /* Adjust mobile menu overlay to start below the mobile nav bar */
    .mobile-menu {
        padding-top: 50px;
    }
}
