@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --navy: #06101e;
    --navy-surface: #0b1a2f;
    --navy-light: #162a45;
    --copper: #c08a47;
    --copper-glow: rgba(192, 138, 71, 0.4);
    --copper-light: #dba764;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--navy);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}


h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-copper {
    color: var(--copper);
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(213, 213, 213);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.2rem 5%;
    background: rgba(213, 213, 213);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 58px;
    width: 200px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span:first-child {
    color: var(--text-main);
}

.logo-text span:last-child {
    color: var(--copper);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #0b3053;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--copper);
    transition: var(--transition);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}


.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 16, 30, 0.9) 0%, rgba(6, 16, 30, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--copper);
    color: var(--navy);
    border: 2px solid var(--copper);
    box-shadow: 0 0 20px var(--copper-glow);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--copper);
    box-shadow: 0 0 30px var(--copper-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--navy);
}


section {
    padding: 6rem 5%;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--navy-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--copper);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(192, 138, 71, 0.3);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--copper);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--copper);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--copper-light);
    gap: 0.8rem;
}


.clients-slider {
    overflow: hidden;
    padding: 3rem 0;
    background: var(--navy-surface);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slide-track {
    display: flex;
    width: calc(250px * 12);
    animation: scroll 30s linear infinite;
}

.slide {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.slide-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.slide-content:hover {
    color: var(--copper);
    border-color: var(--copper);
    background: rgba(192, 138, 71, 0.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.project-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-info {
    background: var(--navy-surface);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 8px 8px;
    transition: var(--transition);
}

.project-card:hover .project-info {
    border-color: rgba(192, 138, 71, 0.3);
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--copper);
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}


footer {
    background: linear-gradient(135deg, var(--navy-surface) 0%, var(--navy) 100%);
    padding: 2.5rem 5% 1.5rem;
    border-top: 2px solid rgba(192, 138, 71, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 1rem;
}

.footer-col {
    padding-right: 1rem;
}


.footer-col h4 {
    color: var(--copper);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    height: 58px;
    width: 200px;
    min-height: 58px;
    min-width: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--copper);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}


.page-header {
    padding: 10rem 5% 4rem;
    background: var(--navy-surface);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}


.detail-section {
    padding: 5rem 5%;
}

.detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001; /* Keep above mobile menu */
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--copper);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


@media (max-width: 990px) {
    .hamburger {
        display: flex;
        margin-left: 1rem;
    }

    nav ul.nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(6, 16, 30, 0.98);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s;
        justify-content: center;
        gap: 2rem;
        backdrop-filter: blur(10px);
    }

    nav ul.nav-links.active {
        left: 0;
    }

    nav ul.nav-links li {
        margin: 1rem 0;
    }

    nav ul.nav-links li a {
        font-size: 1.5rem;
        color: var(--text-main);
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .desktop-hidden-title {
        display: none;
    }
}
