/* ==========================================
   HOME PAGE STYLES
   ========================================== */

/* ==========================================
   HERO SECTION - CENTERED VERSION
   ========================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100svh;
    background-color: #000;
}

/* Background Images Layer */
/* .hero-background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-plate {
    position: absolute;
    width: 500px;
    height: auto;
    object-fit: contain;
}

.hero-plate-1 {
    bottom: 10%;
    transform: rotate(-115deg);
}

.hero-plate-2 {
    top: 10%;
    right: 0%;
} */

/* Video Background Layer */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay — backdrop-filter forces GPU compositor layer, background-color renders on that same GPU layer */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* backdrop-filter: brightness(1.05);
    -webkit-backdrop-filter: brightness(1.05); */
    background-color: rgba(0, 0, 0, 0.5);
    /* background-color: rgba(244, 244, 244, 0.41); */
    pointer-events: none;
}

/* Content Layer */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 2rem 0;
}

/* Title Section - Top Third */
.hero-title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-title {
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
}

.hero-line {
    width: 80vw;
    height: 1px;
    background-color: var(--branding-gold);
}

/* Text Section - Bottom Third */
.hero-text-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 6rem;
    max-width: 50%;
}

.hero-intro {
    font-weight: 400;
    font-size: 1rem;
    color: var(--white);
    text-align: left;
    margin-bottom: 2rem;
}

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

.hero-arrow {
    font-size: 2.5rem;
    color: var(--text);
    animation: bounce 2s infinite;
}

/* Cinematic bottom fade into next section */
.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: clamp(140px, 24vh, 340px);
    pointer-events: none;
    z-index: 4;
    transform: translateZ(0);

    background: linear-gradient(
        to bottom,
        rgba(244, 244, 244, 0) 0%,
        rgba(244, 244, 244, 0.15) 35%,
        rgba(244, 244, 244, 0.45) 65%,
        #f4f4f4 100%
    );
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================
   SERVICES SECTION STYLES
   ========================================== */

.services-section {
    width: 100%;
    padding: 0rem 2rem;
}

.services-container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Header */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    margin-bottom: 1rem;
}

.services-subtitle {
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.services-intro {
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    padding: 2rem 2rem 0rem 2rem;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.services-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: var(--line-divider);
    transform: translateX(-50%);
    z-index: 1;
}

/* Service Card */
.service-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.additional-services-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
}

.service-add-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.service-add-button:hover {
    transform: scale(1.15);
}

.btn-service-info {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-service-info:hover {
    transform: scale(1.15);
}

.service-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--box-radius);
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Service Content */
.service-content {
    text-align: center;
}

.service-title {
    /* border-bottom: 1px solid; */
    /* font-size: clamp(1.5rem, 3vw, 2rem); */
    /* font-weight: 400; */
    margin-bottom: 1rem;
}

/* ==========================================
   CTA BANNER SECTION STYLES
   ========================================== */

.cta-banner {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url("../../images/background-banner.fa92e451adc7.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dark Overlay */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 1;
}

/* Content */
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light);
    padding: 2rem;
    max-width: 900px;
}

.cta-title {
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

/* ==========================================
   FEATURES GRID SECTION STYLES
   ========================================== */

.features-grid-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-grid {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    position: relative;
}

/* Center Dividing Lines */
.features-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: var(--line-divider);
    transform: translateX(-50%);
    z-index: 1;
}

.features-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--line-divider);
    transform: translateY(-50%);
    z-index: 1;
}

/* Grid Items */
.feature-item {
    position: relative;
}

/* Text Items */
.feature-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.feature-text-content {
    max-width: 500px;
}

.feature-title {
    margin-bottom: 1.5rem;
}

/* Image Items */
.feature-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.feature-image img {
    width: 75%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    border-radius: var(--box-radius);
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

/* ==========================================
   CONTACT CTA SECTION STYLES
   ========================================== */

.contact-cta-section {
    width: 100%;
}

/* ==========================================
   CONTACT GALLERY SECTION STYLES
   ========================================== */

.contact-gallery-section {
    width: 100%;
}

/* Gallery Row */
.gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    flex: 1;
    min-height: 200px;
    max-height: 40vh;
}

.gallery-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact CTA Content */
.contact-cta-content {
    text-align: center;
    padding: 2rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.contact-description {
    margin-bottom: 2.5rem;
}

/* ==========================================
   HOME LOCATION STRIP STYLES
   ========================================== */

.home-location-strip {
    width: 100%;
    border-top: 1px solid var(--line-divider);
    padding: 5rem 2rem;
}

.home-location-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6rem;
    align-items: start;
}

.home-location-title {
    margin-bottom: 1rem;
}

.home-location-line {
    width: 50px;
    height: 1px;
    background-color: var(--branding-gold);
    margin-bottom: 2rem;
}

