/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --color-dark: #050505;
    --color-background: #0b0b0b;
    --color-card: #151515;
    --color-gold-primary: #d4af37;
    --color-text-light: #e6e6e6;
    --color-text-faded: #bbb;
    --color-border: #222;
    
    /* Layout */
    --padding-main: 70px;
    --padding-mobile: 30px;
    --border-radius: 8px;
    --transition-fast: 0.3s ease;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Outfit', sans-serif;
    background: var(--color-background);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Section Title Style */
.section-title {
    text-align: center;
    color: var(--color-gold-primary);
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

/* CTA Button Styles (Reused) */
.cta {
    padding: 12px 24px;
    background: var(--color-gold-primary);
    color: var(--color-dark);
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-fast);
    display: inline-block;
}

.cta:hover {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

.cta.secondary {
    background: transparent;
    color: var(--color-gold-primary);
    border: 2px solid var(--color-gold-primary);
    padding: 10px 22px;
}

.cta.secondary:hover {
    background: rgba(212, 175, 55, 0.05);
    box-shadow: none;
    transform: none;
}


/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.header {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--padding-mobile);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 35px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold-primary);
}

.nav a {
    color: var(--color-text-faded);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 15px;
    transition: var(--transition-fast);
}

.nav a:hover {
    color: var(--color-gold-primary);
}


/* =========================================
   3. HERO SECTION
   ========================================= */
.about-hero {
    background: radial-gradient(circle at top, #1a1a1a, #000);
    padding: 100px var(--padding-main);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-gold-primary);
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================
   4. MISSION & STORY
   ========================================= */
.mission-story {
    padding: 80px var(--padding-main);
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.mission-content .section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--color-text-light);
}

.mission-content p {
    color: var(--color-text-faded);
    margin-bottom: 15px;
}

.mission-content .cta {
    margin-top: 20px;
}

.mission-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-gold-primary);
}


/* =========================================
   5. CORE VALUES
   ========================================= */
.core-values {
    background: var(--color-card);
    padding: 80px var(--padding-main);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.values-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: #1f1f1f;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, background 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    background: #252525;
}

.value-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.value-card h3 {
    color: var(--color-gold-primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--color-text-faded);
    font-size: 0.95rem;
}


/* =========================================
   6. TEAM SECTION
   ========================================= */
.team-section {
    padding: 80px var(--padding-main);
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.team-intro {
    color: var(--color-text-faded);
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--color-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: var(--color-text-light);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-member span {
    display: block;
    color: var(--color-gold-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--color-text-faded);
    font-size: 0.9rem;
}


/* =========================================
   7. HISTORY TIMELINE
   ========================================= */
.history-timeline {
    background: var(--color-dark);
    padding: 80px var(--padding-main);
    border-top: 1px solid var(--color-border);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

/* Vertical Line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

/* Items on the left side of the line */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Items on the right side of the line */
.timeline-item:nth-child(even) {
    left: 50%;
}

/* Dot on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--color-card);
    border: 2px solid var(--color-gold-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

/* Fix dot position for right side items */
.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gold-primary);
    margin-bottom: 5px;
}

.timeline-date.gold-date {
    color: var(--color-text-light);
    background: var(--color-gold-primary);
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
}

.timeline-content {
    background: #1f1f1f;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--color-text-faded);
    font-size: 0.9rem;
}


/* =========================================
   8. FOOTER
   ========================================= */
.footer {
    background: var(--color-dark);
    border-top: 1px solid var(--color-border);
    padding: 30px var(--padding-main);
    text-align: center;
}

.footer p, .footer a {
    color: #777;
    font-size: 0.85rem;
    text-decoration: none;
}


/* =========================================
   9. MEDIA QUERIES (Responsiveness)
   ========================================= */

@media (max-width: 1024px) {
    .mission-story {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mission-content .section-title {
        text-align: center;
        font-size: 2rem;
    }
    
    .mission-visual {
        order: -1; /* Image above text on smaller screens */
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero, .mission-story, .core-values, .team-section, .history-timeline {
        padding: 50px var(--padding-mobile);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* Timeline adjustments for mobile */
    .timeline-container::after {
        left: 31px; /* Move line to the left */
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even), .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }

    .timeline-item::after {
        left: 23px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 23px;
    }
}