
/* 1. Color Palette */
:root {
    --primary-color: #000000; /* Персиковый */
    --secondary-color: #ffffff; /* Светлый коралловый */
    --accent-color: #505050; /* Светло-оливковый */
    --text-color: #5D5C61; /* Темно-серый */
    --additional-color: #C9B7A1; /* Светло-коричневый */
    --background-color: var(--primary-color);
}

/* 2. Global Styles */
body {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 20px;
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: Calibri, sans-serif;
    font-size: 32px;
    color: var(--text-color);
}

h2.subheading, h3.subheading {
    font-family: Verdana, sans-serif;
    font-size: 26px;
    color: var(--accent-color);
}

p {
    font-family: Calibri, sans-serif;
    font-size: 16px;
    color: var(--text-color);
}

/* 4. Navigation Bar */
.navbar {
    background-color: var(--primary-color);
}

.navbar-brand {
    color: var(--text-color) !important;
    font-family: Calibri, sans-serif;
    font-size: 24px;
}

.nav-link {
    color: var(--text-color) !important;
    font-family: Consolas, monospace;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: bold;
}

/* 5. Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-color);
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 6. Buttons */
.btn-custom {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    transition: box-shadow 0.3s, background-color 0.3s;
}

.btn-custom:hover {
    background-color: darken(var(--accent-color), 10%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* 7. Cards */
.card {
    background-color: var(--secondary-color);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-family: Impact, sans-serif;
    font-size: 24px;
    color: var(--text-color);
}

.card-text {
    font-family: Consolas, monospace;
    font-size: 16px;
    color: var(--text-color);
}

/* 8. Section Styling */
.section {
    padding: 60px 15px;
}

.section-bg {
    background-color: var(--secondary-color);
}

/* 9. Blockquotes */
blockquote {
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    color: var(--text-color);
    font-family: Consolas, monospace;
    font-size: 16px;
    background-color: var(--secondary-color);
    transition: background-color 0.3s;
}

blockquote:hover {
    background-color: var(--additional-color);
}

/* 10. Forms */
form label {
    font-family: Consolas, monospace;
    color: var(--text-color);
}

form .form-control {
    border: 1px solid var(--accent-color);
    border-radius: 5px;
}

form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px var(--accent-color);
}

/* 11. Animations */
.btn-custom {
    transition: background-color 0.3s, box-shadow 0.3s;
}

.card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

/* 12. Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 20px;
    }

    h2.subheading, h3.subheading {
        font-size: 18px;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .btn-custom {
        padding: 10px 20px;
        font-size: 14px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-text {
        font-size: 14px;
    }
}

/* 13. Grid System */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col-md-6, .col-md-4, .col-md-3, .col-md-12 {
    padding-left: 15px;
    padding-right: 15px;
}

/* 14. Additional Elements */
.text-center {
    text-align: center;
}

.text-md-end {
    text-align: right;
}

.text-white {
    color: #ffffff !important;
}

.bg-dark {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.bg-dark a, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6, .bg-dark p {
    color: #ffffff !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}



.thank-you {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px;
}

.collapse:not(.show) {
    display: block;
}

button.navbar-toggler {
    display: none;
}