/** css/sheets/homepage.css **/

@charset "utf-8";

.page-bg-top {
    position: fixed;
    inset: 0;
    background-image: url("/img/assets/hero-bg.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.page-bg-bottom {
    position: fixed;
    inset: 0;
    background-image: url("/img/assets/hero-bg-bottom.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

.hero {
    width: 100%;
    min-height: calc(90vh + 90px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
}

/* CONTENT */
.hero-content {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    width: calc(100% - 4rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-content h1 {
    color: #ffffff;
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    font-weight: normal;
    font-family: "Bully";
    max-width: 620px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 2px 3px 5px rgba(0,0,0,0.9);
    text-align: right;
    margin-right: 25px;
}

/* BLUE COPY BOX */
.hero-copy {
    background: rgba(40, 141, 190, 0.80);
    padding: 1.4rem 1.6rem;
    max-width: 580px;
    border-left: 10px solid #FF7900;
}

.hero-copy p {
    color: #011039;
    font: 700 1.6rem "CandaraB";
    line-height: 1.35;
    margin: 0;
    text-align: right;
}

.temp-space {
    height: 1000px;
    background-color: rgba(250, 250, 250, 0);
}

.services-overview {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(
        180deg,
        rgba(40, 141, 190, 0.06),
        rgba(255, 255, 255, 1)
    );
}

/* HEADER */
.services-header {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    text-align: center;
}

.services-header h2 {
    font-family: "Bully";
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #011039;
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* GRID */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* PANEL */
.service-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #f9fafc;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(1, 16, 57, 0.12);
    transform: translateY(40px);
    opacity: 0;
    transition:
        transform 0.8s ease,
        opacity 0.8s ease;
}

/* ACTIVE STATE */
.service-panel.is-visible {
    transform: translateY(0);
    opacity: 1;
}

/* IMAGE */
.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
}

/* CONTENT */
.service-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-family: "CandaraB";
    font-size: 1.6rem;
    color: #011039;
    margin-bottom: 0.75rem;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.service-link {
    margin-top: 1.25rem;
    display: inline-block;
    color: #288DBE;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    width: fit-content;
}

.service-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #FF7900;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.service-link:hover::after {
    transform: scaleX(1);
}

.service-panel {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-accent {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #FF7900;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
    z-index: 3; /* ABOVE image and content */
}

.service-panel .service-accent {
    left: 0;
}

.service-panel.panel-left .service-accent {
    left: auto;
    right: 0;
}

.service-panel:hover .service-accent {
    transform: scaleY(1);
}

.service-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(1, 16, 57, 0.18);
}

.service-panel:hover .service-accent {
    box-shadow: 0 0 18px rgba(255, 121, 0, 0.6);
}

.service-media img {
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.service-panel:hover .service-media img {
    transform: scale(1.05);
    filter: saturate(1.1) contrast(1.1);
}

.services-cta {
    margin-top: 5rem;
    text-align: center;
}

.service-panel:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}

.service-panel:nth-child(even) .service-media {
    order: 2;
}


.service-area {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* INNER WRAPPER */
.service-area-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 520px;
}

/* LEFT PANEL */
.service-area-copy {
    background: #011039;
    color: #ffffff;
    padding: clamp(4rem, 6vw, 7rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-area-copy h2 {
    font-family: "Bully";
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1.25rem;
}

.service-area-copy .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #d6e9f4;
    margin-bottom: 1.5rem;
}

.service-area-copy p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    color: #e8eef5;
}

.service-area-copy strong {
    color: #ffffff;
    font-weight: 600;
}

/* ACTIONS */
.service-area-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* RIGHT PANEL (MAP) */
.service-area-map {
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-area-map img {
    height: 70%;
    object-fit: contain;
    display: block;
    filter: saturate(1.05) contrast(1.05);
}

/* Subtle overlay for polish */
.service-area-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(1, 16, 57, 0.15),
        rgba(1, 16, 57, 0)
    );
}

/* WHY CHOOSE US */

.why-choose {
    width: calc(100% - 4rem);
    background: #ffffff;
    padding: clamp(5rem, 8vw, 8rem) 2rem;
}

.why-choose-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* HEADER */
.why-header {
    max-width: 720px;
    margin-bottom: 4rem;
}

.why-header h2 {
    font-family: "Bully";
    font-size: clamp(1.4rem, 2.5vw, 2.4rem);
    color: #011039;
    margin-bottom: 1rem;
}

.why-header p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #444;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 3.5rem;
}

/* ITEM */
.why-item {
    position: relative;
    padding-left: 1.5rem;
}

.why-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 6px;
    height: 28px;
    background: #288DBE;
}

.why-item h3 {
    font-family: "CandaraB";
    font-size: 1.5rem;
    margin-top: 2px;
    margin-bottom: 0.6rem;
    color: #011039;
}

.why-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* SUBTLE HOVER POLISH */
.why-item:hover::before {
    background: #FF7900;
    transition: background 0.25s ease;
}


/* WORK TEASER SECTION */

.work-teaser {
    width: calc(100% - 4rem);
    background: linear-gradient(
        135deg,
        #e7f4fb 0%,
        #d8eef9 50%,
        #eef7fc 100%
    );
    padding: clamp(5rem, 8vw, 8rem) 2rem;
}

.work-teaser-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}

