/* Premium Child-Friendly Theme Variables */
:root {
    --color-primary: #FF8A5B;
    /* Soft Orange */
    --color-secondary: #4ECDC4;
    /* Teal */
    --color-accent: #FFD93D;
    /* Yellow */
    --color-success: #6BCB77;
    /* Green */
    --color-purple: #A66CFF;
    /* Purple */
    --color-text: #2D3436;
    --color-text-light: #636e72;
    --color-bg-light: #F7F9FC;
    --color-white: #FFFFFF;
    --border-radius: 20px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --font-heading: 'Arial', sans-serif;
    /* Standard font */
    --font-body: 'Arial', sans-serif;
}

body {
    font-family: var(--font-body) !important;
    color: var(--color-text);
    line-height: 1.6;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.premium-footer {
    margin-top: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.row {
    margin-bottom: 30px;
    /* Gridler arası boşluk */
}

a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* Global Buttons */
.btn-premium {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 138, 91, 0.4);
    display: inline-block;
}

.btn-premium:hover {
    background: #ff7036;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 138, 91, 0.6);
    color: #fff;
}

.btn-premium.secondary {
    background: var(--color-secondary);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.btn-premium.secondary:hover {
    background: #3dbdb4;
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.6);
}

/* Cards */
.card-premium {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    /* Daha fazla boşluk */
    overflow: hidden;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Page Headers */
.page-header-premium {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2cb5e8 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    border-radius: 0 0 30px 30px;
}

.page-header-premium h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 10px;
}

/* Form Elements */
.form-control {
    border-radius: 10px !important;
    border: 1px solid #e0e0e0;
    padding: 20px 15px !important;
    /* Larger padding */
    height: auto !important;
    box-shadow: none !important;
    background: #f9f9f9;
}

.form-control:focus {
    background: #fff;
    border-color: var(--color-secondary);
}

/* Section Titles */
.section-title-premium {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-premium h2 {
    font-size: 36px;
    color: var(--color-text);
}

.section-title-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Utility Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Wave Separator */
.wave-separator {
    position: relative;
    width: 100%;
    height: 50px;
    /* Adjust height */
    overflow: hidden;
}

/* --- OVERRIDES FOR LEGACY TEMPLATE --- */

/* Modernize Layout Container */
.template-main {
    max-width: 1200px !important;
    width: 95% !important;
}

/* Global Button Modernization */
.template-component-button,
input[type="submit"]:not(.btn-premium),
button:not(.btn):not(.btn-premium):not(.navbar-toggle) {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 138, 91, 0.4) !important;
    padding: 12px 30px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    background-image: none !important;
    cursor: pointer;
}

.template-component-button:hover,
input[type="submit"]:hover:not(.btn-premium),
button:hover:not(.btn):not(.btn-premium):not(.navbar-toggle) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 91, 0.6) !important;
    opacity: 0.95;
    background-color: #ff7036 !important;
}

/* Form Inputs Modernization */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border-radius: 10px !important;
    border: 1px solid #eee !important;
    background-color: #fcfcfc !important;
    padding: 15px !important;
    box-shadow: none !important;
    transition: border-color 0.3s !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-secondary) !important;
    background-color: #fff !important;
}

/* Footer Improvements */
.premium-footer {
    background: #2c3e50;
    color: #bdc3c7;
    padding: 60px 0 40px;
    font-size: 14px;
    border-top: 5px solid var(--color-accent);
}

.premium-footer h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 700;
}

.premium-footer ul {
    list-style: none;
    padding: 0;
}

.premium-footer ul li {
    margin-bottom: 12px;
}

.premium-footer ul li a {
    color: #bdc3c7;
    transition: all 0.3s;
    text-decoration: none;
}

.premium-footer ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-brand-section p {
    margin-top: 20px;
    line-height: 1.8;
    color: #ffffff;
}

.footer-logo {
    max-width: 150px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    /* Soft background */
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-box span {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
}

.contact-box .phone {
    font-weight: bold;
    font-size: 18px;
    color: var(--color-accent);
}

.template-footer-bottom {
    background: #1a252f;
    padding: 20px 0;
    font-size: 13px;
    color: #7f8c8d;
    border-top: 1px solid #34495e;
}

/* Header Improvements */
.template-header-top {
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    background: #fff;
}

.template-header-top-logo img {
    max-height: 80px;
    transition: all 0.3s;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .premium-footer {
        text-align: center;
    }

    .footer-brand-section,
    .footer-menu-section,
    .footer-contact-section {
        margin-bottom: 40px;
        width: 100% !important;
    }

    .footer-logo {
        margin: 0 auto;
        display: block;
    }

    .footer-menu-section .row>div {
        width: 100%;
        margin-bottom: 20px;
    }

    .premium-footer h4 {
        border-bottom: 2px solid var(--color-primary);
        display: inline-block;
        margin: 0 auto 20px;
        text-align: center;
    }

    .template-header-top-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .template-component-menu-responsive>ul>li>a {
        background: var(--color-primary) !important;
        color: #fff !important;
        border-radius: 5px;
        margin-top: 10px;
        text-align: center;
    }
}

/* Modern FAQ Card Styles */
.faq-card-modern {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Daha hafif gölge */
    border: 1px solid #eee;
    /* İnce çerçeve */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card-modern:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-header {
    background: #fff;
    padding: 0;
    border-bottom: 1px solid transparent;
}

.faq-header .panel-title {
    margin: 0;
    font-size: 14px;
}

.faq-header a {
    display: block;
    padding: 20px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding-right: 50px;
    /* Ok ikonu için yer */
}

.faq-header a:hover {
    color: var(--color-primary);
    background: #f9f9f9;
}

/* Accordion İkonu - CSS ile */
.faq-header a::after {
    content: "\f107";
    /* FontAwesome angle-down */
    font-family: 'FontAwesome';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-header a[aria-expanded="true"] {
    color: var(--color-primary);
    background: #f4fcfc;
    /* Açık birincil renk tonu */
    border-bottom: 1px solid #eee;
}

.faq-header a[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
    /* Oku döndür */
    color: var(--color-primary);
}

.faq-body {
    padding: 25px;
    color: #666;
    line-height: 1.7;
    background: #fff;
    font-size: 15px;
}

/* Modern Event Card Styles */
.event-card-modern {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Yumuşak gölge */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Elastik geçiş */
    border: 1px solid #f0f0f0;
    height: 100%;
    /* Kartları eşit boyda tut */
    position: relative;
    display: flex;
    flex-direction: column;
}

.event-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}

.event-date-box {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2980b9 100%);
    padding: 15px;
    text-align: center;
    color: #fff;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

.event-date-day {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.event-date-month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    transition: color 0.3s;
}

.event-card-modern:hover .event-content h4 {
    color: var(--color-secondary);
}

.event-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    flex-direction: column;
    /* Mobilde alt alta, genelde yan yana olabilir ama alan dar ise alt alta daha net */
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #f9f9f9;
}

.event-meta span {
    display: flex;
    align-items: center;
}

.event-meta i {
    color: var(--color-secondary);
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}