/* Chennai Hotel - Warm luxury: burgundy + cream (unique theme) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --primary: #4a1942;
    --primary-light: #6b2d5c;
    --accent: #c9a959;
    --accent-light: #e5d4a0;
    --white: #ffffff;
    --light: #f5f0e6;
    --gray: #5c4a52;
    --border: #d4c4b0;
}

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    line-height: 1.65;
    color: var(--primary);
    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: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-block { width: 100%; text-align: center; }

/* Nav - elegant bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1000;
    padding: 0.85rem 0;
    box-shadow: 0 2px 20px rgba(74, 25, 66, 0.35);
}
.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.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
}
.nav-logo i { color: var(--accent); }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link {
    text-decoration: none;
    color: rgba(255,255,255,0.92);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-icon-btn {
    position: relative;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    width: 42px;
    height: 42px;
    border-radius: 4px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.nav-icon-btn:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--primary);
    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 - warm 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, #3d1535 0%, #4a1942 30%, #6b2d5c 60%, #5a2350 100%);
}
.hero-sky-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 70% 50% at 75% 25%, rgba(201, 169, 89, 0.15) 0%, transparent 55%);
    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.45rem 1.1rem;
    background: rgba(201, 169, 89, 0.18);
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent);
}
.hero-sky-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}
.hero-sky-accent { color: var(--accent); }
.hero-sky-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
    line-height: 1.75;
}
.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(--accent);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}
.btn-hero-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201, 169, 89, 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: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}
.btn-hero-outline:hover { border-color: var(--accent); color: var(--accent); }
.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(--primary);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
}
.shop-controls { display: flex; gap: 1rem; align-items: center; }
.btn-toggle-sidebar {
    display: none;
    padding: 10px 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}
.view-options { display: flex; align-items: center; gap: 0.5rem; }
.view-options select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }

/* Sidebar */
.sidebar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(74, 25, 66, 0.06);
    height: fit-content;
    position: sticky;
    top: 90px;
    border: 1px solid var(--border);
}
.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(--primary); 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(--primary); font-size: 0.95rem; }
.filter-select { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 4px; font-size: 0.9rem; font-family: inherit; }
.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: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74, 25, 66, 0.06);
    border: 1px solid var(--border);
    transition: all 0.35s ease;
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(74, 25, 66, 0.12);
    border-color: var(--accent);
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 4px;
    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: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    color: var(--primary);
}
.product-action-btn:hover { background: var(--primary); 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(--primary); 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(--primary); }
.product-price .original { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; }
.product-price .discount { font-size: 0.8rem; color: #b91c1c; font-weight: 600; }
.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}
.btn-add-cart:hover { background: var(--primary-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: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}
.pagination button:hover, .pagination button.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background: var(--primary);
    text-align: center;
}
.newsletter h2 { color: var(--white); font-size: 1.85rem; margin-bottom: 0.5rem; font-weight: 600; }
.newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1.05rem; }
.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: 4px;
    font-size: 1rem;
    font-family: inherit;
}
.newsletter-form .btn { background: var(--accent); color: var(--primary); }
.newsletter-form .btn:hover { background: var(--accent-light); }

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

/* Footer */
.footer { background: var(--primary); 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; font-weight: 600; }
.footer-section h3 i { color: var(--accent); margin-right: 0.4rem; }
.footer-section p, .footer-section a { color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.footer-section a { text-decoration: none; }
.footer-section a:hover { color: var(--accent); }
.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.12); 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(74, 25, 66, 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: 8px;
    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(--primary); }
.search-box { display: flex; gap: 0.5rem; margin-top: 1rem; }
.search-box input { flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }
.search-box button { padding: 12px 18px; background: var(--primary); color: var(--white); border: none; border-radius: 4px; cursor: pointer; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 500; color: var(--primary); }
.form-group input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }

/* 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(74, 25, 66, 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(--primary); 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: 6px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 0.25rem; }
.cart-item-price { font-size: 0.95rem; color: var(--accent); 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: 4px; cursor: pointer; font-size: 1rem; }
.cart-item-quantity input { width: 44px; text-align: center; padding: 4px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }
.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(--primary); }
.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(--primary); 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%; }
}
