﻿/* ================== BASE ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: #fff;
    background: #010202;
}

* {
    box-sizing: border-box;
}

.bg-layer {
    will-change: transform;
    position: fixed;
    inset: 0;
    background: url("Images/Background.png") no-repeat;
    background-size: 100% auto;
    background-position: right top;

    z-index: -2;
}





/* ================== MOBILE ================== */



@media (max-width: 768px) {


/* ================= MOBILE HERO + LOGO FIX ================= */


.top-ui {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;

    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important; /* keep original layout */

    padding: 10px 20px;
    z-index: 1000;
}


.top-left {
    justify-self: center !important;
    margin-right: 0 !important;
}

.logo-img {
    display: block;
    margin: 0 auto !important;
}


.hero {
    padding: 0 16px !important;
    margin-top: 120px !important;
    text-align: center !important;
    justify-content: center !important;
}

.hero h1,
.hero h2 {
    font-size: 30px !important;
    line-height: 1.05 !important;
}

    .hero h2 {
        margin-top: -2px !important;
    }

.hero p {
    font-size: 13px !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}






    body {
        overflow-x: hidden;
    }

    /* ================= FIX RECENT WORK ================= */

    .grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100%;
        padding: 0 16px;
        margin: 0;
        gap: 10px;
    }

    .card {
        width: 100% !important;
        height: auto !important;
    }

    .card img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* ================= FIX FEATURED ================= */

    .featured {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 300px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        gap: 12px !important;
        overflow: hidden !important;
    }

    .featured-left,
    .featured-right {
        display: contents !important; /* 🔥 KEY FIX (removes uneven spacing) */
    }

    .feature {
        width: 100% !important;
        height: 110px !important;
        overflow: hidden !important;
    border-radius: 12px !important;
    }

    .feature img {
    border-radius: 12px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
    }

    /* 🔥 KEEP HEIGHT CONSISTENT */
    .feature.right-top,
    .feature.right-bottom {
        height: 110px !important;
    }

    /* ================= FIX SECTION HEADER ================= */

    .section-header {
        width: 100%;
        padding: 0 16px;
        margin: 0;
    }


/* ================= FIX SERVICES ================= */

.services {
    margin-top: 40px !important; /* 🔥 reduce top space */
}

.services-row {
    width: 100% !important;
    flex-direction: column !important;
    align-items: center;
    gap: 18px;                  /* 🔥 tighter */
    padding: 0 16px;
}

.service {
    width: 100%;
    max-width: 420px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.service img {
    flex-shrink: 0;
}

.service div {
    text-align: left;
}

.divider {
    display: none;
}

/* ================= FIX BOTTOM SERVICES ================= */

.services-extended {
    margin-top: 16px !important;  /* 🔥 reduced */
    padding: 0 16px;
}

.services-bottom {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;                   /* 🔥 tighter */
    margin-top: 10px !important; /* 🔥 reduced */
}

.services-left,
.services-right {
    width: 100% !important;
}



}




/* ================== TOP UI ================== */
.top-ui {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-start;
    padding: 10px 20px;
    z-index: 1000;
    background: linear-gradient( to bottom, rgba(0,0,0,1), rgba(0,0,0,0.9), transparent );
    height: 140px;
}

/* LEFT */
.top-left {

    justify-self: center;
    margin-right: 150px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* LOGO */
.logo-img {
    width: 150px;
}

/* SERVICES BUTTON (TOP NAV) */
.nav-center .nav-cta {
    display: inline-block;  /* 🔥 keeps them side by side */
    margin-right: 12px;     /* 🔥 spacing between */
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid #d4a94f;
    color: #d4a94f;
    background: transparent;
    text-decoration: none !important; /* 🔥 remove line */
    transition: all 0.2s ease;
    transform: translateX(200px);
}

    .nav-center .nav-cta:hover {
        background: #d4a94f;
        color: #000;
    }

    /* 🔥 HOVER */
    .nav-center .nav-cta:hover {
        background: #d4a94f;
        color: #000;
    }

/* RIGHT CTA */
.nav-right {
    display: flex;
    justify-content: flex-end;
}


.services-bottom {
    width: 1300px;
    margin: 60px auto 0;

    display: flex;
    justify-content: center;   /* 🔥 center whole block */
    align-items: flex-start;
    gap: 80px; /* 🔥 was 120, a bit too wide */
}

.services-left {
    max-width: 500px;
}

.services-left h3 {
    font-size: 20px;
    color: #e6ded3;
    margin-bottom: 12px;
}

.services-left p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.services-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13px;
    color: #aaa;
}

.services-right span {
    color: #d4a94f;
    margin-right: 10px;
}

/* ================== CTA BUTTON ================== */
.cta {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid #d4a94f;
    color: #d4a94f;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .cta:hover {
        background: #d4a94f;
        color: #000;
    }

/* ================== HERO ================== */
.hero {
    margin-top: 80px;

    height: auto;
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: flex-start;

    padding-right: 600px; /* your right padding */
}

