@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #030712;
    /* Very deep luxury black/navy */
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #d4af37;
    /* Metallic Gold */
    --primary-glow: rgba(212, 175, 55, 0.4);
    --secondary-color: #0e7490;
    /* Oceanic Teal */
    --dark-glass: rgba(10, 15, 25, 0.7);
    --border-glass: rgba(212, 175, 55, 0.15);
    /* Gold-tinted glass border */
    --shadow-glass: 0 15px 35px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.05);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background: var(--bg-color) url('../img/bg-gradient.webp') no-repeat center center fixed;
    /* Keep old fallback, or just solid */
    background-color: var(--bg-color);
    /* Fallback */
    background-image: radial-gradient(circle at top right, rgba(14, 116, 144, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.08), transparent 40%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
.logo {
    letter-spacing: -0.02em;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--dark-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
}

/* Header */
header.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 7, 18, 0.85);
    /* Slightly darker header */
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #fcd34d, #d4af37, #b45309);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    /* Pill shape for luxury feel */
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b45309);
    color: #fff;
    box-shadow: 0 10px 25px -5px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -5px var(--primary-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 10px 25px -5px var(--primary-glow);
}

/* Main Layout */
.container {
    max-width: 1280px;
    width: 100%;
    margin: calc(var(--header-height) + 40px) auto 40px;
    padding: 0 2rem;
    flex-grow: 1;
}

/* Slider - Full Width */
.slider-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 100vh;
    min-height: 600px;
    margin-top: calc(-1 * var(--header-height));
    /* Pull underneath header */
    margin-bottom: 5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    /* Slight zoom for premium parallax feel */
}

.slide.active {
    opacity: 1;
    z-index: 10;
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.8) 0%, rgba(3, 7, 18, 0.3) 50%, rgba(3, 7, 18, 0.9) 100%);
}

.slide-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    transform: translateY(30px);
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
    opacity: 0;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.slide-desc {
    font-size: 1.35rem;
    color: #e2e8f0;
    margin-bottom: 3rem;
    font-weight: 300;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 30;
}

.dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Grid */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Product Cards */
.card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.price-tag {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

/* Forms */
.form-group {
    margin-bottom: 1.8rem;
}

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

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.table-responsive table {
    min-width: 800px;
}

/* Sub-headers / Typography specific enhancements */
.features h2,
.newsletter h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid var(--border-glass) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .slide-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    header.glass-nav {
        height: auto;
        flex-direction: column;
        gap: 1.5rem;
        position: relative;
        /* Un-fix on mobile if preferred, or keep fixed and adjust padding */
        padding: 1.5rem 1rem;
        background: var(--bg-color);
        /* Solid bg for mobile menu readability */
    }

    .slider-container {
        margin-top: 0;
        height: 70vh;
        min-height: 500px;
    }

    .container {
        margin-top: 2rem;
        padding: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav ul li a {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-desc {
        font-size: 1.1rem;
    }

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        display: block;
        margin-bottom: 0.5rem;
    }

    .slide-title {
        font-size: 2rem;
    }
}