/* Language Switcher Dropdown Styles */
.lang-switcher {
    position: relative;
}

.lang-current {
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.header-transparent.scrolled .lang-current {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.lang-current i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.lang-switcher.active .lang-current i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(30, 42, 58, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 1rem 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 0.95rem;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-option.active {
    background: rgba(0, 212, 255, 0.25);
    color: var(--secondary);
}

.lang-option i {
    color: var(--secondary);
    font-size: 1rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .lang-switcher {
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
    }

    .lang-current {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
    }
}

.page-header {
    min-height: 600px;
    padding: 200px 0 120px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1920') center center/cover no-repeat;
    color: var(--white);
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 30, 66, 0.3), rgba(30, 58, 138, 0.3));
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    line-height: 1.2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .page-header {
        min-height: 400px;
        padding: 140px 0 80px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .breadcrumb {
        font-size: 0.95rem;
    }
}

.projects-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-intro h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
}

.project-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.project-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 2.5rem;
    text-align: center;
}

.project-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.project-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.project-images {
    background: var(--white);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.project-image-main {
    grid-column: 1 / -1;
    width: 100%;
    height: 300px;
    background: var(--light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
}

.project-image-small {
    width: 100%;
    height: 150px;
    background: var(--light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 2rem;
}

.project-details {
    padding: 2.5rem;
}

.project-details h4 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-details h4 i {
    color: var(--secondary);
}

.project-description {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--dark);
    text-align: justify;
    margin-bottom: 2rem;
}

.project-specs {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    border-right: 4px solid var(--secondary);
}

.project-specs h5 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.project-specs ul {
    list-style: none;
    padding: 0;
}

.project-specs ul li {
    padding: 0.5rem 0;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.project-specs ul li i {
    color: var(--secondary);
    margin-top: 0.3rem;
    font-size: 0.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 3rem;
    background: var(--light);
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray);
    font-size: 1rem;
}

@media (max-width: 968px) {
    .project-content {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .project-header h3 {
        font-size: 1.5rem;
    }
}