/*
Theme Name: Delijewska
Theme URI: https://delijewska.pl
Author: Delijewska Team
Author URI: https://delijewska.pl
Description: Custom theme for Delijewska Academy
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delijewska
*/

/* Global Variables */
:root {
    --primary-color: #033953;
    --accent-color: #89c545;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition-speed: 0.3s;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* About Us Page Styles */
.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.company-history {
    margin: 3rem 0;
}

.company-history h2,
.core-values h2,
.team h2 {
    font-size: 2rem;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: center;
}

.history-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.values-list li {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.values-list li:hover {
    transform: translateY(-5px);
}

.values-list h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-member {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.team-member .position {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: #666;
    line-height: 1.6;
}

/* --- New Services Grid Styles --- */
.services-section {
    padding: 4rem 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.service-card.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    margin: 0;
    color: inherit;
}

.service-card.active h3 {
    color: white;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active-tab {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .values-list,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .company-history h2,
    .core-values h2,
    .team h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        /* 2x2 on tablet */
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

/* SEO Optimization */
.company-history,
.core-values,
.team {
    margin-bottom: 4rem;
}