* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
:root {
    --primary-dark: #1b5e20;
    --primary-medium: #2e7d32;
    --primary-light: #81c784;
    --primary-extra-light: #e8f5e9;
    --secondary-dark: #5d4037;
    --secondary-light: #d7ccc8;
    --text-dark: #263238;
    --text-light: #ffffff;
    --accent-gold: #ffd54f;
    --white: #fff;
}

body {
    font-family: 'Georgia', serif;
    color: var(--text-dark);
    background-color: #f9f9f7;
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 90px;
}

.nav-color {
    padding: 10px 15px;
    width: 100%;
    height: 60px;
    background-color: var(--primary-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
}

.brand-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}


.brand-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.burger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 9999;
}

.burger-line {
    z-index: 9999;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s;
    border-radius: 3px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-dark);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 100;
    padding: 70px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-link {
    padding: 12px 15px;
    font-size: 1rem;
    border-left: 3px solid var(--accent-gold);
    border-radius: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-group {
    margin-bottom: 20px; /* 1.5rem */
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
    background-color: var(--text-light);
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-dark));
    color: var(--text-light);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;   
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

footer {
    color: var(--text-light);
    position: relative;
}

.footer-color {
    margin-top: 30px;
    background-color: var(--primary-dark);
    padding: 40px 15px 20px;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,0V26c60,20,120,35,180,31s120-29,180-33c60-4,120,15,180,30s120,20,180,10,120-40,180-50,120,0,180,20,120,50,120,50V0Z' opacity='.25' fill='%231b5e20'></path><path d='M0,0V10c30,30,60,55,120,70s120,10,180-10,120-60,180-60,120,30,180,60,120,30,180,10,120-60,180-70,120,10,180,30,120,20,120,20V0Z' opacity='.5' fill='%231b5e20'></path><path d='M0,0V5c150,50,300,60,450,30s300-70,450-10,300,60,450,20V0Z' fill='%231b5e20'></path></svg>") no-repeat center center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 3;
    transform: rotate(180deg);
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    text-decoration: none;
}

.social-div {
    color: var(--text-light);
    font-size: 1.4rem;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-div:hover {
    color: var(--accent-gold);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.footer-text {
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.copyright {
    opacity: 0.7;
    font-size: 0.85rem;
}

.fab {
    margin: 5px 15px 0px 0px;
}

@media (min-width: 992px) {
    .nav-link {
        padding: 10px 20px;
        font-size: 1rem;
    }
}