/*
 * About Page - Premium Light Mode Styles
 * AarthaSetu Theme
 * 
 * A refined, minimal, high-end design for the About page
 */

/* =========================================
   1. BASE & RESET FOR ABOUT PAGE
   ========================================= */

.about-page-main {
    --about-gold: #FABE34;
    --about-gold-muted: rgba(250, 190, 52, 0.15);
    --about-black: #0D0D0F;
    --about-white: #FDFDFD;
    --about-slate: #A9B0B6;
    --about-taupe: #D8CFC4;
    --about-bg-light: #f9f9f8;
    
    background: var(--about-white);
    overflow-x: hidden;
}

/* =========================================
   2. HERO SECTION - LIGHT MODE
   ========================================= */

.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--about-bg-light);
    overflow: hidden;
    padding: 120px var(--container-gutter) 80px;
}

/* Subtle Grid Pattern */
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(250, 190, 52, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 190, 52, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

/* Floating Orbs - Light Mode */
.about-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
}

.about-hero-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--about-gold);
    top: 5%;
    right: 10%;
    animation: orbFloat 12s ease-in-out infinite;
}

.about-hero-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--about-taupe);
    bottom: 10%;
    left: 5%;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Content Container */
.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

/* Logo Section */
.about-hero-logo {
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.about-hero-logo img {
    height: 180px;
    width: auto;
}

/* Hero Title */
.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--about-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.about-hero-title .serif-accent {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 400;
    color: var(--about-gold);
}

/* Hero Subtitle */
.about-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #555;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Scroll Indicator */
.about-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    cursor: pointer;
}

.about-scroll-indicator span {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--about-slate);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--about-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   3. PHILOSOPHY SECTION - SPLIT LAYOUT
   ========================================= */

.about-philosophy {
    position: relative;
    padding: 140px var(--container-gutter);
    background: var(--about-white);
}

.about-philosophy-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Left: Visual Element */
.philosophy-visual {
    position: relative;
    aspect-ratio: 4/5;
}

.philosophy-visual-frame {
    position: absolute;
    inset: 0;
    border: 1px solid var(--about-taupe);
    transform: translate(20px, 20px);
}

.philosophy-visual-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--about-bg-light) 0%, #eceae6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Abstract Bridge SVG */
.philosophy-bridge-svg {
    width: 70%;
    opacity: 0.4;
}

.philosophy-bridge-svg path {
    stroke: var(--about-gold);
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawBridge 3s ease-out forwards;
}

@keyframes drawBridge {
    to { stroke-dashoffset: 0; }
}

/* Floating Badge */
.philosophy-badge {
    position: absolute;
    bottom: -30px;
    right: 40px;
    background: var(--about-gold);
    color: var(--about-black);
    padding: 20px 28px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Right: Content */
.philosophy-content {
    max-width: 480px;
}

.philosophy-eyebrow {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--about-gold);
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.philosophy-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--about-gold);
}

.philosophy-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--about-black);
    line-height: 1.15;
    margin: 0 0 32px;
}

.philosophy-title .highlight {
    color: var(--about-gold);
}

.philosophy-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 24px;
}

.philosophy-text:last-of-type {
    margin-bottom: 0;
}

/* =========================================
   4. CTA SECTION - LIGHT MODE
   ========================================= */

.about-cta {
    position: relative;
    padding: 120px var(--container-gutter);
    padding-bottom: 100px;
    margin-bottom: 0;
    background: var(--about-bg-light);
    text-align: center;
    overflow: hidden;
}

/* Remove gap between CTA and footer */
.about-page-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.about-page-main + footer,
.about-page-main ~ footer,
.about-page-main ~ .site-footer,
#colophon {
    margin-top: 0 !important;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--about-gold-muted) 0%, transparent 70%);
    opacity: 0.6;
}

.about-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--about-black);
    margin: 0 0 24px;
}

.about-cta-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #555;
    margin: 0 0 40px;
    line-height: 1.7;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--about-gold);
    color: var(--about-black);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-cta-btn:hover {
    background: #e5a82d;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 190, 52, 0.3);
}

.about-cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.about-cta-btn:hover svg {
    transform: translateX(4px);
}

/* =========================================
   5. RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1024px) {
    .about-philosophy-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .philosophy-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .philosophy-content {
        max-width: 100%;
        text-align: center;
    }
    
    .philosophy-eyebrow {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 90vh;
        padding: 100px var(--container-gutter) 60px;
    }
    
    .about-hero-logo img {
        height: 140px;
    }
    
    .about-philosophy {
        padding: 80px var(--container-gutter);
    }
    
    .philosophy-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        display: inline-block;
    }
    
    .about-cta {
        padding: 80px var(--container-gutter);
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 2rem;
    }
    
    .philosophy-title,
    .about-cta-title {
        font-size: 1.75rem;
    }
}

/* =========================================
   6. REVEAL ANIMATIONS
   ========================================= */

.about-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
