:root {
    --bg-beige: #F6F1ED;
    --accent: #C46A54;
    --accent-dark: #A85844;
    --text-dark: #3A2A23;
    --text-muted: #8B7E74;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--white); 
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Көлденең скролл болмауы үшін */
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-beige); }
.mb-60 { margin-bottom: 60px; }

/* Типография */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; }
.sub-title { display: block; color: var(--accent); font-weight: 600; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; }
.section-title { font-size: 2.8rem; letter-spacing: -1px; margin-bottom: 20px; }

/* Header */
.header { padding: 25px 0; border-bottom: 1px solid rgba(0,0,0,0.05); position: sticky; top: 0; background: rgba(255,255,255,0.95); z-index: 1000; backdrop-filter: blur(5px); }
.header__wrapper { display: flex; justify-content: space-between; align-items: center; }
.header__logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 3px; font-family: 'Playfair Display', serif; }
.header__logo span { font-weight: 300; color: var(--accent); }
.header__nav ul { display: flex; gap: 30px; list-style: none; }
.header__nav a { text-decoration: none; color: var(--text-dark); font-size: 0.8rem; font-weight: 500; letter-spacing: 1px; transition: 0.3s; }
.header__nav a:hover { color: var(--accent); }
.header__lang { font-weight: 600; font-size: 0.9rem; }

/* Hero */
.hero { padding: 60px 0; overflow: hidden; }
.hero__wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero__image { position: relative; padding-top: 20px; }
.img-arch { 
    width: 100%; border-radius: 300px 300px 20px 20px; 
    box-shadow: 0 30px 60px rgba(58, 42, 35, 0.1);
}
.hero__arch-line {
    position: absolute; top: 0; left: -15px; width: 100%; height: 100%;
    border: 1px solid var(--accent); border-radius: 300px 300px 20px 20px;
    z-index: -1; opacity: 0.4;
}
.hero__badge {
    position: absolute; top: 10%; left: -20px; background: var(--accent);
    color: white; padding: 25px 15px; border-radius: 50%; font-size: 0.7rem;
    width: 110px; height: 110px; display: flex; align-items: center; justify-content: center;
    font-weight: 700; text-align: center; line-height: 1.2; box-shadow: 0 10px 20px rgba(196, 106, 84, 0.3);
}

.hero__text h1 { font-size: 3.5rem; margin-bottom: 25px; }
.hero__text h1 span { font-style: italic; font-weight: 400; color: var(--accent); }
.hero__text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; max-width: 450px; }

/* Buttons */
.btn { display: inline-block; padding: 16px 35px; border-radius: 50px; text-decoration: none; transition: 0.3s; text-align: center; border: none; cursor: pointer; }
.btn--primary { background: var(--accent); color: white; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; box-shadow: 0 10px 20px rgba(196, 106, 84, 0.2); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-3px); }
.btn--text { color: var(--text-dark); font-weight: 600; font-size: 0.9rem; margin-left: 15px; }
.btn--text:hover { color: var(--accent); }

