/* ====================================
   Академия ЕдюПро - Основни стилове
   ==================================== */

/* Импорт на шрифт Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Глобални променливи */
:root {
    --color-primary: #10b981; /* Зелен */
    --color-primary-dark: #059669; /* Тъмно зелен */
    --color-secondary: #1f2937; /* Тъмносиво */
    --color-light: #ffffff; /* Бяло */
    --color-gray: #f3f4f6; /* Светло сиво */
    --color-text: #374151; /* Тъмносиво за текст */
    --color-text-light: #6b7280; /* Светло сиво за текст */
    
    --font-body: 300;
    --font-text: 400;
    --font-heading: 600;
    --font-bold: 700;
    
    --max-width: 1200px;
    --line-height: 1.6;
}

/* Глобални стилове */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: var(--font-text);
    color: var(--color-text);
    line-height: var(--line-height);
    background-color: var(--color-light);
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Контейнери */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Навигация */
.navbar {
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo h1 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.navbar-logo span {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: var(--font-body);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    color: var(--color-text);
    font-weight: var(--font-text);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-secondary);
}

/* Бутони */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-weight: var(--font-text);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero секция */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(5, 150, 105, 0.9));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    color: var(--color-light);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: var(--font-body);
}

/* Секции */
.section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

/* Карти */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.card-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* Статистика */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* CTA секция */
.cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-light);
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 12px;
    margin: 3rem auto;
}

.cta h2 {
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Футър */
.footer {
    background-color: var(--color-secondary);
    color: var(--color-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
    margin-bottom: 0.75rem;
    display: block;
}

.footer-section a:hover {
    color: var(--color-primary);
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* Cookie банер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    color: var(--color-light);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--color-primary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Дисклеймър */
.disclaimer {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.disclaimer p {
    color: #78350f;
    margin: 0;
    font-size: 0.95rem;
}

.disclaimer strong {
    color: #92400e;
}

/* Форми */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-text);
    color: var(--color-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Адаптивен дизайн */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-light);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility класове */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
