/* Honey Premium Perfume - Global Styles */
:root {
    --bg-color: #020617; /* Premium Dark Blue */
    --accent: #f59e0b;    /* Gold */
    --primary-light: #0f172a; /* Darker Blue for Cards */
    --text-white: #fdf4ff;
    --text-muted: #ddd6fe;
    --font-main: 'Hind Siliguri', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
}

/* Navigation */
header {
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: var(--transition);
}

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

.cart-icon {
    font-size: 1.5rem;
    color: var(--accent);
    cursor: pointer;
    position: relative;
}

.cart-count {
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -10px;
    transition: transform 0.3s ease;
}

.cart-count.bump {
    transform: scale(1.4);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #d97706;
}

/* Sections */
section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--accent);
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.product-img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--accent);
    color: #000;
}

}

/* Discovery Tool */
.tool-container {
    max-width: 800px;
    margin: 0 auto;
}

.tool-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 0 0 30px 30px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tool-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: -1px;
}

.tab-btn {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(245, 158, 11, 0.1);
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 600;
}

.tab-btn.active {
    background: rgba(15, 23, 42, 0.6);
    color: var(--accent);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(15px);
}

.tool-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tool-content.active {
    display: block;
}

.speed-gauge-container {
    width: 200px;
    height: 200px;
    border: 10px solid rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

#speed-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
}

.tool-card h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tool-card p {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.mood-selector {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.mood-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
}

.mood-btn:hover, .mood-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: black;
    transform: translateY(-3px);
}

.tool-result {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.recommended-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    width: 100%;
}

.recommended-img {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-item p {
    color: var(--text-muted);
}

/* Contact */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    background: var(--primary-light);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent);
}

/* Footer */
footer {
    padding: 4rem 5%;
    background: #010413;
    text-align: center;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, you'd add a hamburger menu */
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .cart-sidebar {
        width: 100% !important;
    }
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(245, 158, 11, 0.2);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-header h2 {
    font-size: 1.8rem;
    color: var(--accent);
}

.close-cart {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-white);
    transition: var(--transition);
    line-height: 1;
}

.close-cart:hover {
    color: #ef4444;
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-items::-webkit-scrollbar {
    width: 5px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.cart-footer {
    padding: 2.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Checkout Form Redesign */
.checkout-form {
    margin-bottom: 2rem;
}

.checkout-form h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    outline: none;
}

.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.total-price span:last-child {
    color: var(--accent);
    font-size: 1.8rem;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: #000;
    padding: 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(245, 158, 11, 0.3);
    filter: brightness(1.1);
}

.checkout-btn:active {
    transform: translateY(0);
}
