/* Layout 1: Alternating Layout */
.layout-alternating {
    padding: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.layout-alternating:nth-child(even) {
    flex-direction: row-reverse;
}

.layout-alternating .content-text {
    flex: 1;
    min-width: 300px;
}

.layout-alternating .content-image {
    flex: 1;
    min-width: 300px;
}

/* Layout 2: Tabs Component */
.layout-tabs {
    padding: 4rem 0;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    position: relative;
    font-family: var(--font-main);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: flex; /* Assuming tab content might be flex (image+text) */
    gap: 2rem;
    align-items: center;
}

.tab-content img {
    max-width: 400px;
}

/* Layout 3: Hero / Full Width Banner */
.layout-hero {
    min-height: calc(100vh - var(--header-height, 100px));
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Layout 4: Parallax Scrolling (handled via JS transform usually, here base styles) */
.layout-parallax-scroll {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Taller for scrolling */
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateY(0);
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Layout 5: Static Parallax */
.layout-parallax-static {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8rem 0;
    position: relative;
    color: #fff;
}

.layout-parallax-static .static-content {
    background: rgba(0,0,0,0.6);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Common Section Wrapper */
.page-section {
    margin-bottom: 0; /* Layouts handle their own spacing */
}

/* Specific Adjustments */
.layout-hero.static-parallax {
    background-attachment: fixed;
}

/* Specific image adjustments for 100% scale display */
.layout-hero.static-parallax[style*="2048_1365.jpeg"],
.layout-hero.static-parallax[style*="2250_1500.jpeg"],
.layout-hero.static-parallax[style*="2150_1500.jpeg"] {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}
