:root {
    --bg-color: #0F0E0D;
    --text-color: #F0EAD6;
    --ac-text-color: #0F0E0D;
    --accent-color: #ccb996;
    --secondary-text: #A8A095;
    --back-text: #0F0E0D;
    --header-bg: rgba(24, 22, 21, 0.9); 
    --ac-arrow-border-color: #D4C5A9;
    --bej-color: #F0EAD6;
    --lbej-color: #E3D7BF;
    --back-color: #0F0E0D;
    --secondary-href: #F0EAD6;
    --back-pri-btn: #ccb996;
    --back-button-color: #0F0E0D;
    --black-5: rgba(0, 0, 0, 0.5);
    --white-3: rgba(255, 255, 255, 0.3);
    --white-1: rgba(255, 255, 255, 0.2);
    --transition-speed: 0.3s;
    --color-change-duration: 0.5s;
}

body.light-theme {
    --bg-color: #ACAAAF; 
    --text-color: #1A1A1A; 
    --secondary-href: #8B7355;
    --ac-arrow-border-color: #ACAAAF;
    --back-text: #0F0E0D;
    --secondary-text: #383838;
    --header-bg: rgba(192, 188, 180, 0.8);
    --white-1: rgba(0, 0, 0, 0.2);
    --white-3: rgba(0, 0, 0, 0.7);
    --bej-color: #f0e4c7;
    --back-pri-btn: #d8d8d8;
    --back-button-color: #d8d8d8;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-sizing: border-box;
    transition: transform 0.4s ease, background-color 0.5s ease;
}

.header-hidden {
    transform: translateY(-100%);
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.nav-btn, .lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.nav-btn:hover, .lang-btn:hover {
    background-color: var(--white-1);
}

.lang-btn {
    border: 1px solid var(--white-3);
    margin-left: 10px;
}

.lang-switch {
    display: flex;
    align-items: center;
}

/* --- HERO SECTION --- */
.hero-section {
    color: var(--bej-color);
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-5);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #F0EAD6;
}

/* Updated Services Layout (Centered) */
.services-info {
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 40px;
    margin-bottom: 50px;
    color: #F0EAD6;
    text-align: center;
}

.service-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.service-block h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
}

.service-block p {
    font-size: 0.9rem;
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
}

/* Vertical Divider for Desktop */
.service-divider {
    width: 1px;
    height: 70px;
    background-color: var(--lbej-color);
    opacity: 0.6;
    align-self: center;
    flex-shrink: 0;
    box-shadow: none;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--back-pri-btn);
    color: var(--ac-text-color);
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700; 
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: var(--bej-color); 
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 13px 33px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--back-color);
}

/* --- PROJECTS SECTION --- */
.projects-section {
    padding: 60px 2%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.5s ease;
}

.section-title {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    padding: 0 120px; 
    box-sizing: border-box;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
}

.project-slide {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    width: 100%;
    animation: fadeEffect 0.6s ease-in-out;
}

.project-slide.active {
    display: flex;
}

/* Video Player Container */
.slide-media {
    flex: 1.8;
    position: relative;
    width: 100%; 
    height: auto;
    background: #000;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: 1px solid var(--white-1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transform: translateZ(0);
}

/* Actual Video Element */
.project-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
    display: block;
    outline: none;
    background: transparent;
}

.slide-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-title {
    font-size: clamp(1.5rem, 2.5vw, 4rem); 
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.1;
    color: var(--text-color);
    text-transform: uppercase;
}

.slide-desc {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 400px;
}

.slide-link {
    display: inline-block;
    color: var(--secondary-href);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s;
}

.slide-link:hover {
    transform: translateX(10px);
}

/* Slider Controls (Arrows) */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
    z-index: 20;
    pointer-events: none; 
}

.slider-arrow {
    pointer-events: auto;
    background: var(--back-button-color);
    border: 2px solid var(--ac-arrow-border-color);
    color: var(--text-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background-color: var(--bej-color);
    border-color: var(--ac-arrow-border-color);
    color: var(--back-text);
    transform: scale(1.1);
}

@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 5%;
    background-color: var(--bg-color);
    transition: background-color 0.5s ease;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    filter: none;
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--secondary-text);
}

footer {
    padding: 40px;
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.8rem;
    background-color: var(--bg-color);
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE (MOBILE) --- */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .main-header { padding: 0 20px; }

    .hero-section {
        height: auto; 
        min-height: 100vh;
        padding-top: 110px;
        padding-bottom: 60px;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .services-info {
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }
    
    /* Horizontal Divider for Mobile */
    .service-divider {
        display: block !important;
        width: 80%;
        max-width: 300px;
        height: 1px;
        background-color: var(--lbej-color);
        margin: 30px auto;
        opacity: 0.6;
        align-self: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 300px;
    }

    /* Projects Mobile */
    .projects-section {
        padding: 50px 0;
        width: 100%;
        overflow-x: hidden;
    }

    .slider-container {
        padding: 0 20px; 
        width: 100%;
    }

    .slider-wrapper {
        min-height: auto;
    }

    .project-slide {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .project-slide.active {
        opacity: 1;
    }

    .slide-media {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 16 / 9;
        margin: 0 auto;
        flex: none;
        border-radius: 20px;
    }

    .slide-content {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .slide-desc {
        font-size: 1rem;
        margin-bottom: 25px;
        max-width: 90%;
    }

    /* Mobile Controls below content */
    .slider-controls {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        height: auto;
        padding: 20px 0;
        justify-content: center;
        gap: 30px;
        margin-top: 10px;
        pointer-events: auto;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
    }
    .about-section {
        padding-top: 50px;
    }
    /* About Mobile */
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-image img {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 50%;
    }
}
@media (max-width: 400px) {
    .logo {
        font-size: 0.9rem;
    }

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