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

:root {
    --primary-color: #C4A574;
    --dark-bg: #2C2C2C;
    --darker-bg: #1A1A1A;
    --light-text: #FFFFFF;
    --gray-text: #B0B0B0;
    --beige-bg: #E8DCC8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--light-text);
    background-color: var(--darker-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(196, 165, 116, 0.2);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switcher {
    display: flex;
    align-items: center;
}

.language-select {
    background-color: transparent;
    border: 1px solid rgba(196, 165, 116, 0.3);
    color: var(--light-text);
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    outline: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.language-select:hover {
    border-color: var(--primary-color);
}

.language-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.2);
}

.language-select option {
    background-color: var(--darker-bg);
    color: var(--light-text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('11062b_0f3499386c2142e6962df76212f26e57~mv2.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 968px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.4), rgba(26, 26, 26, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 80px;
    font-weight: 300;
    letter-spacing: 15px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--primary-color);
    animation: fadeInUp 1s ease 0.3s both;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    font-size: 16px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-card {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(196, 165, 116, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-icon {
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--light-text);
}

.service-card p {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.8;
}

.architecture-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.arch-text {
    background-color: var(--dark-bg);
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(196, 165, 116, 0.2);
}

.arch-text h3 {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 10px;
}

.about-description {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 40px;
}

.about-details p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-details strong {
    color: var(--light-text);
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: var(--darker-bg);
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: transform 0.5s ease;
}

.image-placeholder:hover img {
    transform: scale(1.05);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-overlay h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
}

.project-overlay p {
    font-size: 14px;
    color: var(--primary-color);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

/* Lightbox Gallery */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox-image.loaded {
    opacity: 1;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(196, 165, 116, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    pointer-events: none;
}

.lightbox-loader.hidden {
    display: none;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.lightbox-counter {
    color: white;
    margin-top: 20px;
    font-size: 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 50px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--light-text);
}

.contact-item p {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.6;
}

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

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

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(196, 165, 116, 0.2);
}

.footer p {
    color: var(--gray-text);
    font-size: 14px;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        flex-direction: row-reverse;
        gap: 15px;
        align-items: center;
    }

    .language-switcher {
        display: flex;
        align-items: center;
    }


    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        width: 100%;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        align-items: flex-start;
    }

    .nav-menu li {
        width: 100%;
        padding-left: 20px;
    }

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

    .hero-title {
        font-size: 48px;
        letter-spacing: 8px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        height: 300px;
    }

    .project-overlay {
        transform: translateY(0);
    }

    .architecture-section {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

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

    .section-title {
        font-size: 28px;
    }

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