/**
 * RYVION Studios - About Page Styles
 * Clean, modular CSS ready for dashboard integration
 */

/* ============================================
   ABOUT HERO SECTION - BACKGROUND EXTENDS TO STATS
   ============================================ */
.about-hero {
    padding: 140px 0 0 0;
    position: relative;
    background: #0a0e27;
}

.about-hero .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.about-hero .section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        #0a0e27 0%, 
        rgba(10, 14, 39, 0.95) 20%,
        rgba(10, 14, 39, 0.7) 50%,
        transparent 100%
    );
    z-index: 1;
}

.about-hero .section-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, 
        #0a0e27 0%, 
        rgba(10, 14, 39, 0.95) 20%,
        rgba(10, 14, 39, 0.7) 50%,
        transparent 100%
    );
    z-index: 1;
}

.about-hero .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.75);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 8px;
    color: #ffffff;
    margin-bottom: 24px;
}

.about-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   WHO WE ARE SECTION - INSIDE HERO BACKGROUND
   ============================================ */
.who-we-are-section {
    padding: 80px 0 100px 0;
    position: relative;
    z-index: 2;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: #4a90e2;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.section-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
}

.section-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-box {
    flex: 1;
    background: linear-gradient(135deg, rgba(15, 30, 60, 0.95) 0%, rgba(30, 60, 120, 0.85) 100%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.2);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.4);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #4a90e2 0%, #7b2cbf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.image-gallery {
    width: 100%;
}

.gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(10, 14, 39, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.gallery-prev,
.gallery-next {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    color: #4a90e2;
}

.gallery-counter {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    min-width: 60px;
    text-align: center;
}

/* ============================================
   WHY SELECT SECTION
   ============================================ */
.why-select-section {
    padding: 100px 0;
    background: #0a0e27;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.8) 0%, rgba(15, 25, 50, 0.8) 100%);
    border: 2px solid rgba(74, 144, 226, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(74, 144, 226, 0.5);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.feature-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   EXPERIENCE SECTION - WITH BACKGROUND IMAGE
   ============================================ */
.experience-section {
    padding: 100px 0 120px 0;
    position: relative;
    background: #0a0e27;
}

.experience-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: top center; /* Show TOP part of image */
    z-index: 0;
}

.experience-section .section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        #0a0e27 0%, 
        rgba(10, 14, 39, 0.95) 20%,
        rgba(10, 14, 39, 0.7) 50%,
        transparent 100%
    );
    z-index: 1;
}

.experience-section .section-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, 
        #0a0e27 0%, 
        rgba(10, 14, 39, 0.95) 20%,
        rgba(10, 14, 39, 0.7) 50%,
        transparent 100%
    );
    z-index: 1;
}

.experience-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.75);
    z-index: 1;
}

.experience-section .container {
    position: relative;
    z-index: 2;
}

/* Top Header */
.experience-header {
    text-align: center;
    margin-bottom: 80px;
}

.experience-label {
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.experience-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #ffffff;
    line-height: 1.2;
}

/* Side by Side Grid */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-left {
    width: 100%;
}

.experience-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.experience-image:hover {
    border-color: rgba(74, 144, 226, 0.6);
    transform: scale(1.02);
}

.experience-right {
    padding-left: 20px;
}

.experience-label-small {
    font-size: 12px;
    letter-spacing: 3px;
    color: #4a90e2;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.experience-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #ffffff;
}

.experience-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 100px 0;
    background: #0a0e27;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.team-member:hover .member-avatar {
    border-color: #4a90e2;
    transform: scale(1.05);
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.member-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 80px 0;
    background: #0a0e27;
    position: relative;
}

.reviews-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 60px;
}

.reviews-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: linear-gradient(135deg, rgba(15, 30, 60, 0.95) 0%, rgba(30, 60, 120, 0.85) 100%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 16px;
    padding: 30px;
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #4a90e2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.7);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px 0;
    font-family: 'Orbitron', sans-serif;
}

.review-rating {
    font-size: 16px;
    color: #ffd700;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: 2px solid #4a90e2;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: linear-gradient(135deg, #357abd 0%, #2868a8 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.5);
}

.carousel-left {
    left: 0;
}

.carousel-right {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #4a90e2;
    transform: scale(1.3);
}

.carousel-dots .dot:hover {
    background: #4a90e2;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .who-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .experience-right {
        padding-left: 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 42px;
        letter-spacing: 4px;
    }
    
    .section-heading {
        font-size: 32px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .experience-title {
        font-size: 32px;
    }
    
    .experience-heading {
        font-size: 24px;
    }
    
    .experience-header {
        margin-bottom: 50px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .about-subtitle {
        font-size: 14px;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .experience-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .experience-heading {
        font-size: 20px;
    }
    
    .experience-header {
        margin-bottom: 40px;
    }
}