/* =========================================================
   XHR CREATIVE — LIGHT THEME
   Main colors are all here so the site is easy to customize.
   ========================================================= */
:root {
    --primary: #008bbc;
    --primary-dark: #006f96;
    --ink: #111820;
    --text: #34424d;
    --muted: #6f7c86;
    --white: #ffffff;
    --background: #f7fafc;
    --soft: #edf4f7;
    --card: #ffffff;
    --border: #dce7ec;
    --yellow: #e2ac00;
    --shadow: 0 14px 40px rgba(17, 24, 32, 0.09);
    --radius: 18px;
    --max-width: 1500px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.65;
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
    width: min(84%, var(--max-width));
    margin-inline: auto;
}

/* HEADER / NAVIGATION */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0c1216; /*** NEGRO-BLK ***/
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logoimg { height: 42px; width: auto; }

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color .25s ease;
}

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

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    background:
        linear-gradient(rgba(17, 24, 32, .62), rgba(17, 24, 32, .62)),
        url('../images/hero-xhr.jpg') center / cover no-repeat;
    border-bottom: 1px solid var(--border);
}


.hero-content { max-width: 950px; padding-block: 100px; }

.eyebrow {
    color: var(--primary);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .18em;
    margin-bottom: 12px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-bottom: 22px;
}

.hero h1 span,
.section-title h2 span,
.contact-copy h2 span { color: var(--primary); }

.hero-copy {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.88);
    font-size: 1.1rem;
}

.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* BUTTONS — yellow on hover */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--primary);
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.btn-outline { background: transparent; color: var(--primary); }

.btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink);
    transform: translateY(-2px);
}

/* GENERAL SECTIONS */
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-title h2,
.contact-copy h2 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
}

.section-intro { margin-top: 12px; color: var(--muted); }

/* SERVICES */
.services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 310px;
    padding: 34px 24px;
    background: #0c1216;
    border: 1px solid #333333;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 24px rgba(17,24,32,.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(0,139,188,.35);
}

.service-card img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin: 0 auto 22px;
    padding: 13px;
    border-radius: 18px;
    background: #0c1216; /* keeps your existing white service icons visible */
}

.service-card h3 { color: #4f98c7; margin-bottom: 8px; font-size: 1.18rem; }
.service-card p { color: #e3e3e3; font-size: .95rem; }














/* PORTFOLIO INFORMATION */

.portfolio-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 50px 22px 20px;

    color: #ffffff;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.90)
    );

    opacity: 0;
    transform: translateY(10px);

    transition: opacity .3s ease, transform .3s ease;
}


/* SHOW INFO ON HOVER */

.portfolio-item:hover .portfolio-info {
    opacity: 1;
    transform: translateY(0);
}


.portfolio-info h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 4px;
}


.portfolio-info p {
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
    line-height: 1.5;
    margin: 0;
}

















/* =========================================================
   FEATURED WORK
   ========================================================= */

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}


/* FILTER BUTTONS */

.filter-btn {
    min-width: 105px;
    padding: 11px 24px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--white);
    color: var(--ink);

    font-weight: 600;
    cursor: pointer;

    transition: all .25s ease;
}


.filter-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink);
}


.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}


/* GALLERY */

.portfolio-grid {
    display: grid;

    /* 4 pictures in one row */
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* INDIVIDUAL IMAGE */

.portfolio-item {
    width: 100%;
    height: 260px;

    overflow: hidden;
    border-radius: 16px;

    background: var(--ink);
    box-shadow: var(--shadow);

    animation: projectIn .35s ease both;
}


.portfolio-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}


.portfolio-item:hover img {
    transform: scale(1.05);
}


/* SIMPLE LOAD ANIMATION */

@keyframes projectIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}















/* PROCESS */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    padding: 28px;
    border-top: 3px solid var(--primary);
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
}