/* Stats */
.stats__grid { display: flex; gap: 40px; margin-top: 50px; }
.stat-num { display: block; font-size: 2.5rem; font-family: 'Playfair Display', serif; color: var(--accent); margin-bottom: 5px; }
.stat-item p { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Catalog */
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; border-radius: 20px; overflow: hidden; transition: 0.4s; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.card__img img { width: 100%; object-fit: cover; height: 280px; }
.card__body { padding: 25px; }
.card__body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card__body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.card__footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 20px; }
.price { font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.btn-card { border: 1px solid var(--accent); background: transparent; color: var(--accent); padding: 10px 25px; border-radius: 50px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.btn-card:hover { background: var(--accent); color: white; }

/* Booking Form */
.booking__wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.booking__info p { margin-bottom: 20px; color: var(--text-muted); }
.contact-links p { margin-bottom: 10px; font-size: 1.1rem; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.form input, .form select { 
    width: 100%; padding: 18px; border: 1px solid transparent; background: var(--bg-beige);
    border-radius: 12px; font-family: inherit; outline: none; transition: 0.3s;
}
.form input:focus, .form select:focus { border-color: var(--accent); background: white; }
.btn--full { width: 100%; }

/* Footer */
.footer { background: var(--bg-beige); padding: 60px 0; }
.footer__logo { font-size: 2rem; margin-bottom: 20px; font-family: 'Playfair Display', serif; font-weight: 700; }
.footer__social { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.footer__social a { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: var(--text-dark); text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; }
.footer__social a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.footer__address { margin-bottom: 10px; font-weight: 500; }
.footer__copy { font-size: 0.8rem; color: var(--text-muted); }

/* =========================================
   MOBILE ADAPTATION (ТЕЛЕФОНҒА АРНАЛҒАН)
   ========================================= */
@media (max-width: 992px) {
    /* Жалпы шегіністерді азайту */
    .section-padding { padding: 60px 0; }
    .mb-60 { margin-bottom: 40px; }
    
    /* Header - Мобильді мәзір */
    .header__nav { display: none; } /* Телефонда мәзір сілтемелерін жасыру (қарапайым болу үшін) */
    .header__wrapper { padding: 5px 0; }
    
    /* Hero Section */
    .hero__wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero__image { max-width: 350px; margin: 0 auto; width: 100%; }
    .hero__badge { left: 0; top: 5%; width: 90px; height: 90px; font-size: 0.6rem; }
    
    .hero__text h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
    .hero__text p { margin: 0 auto 30px; font-size: 1rem; }
    
    /* Батырмаларды тігінен қою */
    .hero__btns { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .btn { width: 100%; max-width: 350px; } /* Батырма толық енге */
    .btn--text { margin-left: 0; }

    /* About & Stats */
    .about__wrapper { text-align: center; }
    .stats__grid { flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
    .stat-item { flex: 1 1 40%; } /* Статистика 2 қатарға бөлінеді */

    /* Catalog */
    .catalog__grid { grid-template-columns: 1fr; gap: 30px; } /* Телефонда 1 қатар */
    .card__img img { height: 250px; }

    /* Booking Form */
    .booking__wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .form__grid { grid-template-columns: 1fr; } /* Форма өрістері бірінің астына бірі */
    .booking__info { margin-bottom: 0; }
    
    /* Footer */
    .footer__social { gap: 20px; }
    .footer__address { font-size: 0.9rem; padding: 0 20px; }
}
/* --- Pop-up (Модальды терезе) Стильдері --- */
.modal {
    display: none; /* Бастапқыда жасырын тұрады */
    position: fixed; 
    z-index: 2000; /* Барлық элементтің үстінде */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8); /* Арты қараңғыланады */
    backdrop-filter: blur(5px);
    overflow: auto; /* Скролл болу үшін */
}

.modal-content {
    background-color: #fff;
    margin: 5% auto; /* Жоғарыдан сәл төмен */
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover { color: var(--accent); }

.modal-title {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}

/* Галерея торлары */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img, .gallery-grid video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-grid img:hover { transform: scale(1.05); }
.gallery-grid video { height: auto; max-height: 200px; }

/* Толық экрандағы үлкен фото */
.full-img { width: 100%; margin-top: 20px; border-radius: 10px; display: none; }

/* iPhone стиліндегі галерея торшасы */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 қатарлы кесте */
    gap: 8px;
    padding: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1; /* Шаршы пішін */
    overflow: hidden;
    border-radius: 12px; /* Дөңгеленген бұрыштар */
    background: #f0f0f0;
    cursor: pointer;
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Суретті шаршыға сыйғызу */
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08); /* Басқанда сәл үлкею */
}

/* Толық экранда (iPhone сияқты) көру терезесі */
.fullscreen-view {
    display: none; /* Бастапқыда жасырулы */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#fullContent img, #fullContent video {
    max-width: 100%;
    max-height: 85vh;
    animation: iphoneZoom 0.3s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.back-btn {
    position: absolute;
    top: 40px; left: 20px;
    color: white; font-weight: 600;
    cursor: pointer; background: rgba(255,255,255,0.15);
    padding: 8px 18px; border-radius: 20px;
    backdrop-filter: blur(10px);
}

@keyframes iphoneZoom {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* 1. Альбом терезесінің ішкі стилі */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 қатарлы кесте */
    gap: 10px;
    padding: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1; /* Квадрат пішін */
    overflow: hidden;
    border-radius: 10px;
    background: #f0f0f0;
    cursor: pointer;
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 2. iPhone стиліндегі Fullscreen (Екінші терезе) */
.fullscreen-view {
    display: none;
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: #000; /* Қара фон */
    z-index: 10000; /* Ең үстінде тұрады */
    justify-content: center;
    align-items: center;
}

#fullContent img, #fullContent video {
    max-width: 100%;
    max-height: 90vh;
    animation: iphonePop 0.3s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.back-btn {
    position: absolute;
    top: 40px; left: 20px;
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

/* Ашылғандағы анимация */
@keyframes iphonePop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* Фотоларды бір жерге жинау */
.about__photo-card {
    position: relative;
}

.about__img {
    position: absolute; /* Суреттерді бір-бірінің үстіне қояды */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Бастапқыда көрінбейді */
    transition: opacity 1s ease-in-out; /* Жұмсақ ауысу */
    animation: slideFade 12s infinite; /* Анимация */
}

/* Бірінші сурет негізгі болғандықтан, контейнер биіктігін ұстап тұруы керек */
.about__img:first-of-type {
    position: relative;
}

/* Анимация кезегі */
.about__img:nth-child(2) { animation-delay: 0s; }
.about__img:nth-child(3) { animation-delay: 4s; }
.about__img:nth-child(4) { animation-delay: 8s; }

@keyframes slideFade {
    0% { opacity: 0; }
    5% { opacity: 1; }   /* Көрінуі */
    30% { opacity: 1; }  /* Тұру уақыты */
    35% { opacity: 0; }  /* Жоғалуы */
    100% { opacity: 0; }
}
/* Слайдер контейнері */
.about__slider {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: 30px;
    overflow: visible;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: imageFade 12s infinite; /* 12 секундтық жалпы цикл */
}
.about__socials {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.socials-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid #eee;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: #fff;
}

/* Instagram стилі */
.social-link.instagram:hover {
    color: #fff;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

/* TikTok стилі */
.social-link.tiktok:hover {
    color: #fff;
    background: #000;
    border-color: #000;
}

/* WhatsApp стилі */
.social-link.whatsapp:hover {
    color: #fff;
    background: #25D366;
    border-color: #25D366;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes imageFade {
    0% { opacity: 0; transform: scale(1.1); }
    5% { opacity: 1; transform: scale(1); }
    30% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

/* Декор мен Badge */
.about__photo-bg {
    position: absolute;
    top: 30px;
    right: -30px;
    width: 100%;
    height: 100%;
    background-color: #bc6c51; /* var(--accent)-тың орнына осы түсті қойыңыз */
    opacity: 0.1;
    border-radius: 30px;
    z-index: 1;
}

.about-badge-new {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 10;
    background-color: #bc6c51;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    transform: rotate(5deg);
    box-shadow: 0 10px 20px rgba(188, 108, 81, 0.3);
}/* "Мен туралы" жаңа дизайн */
/* --- МЕН ТУРАЛЫ БӨЛІМІ (ТАЗА НҰСҚА) --- */

.about__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.about__content {
    flex: 1;
}

.about__image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.about__photo-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    z-index: 2;
}

/* ФОТО СТИЛІ - ЕНДІ ЖОҒАЛМАЙДЫ */
.about__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    position: relative; /* absolute емес, relative болуы керек */
    z-index: 2;
    opacity: 1 !important; /* Міндетті түрде көрініп тұруы үшін */
    display: block;
}

/* ФОТО АРТЫНДАҒЫ ДЕКОР */
.about__photo-bg {
    position: absolute;
    top: 30px;
    right: -30px;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    opacity: 0.1;
    border-radius: 30px;
    z-index: 1;
}

/* BADGE */
.about-badge-new {
    position: absolute;
    top: 20px;
    right: -20px;
    z-index: 10;
    background-color: #bc6c51;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 20px rgba(188, 108, 81, 0.3);
    transform: rotate(5deg);
}

/* ӘЛЕУМЕТТІК ЖЕЛІЛЕР БАТЫРМАЛАРЫ */
.about__socials {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.social-link {
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid #eee;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: #fff;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}
.social-link.instagram:hover { background: #E1306C; }
.social-link.tiktok:hover { background: #000; }
.social-link.whatsapp:hover { background: #25D366; }

/* МОБИЛЬДІ НҰСҚА */
@media (max-width: 992px) {
    .about__wrapper {
        flex-direction: column-reverse;
        gap: 50px;
        text-align: center;
    }
    .about__image-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .about__photo-bg {
        right: 0;
        top: 20px;
    }
    .social-icons {
        justify-content: center;
    }
}

