:root {
    --primary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --gray-color: #95a5a6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-left: 10px;
}

.logo img.logo-icon {
    width: 50px; /* Настройте под размер вашего логотипа */
    height: 50px; /* Настройте под размер вашего логотипа */
    object-fit: contain;
    margin-right: 10px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1200x600/2c3e50/ecf0f1?text=Фотоцентр+Ласточка') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: #c0392b;
}

/* Page Title */
.page-title {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--light-color);
}

.page-title h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

/* Services section */
.services {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price {
    font-weight: bold;
    color: var(--accent-color);
    margin: 1rem 0;
    font-size: 1.2rem;
}

/* Testimonials section */
.testimonials {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: var(--gray-color);
}

/* About preview section */
.about-preview {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content.reverse {
    direction: rtl;
}

.about-content.reverse > * {
    direction: ltr;
}

.about-img {
    height: 400px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
}

/* Price table */
.price-table {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover {
    background-color: #f9f9f9;
}

/* Gallery filters */
.gallery-filters {
    padding: 2rem 0;
    background-color: white;
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-color);
    color: white;
}

/* Gallery section */
.gallery {
    padding: 2rem 0 5rem;
    background-color: #f2f2f2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    height: 100%;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
}

/* Team section */
.team {
    padding: 5rem 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Equipment section */
.equipment {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.equipment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.equipment-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Certificates section */
.certificates {
    padding: 5rem 0;
    background-color: white;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate {
    text-align: center;
}

.certificate-img {
    height: 400px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.certificate h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact section */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-color);
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.socials {
    margin-top: 3rem;
}

.socials h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: white;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Map section */
.map-section {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ section */
.faq {
    padding: 5rem 0;
    background-color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question h3 {
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
}

.faq-answer {
    padding-bottom: 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA section */
.cta {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: #ccc;
    margin-bottom: 0.5rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.text-center {
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) 
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        height: 300px;
        order: -1;
    }
    
    .services-grid,
    .testimonials-grid,
    .team-grid,
    .equipment-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        margin-bottom: 0.5rem;
    }
/* Адаптивность для логотипа */
@media (max-width: 768px) {
    .logo img.logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}