/* ===========================
   БАЗОВІ СТИЛІ - general.css
   =========================== */

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

:root {
    --primary-color: #91d072;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --text-light: #919191;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success: #28a745;
    --error: #dc3545;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Nunito', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===========================
   ТИПОГРАФІКА
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.125rem;
}

/* ===========================
   КНОПКИ
   =========================== */

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(145, 208, 114, 0.3);
}

.btn-primary:hover {
    background-color: #7bc05a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 208, 114, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

.section-button {
    text-align: center;
    margin-top: 50px;
}

/* ===========================
   ЗАГАЛЬНІ КЛАСИ
   =========================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.divider-line {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, transparent, #91d072, transparent);
}

.section-badge {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* ===========================
   BREADCRUMBS (Хлібні крошки)
   =========================== */

.breadcrumbs {
    background-color: var(--light-gray);
    padding: 15px 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav .separator {
    color: var(--text-light);
}

.breadcrumb-nav .current {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===========================
   АДАПТИВНІСТЬ
   =========================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 42px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-badge {
        font-size: 0.9rem;
    }
}

/* ===========================
   ДОДАТКОВІ УТИЛІТИ
   =========================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block;
    }
}