:root {
    --primary-color: #c8a45c;
    --primary-dark: #a8884a;
    --secondary-color: #1a1a2e;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-secondary: #f8f9fa;
    --card-bg: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

[data-theme="dark"] {
    --primary-color: #d4b06a;
    --primary-dark: #c8a45c;
    --text-color: #f0f0f0;
    --text-light: #b0b0b0;
    --bg-color: #1a1a2e;
    --bg-secondary: #16213e;
    --card-bg: #0f3460;
    --border-color: #333;
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
}

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

.section__title {
    text-align: center; font-size: 2.5rem; margin-bottom: 50px;
    color: var(--secondary-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;
}

.btn {
    display: inline-block; padding: 12px 30px; border: none;
    border-radius: 50px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn--primary { background: var(--primary-color); color: white; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { display: block; width: 100%; }

.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--bg-color); box-shadow: var(--shadow);
    transition: var(--transition); height: var(--header-height);
}
.nav { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.nav__logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav__list { display: flex; list-style: none; gap: 30px; }
.nav__link { text-decoration: none; color: var(--text-color); font-weight: 500; transition: var(--transition); position: relative; }
.nav__link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: var(--transition); }
.nav__link:hover::after { width: 100%; }
.nav__controls { display: flex; align-items: center; gap: 15px; }
.language-switcher { display: flex; gap: 5px; }
.lang-btn { padding: 5px 10px; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-color); border-radius: 5px; cursor: pointer; font-size: 0.8rem; transition: var(--transition); }
.lang-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.theme-toggle { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-color); transition: var(--transition); padding: 5px; }
.theme-toggle:hover { color: var(--primary-color); transform: rotate(30deg); }
.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-color); }

.hero { position: relative; height: 100vh; min-height: 600px; margin-top: var(--header-height); overflow: hidden; }
.hero-swiper { width: 100%; height: 100%; }
.hero-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-swiper .swiper-slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7)); }
.hero__content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; text-align: center; color: white; width: 100%; }
.hero__title { font-size: 3.5rem; margin-bottom: 20px; animation: fadeInUp 1s ease; }
.hero__subtitle { font-size: 1.3rem; margin-bottom: 30px; animation: fadeInUp 1s ease 0.2s backwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.stats { background: var(--bg-secondary); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.stat-card { text-align: center; padding: 30px; background: var(--card-bg); border-radius: 15px; box-shadow: var(--shadow); transition: var(--transition); }
.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.stat__icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 15px; }
.stat__number { font-size: 2.5rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 10px; }
.stat__label { color: var(--text-light); font-size: 1rem; }

.why-us__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.why-card { text-align: center; padding: 40px 30px; background: var(--card-bg); border-radius: 15px; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; }
.why-card:hover { transform: translateY(-10px); border-color: var(--primary-color); box-shadow: var(--shadow-hover); }
.why-card__icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.why-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--secondary-color); }

.rooms__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.room-card { background: var(--card-bg); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.room-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.room-card--featured { border: 2px solid var(--primary-color); position: relative; }
.room-card--featured::before { content: '✓ Eng mashhur'; position: absolute; top: 20px; right: -35px; background: var(--primary-color); color: white; padding: 8px 40px; transform: rotate(45deg); font-size: 0.8rem; z-index: 1; }
.room-card__image { position: relative; height: 250px; overflow: hidden; }
.room-card__image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.room-card:hover .room-card__image img { transform: scale(1.1); }
.room-card__badge { position: absolute; top: 20px; left: 20px; background: var(--primary-color); color: white; padding: 8px 20px; border-radius: 25px; font-weight: 600; font-size: 0.9rem; }
.room-card__content { padding: 30px; }
.room-card__content h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--secondary-color); }
.room-card__features { list-style: none; margin-bottom: 20px; }
.room-card__features li { padding: 5px 0; color: var(--text-light); }
.room-card__features i { color: var(--primary-color); margin-right: 10px; }
.room-card__price { font-size: 2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 20px; }
.room-card__price span { font-size: 1rem; color: var(--text-light); }

.amenities { background: var(--bg-secondary); }
.amenities__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; }
.amenity-card { text-align: center; padding: 30px; background: var(--card-bg); border-radius: 15px; box-shadow: var(--shadow); transition: var(--transition); }
.amenity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.amenity-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.amenity-card h3 { font-size: 1.1rem; color: var(--secondary-color); }

.staff__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.staff-card { text-align: center; background: var(--card-bg); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.staff-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.staff-card img { width: 100%; height: 300px; object-fit: cover; }
.staff-card h3 { margin: 20px 0 5px; color: var(--secondary-color); }
.staff-card p { color: var(--text-light); margin-bottom: 20px; }

.reviews { background: var(--bg-secondary); }
.reviews-swiper { padding: 50px 0; }
.review-card { background: var(--card-bg); padding: 40px; border-radius: 15px; box-shadow: var(--shadow); text-align: center; max-width: 600px; margin: 0 auto; }
.review-card__stars { color: #ffd700; font-size: 1.5rem; margin-bottom: 20px; }
.review-card__text { font-style: italic; margin-bottom: 30px; color: var(--text-color); font-size: 1.1rem; }
.review-card__author { display: flex; align-items: center; justify-content: center; gap: 15px; }
.review-card__author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

.map__container { border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); }

.booking__form { max-width: 600px; margin: 0 auto; background: var(--card-bg); padding: 40px; border-radius: 15px; box-shadow: var(--shadow); }
.form__group { margin-bottom: 20px; }
.form__group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-color); }
.form__group input, .form__group select, .form__group textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-color); color: var(--text-color); font-size: 1rem; transition: var(--transition); }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(200,164,92,0.1); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.footer { background: var(--secondary-color); color: white; padding: 60px 0 20px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer__col h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary-color); }
.footer__col h4 { margin-bottom: 20px; color: var(--primary-color); }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 15px; }
.footer__col ul li i { margin-right: 10px; color: var(--primary-color); }
.footer__social { display: flex; gap: 15px; }
.footer__social a { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; color: white; text-decoration: none; transition: var(--transition); font-size: 1.2rem; }
.footer__social a:hover { background: var(--primary-color); transform: translateY(-5px); }
.footer__bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 968px) {
    .nav__list { position: fixed; top: var(--header-height); left: -100%; width: 100%; height: calc(100vh - var(--header-height)); background: var(--bg-color); flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); }
    .nav__list.active { left: 0; }
    .nav__toggle { display: block; }
    .hero__title { font-size: 2.5rem; }
    .section__title { font-size: 2rem; }
    .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero { height: 70vh; min-height: 500px; }
    .hero__title { font-size: 2rem; }
    .booking__form { padding: 25px; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; }
    .footer__social { justify-content: center; }
}
@media (max-width: 480px) {
    .hero__title { font-size: 1.5rem; }
    .section { padding: 50px 0; }
    }
