/* Base Styles */
:root {
    --dark-blue: #12151E;
    --amber: #F59E0B;
    --teal: #10B981;
    --white: #FFFFFF;
    --light-gray: #D1D5DB;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--amber), var(--teal));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--amber);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--teal);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, var(--amber), var(--teal));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background-color: var(--dark-blue);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: lowercase;
    background: linear-gradient(to right, var(--amber), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    color: var(--light-gray);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.menu a:hover, .menu a.active {
    color: var(--white);
}

.menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--amber), var(--teal));
    transition: width var(--transition-speed) ease;
}

.menu a:hover:after, .menu a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* Hamburger Menu */
.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    background-image: url('./img/GkpPw.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 21, 30, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: var(--amber);
    margin-bottom: 15px;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-card {
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform var(--transition-speed) ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 15px;
    display: block;
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin: 20px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--teal);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    position: relative;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--transition-speed) ease;
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.faq-toggle {
    display: none;
}

.faq-toggle:checked + .faq-question:after {
    content: '-';
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, var(--amber) 0%, var(--teal) 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: var(--dark-blue);
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2312151E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11l-6-6h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
    cursor: pointer;
}

/* Стилизация выпадающего списка */
select.form-control option {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 15px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: background-color var(--transition-speed) ease;
}

.checkbox-group:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.checkbox-group label a {
    color: var(--dark-blue);
    font-weight: 700;
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: var(--white);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--dark-blue);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Стилизация ошибок формы */
.form-errors {
    background-color: rgba(220, 53, 69, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

.form-errors ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.form-errors li {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 5px;
}

.form-errors li:last-child {
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.contact-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform var(--transition-speed) ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--amber);
    margin-bottom: 15px;
    display: block;
}

/* Footer Styles */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    color: var(--light-gray);
}

.footer-nav ul, .footer-legal ul, .footer-contact ul {
    list-style: none;
}

.footer-nav ul li, .footer-legal ul li, .footer-contact ul li {
    margin-bottom: 10px;
}

.footer-nav a, .footer-legal a {
    color: var(--light-gray);
    transition: color var(--transition-speed) ease;
}

.footer-nav a:hover, .footer-legal a:hover {
    color: var(--amber);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    color: var(--light-gray);
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--amber);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1001;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookie-content h4 {
    margin-bottom: 10px;
    color: var(--amber);
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-buttons button {
    background: linear-gradient(to right, var(--amber), var(--teal));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: transform var(--transition-speed) ease;
}

.cookie-buttons button:hover {
    transform: translateY(-2px);
}

.cookie-buttons a {
    color: var(--amber);
    text-decoration: underline;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 40px auto;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    color: var(--amber);
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    color: var(--teal);
    margin-top: 30px;
}

.policy-container p, .policy-container ul, .policy-container ol {
    margin-bottom: 20px;
    color: var(--light-gray);
}

.policy-container ul, .policy-container ol {
    margin-left: 20px;
}

.policy-container ul li, .policy-container ol li {
    margin-bottom: 10px;
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Icon Fonts */
.icon-location:before {
    content: '📍';
}

.icon-phone:before {
    content: '📞';
}

.icon-email:before {
    content: '📧';
}

/* Form animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.form-control:focus {
    animation: pulse 1.5s infinite ease-in-out;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--dark-blue);
        flex-direction: column;
        padding: 80px 0 30px;
        transition: right var(--transition-speed) ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .menu li {
        margin: 0;
        width: 100%;
    }
    
    .menu a {
        display: block;
        padding: 15px 30px;
        width: 100%;
    }
    
    .menu-icon {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .menu-toggle:checked ~ .menu {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }

    .checkbox-group {
        padding: 12px;
    }

    .form-control {
        padding: 12px 15px;
    }
} 