/* ===== VARIABLES ===== */
:root {
    /* Цветовая палитра Alma Khora */
    --canvas: #F9F6F0;
    --terracotta: #C17C74;
    --lapis: #6D98BA;
    --gold: #D4AF37;
    --umber: #5D4037;
    --umber-light: #8a6d5d;
    --white: #ffffff;
    --shadow: rgba(93, 64, 55, 0.1);

    /* Шрифты */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Отступы */
    --container: 1200px;
    --section-padding: 100px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--umber);
    background-color: var(--canvas);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* ОТСТУП ДЛЯ ФИКСИРОВАННОГО ХЕДЕРА */
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 40px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--umber-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin: 10px;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--umber);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--terracotta);
    border-color: var(--terracotta);
}

.btn-secondary:hover {
    background-color: var(--terracotta);
    color: var(--white);
    transform: translateY(-3px);
}

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

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

.logo h1 {
    margin: 0;
    font-size: 2rem;
}

.logo h1 a {
    color: var(--umber);
    text-decoration: none;
}

.tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--umber-light);
    margin-top: 5px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--umber);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--terracotta);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--terracotta);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--umber);
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .header {
        padding: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
        margin-top: 20px;
    }

    .nav.active {
        display: flex;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 100px;
    background: linear-gradient(rgba(93, 64, 55, 0.7), rgba(193, 124, 116, 0.5)),
                url('https://images.unsplash.com/photo-1541961017774-22349e4a1262?q=80&w=1758&auto=format&fit=crop') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    margin-top: 2rem;
}

/* ===== ABOUT ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin-top: 30px;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.accent-icon {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
}

.about-image .image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--lapis), var(--terracotta));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* ===== WORKSHOP CARDS ===== */
.workshop-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-top: 5px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(93, 64, 55, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--umber);
}

.price {
    color: var(--terracotta);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--umber-light);
    margin-bottom: 25px;
}

.card-link {
    text-decoration: none;
    color: var(--terracotta);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item .img-placeholder {
    height: 250px;
    background: linear-gradient(45deg, var(--umber-light), var(--lapis));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

/* ===== CONTACT ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 60px auto 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--terracotta);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--umber);
}

.contact-item p {
    color: var(--umber-light);
    margin-bottom: 5px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--umber);
    color: var(--canvas);
    padding: 80px 0 30px;
}

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

.footer-about h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--canvas);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social a:hover {
    background: var(--terracotta);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links a {
    color: rgba(249, 246, 240, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--terracotta);
}

.footer-bottom {
    border-top: 1px solid rgba(249, 246, 240, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        margin: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 140px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .workshop-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #F9F6F0;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    border: 2px solid #D4AF37;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #5D4037;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #C17C74;
}

.modal-icon {
    font-size: 60px;
    color: #D4AF37;
    margin-bottom: 20px;
}

.modal h3 {
    color: #5D4037;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8em;
}

.modal-phone {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: inline-block;
    border: 1px solid #e0d6c2;
}

.modal-phone i {
    color: #C17C74;
    margin-right: 10px;
}

.modal-phone a {
    color: #5D4037;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 600;
}

.modal-phone a:hover {
    color: #C17C74;
}

.modal-subtext {
    color: #8a6d5d;
    font-size: 0.9em;
    margin: 15px 0 25px;
    font-style: italic;
}

.modal-close-btn {
    background-color: #C17C74;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.modal-close-btn:hover {
    background-color: #b06a62;
}

.modal-content {
    animation: modalFade 0.3s;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* АНИМАЦИЯ ЗАГРУЗКИ ИЗОБРАЖЕНИЙ */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* ЛЕНИВАЯ ЗАГРУЗКА */
.lazy-load {
    min-height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}/* Last update: Sat Dec  6 18:28:10 RTZ 2025 */
