/* ==========================================================================
   "Tennis Green" Design System - Sayfa Detay (Page Details)
   ========================================================================== */

.sayfadetay-container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.sayfadetay-header {
    background: linear-gradient(135deg, #2E7D32, #43A047);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sayfadetay-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.sayfadetay-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.sayfadetay-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.sayfadetay-image {
    width: 100%;
    margin-bottom: 10px;
    background: #fafafa;
}

.sayfadetay-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.sayfadetay-content {
    padding: 50px 60px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.sayfadetay-content p {
    margin-bottom: 24px;
}

.sayfadetay-content h1, 
.sayfadetay-content h2, 
.sayfadetay-content h3 {
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

.sayfadetay-content h1 { font-size: 28px; }
.sayfadetay-content h2 { font-size: 24px; }
.sayfadetay-content h3 { font-size: 20px; }

.sayfadetay-content ul, 
.sayfadetay-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.sayfadetay-content li {
    margin-bottom: 10px;
}

.sayfadetay-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* Gallery Wrapper */
.sayfadetay-gallery-wrapper {
    padding: 40px 60px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.sayfadetay-gallery-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.sayfadetay-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.sayfadetay-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #fff;
}

.sayfadetay-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(46, 125, 50, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.sayfadetay-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.15);
}

.sayfadetay-gallery-item:hover::after {
    background: rgba(46, 125, 50, 0.1);
}

.sayfadetay-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    display: block;
    transition: transform 0.5s ease;
}

.sayfadetay-gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .sayfadetay-container {
        margin: 20px;
        border-radius: 12px;
    }
    .sayfadetay-header {
        padding: 40px 20px;
    }
    .sayfadetay-title {
        font-size: 28px;
    }
    .sayfadetay-content {
        padding: 30px 20px;
    }
    .sayfadetay-gallery-wrapper {
        padding: 30px 20px;
    }
}
