
/* About Page - Desktop CSS */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: white;
    overflow: auto;
    height: auto;
    min-height: 100vh;
}

/* About Page Container */
.about-page-container {
    min-height: 100vh;
    background: #000;
    color: white;
    padding: 0;
    font-family: 'Arial', sans-serif;
    
    /* Fade in animation */
    animation: fadeInPage 0.6s ease-out forwards;
}

@keyframes fadeInPage {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Page Header */
.about-page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    height: 70px;
    box-sizing: border-box;
}

.about-page-title {
    font-family: 'Georgia', serif;
    font-size: 2.8em;
    font-weight: bold;
    color: white;
    margin: 0;
    text-align: center;
    flex-grow: 1;
    letter-spacing: 4px;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8), 
        0 0 60px rgba(255, 255, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(255, 255, 255, 0.2);
    line-height: 1.05;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: subtleShine 4s ease-in-out infinite alternate;
}

/* Invisible spacer to balance the layout */
.header-spacer {
    width: 140px;
    flex-shrink: 0;
}

@keyframes subtleShine {
    0% {
        filter: brightness(1) contrast(1);
    }
    100% {
        filter: brightness(1.1) contrast(1.05);
    }
}

.about-main-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: left;
}

/* Actor Measurements Section */
.actor-measurements {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.measurements-content {
    text-align: center;
}

.physical-stats {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0;
    font-weight: 500;
}

.age-stats {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-style: italic;
}

/* Back Button - Desktop (Cylindrical) */
.back-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Article Content */
.about-article {
    width: 100%;
    max-width: none;
}

.article-content {
    line-height: 1.8;
    font-size: 1.1em;
}

.featured-headshot-float {
    width: 260px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    float: left;
    margin: 0 18px 12px 0;
}

.article-content p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Custom Scrollbar Styling - Matching Work Page */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    margin: 10px 0;
}

body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 2px 0;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== SAMUEL MEMORIAL THEME OVERRIDES ========== */
html {
    min-height: 100%;
    background:
        radial-gradient(ellipse at center, rgba(122, 101, 70, 0.27) 0%, rgba(28, 23, 18, 0.8) 42%, #050505 100%),
        linear-gradient(180deg, #0d0b09 0%, #000 100%) !important;
}

body {
    background:
        radial-gradient(ellipse at center, rgba(122, 101, 70, 0.27) 0%, rgba(28, 23, 18, 0.8) 42%, #050505 100%),
        linear-gradient(180deg, #0d0b09 0%, #000 100%) !important;
    color: #f5ead6 !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.048) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.036) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
}

.about-page-container,
.work-page-container,
.photos-page-container,
.reel-page-container {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.about-page-header,
.work-page-header,
.photos-page-header,
.reel-page-header {
    background: rgba(8, 7, 6, 0.82) !important;
    border-bottom: 1px solid rgba(221, 202, 170, 0.22) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: blur(14px) !important;
}

.about-page-title,
.work-page-title,
.photos-page-title,
.reel-page-title,
.column-title,
.resume-section-block h3 {
    font-family: Georgia, serif !important;
    background:
        linear-gradient(180deg, #fffdf6 0%, #d9ccb2 28%, #f4e4bd 44%, #9d8153 72%, #5b4c34 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.82), 0 0 24px rgba(226, 196, 136, 0.17) !important;
}

.back-button {
    border-radius: 4px !important;
    background: rgba(19, 17, 15, 0.76) !important;
    border: 1px solid rgba(221, 202, 170, 0.28) !important;
    color: #f4ead7 !important;
    font-family: Georgia, serif !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}

.back-button:hover {
    background: rgba(55, 43, 28, 0.9) !important;
    border-color: rgba(229, 205, 156, 0.56) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 42px rgba(0,0,0,0.45), 0 0 24px rgba(221, 190, 126, 0.16) !important;
}

.about-main-content,
.photos-main-content,
.reel-main-content,
.resume-section {
    color: #f3e9d5 !important;
}

.actor-measurements,
.about-article,
.resume-section-block,
.credit-item,
.photo-item,
.video-container,
.video-wrapper {
    background: rgba(15, 13, 11, 0.56) !important;
    border: 1px solid rgba(221, 202, 170, 0.18) !important;
    border-radius: 6px !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.035) !important;
}

.about-article {
    padding: clamp(22px, 3vw, 36px) !important;
}

.article-content p,
.credit-item p,
.skills-list p,
.training-skills p,
.video-placeholder,
.physical-stats,
.age-stats {
    color: rgba(246, 237, 217, 0.88) !important;
}

.article-content em,
.credit-item strong {
    color: #fff4d9 !important;
}

.credit-details {
    color: rgba(226, 207, 169, 0.78) !important;
}

.featured-headshot-float,
.gallery-thumbnail,
.gallery-photo,
.modal-image {
    border-radius: 6px !important;
    border: 1px solid rgba(221, 202, 170, 0.2) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42) !important;
}

.photo-item:hover {
    border-color: rgba(229, 205, 156, 0.52) !important;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5), 0 0 24px rgba(221, 190, 126, 0.14) !important;
}

.modal {
    background: rgba(5, 4, 3, 0.94) !important;
}

body::-webkit-scrollbar,
.resume-section::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track,
.resume-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04) !important;
}

body::-webkit-scrollbar-thumb,
.resume-section::-webkit-scrollbar-thumb {
    background: rgba(221, 202, 170, 0.28) !important;
    border-radius: 4px !important;
}

img.image-load-failed {
    display: none !important;
}

@media (min-width: 761px) {
    body {
        overflow-y: auto;
        scrollbar-gutter: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
}


/* ========== MEMORIAL HEADER RESPONSIVE POLISH ========== */
@media (max-width: 760px) {
    .about-page-header,
    .work-page-header,
    .photos-page-header,
    .reel-page-header {
        height: auto !important;
        min-height: 92px !important;
        padding: 14px 18px 18px !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .about-page-title,
    .work-page-title,
    .photos-page-title,
    .reel-page-title {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        text-align: center !important;
        font-size: clamp(2rem, 10vw, 3.4rem) !important;
        letter-spacing: 0.08em !important;
        white-space: normal !important;
        line-height: 0.98 !important;
    }

    .back-button {
        align-self: flex-start !important;
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
    }
}

@media (min-width: 761px) {
    .about-page-title,
    .work-page-title,
    .photos-page-title,
    .reel-page-title {
        max-width: calc(100vw - 280px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@keyframes memorialPageEnter {
    0% {
        opacity: 0;
        transform: translateY(36px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.about-page-container {
    animation: memorialPageEnter 640ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

/* Final real-phone header sizing, including when desktop pages are opened on mobile Safari. */
@media (max-width: 760px) {
    .about-page-header {
        min-height: 70px !important;
        padding: 15px 20px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .about-page-title {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        max-width: calc(100% - 116px) !important;
        margin: 0 !important;
        font-size: 1.55em !important;
        line-height: 1.05 !important;
        letter-spacing: 2px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}