.hero h1 {
    font-size: 45px;        /* bigger */
    line-height: 1.1;
    color: #fff;         /* warm off-white */
    font-weight: 500;
}

    .hero h2 {
        font-size: 45px; /* SAME size */
        line-height: 1.1;
        color: #b8923e; /* faded second line */
        font-weight: 500;
        margin-top: -8px; /* 🔥 pulls it tight like image */
    }

.hero p {
    font-size: 15px;
    margin-top: 5px;
    color: #9a8f83;         /* warmer gray */
    max-width: 520px;
    line-height: 1.5;
}

/* ================== PORTFOLIO ================== */
section {
    padding: 10px 0px;
}

.portfolio {
    width: 100%;
}

/* SECTION HEADER */
.section-header {
    width: 1130px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .section-header h2 {
        font-size: 14px;
        font-weight: 200;
	color: #D4A94F
    }

    .section-header a {
        color: #888;
        text-decoration: none;
        font-size: 14px;
        transition: 0.2s;
    }

        .section-header a:hover {
            color: #fff;
        }

/* 6 SQUARES */
.grid {
    display: grid;
    grid-template-columns: repeat(6, 180px);
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.card {
    width: 180px;
    height: 160px;
}

    .card img {
    overflow: hidden; /* 🔥 keeps zoom clean */
    transition: 0.3s ease;
        border-radius: 15px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.card:hover img {
    transform: scale(1.05);
}

/* ================== FEATURED ================== */
.featured {
    overflow: hidden; /* 🔥 keeps zoom clean */
    width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    justify-content: center;
    transition: 0.3s ease;
}

/* LEFT */
.featured-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* RIGHT */
.featured-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* BASE SIZE */
.feature {
    width: 560px;
    height: 120px;
    
}

    .feature img {
    transition: 0.3s ease;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    /* RIGHT TOP */
    .feature.right-top {
        height: 165px;
    }

    /* RIGHT BOTTOM */
    .feature.right-bottom {
        height: 210px;
    }


.feature:hover img {
    transform: scale(1.04);
}


/* ================== SERVICES ================== */
.services-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

    /* BUTTON STYLE */
    .services-grid div {
        padding: 14px 22px;
        border-radius: 8px;
        background: rgba(20,20,20,0.4); /* 🔥 lighter */
        border: 1px solid rgba(212,169,79,0.2); /* subtle gold */

        color: #aaa;
        font-size: 13px;
        letter-spacing: 0.3px;
        transition: 0.2s ease;
    }

        /* HOVER */
        .services-grid div:hover {
            color: #fff;
            border-color: #d4a94f;
            background: rgba(212,169,79,0.08);
        }


/* ================== SERVICES ================== */

.services {
    margin-top: 90px; /* adjust: 60–120 until it clears the line */
}

.services-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
    color: #D4A94F;
}

/* ROW */
.services-row {
    width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ITEM */
.service {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 220px;
}

    /* ICON */
    .service img {
        width: 64px;
        height: 64px;
        object-fit: contain;
    }

    /* TEXT */
    .service h3 {
        font-size: 14px;
        color: #fff;
        margin-bottom: 4px;
    }

    .service p {
        font-size: 12px;
        color: #888;
        line-height: 1.4;
    }

/* DIVIDER */
.divider {
    width: 1px;
    height: 40px;
    background: linear-gradient( to bottom, transparent, #d4a94f, transparent );
    opacity: 0.6;
}

/* ================== BACK TO TOP ================== */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(20,20,20,0.6);
    color: white;
    border: none;
    display: none;
}


/* VIEW ALL GOLD STYLE */
.view-all {
    color: #d4a94f; /* 🔥 gold */
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s ease;
}

    /* arrow */
    .view-all .arrow {
        font-size: 16px;
        transition: transform 0.25s ease;
    }

    /* hover */
    .view-all:hover {
        color: #f2c86b; /* 🔥 lighter gold */
    }

        /* arrow slide */
        .view-all:hover .arrow {
            transform: translateX(4px);
        }


.section-header a.view-all {
    color: #d4a94f;
    text-decoration: none;
    font-size: 14px;
9    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 10px;
}

    .section-header a.view-all:hover {
        color: #f2c86b;
    }

    .section-header a.view-all .arrow {
        font-size: 18px;
        transition: transform 0.25s ease;
    }

    .section-header a.view-all:hover .arrow {
        transform: translateX(5px);
    }


/* ============= CONTACT ============= */
.contact {
    margin-top: 200px;
    margin-bottom: 50px; /* 🔥 bottom padding */
    text-align: center;
}

.contact-box p {
    color: #888;
    margin-bottom: 20px;
}

.contact img {
    width: 40px;      /* 🔥 control size */
    margin-bottom: 10px;
}

.contact-email {
    margin-top: 10px;
    font-size: 13px;
    color: #D4A94F !important;
}


/* ============= FOOTER & SOCIALS ============= */
.footer {
    background-color: #010202;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 2s ease-out;
    position: relative;
}

    .footer p {
        font-size: 0.7em;
        color: #888;
        margin: 4px 0;
    }



.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    z-index: 100;
}

    .social-icons img {
        width: 40px;
        height: 40px;
        transition: transform 0.3s;
        animation: bounceIn 1s ease-out;
        z-index: 100;
    }

        .social-icons img:hover {
            transform: scale(1.2);
        }
