/* Варіант 2: style.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --primary-color: #16A085;
  --secondary-color: #F1C40F;
  --accent-color: #2C3D4F;
  --light-color: #FFFFFF;
  --dark-color: #2C3E50;
  --background-color: #EAE4D5;
  --text-color: #444444;
  --border-color: rgba(22, 160, 133, 0.2);
  --divider-color: rgba(44, 61, 79, 0.1);
  --shadow-color: rgba(200, 194, 181, 0.9);
  --highlight-color: #D35400;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.feature-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px #ffffff !important;
}

.btn:hover {
    background-color: var(--highlight-color) !important;
    color: var(--light-color) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--highlight-color) !important;
    color: var(--light-color) !important;
}

details > summary::-webkit-details-marker {
    display: none;
}
details > summary {
    list-style: none;
    position: relative;
    padding-right: 30px;
}
details > summary::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
details[open] > summary::after {
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 768px) {
    .navigation {
        display: none;
        width: 100%;
        position: absolute;
        top: 85px;
        left: 0;
        background-color: var(--dark-color);
        text-align: center;
        padding: 30px 0;
        border-top: 2px solid var(--primary-color);
    }
    .navigation ul {
        flex-direction: column;
        gap: 20px !important;
    }
    #nav-toggle:checked ~ .navigation {
        display: block;
    }
    .hamburger {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
}