
/* ===== BASIC RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #111111;
    color: #ffffff;
}

:root {
    --gold: #c9a45c;
    --dark: #111111;
    --light: #f5f3ef;
}


/* ===== NAVBAR ===== */

header {
    background: #111111;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1250px;
    margin: auto;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span,
footer h2 span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #dddddd;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-btn {
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 20px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--gold);
    color: #111111;
}


/* ===== HERO SECTION ===== */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 10%;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.88),
            rgba(0,0,0,0.35)
        ),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 750px;
}

.hero-tag,
.section-tag {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-description {
    color: #dddddd;
    max-width: 550px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 15px 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-btn {
    background: var(--gold);
    color: #111111;
}

.primary-btn:hover {
    background: white;
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid white;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: #111111;
}

.hero-bottom {
    position: absolute;
    bottom: 25px;
    left: 10%;
    right: 10%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #dddddd;
    font-size: 10px;
    letter-spacing: 1.5px;
}


/* ===== ABOUT SECTION ===== */

.about {
    padding: 110px 10%;
    background: var(--light);
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.section-heading {
    max-width: 550px;
}

.about h2,
.services h2,
.projects h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    line-height: 1.3;
}

.about .section-tag {
    color: #98763c;
}

.about-description {
    max-width: 450px;
    color: #666666;
    line-height: 2;
}


/* ===== SERVICES SECTION ===== */

.services {
    padding: 100px 10%;
    background: #171717;
}

.services h2,
.projects h2 {
    margin-bottom: 45px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    border: 1px solid #393939;
    padding: 35px;
    min-height: 230px;
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-7px);
}

.service-card span {
    color: var(--gold);
    font-size: 14px;
}

.service-card h3 {
    margin: 25px 0 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
}

.service-card p {
    color: #aaaaaa;
    line-height: 1.8;
    font-size: 14px;
}


/* ===== PROJECTS SECTION ===== */

.projects {
    padding: 100px 10%;
    background: var(--light);
    color: var(--dark);
}

.projects .section-tag {
    color: #98763c;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
}

.project-card {
    overflow: hidden;
}

.project-card:hover .project-image {
    transform: scale(1.04);
}

.image-one {
    background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=80");
}

.image-two {
    background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80");
}

.image-three {
    background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=900&q=80");
}

.project-card h3 {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}

.project-card p {
    color: #777777;
    margin-top: 8px;
    font-size: 13px;
}

.demo-note {
    color: #777777;
    font-size: 12px;
    margin-top: 30px;
}


/* ===== CONTACT SECTION ===== */

.contact {
    padding: 100px 20px;
    text-align: center;
    background: #171717;
}

.contact h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    margin-bottom: 18px;
}

.contact > p:not(.section-tag) {
    color: #aaaaaa;
    margin-bottom: 30px;
}


/* ===== FOOTER ===== */

footer {
    padding: 45px 20px;
    text-align: center;
    background: #090909;
}

footer h2 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
}

footer p {
    color: #888888;
    font-size: 13px;
    margin-top: 12px;
}


/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 850px) {

    .navbar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }

    .about {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-container,
    .project-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .navbar {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    .nav-btn {
        display: none;
    }

    .hero {
        min-height: 580px;
        padding: 60px 25px;
    }

    .hero-bottom {
        left: 25px;
        right: 25px;
        font-size: 8px;
    }

    .service-container,
    .project-container {
        grid-template-columns: 1fr;
    }

    .about h2,
    .services h2,
    .projects h2,
    .contact h2 {
        font-size: 29px;
    }

    .about,
    .services,
    .projects {
        padding: 70px 25px;
    }
}

/* SCROLL REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR SCROLL EFFECT */

header {
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.35);
}

/* REDUCE ANIMATION FOR ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* STATISTICS SECTION */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #c9a45c;
    padding: 55px 8%;
    gap: 25px;
    text-align: center;
}

.stat-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    color: #111111;
    margin-bottom: 10px;
}

.stat-card p {
    color: #29231a;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 20px;
    }

    .stat-card h2 {
        font-size: 32px;
    }
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 13px;
    font-size: 24px;
    cursor: pointer;
}

/* WHATSAPP FLOATING BUTTON */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 200;
    background: #25D366;
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.whatsapp-float:hover {
    transform: translateY(-4px);
}

/* MOBILE NAVIGATION */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
        padding: 25px;
        flex-direction: column;
        gap: 22px;
    }

    .nav-links.active {
        display: flex;
    }
}
