/* ==========================================================================
   CSS Variables for vibrant theme
   ========================================================================== */
:root {
    --primary-color: #E91E63; /* Vibrant Pink/Magenta */
    --primary-dark: #C2185B;
    --secondary-color: #FF9800; /* Vibrant Orange/Gold */
    --accent-color: #00BCD4; /* Turquoise for contrast */
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #FFF8FA;
    --bg-white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(233, 30, 99, 0.2);
    --radius: 8px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    /* Adjust padding to compensate for border */
    padding: 10px 28px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ==========================================================================
   Header & Navigation (Mobile First)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

.nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-white);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

.nav.active {
    left: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    padding-top: 100px; /* Offset for fixed header */
    background: #fff;
    display: block;
}

.hero-banner-wrapper {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.responsive-hero-img {
    width: 100%;
    height: auto;
    display: block;
}



/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.rounded-image {
    border-radius: var(--radius);
    width: 100%;
    object-fit: cover;
}

.shadow {
    box-shadow: var(--shadow);
}

/* ==========================================================================
   Collection Gallery
   ========================================================================== */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: var(--bg-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 133%; /* 3:4 Aspect Ratio */
}

.image-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-badge { background-color: var(--secondary-color); }
.discount-badge { background-color: #ff4757; }
.best-badge { background-color: #fca311; }

.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.product-info {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-rating {
    color: #fca311;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.product-rating span {
    color: #888;
    font-size: 0.85rem;
    margin-left: 5px;
}

.product-info h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.3;
}

.product-price {
    margin-bottom: 20px;
}

.current-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.old-price {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.95rem;
    margin-left: 8px;
}

.product-actions-inline {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-full {
    flex-grow: 1;
    padding: 10px 15px;
}

.btn-icon {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(233, 30, 99, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.map-placeholder {
    background: var(--bg-white);
    height: 300px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.map-placeholder p {
    margin-top: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================================================
   Desktop / Tablet Media Queries
   ========================================================================== */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: none;
    }

    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .logo {
        justify-self: start;
    }

    .nav {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        display: block;
        justify-self: center;
        grid-column: 2;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-list {
        flex-direction: row;
        gap: 30px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .about-container {
        flex-direction: row;
        align-items: center;
    }

    .about-text, .about-image {
        flex: 1;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    .map-placeholder {
        height: 100%;
    }
}

/* ==========================================================================
   Dropdown Menu CSS
   ========================================================================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 1000;
    border-radius: var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .header-container {
        padding: 10px 15px;
    }

    .logo img {
        height: 34px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-banner-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .responsive-hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .category-section {
        margin-bottom: 40px;
    }

    .category-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    @media (min-width: 480px) and (max-width: 767px) {
        .gallery {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
    }

    .product-card {
        width: 100%;
        max-width: 100%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .product-info {
        padding: 15px 12px;
    }

    .product-info h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .current-price {
        font-size: 1.15rem;
    }

    .product-actions-inline {
        display: flex;
        gap: 8px;
        width: 100%;
        margin-top: auto;
        align-items: center;
    }

    .btn-icon {
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .btn-full {
        flex-grow: 1;
        height: 44px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 22px;
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
        margin-bottom: 0;
    }

    .contact-icon {
        font-size: 1.5rem;
        padding: 12px;
    }

    .contact-item h3 {
        font-size: 1.05rem;
    }

    .map-placeholder {
        height: 220px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Hide by default on mobile */
        padding-left: 15px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
}
