/* ACCESSIBILITY: Focus Ring for Keyboard Navigation */
button:focus, a:focus, input:focus, textarea:focus, select:focus {
    outline: 3px solid #FFB800 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #FFF3CD;
    transition: outline 0.2s, box-shadow 0.2s;
}

/* ACCESSIBILITY: Color Contrast Improvements */
/* Example: Make pinks and yellows more distinguishable for color-blind users */
.play-button, .search-btn, .submit-btn {
    background-color: #1a73e8;
    color: #fff;
}
.play-button:focus, .search-btn:focus, .submit-btn:focus {
    outline: 3px solid #FFB800 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #FFF3CD;
}
/* If you use text on colored backgrounds, ensure at least 4.5:1 contrast ratio. */
/* GENEL STİL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Righteous', cursive, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFF9E6;
}

/* BİLDİRİM STİLİ */
.notification {
    padding: 15px 30px;
    background: linear-gradient(135deg, #FFE5E5, #FFD4E5);
    border: 3px solid #FF69B4;
    border-radius: 20px;
    margin: 10px;
    animation: slideDown 0.4s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #FF69B4, #FFB6C1, #87CEEB);
    color: white;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.3rem;
    font-style: italic;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* NAVİGASYON MENÜSÜ */
.main-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-link {
    background: rgba(255, 255, 255, 0.9);
    color: #FF1493;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: inline-block;
}

.nav-link:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.nav-link:active {
    transform: translateY(-1px);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(to bottom, #FFE5CC, #FFD4E5);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: #FF1493;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255,192,203,0.5);
}

.hero-content p {
    font-size: 1.4rem;
    color: #665;
    margin-bottom: 30px;
    font-weight: bold;
}

.play-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    border: 3px solid #FF8C00;
    box-shadow: 0 5px 15px rgba(255,165,0,0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255,165,0,0.6);
}

/* FLOATING BALLOONS ANIMATION */
.hero-animation {
    position: relative;
    width: 200px;
    height: 300px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-balloon {
    position: absolute;
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.balloon-1 {
    left: 20px;
    animation-delay: 0s;
}

.balloon-2 {
    left: 100px;
    animation-delay: 0.5s;
}

.balloon-3 {
    left: 50px;
    top: 100px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
    }
    100% {
        transform: scale(1);
    }
}

/* HİKAYE BÖLÜMÜ */
.categories-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #FFE5E5, #E5F3FF);
}

.categories-section h2,
.games-section h2,
.sleep-story-section h2,
.about-section h2,
.contact-section h2,
.drawing-section h2,
.newsletter-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FF1493;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(255,20,147,0.2);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.story-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: #FFD700;
}

.story-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #FFE5CC, #E5F3FF);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.svg-illustration {
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 200px;
}

.story-card h3 {
    font-size: 1.5rem;
    color: #FF1493;
    padding: 15px 15px 5px;
    text-align: center;
}

.story-preview {
    color: #666;
    padding: 5px 15px 15px;
    text-align: center;
    font-size: 0.95rem;
}

/* OYUNLAR BÖLÜMÜ */
.games-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #E5FFE5, #FFE5F3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.game-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid #FFD700;
}

