/* style.css - Premium Modern E-commerce Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #0f172a;       /* Deep Indigo */
    --accent: #c5a059;        /* Soft Elegant Gold */
    --accent-hover: #b38e4d;
    --background: #ffffff;
    --surface: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--surface);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Glass Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: var(--glass);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary);
    text-transform: uppercase;
}

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

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--accent);
}

.nav-links li a.active-link {
    color: var(--accent);
}

.nav-links li a.active-link::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.cta-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.cta-btn-alt {
    background: var(--accent);
    border-color: var(--accent);
}

.cta-btn-alt:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6)), url('assets/images/online_shopping_0.jpg') center/cover no-repeat;
    color: var(--white);
    padding-top: 90px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Section Styling */
section {
    padding: 120px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.section-head h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.cat-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 450px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.cat-card:hover img {
    transform: scale(1.15);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--white);
}

.cat-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cat-overlay p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Features/About Preview */
.features {
    background: var(--surface);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feat-item {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feat-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 25px;
}

/* Form Styles */
.form-container {
    background: var(--white);
    padding: 60px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 25px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.input-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
}

.input-field:focus {
    border-color: var(--accent);
    background: var(--surface);
}

.checkbox-area {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: var(--surface);
    border-radius: 16px;
    margin-bottom: 30px;
}

.checkbox-area input {
    margin-top: 6px;
    transform: scale(1.3);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0 50px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .input-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .dn-mobile {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}
