:root {
    --primary: #f4b000;
    --primary-dark: #c98900;
    --secondary: #444;
    --accent: #e00;
    --light: #f8f8f8;
    --border: #d9d9d9;
    --text: #202020;
    --max-width: 1200px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

.container {
    width: min(92%, var(--max-width));
    margin-inline: auto;
}

.top-bar {
    background: #efefef;
    border-bottom: 4px solid var(--primary);
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand .logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.contact-tags a {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-left: 0.5rem;
    text-decoration: none;
}

.language-switch a {
    text-decoration: none;
    margin-left: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.language-switch .active {
    color: var(--accent);
}

.main-nav {
    background: #5d5d5d;
    color: #fff;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
}

.main-nav > .container > ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.main-nav .dropdown {
    list-style: none;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.9rem 0.6rem;
    display: block;
    font-weight: 500;
}

.main-nav li {
    position: relative;
}

.main-nav li.active > a,
.main-nav li:hover > a {
    background: var(--primary);
    color: #111;
}

.dropdown {
    display: none;
    position: absolute;
    background: white;
    color: var(--text);
    min-width: 220px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dropdown a {
    color: var(--text);
}

.has-children:hover .dropdown {
    display: block;
}

.nav-login-btn {
    background: var(--primary);
    color: #111;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.nav-login-btn:hover {
    background: var(--primary-dark);
    color: #111;
}

.hero {
    background: linear-gradient(120deg, #1d1d1d, #4a4a4a);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.slide {
    opacity: 0;
    transform: translateX(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide h1 {
    font-size: clamp(1.8rem, 3vw, 3.1rem);
    margin-bottom: 0.8rem;
}

.cta-group {
    margin-top: 1.6rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.btn.primary {
    background: var(--primary);
    color: #111;
}

.btn.ghost {
    border: 1px solid white;
    color: white;
}

.main-content {
    padding: 2.5rem 0 4rem;
}

.page-content {
    margin-bottom: 2rem;
}

.page-header h2 {
    margin-bottom: 0.3rem;
}

.page-header p {
    color: #555;
}

.page-body {
    margin-top: 1.2rem;
    line-height: 1.8;
}

.page-body p + p {
    margin-top: 1rem;
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.project-card {
    position: relative;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #111;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.timeline article {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.timeline time {
    display: block;
    color: #777;
    font-size: 0.85rem;
}

.publication-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.publication-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.publication-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.attachment-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: #111;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.attachment-link:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .publication-images {
        grid-template-columns: 1fr;
    }
    
    .publication-images img {
        height: 250px;
    }
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 1.2rem;
}

.gallery-info p {
    color: #666;
    font-size: 0.95rem;
}

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

.video-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 1.2rem;
}

.video-info p {
    color: #666;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer {
    background: #111;
    color: white;
    padding: 2.5rem 0 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.site-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-footer ul {
    list-style: none;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #bbbbbb;
}

@media (max-width: 900px) {
    .main-nav > .container > ul {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    .main-nav > .container > ul.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
    }

    .has-children:hover .dropdown {
        display: none;
    }

    .has-children .dropdown {
        display: none;
    }

    .has-children.open .dropdown {
        display: block;
    }

    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        align-items: flex-start;
    }

    .main-nav .container {
        flex-wrap: wrap;
    }

    .nav-login-btn {
        display: block;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .main-nav > .container > ul.open ~ .nav-login-btn {
        margin-top: 0;
    }
}

/* Construction Illustrations */
.construction-illustrations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.construction-icon {
    position: absolute;
    opacity: 0.2;
    filter: drop-shadow(0 4px 8px rgba(244, 176, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.construction-icon:hover {
    opacity: 0.35;
}

.construction-house-1 {
    top: 10%;
    right: 8%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.construction-house-2 {
    top: 25%;
    left: 5%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.construction-house-3 {
    bottom: 25%;
    left: 10%;
    animation-delay: 1.5s;
    animation-duration: 5.5s;
}

.construction-house-4 {
    top: 45%;
    right: 12%;
    animation-delay: 0.5s;
    animation-duration: 6.5s;
}

.construction-house-5 {
    bottom: 15%;
    right: 18%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.construction-house-6 {
    top: 55%;
    left: 3%;
    animation-delay: 2.5s;
    animation-duration: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
    75% {
        transform: translateY(-25px) rotate(1deg);
    }
}

/* Ensure hero content is above illustrations */
.hero-slider {
    position: relative;
    z-index: 3;
}

.slide {
    position: relative;
    z-index: 3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .construction-icon {
        opacity: 0.1;
        transform: scale(0.7);
    }
}