/* LEFT PANEL */
.work-teaser-copy h2 {
    font-family: "Bully";
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    color: #011039;
    margin-bottom: 1.2rem;
}

.work-teaser-copy p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 1.2rem;
    max-width: 420px;
}

/* CTA */
.btn-gallery {
    display: inline-block;
    margin-top: 2rem;
    background: #011039;
    color: #ffffff;
    text-decoration: none;
    font-family: "Bully";
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(1, 16, 57, 0.25);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn-gallery:hover {
    background: #288DBE;
    transform: translateY(-4px);
    box-shadow: 0 30px 65px rgba(1, 16, 57, 0.35);
}

/* RIGHT PANEL: IMAGE GRID */
.work-teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
    gap: 1rem;
}

.work-teaser-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Subtle hover polish */
.work-teaser-grid img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 25px 55px rgba(0,0,0,0.25);
}

/* OPTIONAL VARIATION FOR VISUAL INTEREST */
.work-teaser-grid img:nth-child(3n) {
    grid-row: span 2;
}


/* PROCESS + CTA SECTION */

.process-cta {
    width: calc(100% - 4rem);
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f4f9fd 50%,
        #ffffff 100%
    );
    padding: clamp(6rem, 9vw, 9rem) 2rem;
}

.process-cta-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* HEADER */
.process-header {
    max-width: 720px;
    margin-bottom: 4rem;
}

.process-header h2 {
    font-family: "Bully";
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    color: #011039;
    margin-bottom: 1rem;
}

.process-header p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #444;
}

/* STEPS */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.process-step {
    position: relative;
    padding-left: 1.5rem;
}

.process-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 6px;
    height: 60px;
    background: #288DBE;
}

.step-number {
    font-family: "Bully";
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #288DBE;
    display: block;
    margin-bottom: 0.4rem;
}

.process-step h3 {
    font-family: "Bully";
    font-size: 1.25rem;
    color: #011039;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* CTA BLOCK */
.final-cta {
    background: #011039;
    color: #ffffff;
    padding: clamp(3.5rem, 5vw, 5rem);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(1, 16, 57, 0.35);
}

.final-cta h3 {
    font-family: "Bully";
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    margin-bottom: 0.8rem;
}

.final-cta p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #d6e9f4;
    margin-bottom: 2.5rem;
}

/* FINAL CTA BUTTON */
.btn-final-cta {
    display: inline-block;
    background: #FF7900;
    color: #ffffff;
    text-decoration: none;
    font-family: "Bully";
    font-size: 1.2rem;
    padding: 1.2rem 2.8rem;
    border-radius: 4px;
    box-shadow: 0 20px 45px rgba(255, 121, 0, 0.45);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn-final-cta:hover {
    background: #e66d00;
    transform: translateY(-4px);
    box-shadow: 0 35px 70px rgba(255, 121, 0, 0.6);
}







/* MOBILE */
@media (max-width: 1000px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MOBILE */
@media (max-width: 600px) {

.hero-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    width: calc(100% - 1rem);
}

.hero-content h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    margin-right: 0;
}

.hero-copy p {
    font-size: 1rem;
}

.service-content {
    padding: 1rem;
}

.service-grid {
    grid-template-columns: 1fr;
}

.service-panel {
    grid-template-columns: 1fr;
}    

.service-panel:nth-child(even) {
    grid-template-columns: 1fr;
}

.service-panel:nth-child(even) .service-media {
    order: inherit;
}
.service-area-inner {
    grid-template-columns: 1fr;
}

.service-area-map {
    height: 320px;
}

.service-area-copy {
    padding: 3.5rem 2rem;
}
.why-grid {
    grid-template-columns: 1fr;
}
.work-teaser-inner {
    grid-template-columns: 1fr;
}

.work-teaser-copy {
    text-align: center;
}

.work-teaser-copy p {
    margin-left: auto;
    margin-right: auto;
}

.work-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 120px;
}
.process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.process-steps {
    grid-template-columns: 1fr;
}
.process-header {
    margin-bottom: 3rem;
}
}
