/* Варіант 4: style.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #C0392B;
  --secondary-color: #E67E22;
  --accent-color: #F39C12;
  --light-color: #FDFEFE;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #C0392B 0%, #E67E22 100%);
  --hover-color: #A93226;
  --background-color: #FFFFFF;
  --text-color: #34495E;
  --border-color: rgba(192, 57, 43, 0.2);
  --divider-color: rgba(44, 62, 80, 0.1);
  --shadow-color: rgba(44, 62, 80, 0.15);
  --highlight-color: #F1C40F;
  --main-font: 'Raleway', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--alt-font);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
}

section {
    padding-top: 10dvh;
    padding-bottom: 10dvh;
    position: relative;
}

.hero-section {
    padding-top: 0;
    padding-bottom: 0;
}

.hover\:text-underline:hover {
    text-decoration: underline;
    color: var(--accent-color) !important;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--main-font);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        flex-direction: column;
        text-align: center;
        padding: 25px 0;
        box-shadow: 0 8px 16px var(--shadow-color);
        border-top: 3px solid var(--primary-color);
    }
    
    .nav-links li {
        margin-bottom: 18px;
    }
    
    #menu-toggle:checked ~ .navigation .nav-links {
        display: flex;
    }
    
    .content-flex {
        flex-direction: column !important;
    }
    
    .content-img, .content-text {
        width: 100% !important;
    }
    
    h1 {
        font-size: 2.6rem !important;
    }
    
    h2 {
        font-size: 2.1rem !important;
    }
}

.btn {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--main-font);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 10px var(--shadow-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 6px 6px 15px var(--shadow-color);
}

.neo-card {
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: 7px 7px 14px var(--shadow-color), -7px -7px 14px rgba(255,255,255,0.7);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neo-card:hover {
    transform: translateY(-6px);
    box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255,255,255,0.8);
}

.form-control {
    width: 100%;
    padding: 15px;
    margin-bottom: 22px;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background: var(--light-color);
    font-family: var(--alt-font);
    font-size: 1.05rem;
    color: var(--text-color);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-bottom: 2px solid var(--primary-color);
    background-color: var(--background-color);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 45px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--accent-color);
    border: 4px solid var(--primary-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -12px;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 75px;
        padding-right: 20px;
    }
    
    .timeline-item::after {
        left: 19px;
    }
    
    .right {
        left: 0;
    }
}

.rounded-shadow {
    border-radius: 8px;
    box-shadow: 6px 6px 20px var(--shadow-color);
    width: 100%;
    object-fit: cover;
    display: block;
}