/* ==============================================
   SÖZLEŞME - Legal Document Style
   Editorial layout with clause highlights
   ============================================== */

/* Main Content */
.sozlesme-main {
    background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 100%);
    position: relative;
    overflow: hidden;
}

.sozlesme-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.sozlesme-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ========================================
   INTRO SECTION
   ======================================== */

.sozlesme-intro {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.intro-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.intro-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--yk-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.intro-content h2 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.15rem;
    color: var(--yk-text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   DOCUMENT SECTION
   ======================================== */

.document-section {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.document-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.document-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Document corner decorations */
.document-wrapper::before,
.document-wrapper::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--yk-gold);
    opacity: 0.3;
}

.document-wrapper::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.document-wrapper::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* ========================================
   CLAUSES
   ======================================== */

.clause {
    margin-bottom: 3rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.clause.visible {
    opacity: 1;
    transform: translateX(0);
}

.clause:hover {
    border-left-color: var(--yk-gold);
}

.clause-number {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--yk-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--yk-text-secondary);
    transition: all 0.3s ease;
}

.clause:hover .clause-number {
    background: var(--yk-gold);
    border-color: var(--yk-gold);
    color: #000;
}

.clause h3 {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.clause p {
    color: var(--yk-text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.clause p:last-child {
    margin-bottom: 0;
}

.clause-highlight {
    background: rgba(212, 168, 83, 0.08);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.clause-highlight p {
    color: var(--yk-text-primary);
    font-size: 0.95rem;
    margin: 0;
}

.clause-highlight strong {
    color: var(--yk-gold);
}

/* ========================================
   TRUST INDICATORS
   ======================================== */

.trust-section {
    padding: 5rem 0;
    background: rgba(212, 168, 83, 0.02);
    position: relative;
    z-index: 1;
}

.trust-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.trust-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.trust-header h3 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-header p {
    color: var(--yk-text-secondary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.trust-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.trust-item:nth-child(1) {
    transition-delay: 0.1s;
}

.trust-item:nth-child(2) {
    transition-delay: 0.2s;
}

.trust-item:nth-child(3) {
    transition-delay: 0.3s;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h4 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--yk-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.sozlesme-cta {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.sozlesme-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.sozlesme-cta h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sozlesme-cta p {
    color: var(--yk-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--yk-gold);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
}

/* Back Link */
.back-section {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--yk-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--yk-gold);
}

.back-link::before {
    content: '←';
    transition: transform 0.3s ease;
}

.back-link:hover::before {
    transform: translateX(-5px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sozlesme-container {
        padding: 0 1.5rem;
    }

    .document-wrapper {
        padding: 2rem;
    }

    .clause {
        padding-left: 1.5rem;
    }

    .clause-number {
        left: -1.75rem;
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}