:root {
    --primary-color: #c59d5f;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white-color: #fff;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    background-color: var(--white-color);
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
    height: 100%;
}

/* Header */
#main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main-header .logo img {
    height: 55px;
    width: auto;
    display: block;
}

#navbar {
    flex-grow: 1;
}

#navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

#navbar ul li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 700;
    transition: color 0.3s ease, background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 5px;
}

#navbar ul li a:hover {
    color: var(--primary-color);
}
#navbar ul li a.active {
    color: var(--white-color);
    background-color: var(--primary-color);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 0.8rem;
}

.lang-btn:hover {
    background: var(--dark-color);
    color: var(--white-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}


/* SPA Section Handling */
main {
    position: relative;
    padding-top: var(--header-height);
    flex-grow: 1;
}

.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.page-section.active {
    display: block;
    opacity: 1;
}

.content-wrapper {
    padding: 5rem 0;
}

.page-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 900;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* Home Section (Hero) */
#home {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/hero-background.jpeg');
    background-size: cover;
    background-position: center center;
    color: var(--white-color);
    text-align: center;
    padding: 0 2rem;
    overflow: hidden; /* Prevent hero itself from scrolling */
    min-height: calc(100vh - var(--header-height));
}

#home.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#home .hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#home .hero-content p {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}
#home .hero-content .hero-slogan {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: var(--primary-color);
}


.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(197, 157, 95, 0.4);
}

.btn:hover {
    background-color: #b58d4f;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(197, 157, 95, 0.6);
}


/* About Section */
#about {
    background: var(--light-color);
}
.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
    font-size: 1.1rem;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar {
    background: var(--white-color);
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.pillar-icon {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-gallery {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Why Us Section */
#why-us {
    background-color: var(--white-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.why-us-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.why-us-card .pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-us-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

.why-us-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}


/* Products Section */
#products {
    background-color: var(--light-color);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.product-content h3 {
    font-size: 2.5rem;
    font-weight: 900;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.product-content h4 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-content ul {
    list-style: none;
    padding-left: 0;
}

.product-content ul li {
    padding: 0.3rem 0;
}

.product-content ul li strong {
    display: inline-block;
    width: 60px;
    color: var(--white-color);
    font-weight: 700;
}

.storage-info {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    color: #666;
}

/* Team Section */
#team {
    background-color: var(--white-color);
}
.team-slogan {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 3rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.team-member {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 5px solid var(--primary-color);
}
.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.team-member p {
    color: #666;
    font-weight: 700;
}
.team-member p.team-bio {
    font-weight: 400;
    font-size: 0.95rem;
    margin-top: 1rem;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
}

.team-member p.team-favorite {
    font-style: italic;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--white-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
    text-align: left;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

.team-member p.team-favorite strong {
    display: block;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.team-contact-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.team-contact-links a {
    color: var(--dark-color);
    transition: color 0.3s ease, transform 0.3s ease;
}
.team-contact-links a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}
.team-contact-links svg {
    width: 24px;
    height: 24px;
}


/* Contact Section */
#contact {
    background: var(--light-color);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}
.contact-info-group {
    background: var(--white-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.contact-details h3, .contact-hours h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-details p, .contact-hours p {
    margin-bottom: 0.75rem;
}
.contact-hours {
    margin-top: 2rem;
}

.contact-form-container {
    background: var(--white-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.contact-form-container h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white-color);
}

#contact-form button.btn {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    display: none; /* Controlled by JS */
    padding: 1rem;
    background-color: #e9f7ef;
    color: #2b6b4c;
    border: 1px solid #a3d9b1;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-map-container {
    margin-top: 3rem;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(90%) contrast(1.2) opacity(0.85);
    transition: filter 0.4s ease-in-out;
}

.contact-map-container:hover iframe {
    filter: none;
    opacity: 1;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}
.social-links a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}
.social-links svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}


/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2.5rem 0;
    position: relative;
    z-index: 100;
}
footer p {
    margin-bottom: 0.5rem;
}
footer .social-links {
    justify-content: center;
    margin-bottom: 1rem;
}
footer .social-links a {
    color: var(--light-color);
}
footer .social-links a:hover {
    color: var(--primary-color);
}
footer p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Hamburger Menu */
#menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}
#menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

#menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Responsive */
@media(max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


@media(max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    #navbar {
        flex-grow: 0;
    }
    .page-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    .content-wrapper {
        padding: 3rem 0;
    }
    #home .hero-content h1 { font-size: 2.8rem; }
    #home .hero-content p { font-size: 1.2rem; }
    .products-grid, .pillars, .team-grid, .why-us-grid { grid-template-columns: 1fr; }
    .contact-info-group, .contact-form-container { padding: 2rem; }
    .contact-map-container { height: 350px; }

    .about-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .about-gallery img {
        height: 250px;
    }

    /* Mobile Navigation */
    #menu-toggle {
        display: block;
    }
    #navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white-color);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    #navbar.active {
        transform: translateX(0);
    }
    #navbar ul {
        flex-direction: column;
        text-align: center;
    }
    #navbar ul li {
        margin: 1.5rem 0;
    }
    #navbar ul li a {
        font-size: 1.5rem;
    }
}