/* --- HERO IMMERSIVE --- */
.hero-immersive {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -100px; /* Pulls the hero up behind a transparent header if you make your navbar transparent */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
    max-width: 1000px;
}

.hero-eyebrow {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.hero-title {
    font-size: 5.5rem;
    color: #fff;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

/* Scroll Indicator Animation */
.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: -15vh;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator:hover {
    color: var(--accent-color);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.3);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: #fff;
    animation: scrollDrop 2s infinite ease-in-out;
}

@keyframes scrollDrop {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* --- PHILOSOPHY / INTRO SECTION --- */
.philosophy-section {
    padding: 8rem 5%;
    background-color: var(--bg-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.section-heading {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.heading-accent {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin-bottom: 2.5rem;
}

.body-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-family: var(--font-body);
}

.large-text {
    font-size: 1.35rem;
    color: var(--primary-color);
    line-height: 1.8;
}

/* Primary Button Upgrades */
.action-wrapper {
    margin-top: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 168, 128, 0.2);
}

/* Overlapping Image Gallery */
.philosophy-image-wrapper {
    position: relative;
    height: 700px;
}

.img-primary {
    width: 80%;
    height: 85%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.img-secondary {
    width: 60%;
    height: 55%;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    border: 15px solid var(--bg-color); /* Creates the cutout effect */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.img-secondary:hover {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-title { font-size: 3.5rem; }
    
    .philosophy-image-wrapper {
        height: 500px;
        order: -1; /* Puts image above text on mobile */
    }
}

/* iOS Safari does not reliably support fixed background attachments. */
@media (max-width: 768px) {
    .hero-immersive {
        height: calc(100vh - 76px);
        height: calc(100svh - 76px);
        min-height: 520px;
        margin-top: 0;
        background-attachment: scroll;
        background-position: center center;
    }
}

