/* ========== ABOUT PAGE STYLES ========== */

/* Color Variables */
:root {
    --bg-dark: #0B0B0B;
    --bg-secondary: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #BFBFBF;
    --accent-gold: #D4AF37;
    --accent-hover: #b8962e;
    --border-dark: #2A2A2A;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(26, 26, 26, 0.8) 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 2px solid var(--border-dark);
}

.page-header h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.page-header p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ABOUT HERO SECTION ========== */
.about-hero {
    padding: 80px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* About Image */
.about-image {
    perspective: 1000px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.8;
    color: var(--text-primary);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-placeholder:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.2);
}

/* About Content */
.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.3;
}

.about-content p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* About Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 480px) {
    .about-highlights {
        grid-template-columns: 1fr 1fr;
    }
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.highlight i {
    color: var(--accent-gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.highlight span {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 500;
}

/* ========== STORY SECTION ========== */
.my-story {
    padding: 80px 20px;
    background-color: var(--bg-secondary);
}

.story-timeline {
    position: relative;
    padding: 40px 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-gold), var(--border-dark));
}

@media (max-width: 768px) {
    .story-timeline::before {
        left: 20px;
    }
}

.timeline-item {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-item:nth-child(even) .timeline-content {
        direction: ltr;
    }
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--accent-gold);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .timeline-dot {
        left: 20px;
    }
}

.timeline-item:hover .timeline-dot {
    width: 30px;
    height: 30px;
    background-color: var(--accent-hover);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.timeline-content {
    background-color: var(--bg-dark);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.timeline-content h3 {
    color: var(--accent-gold);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

/* ========== SKILLS SECTION ========== */
.skills-section {
    padding: 80px 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-category {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(212, 175, 55, 0.1) 100%);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.skill-category h3 {
    color: var(--accent-gold);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category i {
    font-size: 1.3rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    padding-left: 0;
    border-bottom: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.skill-category li:last-child {
    border-bottom: none;
}

.skill-category li::before {
    content: '▪ ';
    color: var(--accent-gold);
    margin-right: 10px;
    font-weight: bold;
}

.skill-category:hover li {
    padding-left: 5px;
    color: var(--text-primary);
}

/* ========== APPROACH SECTION ========== */
.my-approach {
    padding: 80px 20px;
    background-color: var(--bg-secondary);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (max-width: 480px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
}

.approach-card {
    background-color: var(--bg-dark);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background-color: var(--accent-gold);
    transition: left 0.3s ease;
}

.approach-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.approach-card:hover::before {
    left: 0;
}

.approach-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.approach-card:hover .approach-icon {
    transform: scale(1.15) rotate(5deg);
}

.approach-card h3 {
    color: var(--text-primary);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 15px;
}

.approach-card p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.7;
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 80px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-hover) 100%);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.stat-item:hover::before {
    top: -30%;
    right: -30%;
}

.stat-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: rgba(11, 11, 11, 0.8);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ========== CTA SECTION ========== */
.final-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 26, 26, 0.5) 100%);
    text-align: center;
    border-top: 2px solid var(--border-dark);
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 15px;
    color: var(--text-primary);
}

.final-cta p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
    }
}

/* Button Styles (if not inherited from main styles) */
.btn {
    padding: 14px 35px;
    border-radius: 8px;
    font-size: clamp(0.95rem, 2vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .about-hero,
    .my-story,
    .skills-section,
    .my-approach,
    .stats-section,
    .final-cta {
        padding: 60px 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .story-timeline::before {
        height: auto;
    }

    .approach-card,
    .skill-category,
    .timeline-content {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .about-hero,
    .my-story,
    .skills-section,
    .my-approach,
    .stats-section,
    .final-cta {
        padding: 40px 15px;
    }

    .section-title {
        margin-bottom: 30px;
        font-size: 1.8rem;
    }

    .page-header {
        padding: 50px 15px;
    }

    .timeline-item {
        margin-bottom: 30px;
    }

    .approach-card,
    .skill-category {
        padding: 20px 15px;
    }

    .stat-item {
        padding: 30px 15px;
    }
}
