/*
Theme Name: Güneş Oyun Atölyesi
Description: Çocuk eğitim merkezi için özel tasarlanmış modern ve renkli WordPress teması
Version: 1.0
Author: Rayzer Digital
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&display=swap');

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables */
:root {
    --primary-color: #7e22ce;
    --secondary-color: #f59e0b;
    --yellow-color: #eab308;
    --red-color: #ef4444;
    --green-color: #10b981;
    --teal-color: #14b8a6;
    --purple-color: #8b5cf6;
    --orange-color: #f97316;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
    --border-radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: white;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: rgba(126, 34, 206, 0.9);
}

.btn-secondary {
    background-color: var(--yellow-color);
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(234, 179, 8, 0.9);
}

.btn-danger {
    background-color: var(--red-color);
    color: white;
}

.btn-danger:hover {
    background-color: rgba(239, 68, 68, 0.9);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

/* Header */
.site-header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    position: relative;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    background-color: #fed7aa;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.logo-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.25rem;
    color: #d97706;
}

.site-title {
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 400;
}

/* Custom Logo Styles */
.custom-logo-container {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.custom-logo {
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: contain;
}

/* Header navigation/button positioning */
.header-content .btn,
.main-navigation {
    margin-left: auto;
}

/* Hero Section */
.hero-section {
    background-image: url('https://readdy.ai/api/search-image?query=colorful%2520educational%2520children%2520play%2520area%2520with%2520bright%2520toys%2520and%2520learning%2520materials%2C%2520cheerful%2520atmosphere%2C%2520modern%2520design%2C%2520natural%2520light%2C%2520plants%2520in%2520background%2C%2520vibrant%2520colors&width=1200&height=800&seq=1&orientation=landscape');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
}

/* Hero custom background */
.hero-custom-bg {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(126, 34, 206, 0.8), rgba(126, 34, 206, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
    text-align: center;
}

.hero-text-box {
    color: white;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-family: 'Baloo 2', cursive;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-family: 'Baloo 2', cursive;
    font-size: 1.25rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        align-items: flex-start;
justify-content: center !important;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .gallery-content {
        flex-direction: row;
        align-items: center;
    }
    
    .gallery-content > div {
        flex: 1;
    }
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.gallery-text h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
}

.gallery-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Reservation Form */
.reservation-section {
    padding: 4rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.section-title {
    font-size: 1.875rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--gray-600);
}

.form-container {
    max-width: 32rem;
    margin: 0 auto;
}

.form-box {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-full {
    width: 100%;
}

@media (min-width: 640px) {
    .btn-full {
        width: auto;
    }
}

/* Contact Form 7 Styles */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    width: 100%;
}

.wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

.wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s ease;
    background-color: white;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
}

.wpcf7-submit {
    width: 100%;
    padding: 0.875rem 2rem;
    background-color:#7e22ce;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.wpcf7-submit:hover {
    background-color: rgba(239, 68, 68, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.wpcf7-mail-sent-ok {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--green-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.wpcf7-not-valid-tip {
    color: var(--danger-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

/* Form placeholder styles */
.cf7-form-placeholder {
    opacity: 0.7;
}

.cf7-form-placeholder p:first-child {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cf7-form-placeholder p:last-child {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-style: italic;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

/* Activity Cards */
.activities-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.activity-card {
    background-color: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.activity-image-container {
    position: relative;
}

.activity-image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.activity-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem;
}

.activity-gradient-green {
    background: linear-gradient(to top, var(--green-color), transparent);
}

.activity-gradient-teal {
    background: linear-gradient(to top, var(--teal-color), transparent);
}

.activity-gradient-purple {
    background: linear-gradient(to top, var(--purple-color), transparent);
}

.activity-gradient-orange {
    background: linear-gradient(to top, var(--orange-color), transparent);
}

.activity-content {
    padding: 1.5rem;
}

.activity-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
}

.activity-icon-green {
    background-color: var(--green-color);
}

.activity-icon-teal {
    background-color: var(--teal-color);
}

.activity-icon-purple {
    background-color: var(--purple-color);
}

.activity-icon-orange {
    background-color: var(--orange-color);
}

.activity-title {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.activity-description {
    color: var(--gray-600);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.features-decoration-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background-color: rgba(254, 240, 138, 1);
    border-radius: var(--border-radius-full);
    margin-right: -8rem;
    margin-top: -8rem;
    z-index: 0;
}

.features-decoration-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background-color: rgba(196, 181, 253, 1);
    border-radius: var(--border-radius-full);
    margin-left: -8rem;
    margin-bottom: -8rem;
    z-index: 0;
}

.features-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .features-content {
        flex-direction: row;
        align-items: center;
    }
    
    .features-content > div {
        flex: 1;
    }
}

.features-title {
    font-size: 1.875rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.features-emoji {
    color: var(--yellow-color);
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.features-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.features-check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--border-radius-full);
    background-color: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.features-check i {
    color: var(--green-color);
    font-size: 0.875rem;
}

.features-image-container {
    display: flex;
    justify-content: center;
}

.features-image-wrapper {
    position: relative;
}

.features-bg-circle {
    width: 16rem;
    height: 16rem;
    background-color: var(--yellow-color);
    border-radius: var(--border-radius-full);
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    z-index: 0;
}

.features-image-frame {
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    border: 8px solid white;
    box-shadow: var(--shadow-xl);
}

.features-image {
    width: 20rem;
    height: 20rem;
    object-fit: cover;
}

.features-icon-circle {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-icon-circle i {
    color: white;
    font-size: 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: white;
}

.footer-content {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    background-color: #fed7aa;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.footer-logo-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: white;
}

/* Footer Custom Logo Styles */
.footer-custom-logo-container {
    display: flex;
    align-items: center;
}

.footer-custom-logo-container .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-custom-logo-container .custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: contain;
    margin-right: 0.75rem;
}

.footer-description {
    color: rgba(196, 181, 253, 1);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-section-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: rgba(254, 240, 138, 1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(254, 240, 138, 1);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(196, 181, 253, 1);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* RemixIcon fallback */
[class^="ri-"]::before {
    font-family: "remixicon";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.slide-in {
    animation: slideIn 0.6s ease forwards;
}

/* Form animasyonları */
.input-focused .form-input {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
}

.form-group {
    transition: all 0.3s ease;
}

/* Header geçiş animasyonu */
.site-header {
    transition: transform 0.3s ease;
}

/* Görsel lazy loading */
.gallery-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-image.loaded {
    opacity: 1;
}

/* Hover efektleri */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.social-link:hover {
    transform: scale(1.1);
}

/* Placeholder görsel stilleri */
img[src*="data:image/svg"] {
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Scroll bar özelleştirme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(126, 34, 206, 0.8);
}

/* Focus görünürlüğü */
.btn:focus,
.form-input:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print stilleri */
@media print {
    .site-header,
    .hero-section,
    .reservation-section,
    .site-footer {
        display: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
		justify-content: center !important;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .features-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .features-content {
        gap: 2rem;
    }
    
    .features-image-frame .features-image {
        width: 16rem;
        height: 16rem;
    }
    
    .features-bg-circle {
        width: 12rem;
        height: 12rem;
    }
}

@media (max-width: 480px) {
    .hero-text-box {
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .activity-card {
        margin-bottom: 1rem;
    }
    
    .form-box {
        padding: 1rem;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Dark mode desteği (gelecek için) */
@media (prefers-color-scheme: dark) {
    .placeholder-dark {
        filter: brightness(0.8);
    }
}

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .fade-in-up,
    .slide-in,
    .activity-card,
    .btn,
    .social-link {
        animation: none;
        transition: none;
    }
    
    .activity-card:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .form-input {
        border: 2px solid var(--gray-800);
    }
} 