/* George Mathews Photography - About Page Styles */
/* Scoped with gm- prefix for WordPress compatibility */

/* CSS Custom Properties */
.gm-about-page {
    --gm-bg-color: #ffffff;
    --gm-bg-dark: #0a0a0a;
    --gm-text-color: #1a1a1a;
    --gm-text-light: #ffffff;
    --gm-text-muted: #4a4a4a;
    --gm-transition: 0.3s ease;
    --gm-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
.gm-about-page {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1a1a1a;
    line-height: 1.5;
}

.gm-about-page *,
.gm-about-page *::before,
.gm-about-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.gm-about-page img {
    display: block;
    max-width: 100%;
}

/* Container */
.gm-about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== */
/* HERO SECTION         */
/* ==================== */
.gm-about-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    display: block;
}

.gm-about-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gm-about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: translate3d(0, 0, 0) scale(1.1);
    transform-origin: center center;
}

.gm-about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gm-about-hero-title {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* ==================== */
/* STORY SECTION        */
/* ==================== */
.gm-about-story {
    padding: 6rem 0;
    background-color: #ffffff;
    display: block;
}

.gm-about-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.gm-about-lead {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
}

.gm-about-text {
    max-width: 750px;
    margin: 0 auto;
}

.gm-about-text p {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.9;
    color: #4a4a4a;
    margin: 0 0 1.75rem 0;
}

.gm-about-text p:last-child {
    margin-bottom: 0;
}

/* ==================== */
/* SPLIT SECTION        */
/* ==================== */
.gm-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    width: 100%;
}

.gm-about-split-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.gm-about-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.gm-about-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background-color: #0a0a0a;
}

.gm-about-split-content p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem 0;
}

.gm-about-split-content p:last-child {
    margin-bottom: 0;
}

/* ==================== */
/* CTA SECTION          */
/* ==================== */
.gm-about-cta {
    padding: 6rem 0;
    background-color: #ffffff;
    text-align: center;
    display: block;
}

.gm-about-thanks {
    font-size: 1.375rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 2.5rem 0;
}

.gm-about-btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.gm-about-btn:hover {
    background-color: transparent;
    color: #1a1a1a;
}

/* ==================== */
/* RESPONSIVE - TABLET  */
/* ==================== */
@media screen and (max-width: 1024px) {
    .gm-about-hero {
        height: 60vh;
        min-height: 400px;
    }

    .gm-about-hero-title {
        font-size: 4rem;
    }

    .gm-about-story {
        padding: 5rem 0;
    }

    .gm-about-lead {
        font-size: 1.5rem;
    }

    .gm-about-split {
        min-height: 500px;
    }

    .gm-about-split-content {
        padding: 3rem;
    }

    .gm-about-cta {
        padding: 5rem 0;
    }
}

/* ==================== */
/* RESPONSIVE - MOBILE  */
/* ==================== */
@media screen and (max-width: 768px) {
    .gm-about-container {
        padding: 0 1.5rem;
    }

    .gm-about-hero {
        height: 50vh;
        min-height: 350px;
    }

    .gm-about-hero-title {
        font-size: 3rem;
        letter-spacing: 0.25em;
    }

    .gm-about-story {
        padding: 4rem 0;
    }

    .gm-about-intro {
        margin-bottom: 2rem;
    }

    .gm-about-lead {
        font-size: 1.25rem;
    }

    .gm-about-text p {
        font-size: 1rem;
    }

    .gm-about-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .gm-about-split-image {
        height: 50vh;
        min-height: 300px;
        position: relative;
    }

    .gm-about-split-content {
        padding: 3rem 1.5rem;
    }

    .gm-about-cta {
        padding: 4rem 0;
    }

    .gm-about-thanks {
        font-size: 1.125rem;
    }

    .gm-about-btn {
        padding: 0.875rem 2.5rem;
    }
}

/* ====================== */
/* RESPONSIVE - SM MOBILE */
/* ====================== */
@media screen and (max-width: 480px) {
    .gm-about-container {
        padding: 0 1rem;
    }

    .gm-about-hero {
        height: 45vh;
        min-height: 300px;
    }

    .gm-about-hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }

    .gm-about-story {
        padding: 3rem 0;
    }

    .gm-about-lead {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .gm-about-text p {
        font-size: 0.9375rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .gm-about-split-image {
        height: 40vh;
        min-height: 250px;
    }

    .gm-about-split-content {
        padding: 2.5rem 1rem;
    }

    .gm-about-split-content p {
        font-size: 0.9375rem;
        line-height: 1.8;
    }

    .gm-about-cta {
        padding: 3rem 0;
    }

    .gm-about-thanks {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .gm-about-btn {
        padding: 0.875rem 2rem;
        font-size: 0.8125rem;
    }
}

/* Accessibility - Focus Styles */
.gm-about-btn:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* Remove tap highlight */
.gm-about-btn {
    -webkit-tap-highlight-color: transparent;
}

.gm-about-btn:focus,
.gm-about-btn:active {
    outline: none;
    box-shadow: none;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    .gm-about-page *,
    .gm-about-page *::before,
    .gm-about-page *::after {
        transition: none !important;
    }

    .gm-about-hero-image img {
        transform: none !important;
    }
}

/* Mobile - disable parallax transform */
@media screen and (max-width: 768px) {
    .gm-about-hero-image img {
        transform: none;
    }
}
