/* ============================================
   ABOUT PAGE - UNIFIED TYPOGRAPHY SYSTEM
   Dark & Gold Premium Design
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Typography Colors */
    --about-text-primary: #F5F5F5;
    --about-text-gold: #C9B06B;
    --about-text-secondary: rgba(255, 255, 255, 0.75);
    --about-text-muted: rgba(255, 255, 255, 0.6);
    
    /* Background Colors */
    --about-bg-dark: #0f1014;
    --about-bg-card: rgba(26, 27, 30, 0.8);
    --about-border-gold: rgba(166, 161, 130, 0.2);
    
    /* Spacing Scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
}

/* ============================================
   TYPOGRAPHY HIERARCHY - DESKTOP
   ============================================ */

/* Section Main Title (H2) */
.about-section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--about-text-primary);
    margin-bottom: var(--space-sm);
}

/* Section Subtitle */
.about-section-subtitle {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.3px;
    color: var(--about-text-gold);
    margin-bottom: var(--space-sm);
}

/* Card Title (H3) */
.about-card-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.3px;
    color: var(--about-text-gold);
    margin-bottom: var(--space-md);
}

/* Highlighted Paragraph */
.about-text-highlight {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.9;
    color: var(--about-text-primary);
    margin-bottom: var(--space-sm);
}

/* Regular Paragraph */
.about-text-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--about-text-secondary);
    margin-bottom: var(--space-sm);
}

.about-text-body:last-child {
    margin-bottom: 0;
}

/* Small Supporting Text */
.about-text-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--about-text-muted);
}

/* Badge/Tag Text */
.about-badge {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

.about-spacing-xs { margin-bottom: var(--space-xs); }
.about-spacing-sm { margin-bottom: var(--space-sm); }
.about-spacing-md { margin-bottom: var(--space-md); }
.about-spacing-lg { margin-bottom: var(--space-lg); }
.about-spacing-xl { margin-bottom: var(--space-xl); }

/* ============================================
   CARD COMPONENTS
   ============================================ */

.about-card {
    background: linear-gradient(135deg, rgba(26, 27, 30, 0.8) 0%, rgba(42, 43, 46, 0.6) 100%);
    border: 1px solid var(--about-border-gold);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-card-content {
    padding: 50px;
}

.about-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--about-text-gold) 0%, #d4c896 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(166, 161, 130, 0.3);
    transform: rotate(-5deg);
}

.about-card-icon span {
    font-size: 40px;
    color: #fff;
    transform: rotate(5deg);
}

/* Text with Border Accent */
.about-text-accent {
    border-left: 3px solid var(--about-text-gold);
    padding-left: 25px;
    margin-bottom: var(--space-sm);
}

/* RTL Version */
[dir="rtl"] .about-text-accent {
    border-left: none;
    border-right: 3px solid var(--about-text-gold);
    padding-left: 0;
    padding-right: 25px;
}

/* Card Image */
.about-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

/* Decorative Corner */
.about-card-corner {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--about-text-gold) 0%, transparent 100%);
    opacity: 0.1;
    z-index: 1;
}

.about-card-corner-top-left {
    top: 0;
    left: 0;
    border-radius: 20px 0 100% 0;
}

.about-card-corner-top-right {
    top: 0;
    right: 0;
    border-radius: 0 20px 0 100%;
}

.about-card-corner-bottom-left {
    bottom: 0;
    left: 0;
    border-radius: 20px 0 0 100%;
}

.about-card-corner-bottom-right {
    bottom: 0;
    right: 0;
    border-radius: 0 20px 100% 0;
}

/* ============================================
   SECTION STRUCTURE
   ============================================ */

.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f1014 0%, #1a1b1e 50%, #0f1014 100%);
    position: relative;
    overflow: hidden;
}

.about-section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.about-section-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   RESPONSIVE - TABLET (≤992px)
   ============================================ */

@media only screen and (max-width: 992px) {
    .about-section-title {
        font-size: 30px;
    }
    
    .about-section-subtitle,
    .about-card-title {
        font-size: 20px;
    }
    
    .about-text-highlight {
        font-size: 18px;
    }
    
    .about-text-body {
        font-size: 16px;
    }
    
    .about-card-content {
        padding: 40px;
    }
    
    .about-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }
    
    .about-card-icon span {
        font-size: 35px;
    }
    
    .about-card-image {
        min-height: 400px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (≤576px)
   ============================================ */

@media only screen and (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-section-title {
        font-size: 24px;
        letter-spacing: 0.3px;
    }
    
    .about-section-subtitle,
    .about-card-title {
        font-size: 18px;
        margin-bottom: var(--space-sm);
    }
    
    .about-text-highlight {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .about-text-body {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .about-text-small {
        font-size: 13px;
    }
    
    .about-card-content {
        padding: 30px 20px;
    }
    
    .about-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .about-card-icon span {
        font-size: 30px;
    }
    
    .about-text-accent {
        padding-left: 20px;
        border-left-width: 2px;
    }
    
    [dir="rtl"] .about-text-accent {
        padding-right: 20px;
        border-right-width: 2px;
    }
    
    .about-card-image {
        min-height: 300px;
    }
    
    .about-card-corner {
        width: 100px;
        height: 100px;
    }
    
    .about-section-header {
        margin-bottom: var(--space-lg);
    }
    
    /* Increase side padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ============================================
   RTL SPECIFIC ADJUSTMENTS
   ============================================ */

[dir="rtl"] .about-card-title,
[dir="rtl"] .about-section-title,
[dir="rtl"] .about-section-subtitle {
    text-align: right;
}

[dir="rtl"] .about-card-icon {
    /* Maintain visual balance in RTL */
    transform: rotate(5deg);
}

[dir="rtl"] .about-card-icon span {
    transform: rotate(-5deg);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.about-text-center {
    text-align: center;
}

.about-text-right {
    text-align: right;
}

.about-text-left {
    text-align: left;
}

.about-max-width-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-flex-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ============================================
   READABILITY IMPROVEMENTS
   ============================================ */

.about-text-body,
.about-text-highlight {
    max-width: 100%;
}

/* Improve contrast for long paragraphs */
.about-text-body + .about-text-body {
    margin-top: var(--space-sm);
}

/* List styling */
.about-list {
    display: grid;
    gap: 25px;
}

.about-list-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.about-list-bullet {
    width: 12px;
    height: 12px;
    background: var(--about-text-gold);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(166, 161, 130, 0.5);
}

/* ============================================
   ANIMATION SUPPORT
   ============================================ */

.about-card,
.about-section-header {
    transition: all 0.3s ease;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .about-section {
        background: white;
        color: black;
    }
    
    .about-card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
