/* Dış Cephe Kaplama - Unique Bento Grid Design */

/* Override subpage-header for this page */
.subpage-header {
    padding: 140px 0 60px;
}

/* ========================================
   MAIN LAYOUT
   ======================================== */

.cephe-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* ========================================
   BENTO GRID
   ======================================== */

.bento-section {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1.25rem;
}

/* Featured Card - spans 4 columns, 2 rows */
.bento-card.featured {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 450px;
}

/* Medium Cards - span 2 columns each */
.bento-card.medium {
    grid-column: span 2;
    min-height: 215px;
}

/* Stat Cards - span 2 columns */
.bento-card.stat {
    grid-column: span 2;
}

/* ========================================
   BENTO CARD BASE
   ======================================== */

.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(245, 158, 11, 0.1);
}

/* ========================================
   BENTO BACKGROUND & OVERLAY
   ======================================== */

.bento-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-card:hover .bento-bg img {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.7) 60%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* ========================================
   BENTO CONTENT
   ======================================== */

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.bento-number {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    transition: all 0.4s ease;
}

.bento-card:hover .bento-number {
    color: rgba(245, 158, 11, 0.2);
    transform: scale(1.1);
}

.bento-card.featured .bento-number {
    font-size: 8rem;
}

.bento-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.bento-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.bento-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bento-card.medium .bento-content p {
    font-size: 0.85rem;
}

/* ========================================
   BENTO TAGS
   ======================================== */

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bento-tags .tag {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.bento-card:hover .tag {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
}

/* ========================================
   BENTO ACCENT LINE
   ======================================== */

.bento-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    z-index: 3;
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-accent.green {
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.bento-accent.blue {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.bento-card:hover .bento-accent {
    width: 100%;
}

/* ========================================
   STAT CARDS
   ======================================== */

.bento-card.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg,
            rgba(245, 158, 11, 0.05) 0%,
            rgba(239, 68, 68, 0.03) 100%);
    min-height: 160px;
}

.bento-card.stat:hover {
    background: linear-gradient(135deg,
            rgba(245, 158, 11, 0.1) 0%,
            rgba(239, 68, 68, 0.05) 100%);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.bento-card.stat:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(245, 158, 11, 0.25);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ========================================
   FLOATING TEXT
   ======================================== */

.floating-text {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem 0;
}

.float-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.floating-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
    max-width: 500px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.bento-card {
    animation: bentoReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.bento-card.featured {
    animation-delay: 0.1s;
}

.bento-card.medium:nth-child(2) {
    animation-delay: 0.2s;
}

.bento-card.medium:nth-child(3) {
    animation-delay: 0.3s;
}

.bento-card.stat:nth-child(4) {
    animation-delay: 0.4s;
}

.bento-card.stat:nth-child(5) {
    animation-delay: 0.5s;
}

.bento-card.stat:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes bentoReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-text {
    animation: fadeIn 1s ease 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .bento-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.featured {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 350px;
    }

    .bento-card.medium {
        grid-column: span 1;
    }

    .bento-card.stat {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .cephe-main {
        padding: 3rem 1.5rem 4rem;
    }

    .bento-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bento-card.featured,
    .bento-card.medium,
    .bento-card.stat {
        grid-column: span 1;
    }

    .bento-card.featured {
        min-height: 300px;
    }

    .bento-card.featured .bento-number {
        font-size: 5rem;
    }

    .bento-content {
        padding: 1.5rem;
    }

    .floating-text {
        flex-direction: column;
        gap: 1rem;
    }

    .float-line {
        width: 60px;
        height: 1px;
    }
}

/* ========================================
   NEW CONTENT SECTIONS
   ======================================== */

.page-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.page-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.page-intro p:last-child {
    margin-bottom: 0;
}

.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.info-col h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent, #f59e0b);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
}