/* =========================================================================
   about.css - About Page Layout & Styling
   ========================================================================= */

/* 1. About Hero Section */
.about-hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
    background-color: var(--black);
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/PLD-Development-13.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.4) 0%, rgba(5,5,5,0.9) 100%);
    z-index: 2;
}

.about-hero .container {
    position: relative;
    z-index: 3;
    max-width: 860px;
}

.about-hero-logo {
    height: 40px;
    width: auto;
    margin-bottom: 24px;
    opacity: 0.8;
}

.about-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--off-white);
}

html[lang="ar"] .about-hero h1 {
    font-size: 3.8rem;
    line-height: 1.3;
}

.about-hero p {
    font-size: 1.1rem;
    color: var(--stone);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 720px;
}

/* 2. Story Section */
.story-section {
    padding: 120px 0;
    position: relative;
    background-color: var(--black);
    overflow: hidden;
    border-bottom: 1px solid rgba(200, 164, 93, 0.05);
}

.story-section-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.story-content {
    position: relative;
    z-index: 2;
}

.story-bg-num {
    position: absolute;
    font-size: 20rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
    font-family: var(--font-heading-en);
    inset-inline-start: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.story-content p {
    color: var(--stone);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.story-media {
    position: relative;
    z-index: 2;
}

.story-image-frame {
    position: relative;
    border: 1px solid var(--border-color);
    padding: 16px;
    background-color: var(--charcoal);
    overflow: hidden;
}

.story-image-frame-inner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.story-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.story-image-frame:hover img {
    transform: scale(1.05);
}

/* 3. Journey Timeline Section */
.timeline-section {
    padding: 120px 0;
    background-color: var(--charcoal);
    border-bottom: 1px solid rgba(200, 164, 93, 0.05);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(to bottom, rgba(200,164,93,0.05) 0%, var(--gold) 50%, rgba(200,164,93,0.05) 100%);
}

.timeline-node {
    position: relative;
    margin-bottom: 80px;
    width: 50%;
    padding-inline-end: 40px;
}

.timeline-node:nth-child(even) {
    margin-inline-start: 50%;
    padding-inline-end: 0;
    padding-inline-start: 40px;
}

.timeline-node::after {
    content: '';
    position: absolute;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--black);
    border: 2px solid var(--gold);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 10px var(--gold);
    transition: var(--transition-fast);
}

.timeline-node:nth-child(odd)::after {
    right: -6px;
}

html[dir="rtl"] .timeline-node:nth-child(odd)::after {
    left: -6px;
    right: auto;
}

.timeline-node:nth-child(even)::after {
    left: -6px;
}

html[dir="rtl"] .timeline-node:nth-child(even)::after {
    right: -6px;
    left: auto;
}

.timeline-node:hover::after {
    background-color: var(--gold);
    transform: scale(1.3);
}

.timeline-card {
    background-color: var(--black);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 2px;
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.timeline-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.timeline-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--off-white);
}

.timeline-card p {
    color: var(--stone);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 4. Mission / Vision Section */
.mission-vision-section {
    display: flex;
    min-height: 70vh;
    border-bottom: 1px solid rgba(200, 164, 93, 0.05);
    background-color: var(--black);
}

.mission-panel, .vision-panel {
    flex: 1;
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
}

.mission-panel {
    background-color: var(--off-white);
    color: var(--black);
}

.vision-panel {
    background-color: var(--charcoal);
    color: var(--off-white);
}

.mission-panel .section-label {
    color: var(--gold);
}

.mission-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--black);
}

.vision-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--gold);
}

.mission-panel p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #4a4a46;
}

.vision-panel p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--stone);
}

.highlight-gold {
    color: var(--gold);
    font-weight: 700;
}

.mission-panel .highlight-gold {
    color: #9d7d3d;
}

.panel-divider {
    width: 1px;
    background-color: var(--gold);
    opacity: 0.3;
}

/* 5. Core Values Section */
.values-section {
    padding: 120px 0;
    background-color: var(--black);
    border-bottom: 1px solid rgba(200, 164, 93, 0.05);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.value-panel {
    background-color: var(--charcoal);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.value-panel:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(200, 164, 93, 0.05);
}

.value-num {
    font-size: 0.8rem;
    color: var(--gold);
    font-family: var(--font-heading-en);
    margin-bottom: 24px;
    opacity: 0.6;
}

.value-panel i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.value-panel:hover i {
    transform: scale(1.1);
}

.value-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--off-white);
}

.value-panel p {
    color: var(--stone);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: auto;
}

/* 6. About CTA Section */
.about-cta {
    padding: 120px 0;
    text-align: center;
    background-color: var(--charcoal);
    position: relative;
}

.about-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--off-white);
}

.about-cta h2 span {
    color: var(--gold);
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--stone);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* =========================================================================
   Responsive Styling for About Page
   ========================================================================= */

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.6rem;
    }
    
    .story-section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-media {
        order: 2;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    html[dir="rtl"] .timeline-line {
        right: 20px;
        left: auto;
    }
    
    .timeline-node {
        width: 100%;
        padding-inline-start: 40px !important;
        padding-inline-end: 0 !important;
        margin-inline-start: 0 !important;
        margin-bottom: 40px;
    }
    
    .timeline-node::after {
        left: 14px !important;
    }
    
    html[dir="rtl"] .timeline-node::after {
        right: 14px !important;
        left: auto !important;
    }
    
    .mission-vision-section {
        flex-direction: column;
    }
    
    .mission-panel, .vision-panel {
        padding: 60px 24px;
    }
    
    .panel-divider {
        width: 100%;
        height: 1px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-cta h2 {
        font-size: 2.2rem;
    }
    
    .about-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .about-cta-buttons .btn {
        width: 100%;
        margin-inline-start: 0 !important;
    }
}
