/* ================================================
   MODERN THEME - İlkokul Teması
   Seçil Öğretmen
   ================================================ */

/* ================== UTILITY CLASSES ================== */

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Text Utilities */
.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-blue { color: var(--primary-blue); }
.text-primary-orange { color: var(--primary-orange); }
.text-primary-green { color: --primary-green); }
.text-primary-pink { color: var(--primary-pink); }
.text-primary-yellow { color: var(--primary-yellow); }
.text-primary-purple { color: var(--primary-purple); }

/* Background Utilities */
.bg-gradient-blue { background: var(--gradient-blue); }
.bg-gradient-orange { background: var(--gradient-orange); }
.bg-gradient-green { background: var(--gradient-green); }

/* Shadow Utilities */
.shadow-custom-sm { box-shadow: var(--shadow-sm); }
.shadow-custom-md { box-shadow: var(--shadow-md); }
.shadow-custom-lg { box-shadow: var(--shadow-lg); }
.shadow-custom-xl { box-shadow: var(--shadow-xl); }

/* Border Radius Utilities */
.rounded-custom-sm { border-radius: var(--radius-sm); }
.rounded-custom-md { border-radius: var(--radius-md); }
.rounded-custom-lg { border-radius: var(--radius-lg); }
.rounded-custom-xl { border-radius: var(--radius-xl); }
.rounded-custom-full { border-radius: var(--radius-full); }

/* ================== LAYOUT ================== */

.main-content {
    min-height: calc(100vh - 80px);
    padding-top: 80px; /* Header height */
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-lg {
    padding: 5rem 0;
}

.section-xl {
    padding: 7rem 0;
}

/* ================== TYPOGRAPHY ================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.75rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

/* ================== BUTTONS ================== */

.btn-playful {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn-playful:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-playful:active {
    transform: translateY(0);
}

.btn-playful-primary {
    background: var(--gradient-blue);
    color: white;
}

.btn-playful-secondary {
    background: var(--gradient-orange);
    color: white;
}

.btn-playful-success {
    background: var(--gradient-green);
    color: white;
}

/* Button Ripple Effect */
.btn-playful::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-playful:active::before {
    width: 300px;
    height: 300px;
}

/* ================== CARDS ================== */

.card-modern {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-modern-body {
    padding: var(--spacing-lg);
}

.card-modern-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ================== BADGES ================== */

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-blue { background: var(--primary-blue); color: white; }
.badge-orange { background: var(--primary-orange); color: white; }
.badge-green { background: var(--primary-green); color: white; }
.badge-pink { background: var(--primary-pink); color: white; }
.badge-yellow { background: var(--primary-yellow); color: var(--text-dark); }
.badge-purple { background: var(--primary-purple); color: white; }

/* ================== BACK TO TOP BUTTON ================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ================== RESPONSIVE ================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-lg {
        padding: 3rem 0;
    }
    
    .section-xl {
        padding: 4rem 0;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .btn-playful {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ================== BEĞENI BUTONU ================== */

.begeni-button {
    background: linear-gradient(135deg, rgba(252, 92, 101, 0.9) 0%, rgba(255, 107, 107, 0.9) 100%);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(252, 92, 101, 0.3);
    position: relative;
    overflow: hidden;
}

.begeni-button:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(252, 92, 101, 0.5);
    filter: brightness(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.begeni-button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.begeni-button .fa-heart {
    transition: all 0.3s ease;
}

.begeni-button:hover .fa-heart {
    transform: scale(1.2);
}

/* Beğeni Tıklama Efekti */
@keyframes heartBeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.3); }
    40% { transform: scale(1.1); }
    60% { transform: scale(1.25); }
    80% { transform: scale(1.15); }
    100% { transform: scale(1.2); }
}

.begeni-button.liked .fa-heart {
    animation: heartBeat 0.6s ease;
}

/* Beğeni Ripple Efekti */
.begeni-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
}

.begeni-button:active::after {
    width: 200px;
    height: 200px;
    opacity: 0;
}

