/* Modern minimalist styles for About Us page - Light Theme */
.about-us-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 4rem 2rem;
    color: #2c3e50;
    font-family: "Microsoft JhengHei", "微軟正黑體", "Noto Sans TC", -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.about-us-header {
    text-align: center;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    position: relative;
}

.about-us-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a4377, #225593);
    border-radius: 2px;
}

.about-us-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
    color: #1a4377;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(26, 67, 119, 0.1);
}

.about-us-header p {
    font-size: 1.25rem;
    color: #5a6c7d;
    max-width: 630px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Trademark logo in header */
.about-us-logo {
    display: block;
    margin-top: 0.75rem;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 1.5rem;
    width: min(28vw, 240px);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(26, 67, 119, 0.14));
}

/* FiveM brand logo */
.fivem-logo {
    display: block;
    margin-top: 0.75rem;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 1.5rem;
    width: min(20vw, 160px);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.about-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 67, 119, 0.1);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 
        0 8px 32px rgba(26, 67, 119, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(26, 67, 119, 0.2), transparent);
}

.about-section h2 {
    font-size: 2rem;
    color: #1a4377;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
}

.about-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2rem;
    background: linear-gradient(135deg, #1a4377, #225593);
    border-radius: 2px;
}

/* Inline logos within section headings */
.about-section h2 .logo-inline {
    height: 1.6rem;
    width: auto;
    vertical-align: -0.2rem;
    margin-right: 0.5rem;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.12));
}

.about-section h2 .fatbear-logo-inline {
    filter: drop-shadow(0 3px 10px rgba(26, 67, 119, 0.18));
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 1.5rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Styles for the "Why Us" cards */
.why-us h2::before {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 67, 119, 0.12);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a4377, #225593);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 67, 119, 0.15);
    border-color: rgba(26, 67, 119, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.3rem;
    color: #1a4377;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.card p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

/* Styles for the history section */
.history-section h2::before {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.history-section .section-content > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #5a6c7d;
}

.history-details {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(248, 250, 252, 0.85));
    border: 1px solid rgba(26, 67, 119, 0.12);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.history-details:hover {
    border-color: rgba(26, 67, 119, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
}

.history-details summary {
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    cursor: pointer;
    outline: none;
    color: #1a4377;
    font-weight: 600;
    list-style: none;
    position: relative;
    transition: all 0.3s ease;
}

.history-details summary::-webkit-details-marker {
    display: none;
}

.history-details summary::after {
    content: '';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-right: 2px solid #5a6c7d;
    border-bottom: 2px solid #5a6c7d;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.history-details[open] summary::after {
    transform: translateY(-50%) rotate(225deg);
}

.details-content {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid rgba(26, 67, 119, 0.1);
    margin-top: -1px;
}

.details-content p {
    color: #34495e;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.details-content p:last-child {
    margin-bottom: 0;
}

.details-content .note {
    margin: 1.5rem 0;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 67, 119, 0.08), rgba(34, 85, 147, 0.08));
    border: 1px solid rgba(26, 67, 119, 0.2);
    border-radius: 8px;
    position: relative;
    color: #2c3e50;
}

.details-content .note::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1a4377, #225593);
    border-radius: 0 2px 2px 0;
}

/* Call to action section */
.call-to-action {
    text-align: center;
    background: linear-gradient(135deg, #1a4377 0%, #225593 50%, #2c5aa0 100%);
    position: relative;
    overflow: hidden;
}

.call-to-action::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.call-to-action h2 {
    color: #ffffff;
    border-bottom: none;
    padding-left: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.call-to-action h2::before {
    display: none;
}

.call-to-action p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1a4377;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #ffffff;
    color: #0f2d52;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-us-container {
        padding: 2rem 1rem;
    }

    .about-us-header {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }

    .about-us-header h1 {
        font-size: 2.5rem;
    }

    .about-us-header p {
        font-size: 1.1rem;
    }

    .about-us-logo {
        width: min(44vw, 200px);
        margin-top: 0.75rem;
        margin-bottom: 1.25rem;
        margin-left: 0;
        margin-right: auto;
        filter: drop-shadow(0 4px 12px rgba(26, 67, 119, 0.14));
    }

    .fivem-logo {
        width: min(32vw, 150px);
        margin-top: 0.75rem;
        margin-bottom: 1.25rem;
        margin-left: 0;
        margin-right: auto;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
    }

    .about-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }

    .about-section h2 .logo-inline {
        height: 1.4rem;
        margin-right: 0.45rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .history-details summary {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }

    .history-details summary::after {
        right: 1.5rem;
    }

    .details-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-us-container {
        padding: 1.5rem 1rem;
    }

    .about-section {
        padding: 1.5rem 1rem;
    }

    .about-section h2 {
        font-size: 1.6rem;
        padding-left: 1rem;
    }

    .about-section h2 .logo-inline {
        height: 1.3rem;
        margin-right: 0.4rem;
    }

    .about-us-logo {
        width: min(54vw, 180px);
        margin-top: 0.75rem;
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: auto;
        filter: drop-shadow(0 3px 10px rgba(26, 67, 119, 0.12));
    }

    .fivem-logo {
        width: min(42vw, 135px);
        margin-top: 0.75rem;
        margin-bottom: 1rem;
        margin-left: 0;
        margin-right: auto;
        filter: drop-shadow(0 3px 9px rgba(0, 0, 0, 0.1));
    }

    .card {
        padding: 1.25rem;
    }
}