/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark-brown: #342800;
    --color-gold: #ac8400;
    --color-light-beige: #F4EFE2;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-yellow-beige: #FBE9B6;
    --color-dark-green: #2F4F4F;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--color-dark-brown);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-gold);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-dark-brown);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-tagline {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--color-dark-brown);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-dark-brown);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: var(--color-white);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--color-dark-brown);
    color: var(--color-dark-brown);
    padding: 0.5rem 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-dark-brown);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/detail.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 40, 0, 0.75);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
    text-align: center;
    color: var(--color-white);
}

.hero-title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--color-white);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-gold);
    color: var(--color-dark-brown);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(172, 132, 0, 0.3);
}

.cta-button:hover {
    background: #c99a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(172, 132, 0, 0.4);
}


/* Services Section */
.services {
    background: var(--color-yellow-beige);
    padding: 6rem 2rem;
    min-height: 100vh;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--color-dark-brown);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    display: inline-block;
}

.section-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-dark-brown);
    margin-top: 1rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--color-gold);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.service-item p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark-brown);
}

/* Projects Section */
.projects {
    background: var(--color-light-beige);
    padding: 6rem 2rem;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-container .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Slideshow */
.slideshow {
    position: relative;
    max-width: 900px;
    margin: 0 auto 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(52, 40, 0, 0.2), 0 0 0 1px rgba(172, 132, 0, 0.15);
    background: var(--color-white);
}

.slideshow-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--color-dark-brown);
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.slideshow-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--color-light-beige);
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-dark-brown);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slideshow-btn:hover {
    background: var(--color-dark-brown);
    color: var(--color-gold);
    transform: translateY(-50%) scale(1.05);
}

.slideshow-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.slideshow-prev {
    left: 1rem;
}

.slideshow-next {
    right: 1rem;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--color-white);
    border-top: 1px solid rgba(52, 40, 0, 0.08);
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.slideshow-dot:hover {
    background: rgba(172, 132, 0, 0.3);
}

.slideshow-dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

/* About Section */
.about {
    background: var(--color-light-beige);
    padding: 6rem 2rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    margin-top: 3rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro,
.about-mission {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark-brown);
    margin-bottom: 2rem;
    text-align: justify;
}

.about-mission {
    font-weight: 500;
    font-style: italic;
}

/* Contact Section */
.contact {
    background: var(--color-dark-green);
    padding: 6rem 2rem;
    color: var(--color-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-white);
}

.contact-item a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-gold);
}

.contact-note {
    font-style: italic;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: var(--color-dark-brown);
    padding: 2rem;
    text-align: center;
    color: var(--color-white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-gold);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .language-switcher-mobile {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .nav-menu-lang {
        list-style: none;
        padding: 1.5rem 0 0;
        margin-top: 1rem;
        border-top: 1px solid rgba(52, 40, 0, 0.2);
    }

    .language-switcher {
        margin-left: 0;
        gap: 0.5rem;
    }

    .lang-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .slideshow {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .slideshow-btn {
        width: 40px;
        height: 40px;
    }

    .slideshow-prev {
        left: 0.5rem;
    }

    .slideshow-next {
        right: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .slideshow-track {
        aspect-ratio: 4 / 3;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .language-switcher {
        margin-left: 0.5rem;
        gap: 0.2rem;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
