/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #000;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('grd.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #000;
    color: #fff;
}

/* Sections */
.section {
    padding: 100px 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03);
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
}

.portfolio-item img {
    width: 110%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Contact */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    margin: 15px 0;
    font-size: 18px;
}

/* Help Panel */
.help-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #000;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    z-index: 100;
    transition: all 0.3s ease;
}

.help-btn:hover {
    background-color: #333;
}

.help-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.4s ease-out;
}

.help-panel.active {
    right: 0;
}

.help-content {
    padding: 40px;
    position: relative;
}

.help-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 30px 0;
}

.email-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.email {
    font-size: 16px;
    color: #0066cc;
    margin: 20px 0;
}

.note {
    font-size: 14px;
    color: #666;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .nav-links li {
        margin: 0 15px;
    }
    
    .image-grid,
     .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card {
        padding: 20px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .help-panel {
        width: 100%;
        right: -100%;
    }
    
}
/* Who's Us Section */
.who-us-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
}

.who-us-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.who-us-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.who-us-content {
    margin-bottom: 40px;
}

.who-us-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.who-us-contact {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.contact-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-label {
    font-weight: bold;
    min-width: 200px;
    text-align: right;
    padding-right: 20px;
    color: #333;
}

.contact-value {
    color: #555;
}

.portfolio-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.portfolio-btn:hover {
    background-color: #333;
}

/* Footer */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Gallery Styles */
.gallery-container {
    margin: 30px auto;
    max-width: 600px;
}

.main-image {
    margin-bottom: 15px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #000;
}
.service-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card i {
    font-size: 40px;
    color: #000000; /* Зелёный цвет иконок */
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}
/* Who's Us Section - New Layout */
.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 30px 0;
}

.gallery-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin: 0;
}

.contact-info-container {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-row {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.contact-label {
    font-weight: bold;
    min-width: 180px;
    color: #333;
}

.contact-value {
    color: #555;
}

@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .gallery-container,
    .contact-info-container {
        max-width: 100%;
    }
}
.who-us-content p {
    font-size: 24px;  /* Увеличиваем размер шрифта */
    font-weight: bold; /* Делаем текст жирным */
    color: #333;      /* Можно изменить цвет для лучшей читаемости */
    margin-bottom: 40px; /* Увеличиваем отступ снизу */
    line-height: 1.4;  /* Улучшаем межстрочный интервал */
    text-align: center; /* Центрируем текст */
}