﻿/* ==========================================================================
   HOME PAGE (DEFAULT) STYLES
   ========================================================================== */

/* Header Spacing Reset */
main {
    padding-top: 0;
}

/* ==========================================================================
   HERO BANNER & FLOATING GLASS INFO BAR
   ========================================================================== */

/* Hero Banner Container */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes text to middle/top, info bar to bottom */
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 110px; /* Clearance for fixed top header */
    padding-bottom: 25px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 28, 96, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-caption {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    max-width: 900px;
    margin-bottom: 20px;
}

.hero-subtext {
    font-family: var(--font-regular);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.hero-title {
    font-family: var(--font-bold);
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

    .hero-title .highlight {
        color: var(--accent-orange);
    }

/* Info Bar Container */
.info-bar {
    position: relative;
    z-index: 3;
    width: 100%;
    background: transparent;
}

.info-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Glassmorphism Info Cards */
.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-light);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

a.info-card:hover {
    background: rgba(29, 28, 96, 0.85);
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.info-icon {
    font-size: 2rem;
    color: var(--accent-orange);
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.78rem;
    font-family: var(--font-light);
    color: var(--hover-orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.92rem;
    font-family: var(--font-bold);
    color: var(--text-light);
    word-break: break-word;
}

/* ==========================================================================
   INTRO SECTION
   ========================================================================== */
.container1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

.ColumnIntro1 {
    flex: 1 1 35%;
}

    .ColumnIntro1 img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.ColumnIntro2 {
    flex: 1 1 60%;
    background-color: #fff;
    padding: 20px;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
}

.CIPara1 {
    font-family: var(--font-bold);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: #666;
    letter-spacing: 1px;
}

.CIPara2 {
    color: var(--primary-orange);
    font-family: var(--font-bold);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    margin-bottom: 10px;
}

.CIPara3Span {
    font-family: var(--font-bold);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.CIList {
    list-style: none;
    font-family: var(--font-bold);
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    margin: 15px 0;
    padding-left: 0;
}

    .CIList li {
        margin-bottom: 8px;
    }

/* Button Styling */
.btnQuote {
    background-color: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--accent-orange);
    padding: 10px 28px;
    font-family: var(--font-bold);
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

    .btnQuote:hover {
        background-color: var(--accent-orange);
        color: var(--text-light);
    }

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    width: 100%;
    background-color: var(--bg-light);
    padding: 60px 0;
}

/* Section Header */
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.services-subtitle {
    font-family: var(--font-bold);
    font-size: 0.85rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
}

.services-title {
    font-family: var(--font-bold);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    color: var(--navy-blue);
    margin: 0;
    line-height: 1.2;
}

    .services-title .highlight {
        color: var(--accent-orange);
    }

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Service Card Container */
.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.35s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        border-color: rgba(215, 95, 30, 0.3);
    }

/* Image Wrapper & Zoom Container */
.service-image-wrapper {
    position: relative;
    /* No overflow: hidden here so the icon badge is never clipped */
}

.service-image-zoom {
    height: 210px;
    overflow: hidden; /* Clips the image zoom effect inside photo boundary */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: var(--navy-blue);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

/* Floating Icon Badge (Straddled over boundary, fully visible) */
.service-icon-badge {
    position: absolute;
    bottom: -22px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--navy-blue);
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 10;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon-badge {
    background-color: var(--primary-orange);
}

.service-icon-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Converts dark PNG icons to crisp white */
}

/* Card Title Area */
.service-content {
    padding: 24px 20px 20px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-family: var(--font-bold);
    font-size: 1.1rem;
    color: var(--primary-orange);
    margin: 0;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-card:hover .service-name {
    color: var(--navy-blue);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-section {
        padding: 45px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-image-zoom {
        height: 190px;
    }
}
/* ==========================================================================
   PARALLAX CTA BANNER
   ========================================================================== */
.mb_parallax_container {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-image: url('../Images/default_page/BGImage.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.mb_parallax_overlay {
    width: 100%;
    min-height: 300px;
    background-color: rgba(0, 0, 0, 0.65); /* Dark dark layer over the image */
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontal center */
    justify-content: center; /* Vertical center */
    text-align: center;
    padding: 40px 20px;
    gap: 22px;
}

.parallax-title {
    font-family: var(--font-bold);
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* CTA Button Styling inside Parallax Overlay */
.mb_parallax_overlay .btnQuote {
    text-decoration: none;
    display: inline-block;
    background-color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    color: #ffffff;
    padding: 12px 32px;
    font-family: var(--font-bold);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

    .mb_parallax_overlay .btnQuote:hover {
        background-color: transparent;
        color: #ffffff;
        border-color: #ffffff;
        transform: translateY(-2px);
    }

/* Mobile Fallback for Parallax */
@media (max-width: 850px) {
    .mb_parallax_container {
        background-attachment: scroll; /* Prevents parallax stutter on mobile iOS/Android */
    }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (SINGLE CONSOLIDATED SECTION)
   ========================================================================== */

/* Tablet Adjustments (<= 992px) */
@media (max-width: 992px) {
    .hero-banner {
        min-height: 480px;
        padding-top: 90px;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .info-bar-container {
        gap: 12px;
    }

    .info-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .info-value {
        font-size: 0.85rem;
    }
}

/* Small Tablet / Mid-size Screen Adjustments (<= 850px) */
@media (max-width: 850px) {
    .container1 {
        flex-direction: column;
        text-align: center;
    }

    .ColumnIntro1, .ColumnIntro2 {
        width: 100%;
    }

    .mb_parallax_container {
        background-attachment: scroll; /* Disable fixed parallax on touch devices */
    }
}

/* Mobile Stacking (<= 768px) */
@media (max-width: 768px) {
    .hero-banner {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    .info-bar-container {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 10px;
    }

    .info-card {
        background: rgba(15, 23, 42, 0.85); /* High contrast on mobile */
        padding: 14px 18px;
    }

    .info-value {
        font-size: 0.95rem;
    }
}
