/*
 Theme Name:   Sadochok Child
 Theme URI:    https://example.com/sadochok-child
 Description:  Child theme for the kindergarten website
 Author:       Your Name
 Author URI:   https://example.com
 Template:     twentytwentyfour
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Tags:         custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 Text Domain:  sadochok-child
*/

/* Custom styles for the kindergarten website */

/* Color palette */
:root {
    --primary-color: #4a90e2; /* Soft blue */
    --secondary-color: #f5a623; /* Warm yellow */
    --accent-color: #7ed321; /* Pastel green */
    --light-bg: #f8f9fa; /* Very light gray */
    --white: #ffffff;
    --dark-text: #333333;
    --gray-text: #666666;
}

/* Base typography */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Containers */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    background-color: var(--white);
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
}
.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}
.banner-slogan {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* About us */
.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.values-list {
    list-style: none;
    padding: 0;
}
.values-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}
.values-list li:before {
    content: "🌟";
    position: absolute;
    left: 0;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.advantage-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}
.advantage-item h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

/* Recommendations, Advice, Games sections */
.recommendation-content, .advice-content, .games-content {
    font-size: 1.05rem;
}
.recommendation-content ul, .advice-content ul, .games-content ul {
    margin-left: 2rem;
}
.recommendation-content li, .advice-content li, .games-content li {
    margin-bottom: 0.8rem;
}
.section-inner h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

/* Groups */
.group-item {
    background-color: var(--light-bg);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}
.group-item h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

/* Schedule table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.schedule-table th, .schedule-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.schedule-table th {
    background-color: var(--secondary-color);
    color: var(--white);
}
.schedule-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Contact section */
.contact-info, .contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}
.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.map-placeholder {
    background-color: #e0e0e0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    margin-top: 1rem;
    border-radius: 4px;
}

/* Buttons (if any) */
.button, input[type="submit"], button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}
.button:hover, input[type="submit"]:hover, button:hover {
    background-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2rem;
    }
    .banner-slogan {
        font-size: 1.2rem;
    }
    .section-inner {
        padding: 1rem;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}