/* Base styles */
:root {
    --primary-color: #8B7355;
    --secondary-color: #D2B48C;
    --light-bg: #FAF9F6;
    --white: #FFFFFF;
    --text-color: #4A4A4A;
    --accent-color: #A0522D;
    --border-color: #DCD0C0;
    --card-bg: #FFFFFF;
    --section-gradient: linear-gradient(to bottom, var(--light-bg) 0%, var(--white) 100%);
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(212, 163, 115, 0.2);
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 163, 115, 0.3);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.3);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.social-icon {
    color: var(--primary-color);
    font-size: 24px;
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--dark-bg));
}

.hero__title {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.3s forwards;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__btn {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.6s forwards;
    border: 2px solid var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 163, 115, 0.4);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--section-gradient);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(var(--dark-bg), transparent);
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 18px;
    line-height: 1.8;
}

.about__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.1);
}

.feature-content {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.feature i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature:hover i {
    transform: translateZ(20px);
    color: var(--accent-color);
}

.feature h3 {
    transition: transform 0.3s ease;
}

.feature:hover h3 {
    transform: translateZ(15px);
}

.feature p {
    transition: transform 0.3s ease;
}

.feature:hover p {
    transform: translateZ(10px);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--section-gradient);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(var(--light-bg), transparent);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.service-card i {
    font-size: 48px;
    color: var(--primary-color);
    background: var(--white);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover i {
    transform: translateY(-5px);
    color: var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(166, 123, 91, 0.2);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 50px 0;
    background: var(--section-gradient);
    position: relative;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(4),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(166, 123, 91, 0.2);
}

/* Contacts Section */
.contacts {
    padding: 100px 0;
    background: var(--section-gradient);
    position: relative;
}

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

.contact-block {
    margin-bottom: 30px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-block h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.cities-list {
    list-style: none;
}

.cities-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.cities-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.2);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.3);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-color);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery__grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .contacts__content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-block {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header__content {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .header__right {
        width: 100%;
        justify-content: center;
    }

    .contact-btn {
        width: auto;
    }

    .social-icons {
        margin-left: 15px;
    }

    .hero__title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .contacts__content {
        gap: 30px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        padding: 12px;
    }

    .contact-block {
        margin-bottom: 20px;
    }

    .contact-person {
        padding: 12px;
    }

    .contact-email {
        padding: 12px;
        font-size: 14px;
    }
}

/* Contact Section */
.contact-person {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--darker-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-person p {
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-person a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-person a:hover {
    color: var(--primary-color);
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    margin-top: 20px;
    padding: 15px;
    background: var(--darker-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-email:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(212, 163, 115, 0.2);
}

.contact-email i {
    color: var(--primary-color);
}

/* Add smooth section transitions */
section {
    position: relative;
    z-index: 1;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--white));
    pointer-events: none;
}

/* Gallery Page */
.gallery-page {
    padding: 180px 0 100px;
    background: var(--section-gradient);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(166, 123, 91, 0.2);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-page {
        padding: 150px 0 80px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery__btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.gallery__btn-wrapper .hero__btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery__btn-wrapper .hero__btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 163, 115, 0.4);
} 