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

:root {
    --primary: #111111;
    --secondary: #1d1d1d;
    --accent: #d4a017;
    --light: #f5f5f5;
    --gray: #7a7a7a;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--primary);
    line-height: 1.6;
    /* FOOTER FIX: make page a flex column so footer reaches the bottom */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* NAVBAR */
nav {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--white);
}

.nav-links a {
    transition: 0.25s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 999px;
    transition: 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85%);
    height: 100vh;
    background: #111111;
    z-index: 1200;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 3px solid rgb(62, 62, 62);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1100;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--primary);
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* HERO */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1600&auto=format&fit=crop")
        center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 750px;
}

.hero-tag {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.7rem);
    line-height: 1;
    margin-bottom: 1.4rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.secondary-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* STATS */
.stats {
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-card p {
    color: var(--gray);
    font-weight: 500;
}

/* SECTION */
section {
    padding: 6rem 0;
}

.section-title {
    margin-bottom: 3rem;
    max-width: 700px;
}

.section-title span {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    font-size: 1rem;
}

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

.service-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 24px;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 160, 23, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(212, 160, 23, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--gray);
}

/* PROJECTS */
.projects {
    background: #0f0f0f;
    color: var(--white);
}

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

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 420px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    display: flex;
    align-items: end;
    padding: 2rem;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.about-content ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-content li {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #111111, #1e1e1e);
    color: var(--white);
    border-radius: 36px;
    padding: 4rem;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-inline: auto;
}

/* CONTACT */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 24px;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--gray);
}

form {
    display: grid;
    gap: 1rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.success-message {
    background: rgba(76, 175, 80, 0.12);
    color: #2e7d32;
    padding: 1rem;
    border-radius: 14px;
    margin-top: 1rem;
    font-weight: 600;
}

/* FOOTER FIX: push footer to the very bottom */
footer {
    margin-top: auto;
    background: #0f0f0f;
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    text-align: center;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    width: min(1000px, 92%);
    max-height: 85vh;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-btn,
.lightbox-close {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
}

.lightbox-btn:hover,
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-btn {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.lightbox-close {
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
}

/* MOBILE */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .stats {
        margin-top: -9px;
    }

    .stats-grid,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cta {
        padding: 2.5rem;
    }
}

@media (max-width: 600px) {
    .stats {
        margin-top: -9px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 4rem 0;
    }
}