@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-primary: #0b0b0e;
    --bg-secondary: #131318;
    --bg-tertiary: #1a1a22;
    --color-rose: #d69f8c;
    --color-rose-glow: rgba(214, 159, 140, 0.4);
    --color-gold: #c5a880;
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-header: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --color-success: #10b981;
    --color-danger: #ef4444;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-rose);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    font-weight: 600;
    letter-spacing: 0.5px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 11, 14, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--color-rose);
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.nav-link {
    position: relative;
    padding: 5px 0;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-rose);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-rose);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.25rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    padding: 8px;
}

.icon-btn:hover {
    color: var(--color-rose);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-rose);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(180deg, rgba(11, 11, 14, 0.4) 0%, rgba(11, 11, 14, 0.9) 100%), 
                url('assets/hero_banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    margin-top: 60px;
}

.hero-content {
    max-width: 650px;
    z-index: 10;
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-rose);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

.btn-luxe {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-rose);
    color: var(--bg-primary);
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: 1px solid var(--color-rose);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.btn-luxe:hover {
    background: transparent;
    color: var(--color-rose);
    box-shadow: 0 0 20px var(--color-rose-glow);
}

.btn-luxe-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--border-color);
}

.btn-luxe-secondary:hover {
    border-color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Category Filters */
.category-sec {
    padding: 60px 8%;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.filters-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--color-text-muted);
    padding: 10px 25px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 30px;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-rose);
    border-color: var(--color-rose);
    color: var(--bg-primary);
    box-shadow: 0 5px 15px var(--color-rose-glow);
}

/* Catalog Products Grid */
.products-sec {
    padding: 0 8% 80px 8%;
    background-color: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 159, 140, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(214, 159, 140, 0.05);
}

.product-image-container {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #121217;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 14, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-details {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-rose);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-name {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-main);
}

.product-price {
    font-size: 1.1rem;
    font-family: var(--font-header);
    color: var(--color-gold);
    margin-top: auto;
    font-weight: 600;
}

/* Slide-out Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 200;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: var(--color-rose);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 15px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 2px;
    background-color: #121217;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--color-gold);
    font-family: var(--font-header);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--color-text-main);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.qty-val {
    font-size: 0.85rem;
    width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.cart-item-remove:hover {
    color: var(--color-danger);
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.cart-summary-line.total {
    font-size: 1.2rem;
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 8, 0.8);
    backdrop-filter: blur(8px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 25px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.luxe-input {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--color-text-main);
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.luxe-input:focus {
    outline: none;
    border-color: var(--color-rose);
    box-shadow: 0 0 10px rgba(214, 159, 140, 0.15);
}

textarea.luxe-input {
    resize: vertical;
    min-height: 100px;
}

/* Info Section / About */
.about-sec {
    padding: 80px 8%;
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-primary);
}

.about-img-container {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 10px;
    background-color: var(--bg-secondary);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-content {
    flex: 1.2;
}

/* Contact Sec */
.contact-sec {
    padding: 80px 8%;
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 4px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--color-rose);
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 8% 30px 8%;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--color-rose);
}

.footer-col h4 {
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link:hover {
    color: var(--color-rose);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Admin Dashboard layout */
.admin-container {
    margin-top: 90px;
    padding: 0 5% 60px 5%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.metric-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-info h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-rose);
    font-family: var(--font-header);
}

.metric-icon {
    font-size: 2.2rem;
    color: rgba(255,255,255,0.05);
}

.admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.admin-panel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 25px;
    overflow: hidden;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.admin-table th {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-rose);
    font-size: 0.75rem;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    vertical-align: middle;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-badge.pending {
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-badge.completed {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Animations & chimes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-element {
    animation: fadeIn 0.8s forwards;
}

@media (max-width: 992px) {
    .contact-grid, .admin-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .nav-links {
        display: none; /* simple mobile drawer or hidden */
    }
}
