/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background: #f8f6f4;
    color: #1a1a1a;
}

/* ===== ШАПКА ===== */
.header {
    background: #1a1a1a;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    width: 100%;
}
.header .left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px 40px;
    width: 100%;
    padding: 0 20px;
}
.header .left .logo img {
    max-height: 60px;
    width: auto;
}
.header .left .logo .logo-text {
    font-weight: 600;
    font-size: 1.3em;
    color: #fff;
    letter-spacing: 0.5px;
}
.header .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 30px;
}
.header .menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 1.05em;
    letter-spacing: 0.3px;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}
.header .menu a:hover {
    border-bottom-color: #c9a87c;
    color: #ffffff;
}
.header .left .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-left: auto;
}
.header .left .contact-info .phone {
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
.header .left .contact-info .phone:hover {
    color: #c9a87c;
}
.header .left .contact-info .address-header {
    font-size: 0.8em;
    color: #aaa;
}

/* ===== КОНТЕНТ (ГЛАВНАЯ — НА ВСЮ ШИРИНУ) ===== */
.content {
    width: 100%;
    padding: 0;
    flex: 1;
}

/* ===== КОНТЕНТ ДЛЯ ОСТАЛЬНЫХ СТРАНИЦ (С ОТСТУПАМИ) ===== */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    width: 100%;
    flex: 1;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: #1a1a1a;
    border-top: 1px solid #333;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    color: #aaa;
    width: 100%;
}
.footer .footer-content {
    padding: 0 20px;
}

/* ===== ГЛАВНАЯ ===== */
.hero {
    text-align: center;
    padding: 60px 20px 50px;
    background: #ffffff;
    margin-bottom: 0;
    width: 100%;
}
.hero h1 {
    font-size: 2.8em;
    font-weight: 400;
    letter-spacing: 1px;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: #c9a87c;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.3s;
}
.btn-primary:hover {
    background: #b8966a;
    transform: scale(1.02);
}

/* ===== КАРУСЕЛЬ ===== */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    position: relative;
}
.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.carousel-slide .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 80%);
    color: white;
    padding: 20px 30px;
    text-align: center;
}
.carousel-slide .overlay h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 400;
}
.carousel-slide .overlay .old-price {
    color: #ff6b6b;
    text-decoration: line-through;
    margin-right: 10px;
}
.carousel-slide .overlay .new-price {
    color: #c9a87c;
    font-weight: bold;
    font-size: 1.2em;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5em;
    z-index: 10;
    transition: 0.2s;
}
.carousel-btn:hover {
    background: rgba(255,255,255,0.4);
}
.carousel-btn.prev {
    left: 10px;
}
.carousel-btn.next {
    right: 10px;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages-grid {
    background: #ffffff;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 0;
    width: 100%;
}
.advantage-item {
    text-align: center;
    padding: 10px;
}
.advantage-item .icon {
    font-size: 2.5em;
    line-height: 1.2;
}
.advantage-item h3 {
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 8px;
    font-size: 1em;
}
.advantage-item p {
    color: #555;
    font-size: 0.9em;
    margin: 5px 0 0;
}

/* ===== УСЛУГИ ===== */
.services-section {
    padding: 40px 20px;
    background: #f8f6f4;
    width: 100%;
}
.services-section h2 {
    text-align: center;
    font-size: 2em;
    font-weight: 400;
    margin-bottom: 25px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 0 auto;
}
.service-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.25s ease;
    border: none;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}
.service-card h3 {
    margin-top: 15px;
    font-size: 1.2em;
    font-weight: 500;
}
.service-card .category {
    color: #888;
    font-size: 0.85em;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.service-card .price {
    color: #c9a87c;
    font-size: 1.3em;
    font-weight: 500;
    margin-top: 8px;
}
.services-section .link-all {
    text-align: center;
    margin-top: 25px;
}
.services-section .link-all a {
    color: #c9a87c;
    text-decoration: none;
    font-weight: 500;
}

/* ===== ПОРТФОЛИО ===== */
.portfolio-item {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.25s;
}
.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}
.doposle img {
    border-radius: 8px;
}

/* ===== ФИЛЬТРЫ ===== */
.filter a {
    padding: 8px 22px;
    background: #f0edea;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: 0.2s;
}
.filter a.active {
    background: #1a1a1a;
    color: #fff;
}
.filter a:hover:not(.active) {
    background: #ddd;
}

/* ===== АКЦИИ ===== */
.promo-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.promo-card .old-price {
    color: #c0392b;
    text-decoration: line-through;
    font-size: 1.1em;
}
.promo-card .new-price {
    color: #c9a87c;
    font-size: 1.5em;
    font-weight: 500;
}

/* ===== КОНТАКТЫ ===== */
.contact-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: none;
}
.contact-phone {
    font-size: 1.6em;
    color: #1a1a1a;
}
.contact-address {
    color: #555;
    font-size: 1.1em;
}

/* ===== QR-КОДЫ ===== */
.qr-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0edea;
    padding: 20px;
    transition: 0.2s;
}
.qr-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* ===== ЛАЙТБОКС ===== */
.lightbox-overlay {
    background: rgba(10,10,10,0.95);
}