.game-header {
    background: linear-gradient(135deg, #FF69B4, #FFB6C1);
    color: white;
    padding: 20px;
    text-align: center;
}

.game-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.game-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.game-content {
    padding: 25px;
}

.color-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.color-btn {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 3px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.color-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.sound-button,
.animal-btn,
.number-btn {
    background-color: #FFD700;
    border: 3px solid #FF8C00;
    color: #333;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.sound-button:hover,
.animal-btn:hover,
.number-btn:hover {
    transform: scale(1.05);
    background-color: #FFA500;
    box-shadow: 0 5px 15px rgba(255,165,0,0.4);
}

.matching-game {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.match-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-item {
    width: 80px;
    height: 80px;
    font-size: 3rem;
    background-color: #FFE5CC;
    border: 3px solid #FF69B4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.match-item:hover {
    transform: scale(1.1);
    background-color: #FFD700;
}

/* OYUN DETAY STİLLERİ */
.count-objects {
    font-size: 4rem;
    text-align: center;
    margin: 20px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.game-question {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 15px 0;
    min-height: 30px;
}

.game-result {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
    min-height: 30px;
}

.game-center {
    text-align: center;
}

.game-buttons-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

/* RESİM ÇIZME BÖLÜMÜ */
.drawing-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #FFE5CC, #E5F3FF);
    text-align: center;
}

.drawing-area {
    background-color: white;
    border: 4px dashed #FF69B4;
    border-radius: 15px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#drawingCanvas {
    display: block;
    border: 3px solid #FFD700;
    border-radius: 10px;
    cursor: crosshair;
    background-color: white;
    margin: 0 auto 20px;
    max-width: 100%;
    min-width: 320px;
    min-height: 200px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    touch-action: none;
}

.drawing-tools {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-btn,
.color-selector {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border: 3px solid #333;
    transition: all 0.3s ease;
}

.tool-btn {
    background-color: #FF69B4;
    color: white;
}

.tool-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,105,180,0.4);
}

.color-selector {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.color-selector.red {
    background-color: #FF0000;
}

.color-selector.blue {
    background-color: #0000FF;
}

.color-selector.yellow {
    background-color: #FFFF00;
}

.color-selector.green {
    background-color: #00FF00;
}

/* UYKU MASALI BÖLÜMÜ */
.sleep-story-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #E5F3FF, #FFE5E5);
}

.sleep-story-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    gap: 40px;
    align-items: center;
    border: 3px solid #FFB6C1;
}

.sleep-animation {
    flex: 1;
    text-align: center;
}

.sleeping-character {
    animation: sleep-breathing 3s ease-in-out infinite;
}

@keyframes sleep-breathing {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.sleep-story-content {
    flex: 1;
}

.sleep-story-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

/* HAKKIMIZDA BÖLÜMÜ */
.about-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #FFE5E5, #FFE5CC);
}

.about-content {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text h3 {
    font-size: 1.5rem;
    color: #FF1493;
    margin-bottom: 15px;
    margin-top: 20px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text ul {
    list-style: none;
}

.about-text ul li {
    padding: 10px 0;
    color: #666;
    font-size: 1.1rem;
    margin-left: 20px;
}

/* İLETİŞİM BÖLÜMÜ */
.contact-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #E5FFE5, #FFE5E5);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info {
    display: contents;
}

.info-item {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid #FFD700;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.info-item h4 {
    font-size: 1.4rem;
    color: #FF1493;
    margin-bottom: 10px;
}

.info-item p {
    color: #666;
    font-size: 1.1rem;
}

/* NEWSLETTER BÖLÜMÜ */
.newsletter-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.newsletter-section p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border: 3px solid white;
    border-radius: 25px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: #FF1493;
    color: white;
    border: 3px solid white;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* FOOTER */
.footer {
    background-color: #FF69B4;
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

.footer p {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(135deg, #FFE5CC, #E5F3FF);
    margin: 50px auto;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 30px;
    border: 4px solid #FFD700;
    position: relative;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #FF1493;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close:hover {
    color: #FF69B4;
    transform: scale(1.2);
}

.story-text h2 {
    color: #FF1493;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }

    .hero {
        flex-direction: column;
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .play-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .stories-grid,
    .games-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .content-item,
    .story-card,
    .game-card {
        margin: 10px 0;
    }

    .sleep-story-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .modal-content {
        margin: 30px 10px;
        width: 95%;
        padding: 20px;
    }

    .story-text h2 {
        font-size: 1.5rem;
    }

    .categories-section h2,
    .games-section h2,
    .sleep-story-section h2,
    .about-section h2,
    .contact-section h2,
    .drawing-section h2,
    .newsletter-section h2 {
        font-size: 1.8rem;
    }
    
    .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .header {
        padding: 20px 10px;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .color-btn,
    .match-item {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .hero-animation {
        width: 100%;
    }

    #drawingCanvas {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .drawing-area {
        padding: 10px;
        max-width: 100%;
    }
    
    .drawing-tools {
        gap: 10px;
    }
    
    .color-selector {
        width: 50px !important;
        height: 50px !important;
    }
    
    .tool-btn,
    .shape-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .content-item,
    .story-card,
    .game-card {
        padding: 15px;
    }
    
    .item-icon {
        font-size: 3rem;
    }
    
    .categories-section h2,
    .games-section h2,
    .sleep-story-section h2,
    .about-section h2,
    .contact-section h2,
    .drawing-section h2,
    .newsletter-section h2 {
        font-size: 1.5rem;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .play-button,
    .back-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* HEADER */
.header-top {
    background-color: #f5f5f5;
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact span {
    margin-right: 20px;
}

.header-links a {
    margin-left: 20px;
    color: #666;
}

.header-links a:hover {
    color: #1a73e8;
}

/* NAVİGASYON */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #1a73e8;
    font-weight: bold;
}

.search-bar {
    flex: 1;
    display: flex;
    gap: 5px;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.search-bar input:focus {
    outline: none;
    border-color: #1a73e8;
}

.search-btn {
    background-color: #1a73e8;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
}

.search-btn:hover {
    background-color: #155ab8;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: #333;
}

.nav-menu a:hover {
    color: #1a73e8;
}

.nav-icons {
    display: flex;
    gap: 15px;
}

.nav-icons button {
    background-color: white;
    border: 2px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-icons button:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

.cart-count {
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff6b6b;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff5252;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* İÇERİK KATEGORİLERİ BÖLÜMÜ */
.content-categories-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #FFF9E6, #FFE5F5);
}

.content-categories-section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #FF1493;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.category-card h3 {
    font-size: 1.4rem;
    color: #FF1493;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* KATEGORİLER */
.categories-section {
    padding: 60px 20px;
    background-color: white;
}

.categories-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-btn {
    display: block;
    width: 90%;
    margin: 15px auto;
    padding: 10px;
    background-color: #1a73e8;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.category-btn:hover {
    background-color: #155ab8;
}

/* ÜRÜN BÖLÜMÜ */
.products-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.products-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* FİLTRELER */
.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: bold;
    color: #333;
}

.filter-group input[type="range"] {
    width: 150px;
}

.filter-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

/* ÜRÜN GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wishlist-icon:hover {
    background-color: #fff5f5;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.product-category {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
}

.review-count {
    color: #999;
    font-size: 0.85rem;
}

.price-section {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a73e8;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.feature {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #666;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.quantity {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.add-to-cart-btn {
    flex: 1;
    background-color: #1a73e8;
    color: white;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #155ab8;
}

.quick-view-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

/* KARUESELİ BÖLÜMÜ */
.recommended-section {
    padding: 60px 20px;
    background-color: white;
}

.recommended-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-btn {
    background-color: #1a73e8;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: #155ab8;
}

.carousel-items {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-card .rating {
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    gap: 12px;
    align-items: center;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer h4 {
    margin: 0;
    font-size: 1rem;
}

.reviewer span {
    display: block;
    color: #999;
    font-size: 0.85rem;
}

/* HAKKIMIZDA */
.about-section {
    padding: 60px 20px;
    background-color: white;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a73e8;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
}

.about-text ul li {
    padding: 8px 0;
    color: #666;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* İLETİŞİM */
.contact-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a73e8;
}

.info-item p {
    color: #666;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
}

.submit-btn {
    width: 100%;
    background-color: #1a73e8;
    color: white;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #155ab8;
}

/* NEWSLETTER */
.newsletter-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.newsletter-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: #ff6b6b;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #ff5252;
}

/* FOOTER */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1a73e8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #1a73e8;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    gap: 20px;
    color: #bbb;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

.modal-body {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.modal-image {
    flex: 1;
}

.modal-image img {
    width: 100%;
    border-radius: 8px;
}

.modal-details {
    flex: 1;
}

.modal-details h2 {
    margin-bottom: 15px;
    color: #333;
}

.modal-price {
    font-size: 1.5rem;
    color: #1a73e8;
    font-weight: bold;
    margin-bottom: 15px;
}

.modal-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-features {
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-actions input {
    width: 70px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal-actions button {
    flex: 1;
    padding: 12px;
    background-color: #1a73e8;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.modal-actions button:hover {
    background-color: #155ab8;
}

/* SHOPPING CART SIDEBAR */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.close-cart {
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-message {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.cart-summary {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.cart-actions {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.continue-shopping {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    background-color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

.checkout-btn {
    flex: 1;
    padding: 12px;
    background-color: #1a73e8;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #155ab8;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        flex-direction: column;
        padding: 40px 20px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .filters {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
    }

    .modal-body {
        flex-direction: column;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-bar {
        display: none;
    }

    .nav-icons {
        flex-direction: column;
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* YENİ ÇIZIM ARAÇLARI */
.shape-btn {
    background: linear-gradient(135deg, #FFD4E5, #FFE5CC);
    border: 3px solid #FF69B4;
    border-radius: 15px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.shape-btn:hover {
    background: linear-gradient(135deg, #FFB6C1, #FFD4E5);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.shape-btn:active {
    transform: scale(0.95);
}

#coloringPage {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.coloring-area {
    cursor: pointer;
    transition: fill 0.2s ease;
}

.coloring-area:hover {
    opacity: 0.8;
}

/* RESPONSIVE ÇIZIM */
@media (max-width: 768px) {
    canvas#drawingCanvas {
        width: 100% !important;
        height: auto !important;
    }
    
    #coloringPage {
        max-width: 100% !important;
    }
}

/* BELLEK OYUNU STİLLERİ */
.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 15px;
    justify-content: center;
    margin: 20px auto;
}

.memory-card {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 3px solid #fff;
}

.memory-card:hover:not(.matched) {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.memory-card.flipped {
    background: linear-gradient(135deg, #FFE5CC 0%, #FFD4E5 100%);
    border-color: #FF1493;
}

.memory-card.matched {
    background: linear-gradient(135deg, #95E1D3 0%, #A8E6CF 100%);
    border-color: #4ECDC4;
    cursor: default;
    animation: matchPulse 0.5s ease;
}

.card-back, .card-front {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

@keyframes matchPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* PUZZLE OYUNU STİLLERİ */
.puzzle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.puzzle-board {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    grid-template-rows: repeat(2, 120px);
    gap: 5px;
    background: #FFD700;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.puzzle-slot {
    width: 120px;
    height: 120px;
    background: white;
    border: 3px dashed #CCC;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.puzzle-slot:hover {
    background: #FFE5CC;
    border-color: #FF1493;
}

.puzzle-pieces {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    grid-template-rows: repeat(2, 120px);
    gap: 15px;
}

.puzzle-piece {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FFE5CC, #FFD4E5);
    border: 3px solid #FF1493;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    cursor: grab;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.puzzle-piece:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.puzzle-piece:active {
    cursor: grabbing;
}

/* OYUN RESTART BUTONU */
.game-restart-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    margin-top: 15px;
}

.game-restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.5);
}

.game-restart-btn:active {
    transform: translateY(0);
}

.game-score {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FF1493;
    margin: 15px 0;
}

/* RESPONSIVE OYUNLAR */
@media (max-width: 768px) {
    .memory-grid {
        grid-template-columns: repeat(3, 80px);
        grid-template-rows: repeat(4, 80px);
        gap: 10px;
    }
    
    .memory-card {
        width: 80px;
        height: 80px;
    }
    
    .card-back, .card-front {
        font-size: 2.5rem;
    }
    
    .puzzle-board {
        grid-template-columns: repeat(2, 100px);
        grid-template-rows: repeat(2, 100px);
    }
    
    .puzzle-slot, .puzzle-piece {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .puzzle-pieces {
        grid-template-columns: repeat(2, 100px);
        grid-template-rows: repeat(2, 100px);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .memory-grid {
        grid-template-columns: repeat(2, 70px);
        grid-template-rows: repeat(6, 70px);
        gap: 8px;
    }
    
    .memory-card {
        width: 70px;
        height: 70px;
    }
    
    .card-back, .card-front {
        font-size: 2rem;
    }
}
