:root {
    --primary: #8d6e63;
    --secondary: #5d4037;
    --accent: #d7ccc8;
    --light: #efebe9;
    --dark: #3e2723;
    --transition: all 0.4s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fafafa;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}
.section-padding {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}
.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* Header */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}
.navbar-brand img {
    height: 84px !important;
    width: auto !important;
    display: block;
}
.nav-link {
    font-weight: 500;
    margin: 0 15px;
    color: var(--dark) !important;
    position: relative;
    transition: var(--transition);
}
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}
.nav-link:hover:after {
    width: 100%;
}
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}
.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.hero-slide-1 {
    background-image: url('../../assets/images/slider/slide 1.jpg');
}
.hero-slide-2 {
    background-image: url('../../assets/images/slider/slide 2.jpg');
}
.hero-slide-3 {
    background-image: url('../../assets/images/slider/slide 3.jpg');
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Темный оверлей */
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    width: 50px;
    height: 50px;
    background: rgba(141, 110, 99, 0.5);
    border-radius: 50%;
    transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
}
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: white;
}
/* About Section */
.about {
    background: white;
}
.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.about-img img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}
.about-img:hover img {
    transform: scale(1.05);
}
.about-content h2 {
    margin-bottom: 25px;
    color: var(--secondary);
}
.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}
/* Services Section */
.services {
    background: var(--light);
}
.services .row {
    --bs-gutter-y: 2.5rem;
}
.service-card {
    background: white;
    border-radius: 10px;
    padding: 36px 32px;
    text-align: center;
    margin-bottom: 0;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}
.service-card h3 {
    margin-bottom: 18px;
    line-height: 1.35;
}
.service-card p {
    margin-bottom: 0;
    line-height: 1.75;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 2rem;
}
.service-card h3 {
    margin-bottom: 18px;
    color: var(--secondary);
}
.services-note {
    max-width: 980px;
    margin: 16px auto 0;
    text-align: center;
}
.services-note p {
    margin-bottom: 0;
    line-height: 1.8;
    color: #555;
}
/* Portfolio Section */
.portfolio-filter {
    text-align: center;
    margin-bottom: 40px;
}
.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 500;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
}
.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.portfolio-img {
    display: block;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(141, 110, 99, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
    color: white;
    pointer-events: none;
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}
/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(141, 110, 99, 0.9), rgba(141, 110, 99, 0.9));
    color: white;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid white;
}
/* Pricing */
.pricing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    margin-bottom: 30px;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.pricing-header {
    background: var(--primary);
    color: white;
    padding: 30px 20px;
    text-align: center;
}
.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}
.pricing-body {
    padding: 30px;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    list-style: none;
}
.pricing-features li:last-child {
    border-bottom: none;
}
/* Contact */
.contact-info {
    background: var(--light);
    border-radius: 10px;
    padding: 40px;
    height: 100%;
}
.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}
.contact-form .form-control {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(141, 110, 99, 0.25);
}
/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}
.footer-logo {
    max-width: 320px;
    margin-bottom: 20px;
}
.footer .row > .col-md-4.text-center.text-md-end {
    display: none;
}
.social-links {
    margin: 30px 0;
}
.social-links a,
.social-links .social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}
.social-links .social-link.is-disabled {
    cursor: default;
}
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
/* Responsive */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 68px !important;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix: allow image click through overlay */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}
