/* Variables */
:root {
    --color-primary: #FF6F3C; /* Neon orange */
    --color-accent: #DAD2CD;  /* Lavender grey */
    --color-background: #1B2A41; /* Dark blue */
    --color-text: #F5F5F5; /* White smoke */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: #ff8f66;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    margin: 20px auto 0;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.cta-button, .submit-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-text);
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-align: center;
}

.cta-button:hover, .submit-button:hover {
    background-color: #ff8f66;
    transform: translateY(-2px);
    color: var(--color-text);
}

/* Header */
.site-header {
    background-color: var(--color-background);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 220px;
    position: relative;
    z-index: 1001; /* Выше чем z-index шапки */
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-svg {
    overflow: visible; /* Позволяет тексту выходить за пределы SVG */
}

.logo-text, .logo-text-alt {
    transition: font-size 0.3s ease;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--color-text);
    font-weight: 600;
}

.main-nav ul li a:hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-background);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.mobile-menu ul li {
    margin: 15px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(27, 42, 65, 0.9), rgba(27, 42, 65, 0.7)), url('../img/dI0m8Z.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 70px; /* Account for fixed header */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero .cta-button {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    background-color: rgba(218, 210, 205, 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-2xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid rgba(255, 111, 60, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.service-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.service-card ul li {
    list-style-type: disc;
    margin-bottom: 8px;
    list-style-position: inside;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
    transition: transform var(--transition-speed) ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

/* Gallery Section */
.gallery {
    background-color: rgba(218, 210, 205, 0.05);
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex: 0 0 calc(25% - 20px);
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background-color: rgba(255, 111, 60, 0.1);
    padding: 30px;
    border-radius: var(--border-radius-lg);
}

.contact-info address {
    font-style: normal;
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Добавляем стили для option в select */
.form-group select option {
    background-color: var(--color-background);
    color: var(--color-text);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-submit {
    margin-top: 10px;
}

.form-errors {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff0000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-md);
}

.form-errors ul {
    padding-left: 20px;
}

.form-errors ul li {
    list-style-type: disc;
    color: #ff6b6b;
}

/* Footer */
.site-footer {
    background-color: rgba(27, 42, 65, 0.9);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul,
.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-nav a {
    color: var(--color-text);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.footer-links a:hover,
.footer-nav a:hover {
    color: var(--color-primary);
    opacity: 1;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(27, 42, 65, 0.95);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.cookie-button {
    padding: 8px 20px;
    background-color: var(--color-primary);
    color: var(--color-text);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color var(--transition-speed) ease;
}

.cookie-button:hover {
    background-color: #ff8f66;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column-reverse;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .gallery-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    /* Исправляем логотип для мобильной версии */
    .logo-svg {
        width: 180px;
        height: 40px;
    }
    
    /* Уменьшаем размер текста в логотипе для мобильной версии */
    .logo-svg text {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        flex: 0 0 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Дополнительно уменьшаем логотип для самых маленьких экранов */
    .logo-svg {
        width: 160px;
        height: 35px;
    }
} 