/* Sky Hotel - Unique theme: navy + gold */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --navy: #0c2340;
    --navy-light: #1e3a5f;
    --gold: #c9a227;
    --gold-light: #e5c76b;
    --white: #ffffff;
    --light: #f5f7fa;
    --gray: #5a6c7d;
    --border: #d1d9e0;
}

body {
    font-family: 'Barlow', sans-serif;
    line-height: 1.6;
    color: var(--navy);
    background: var(--light);
    overflow-x: hidden;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; text-align: center; }

/* Nav - solid dark bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(12, 35, 64, 0.3);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo i { color: var(--gold); }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-icon-btn {
    position: relative;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.nav-icon-btn:hover { background: var(--gold); color: var(--navy); }
.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.bar { width: 24px; height: 2px; background: var(--white); margin: 3px 0; transition: 0.3s; }

/* Hero - full sky gradient + wave */
.hero-sky {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-sky-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0c2340 0%, #1e3a5f 40%, #2d4a6f 70%, #3d5a80 100%);
}
.hero-sky-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(201, 162, 39, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.hero-sky-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-sky-inner { max-width: 620px; }
.hero-sky-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(201, 162, 39, 0.2);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold);
}
.hero-sky-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1rem;
}
.hero-sky-accent { color: var(--gold); }
.hero-sky-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-sky-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif;
}
.btn-hero-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4); }
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif;
}
.btn-hero-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-sky-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--light);
    clip-path: polygon(0 60%, 100% 20%, 100% 100%, 0 100%);
}

/* Shop */
.shop-section { padding: 80px 0; background: var(--light); }
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-title {
    font-size: 2.25rem;
    color: var(--navy);
    font-weight: 800;
    margin: 0;
}
.shop-controls { display: flex; gap: 1rem; align-items: center; }
.btn-toggle-sidebar {
    display: none;
    padding: 10px 18px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
}
.view-options { display: flex; align-items: center; gap: 0.5rem; }
.view-options select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Barlow', sans-serif; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }

/* Sidebar */
.sidebar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(12, 35, 64, 0.08);
    height: fit-content;
    position: sticky;
    top: 90px;
}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.sidebar-header h3 { margin: 0; color: var(--navy); font-size: 1.1rem; }
.close-sidebar { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray); }
.filter-section { margin-bottom: 1.5rem; }
.filter-section h4 { margin-bottom: 0.75rem; color: var(--navy); font-size: 0.95rem; }
.filter-select { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; font-family: 'Barlow', sans-serif; }
.price-filters, .category-filters { display: flex; flex-direction: column; gap: 0.4rem; }
.price-filters label, .category-filters label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; color: var(--gray); }

/* Products */
.products-container { flex: 1; }
.products-info { margin-bottom: 1rem; color: var(--gray); font-size: 0.95rem; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(12, 35, 64, 0.08);
    border: 1px solid var(--border);
    transition: all 0.35s ease;
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(12, 35, 64, 0.15);
    border-color: var(--gold);
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--navy);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}
.product-actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 0.4rem; z-index: 2; }
.product-action-btn {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: var(--navy);
}
.product-action-btn:hover { background: var(--navy); color: var(--white); }
.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--light);
    display: block;
    cursor: pointer;
    transition: transform 0.35s ease;
}
.product-card:hover .product-image { transform: scale(1.05); }
.product-info { padding: 1.25rem; }
.product-category { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; margin-bottom: 0.4rem; }
.product-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--navy); line-height: 1.4; }
.product-price { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.product-price .current { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.product-price .original { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; }
.product-price .discount { font-size: 0.8rem; color: #c0392b; font-weight: 600; }
.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif;
}
.btn-add-cart:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination button {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    transition: all 0.3s ease;
}
.pagination button:hover, .pagination button.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background: var(--navy);
    text-align: center;
}
.newsletter h2 { color: var(--white); font-size: 1.75rem; margin-bottom: 0.5rem; }
.newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto; }
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
}
.newsletter-form .btn { background: var(--gold); color: var(--navy); }
.newsletter-form .btn:hover { background: var(--gold-light); }

/* About */
.about-section { padding: 60px 0; background: var(--white); }
.about-section h2 { font-size: 2rem; color: var(--navy); margin-bottom: 1rem; }
.about-section p { color: var(--gray); max-width: 800px; line-height: 1.8; }

/* Footer */
.footer { background: var(--navy); color: var(--white); padding: 60px 0 0; }
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 2rem;
}
.footer-section h3, .footer-section h4 { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-section h3 i { color: var(--gold); margin-right: 0.4rem; }
.footer-section p, .footer-section a { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.footer-section a { text-decoration: none; }
.footer-section a:hover { color: var(--gold); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(12, 35, 64, 0.6);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.active { display: flex; }
.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-large { max-width: 800px; }
.close-modal { position: absolute; top: 1rem; right: 1rem; font-size: 1.75rem; cursor: pointer; background: none; border: none; color: var(--gray); }
.close-modal:hover { color: var(--navy); }
.search-box { display: flex; gap: 0.5rem; margin-top: 1rem; }
.search-box input { flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Barlow', sans-serif; }
.search-box button { padding: 12px 18px; background: var(--navy); color: var(--white); border: none; border-radius: 8px; cursor: pointer; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 500; color: var(--navy); }
.form-group input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Barlow', sans-serif; }

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -380px;
    top: 0;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    z-index: 1500;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}
.cart-sidebar.active { right: 0; }
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-size: 1.25rem; color: var(--navy); margin: 0; }
.close-cart { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.empty-cart { color: var(--gray); text-align: center; padding: 2rem; }
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.cart-item-image { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.cart-item-price { font-size: 0.95rem; color: var(--gold); font-weight: 600; margin-bottom: 0.4rem; }
.cart-item-quantity { display: flex; align-items: center; gap: 0.5rem; }
.cart-item-quantity button { width: 28px; height: 28px; border: 1px solid var(--border); background: var(--white); border-radius: 6px; cursor: pointer; font-size: 1rem; }
.cart-item-quantity input { width: 44px; text-align: center; padding: 4px; border: 1px solid var(--border); border-radius: 6px; font-family: 'Barlow', sans-serif; }
.cart-item-remove { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--gray); align-self: flex-start; }
.cart-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); }
.cart-total { margin-bottom: 0.75rem; font-size: 1.1rem; color: var(--navy); }
.cart-footer .btn { padding: 14px; }

@media (max-width: 992px) {
    .shop-layout { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 300px;
        z-index: 1200;
        transition: left 0.3s ease;
        max-height: 100vh;
        overflow-y: auto;
    }
    .sidebar.active { left: 0; }
    .close-sidebar { display: block; }
    .btn-toggle-sidebar { display: inline-flex; align-items: center; gap: 0.5rem; }
    .nav-menu { display: none; }
    .nav-menu.active { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1rem; }
    .hamburger { display: flex; }
    .hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}
@media (max-width: 768px) {
    .hero-sky { min-height: 85vh; padding: 100px 0 60px; }
    .products-grid { grid-template-columns: 1fr; }
    .cart-sidebar { width: 100%; right: -100%; }
}
