/**
 * Path: /home/main/public_html/osmanlicacevirmen.com/assets/css/legal.css
 * Description: Yasal sayfalar (Hakkımızda, Gizlilik, Sözleşme, İade) için ortak stiller
 * Version: 1.0.0
 */

/* ========================================
   LEGAL PAGE LAYOUT
======================================== */
.legal-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.legal-header .highlight {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* ========================================
   LEGAL CONTENT CARD
======================================== */
.legal-content {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--white);
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.legal-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 100%;
}

.legal-content ul,
.legal-content ol {
    color: rgba(255, 255, 255, 0.7);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-content strong {
    color: var(--white);
}

.legal-content a {
    color: var(--gold-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--gold-light);
}

/* Info Box */
.legal-info-box {
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-left: 4px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-info-box p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.legal-info-box i {
    color: var(--gold-primary);
    margin-right: 0.5rem;
}

/* Table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.legal-table th,
.legal-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    text-align: left;
}

.legal-table th {
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-primary);
    font-weight: 600;
}

.legal-table td {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   FIRMA TOGGLE (Company Info Toggle)
======================================== */
.firma-toggle-wrapper {
    margin: 2rem 0;
}

.firma-toggle-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
}

.firma-toggle-btn:hover {
    background: var(--glass-white-strong);
    border-color: rgba(201, 162, 39, 0.3);
}

.firma-toggle-btn i.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--gold-primary);
}

.firma-toggle-btn.active i.toggle-icon {
    transform: rotate(180deg);
}

.firma-details {
    display: none;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(201, 162, 39, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-lg);
    animation: slideDown 0.3s ease;
}

.firma-details.visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.firma-details .detail-row {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.firma-details .detail-row:last-child {
    border-bottom: none;
}

.firma-details .detail-label {
    min-width: 140px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
}

.firma-details .detail-value {
    color: var(--white);
    font-size: 0.95rem;
}

/* ========================================
   ABOUT PAGE SPECIFICS
======================================== */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-hero-text h1 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-stat-card {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.about-stat-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-3px);
}

.about-stat-card .stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
    display: block;
}

.about-stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Mission Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mission-card {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.mission-card i {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.mission-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   PAYMENT LOGOS (Footer)
======================================== */
.payment-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-logos img {
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.payment-logos img:hover {
    opacity: 1;
}

.payment-logos img.iyzico-logo {
    height: 24px;
    filter: none;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }

    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero-text h1 {
        text-align: center;
    }

    .firma-details .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .firma-details .detail-label {
        min-width: auto;
    }

    .payment-logos {
        justify-content: center;
    }
}