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

:root {
    /* Premium Purple & Gold Palette (Matching Logo) */
    --primary-color: #FFD700;
    /* Bright Gold */
    --primary-dark: #C5A065;
    --secondary-color: #F3E5F5;
    /* Very Light Lavender */
    --accent-color: #4A148C;
    /* Deep Royal Purple */
    --text-dark: #2E0249;
    /* Dark Purple/Black */
    --text-muted: #5D4037;
    --text-light: #fff;
    --bg-light: #F3E5F5;

    --card-shadow: 0 10px 30px rgba(74, 20, 140, 0.1);
    --hover-shadow: 0 15px 35px rgba(74, 20, 140, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo-font {
    font-family: 'Playfair Display', serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Header & Nav */
header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

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

/* Constructed CSS Logo for Header (4k Quality) */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}



.logo img {
    height: 70px;
    width: 70px;
    /* Fixed square for perfect circle */
    object-fit: cover;
    display: block;
    border-radius: 50%;
    /* Circular */
    border: 2px solid var(--primary-color);
    /* Gold Border */
    padding: 2px;
    /* Spacing for border */
}

/* Header Search Bar */
.search-container {
    flex-grow: 1;
    margin: 0 40px;
    display: flex;
    align-items: center;
    max-width: 500px;
    /* Don't get too wide */
    background: #f4f4f4;
    border-radius: 30px;
    padding: 5px 15px;
    border: 1px solid transparent;
    /* Prepare for hover/focus */
    transition: var(--transition);
    position: relative;
    /* For absolute suggestion box */
}

.search-container:focus-within {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.search-input {
    border: none;
    background: transparent;
    flex-grow: 1;
    padding: 8px;
    outline: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.search-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
    padding: 5px;
}

.search-btn:hover {
    color: var(--accent-color);
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 15px;
    /* Align with padding */
    right: 15px;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    /* Hidden by default */
    border: 1px solid #eee;
    margin-top: 5px;
}

.search-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: #fdfdfd;
}

.search-suggestion-text {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.search-suggestion-header {
    padding: 10px 15px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    position: sticky;
    top: 0;
}



.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

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

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

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

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: var(--accent-color);
    /* Contrast for gold bg */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    /* Using a more premium placeholder or gradient */
    background: linear-gradient(rgba(46, 2, 73, 0.7), rgba(46, 2, 73, 0.5)), url('https://images.unsplash.com/photo-1615870216519-2f9fa575fa5c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* About Section */
.about-section {
    background: var(--secondary-color);
    padding: 80px 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: left; /* Left align for readability */
}

.about-text p {
    margin-bottom: 1.5rem; /* Add spacing between paragraphs */
}

.quote-box {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background: white;
    text-align: left;
    display: inline-block;
    box-shadow: var(--card-shadow);
}

/* Product Grid */
.container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--accent-color);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 4px;
    /* Sharper corners for elegance */
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.product-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f9f9f9;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.03);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    z-index: 1;
    position: relative;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Clean Text Price Tag */
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0 20px 0;
    font-family: 'Lato', sans-serif;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    /* Better contrast on gold */
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #aeaeae;
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

/* Utility */
.mb-4 {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 80px 20px;
    }
}

/* Mobile Navigation Styles */
.hamburger {
    display: none;
    /* Hidden on desktop */
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 10px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    /* Slide out by default */
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.close-btn {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
    font-weight: 500;
    transition: 0.2s;
}

.mobile-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .search-container {
        display: none;
        /* Hide large search on mobile to save space, or make it an icon toggle later */
    }

    .logo img {
        height: 50px;
        width: 50px;
    }

    nav {
        padding: 0 15px;
    }

    /* Adjust grid for mobile */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        /* Smaller cards */
        gap: 15px;
    }

    .product-img {
        height: 180px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}