@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Палітра 1: #2C3E50, #E74C3C, #ECF0F1, #34495E */
  --primary-color: #2C3E50;
  --secondary-color: #34495E;
  --accent-color: #E74C3C;
  --light-color: #ECF0F1;
  --dark-color: #1A252F; /* Darker variant */
  --gradient-primary: linear-gradient(135deg, #34495E 0%, #2C3E50 100%);
  --hover-color: #C0392B; /* Darker accent */
  --background-color: #FFFFFF;
  --text-color: #333333;
  --border-color: rgba(44, 62, 80, 0.2);
  --divider-color: rgba(231, 76, 60, 0.1);
  --shadow-color: rgba(44, 62, 80, 0.1);
  --highlight-color: #F1C40F; /* Компліментарний */
  --main-font: 'Roboto Condensed', sans-serif;
  --alt-font: 'Open Sans', serif;
}

body {
    font-family: var(--alt-font);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
}

section:not(.hero-section):not(.cta-section) {
    padding-top: 10dvh;
    padding-bottom: 10dvh;
}

/* Neuromorphism light shadows */
.shadow-md {
    box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.5);
}

/* Hero & CTA Backgrounds */
.hero-section {
    min-height: 70vh;
    background: linear-gradient(rgba(26, 37, 47, 0.7), rgba(26, 37, 47, 0.7)), url('./img/bg.jpg') no-repeat center center/cover;
}

.cta-bg {
    background: linear-gradient(rgba(26, 37, 47, 0.8), rgba(26, 37, 47, 0.8)), url('./img/bg.jpg') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
}

/* Utils */
.custom-img-height {
    height: 350px;
}

.hover-underline:hover {
    text-decoration: underline;
    color: var(--highlight-color);
}

.hover-scale:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

/* Mobile menu without JS */
#mobile-menu:checked ~ .navigation {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 20px;
    z-index: 50;
}

#mobile-menu:not(:checked) ~ .navigation {
    display: none;
}

@media (min-width: 1024px) {
    #mobile-menu:not(:checked) ~ .navigation {
        display: block;
        position: static;
        width: auto;
        padding: 0;
        background: transparent;
    }
}

/* FAQ Accordion without JS */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.faq-toggle:checked ~ .faq-content {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    opacity: 1;
}

.faq-toggle:checked ~ .faq-label i {
    transform: rotate(180deg);
}

.faq-label i {
    transition: transform 0.3s ease;
}

.faq-label:hover {
    background-color: rgba(0,0,0,0.02);
}