/* ========================================
   STED ARCHBUILD - COMMON STYLES
   ======================================== */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FDB913;
    --secondary: #003B5C;
    --dark: #000000;
    --light: #ffffff;
    --gray: #666666;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--light);
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dark);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.cta-nav {
    background: #000000;
    color: white;
    padding: 12px 30px;
    border-radius: 0;
}

.nav-links a.cta-nav:hover {
    background: var(--primary);
    color: #000000;
}

.nav-links a.cta-nav::after {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #000000;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    padding: 80px 80px 40px;
    background: var(--dark);
    color: var(--light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 8px;
}

.footer-brand p {
    font-size: 9px;
    color: white;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.logo-footer {
    display: flex;
    align-items: center;
}

.logo-footer img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-address {
    color: white;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 300;
    margin-top: 20px;
}

.footer-company-names {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.social-links a:hover {
    background: white;
    border-color: white;
    transform: translateY(-3px);
}

.social-links a:hover svg {
    fill: var(--dark);
}

.footer-links h4 {
    font-size: 14px;
    margin-bottom: 25px;
    color: white;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: white;
}

/* Footer Offices Grid */
.footer-offices {
    grid-column: 1 / -1;
    margin-top: 40px;
}

.footer-offices h4 {
    font-size: 14px;
    color: white;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

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

.office-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.office-item strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.office-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
}

.footer-bottom strong {
    color: var(--primary);
    font-weight: 500;
}

/* ========================================
   COMMON ELEMENTS
   ======================================== */

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: #000;
    color: white;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.btn-primary:hover {
    background: transparent;
    color: #000;
}

.btn-light {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-light:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ========================================
   RESPONSIVE - NAVIGATION & FOOTER
   ======================================== */

@media (max-width: 1024px) {
    nav {
        padding: 10px 40px;
    }

    .nav-links {
        gap: 30px;
    }

    footer {
        padding: 60px 40px 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    .nav-links a.cta-nav {
        margin-top: 10px;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    /* ========================================
       FOOTER - MOBILE CENTER ALIGNMENT
       ======================================== */
    footer {
        padding: 50px 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo-footer {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .logo-footer img {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h4 {
        text-align: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-links li {
        text-align: center;
    }

    .footer-offices {
        text-align: center;
    }

    .footer-offices h4 {
        text-align: center;
    }

    .offices-grid {
        text-align: center;
    }

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

    .office-item strong {
        text-align: center;
    }

    .office-item p {
        text-align: center;
    }

    .footer-bottom {
        font-size: 12px;
        text-align: center;
    }
}
