/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c1810;
}

.section__line {
    width: 60px;
    height: 3px;
    background: #c4a265;
    margin: 0 auto 20px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #2c1810;
    color: #fff;
    box-shadow: 0 4px 15px rgba(44, 24, 16, 0.2);
}

.btn-primary:hover {
    background: #c4a265;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 162, 101, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #2c1810;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid #f0f0f0;
    border-top-color: #c4a265;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #2c1810;
}

.logo span {
    font-family: 'Playfair Display', serif;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__list a:hover {
    color: #c4a265;
}

.header__phone a {
    text-decoration: none;
    color: #2c1810;
    font-weight: 600;
}

.header__phone i {
    margin-right: 8px;
    color: #c4a265;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #2c1810;
    margin: 3px 0;
    transition: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero__title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__title span {
    color: #c4a265;
}

.hero__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: 'Playfair Display', serif;
}

.stat__label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: #faf8f5;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about__text p {
    margin-bottom: 20px;
    color: #555;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature i {
    font-size: 1.5rem;
    color: #c4a265;
}

.about__image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    padding: 100px 0;
}

.projects__filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2c1810;
    color: #fff;
    border-color: #2c1810;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card__image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__btn {
    padding: 12px 24px;
    background: #c4a265;
    border: none;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.project-card__btn:hover {
    background: #a8884e;
}

.project-card__info {
    padding: 20px;
}

.project-card__info h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.project-card__info p {
    color: #666;
    font-size: 0.9rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal__content {
    background: #fff;
    max-width: 600px;
    width: 90%;
    border-radius: 20px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.modal__body {
    padding: 30px;
}

.modal__body img {
    width: 100%;
    border-radius: 15px;
    margin: 20px 0;
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */
.advantages {
    padding: 80px 0;
    background: #2c1810;
    color: #fff;
}

.advantages .section__title,
.advantages .section__subtitle {
    color: #fff;
}

.advantages .section__line {
    background: #c4a265;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.advantage-card__icon i {
    font-size: 3rem;
    color: #c4a265;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: 100px 0;
    background: #faf8f5;
}

.process__steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step__number {
    font-size: 3rem;
    font-weight: 700;
    color: #c4a265;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    min-width: 70px;
}

.step__content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step__content p {
    color: #666;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews {
    padding: 100px 0;
    background: #fff;
}

.reviews__slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    padding: 0 20px;
    text-align: center;
}

.review-card__stars {
    color: #ffc107;
    margin-bottom: 20px;
}

.review-card__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.review-card__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.review-card__author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__author h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.review-card__author span {
    font-size: 0.85rem;
    color: #888;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2c1810;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: #c4a265;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #c4a265;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0;
    background: #faf8f5;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact__info {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.8rem;
    color: #c4a265;
    width: 40px;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-item a,
.info-item p {
    color: #555;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c1810;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c4a265;
    color: #fff;
}

.contact__form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c4a265;
}

.form-agreement {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo a {
    font-size: 1.8rem;
    text-decoration: none;
    color: #fff;
}

.footer__logo p {
    margin-top: 15px;
    color: #888;
}

.footer__links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    text-decoration: none;
    color: #888;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: #c4a265;
}

.footer__subscribe h4 {
    margin-bottom: 15px;
}

.footer__subscribe p {
    color: #888;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #333;
    color: #fff;
}

.subscribe-form button {
    padding: 12px 20px;
    background: #c4a265;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #a8884e;
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__bottom a {
    color: #888;
    text-decoration: none;
}

.footer__bottom a:hover {
    color: #c4a265;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2c1810;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c4a265;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero__title {
        font-size: 3rem;
    }
    
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
        padding: 40px;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .projects__grid {
        grid-template-columns: 1fr;
    }
    
    .advantages__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}