/* Life at King Royal Sayfası Stilleri (Boşluk Düzeltmesi) */

/* --- Genel Bölüm Stilleri --- */
.content-section {
    /* DÜZELTME: Bölümler arası dikey boşluk azaltıldı */
    padding: 70px 0; 
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.content-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

/* --- Değerler Bölümü --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.value-card {
    background-color: var(--bckgrd-clr);
    border: 1px solid #e9ecef;
    padding: 40px;
    border-radius: 12px;
    border-bottom: 4px solid var(--ikon-clr);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.value-card .icon {
    font-size: 3rem;
    color: var(--ikon-clr);
    margin-bottom: 30px; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.value-card p {
    flex-grow: 1;
}


/* --- Video Arka Plan Bölümü --- */
.video-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
#bg-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(46, 139, 87, 0.7);
    z-index: 2;
}
.video-content {
    position: relative;
    z-index: 3;
}
.video-content h2 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- Gelişim Programları Bölümü --- */
.program-block {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.program-block:nth-child(even) {
    flex-direction: row-reverse;
}
.program-text { flex: 1; }
.program-text .tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--ikon-clrsoft);
    color: var(--ikon-clr);
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 15px;
}
.program-text h3 { font-size: 2rem; margin-bottom: 15px; }
.program-text p { font-size: 1.1rem; line-height: 1.8; color: #495057; }
.program-stats {
    flex: 0 0 300px;
    text-align: center;
}
.stat-number { font-size: 4rem; font-weight: 700; color: var(--ikon-clr); }
.stat-label { font-size: 1.1rem; font-weight: 500; color: #495057; }

/* --- Fotoğraf Galerisi --- */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}
.gallery-item { overflow: hidden; border-radius: 12px; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.gallery-item-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.gallery-item-3 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-item-4 { grid-column: 2 / 4; grid-row: 2 / 3; }

/* --- CTA Bölümü --- */
.cta-section {
    background-color: var(--text-clr);
    color: var(--bckgrd-clr);
    padding: 80px 40px;
    border-radius: 16px;
    text-align: center;
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-section p { max-width: 600px; margin: 0 auto 30px auto; opacity: 0.8; }
.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--impt-clr);
    color: var(--bckgrd-clr);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.cta-button:hover {
    background-color: var(--bckgrd-clr);
    color: var(--impt-clr);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .program-block, .program-block:nth-child(even) { flex-direction: column; text-align: center;}
    .program-stats { margin-top: 30px; }
    .photo-gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .gallery-item { height: 300px; }
    .gallery-item-1, .gallery-item-2, .gallery-item-3, .gallery-item-4 { grid-column: auto; grid-row: auto; }
}