.process-step span { color: #4f98c7; font-size: 1.8rem; font-weight: 700; }
.process-step h3 { color: var(--ink); margin: 5px 0; }
.process-step p { color: var(--muted); }

/* TESTIMONIAL */
.testimonial {
    max-width: 850px;
    margin: auto;
    padding: 38px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial p { color: var(--ink); font-size: 1.2rem; margin-bottom: 10px; }
.testimonial strong { color: var(--primary); }

/* CONTACT */
.contact-section { background: var(--ink); }
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.contact-copy h2 { color: var(--white); margin-bottom: 15px; }
.contact-copy p:not(.eyebrow) { color: #aebbc4; max-width: 450px; }

.contact-form { display: grid; gap: 14px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #35424b;
    border-radius: 10px;
    outline: none;
    background: #1b252d;
    color: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--primary); }

.contact-form .btn { justify-self: start; }

/* FOOTER */
.site-footer {
    padding: 24px;
    text-align: center;
    background: #0b1015;
    color: #8f9ba4;
}

/* ABOUT */
.about-section { background: var(--white); }
.about-wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}
.about-copy h2 { color: var(--ink); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; margin-bottom: 20px; }
.about-copy h2 span { color: var(--primary); }
.about-copy > p:not(.eyebrow) { max-width: 760px; margin-bottom: 28px; color: var(--muted); }
.about-highlight { padding: 42px; background: #242424; color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.about-highlight p { color: var(--primary); font-size: .78rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 12px; }
.about-highlight h3 { font-size: 1.65rem; line-height: 1.35; }

/* FOOTER */
.site-footer { padding: 0; text-align: left; background: #242424; color: #d4d4d4; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-block: 55px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 380px; }
.site-footer h3 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact a { color: #d4d4d4; text-decoration: none; margin-bottom: 5px; }
.footer-contact a:hover { color: var(--yellow); }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #4b4b4b; border-radius: 50%; color: var(--white); text-decoration: none; font-weight: 700; transition: .25s ease; }
.social-icons a:hover { background: var(--yellow); border-color: var(--yellow); color: #242424; transform: translateY(-2px); }
.footer-bottom { padding: 18px 8%; text-align: center; border-top: 1px solid #3b3b3b; color: #9e9e9e; font-size: .9rem; }



/* =========================================================
   PORTFOLIO LIGHTBOX
   ========================================================= */

.portfolio-item {
    cursor: pointer;
}


/* DARK BACKGROUND */

.lightbox {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.92);

    opacity: 0;
    visibility: hidden;

    z-index: 9999;

    transition: opacity .3s ease;
}


/* SHOW LIGHTBOX */

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


/* LARGE IMAGE */

.lightbox img {
    width: auto;
    height: auto;

    max-width: 92vw;
    max-height: 90vh;

    object-fit: contain;

    border-radius: 8px;
}


/* CLOSE BUTTON */

.lightbox-close {
    position: absolute;

    top: 25px;
    right: 35px;

    padding: 0;

    border: 0;
    background: transparent;

    color: white;

    font-size: 45px;
    line-height: 1;

    cursor: pointer;

    transition: color .2s ease;
}


.lightbox-close:hover {
    color: var(--yellow);
}



/* RESPONSIVE */
@media (max-width: 1180px) {
    .services { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 800px) {
    .container { width: min(90%, var(--max-width)); }
    .section { padding: 75px 0; }

    .menu-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 76px;
        left: 5%;
        right: 5%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }
    .nav-links li, .nav-links a { width: 100%; }
    .nav-links a { display: block; padding: 11px 10px; }

    .services { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .contact-wrap, .about-wrap { grid-template-columns: 1fr; gap: 35px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .nav-links { background: #242424; border-color: #3b3b3b; }
}

@media (max-width: 520px) {
    .hero { min-height: 70vh; }
    .hero-content { padding-block: 80px; }
    .services, .portfolio-grid, .process { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .portfolio-item, .portfolio-item img { min-height: 230px; }
    .filter-btn { min-width: auto; padding: 9px 15px; }
    .footer-grid { grid-template-columns: 1fr; }
}







#form-status {
    margin-top: 15px;
    font-weight: 600;
}