.home-location-text p {
    margin-bottom: 1.25rem;
}

.home-location-text p:last-child {
    margin-bottom: 0;
}

.home-location-airports {
    list-style: none;
    padding: 0;
    min-width: 260px;
    border-left: 1px solid var(--line-divider);
    padding-left: 3rem;
}

.home-location-airports li {
    font-size: 0.85rem;
    color: var(--paragraph-text);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--grey-border);
    letter-spacing: 0.03em;
}

.home-location-airports li:first-child {
    padding-top: 0;
}

.home-location-airports li:last-child {
    border-bottom: none;
}

/* ==========================================
   PROJECT SHOWCASE SECTION STYLES
   ========================================== */

.showcase-section {
    width: 100%;
    padding: 0rem 2rem;
}

.showcase-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Header */
.showcase-header {
    text-align: center;
    margin-bottom: 4rem;
}

.showcase-title {
    margin-bottom: 1.5rem;
}

.showcase-intro {
    max-width: 700px;
    margin: 0 auto;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-divider);
    position: relative;
    align-items: start;
}

/* Vertical Dividers Between Items */
.showcase-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: var(--line-divider);
}

/* Showcase Item */
.showcase-item {
    padding: 3rem 2.5rem;
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    text-align: center;
    min-height: 100%;
}

/* Content aligned properly */
.showcase-project-title {
    min-height: 3.5em;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.showcase-description {
    color: var(--text);
    align-self: start;
}

.showcase-client {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 2rem;
    align-self: end;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .hero-plate {
        width: 400px;
    }

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

@media (max-width: 968px) {

    .hero-btns {
        flex-direction: column;
        gap: 0.3rem;
    }

    .home-location-strip-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home-location-airports {
        border-left: none;
        border-top: 1px solid var(--line-divider);
        padding-left: 0;
        padding-top: 1.5rem;
        min-width: unset;
    }

    .features-grid {
        width: 90%;
    }

    .feature-text {
        padding: 3rem 2rem;
    }

    .feature-image {
        padding: 2rem;
    }

    .feature-image img {
        width: 65%;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-item:not(:last-child)::after {
        display: none;
    }

    .showcase-item {
        padding: 3rem 1.5rem;
        border-bottom: 1px solid #d0d0d0;
    }

    .showcase-item:last-child {
        border-bottom: none;
    }

    .contact-cta-content {
        padding: 4rem 2rem;
    }
}

@media (max-width: 640px) {

    .hero-text-section {
        max-width: 66%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: 95%;
    }

    .features-grid::before,
    .features-grid::after {
        display: none;
    }

    /* Reorder: Text → Image → Text → Image */
    .feature-item:nth-child(1) { order: 1; }
    .feature-item:nth-child(2) { order: 2; border-bottom: 1px solid var(--line-divider); }
    .feature-item:nth-child(3) { order: 4; }
    .feature-item:nth-child(4) { order: 3; }

    .feature-text {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .feature-image {
        padding: 1.5rem;
    }

    .feature-image img {
        width: 70%;
    }

}

@media (max-width: 768px) {

    .hero-plate {
        width: 300px;
    }

    .hero-plate-1 {
        bottom: 5%;
        left: 5%;
    }

    .hero-plate-2 {
        top: 15%;
        right: 5%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-line {
        width: 80vw;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .hero-text-section {
        padding-bottom: 2rem;
    }

    .services-section {
        padding: 4rem 1rem;
    }

    .services-header {
        padding-bottom: 3rem;
        border-bottom: 1px solid;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid::after {
        display: none;
    }

    .service-image {
        margin-bottom: 1rem;
    }

    .cta-banner {
        height: 500px;
        background-attachment: scroll;
    }

    .cta-content {
        padding: 1.5rem;
    }

    .cta-title {
        margin-bottom: 2rem;
    }

    .features-grid {
        width: 95%;
    }

    .feature-text {
        padding: 2.5rem 1.5rem;
    }

    .feature-image {
        padding: 1.5rem;
    }

    .feature-image img {
        width: 55%;
    }

    .showcase-section {
        padding: 4rem 1rem;
    }

    .showcase-header {
        margin-bottom: 3rem;
    }

    .showcase-item {
        padding: 2.5rem 1rem;
    }

    .contact-cta-content {
        padding: 3rem 1.5rem;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .home-location-strip {
        padding: 3rem 1.5rem;
    }

}

@media (max-width: 640px) {
    .feature-image {
        padding-bottom: 5rem;
    }

    .feature-text {
        padding-top: 5rem;
    }
}

@media (max-width: 480px) {
    .gallery-row {
        grid-template-columns: 1fr;
        min-height: 500px;
    }

    .hero-text-section {
        max-width: 90%;
    }
}
