:root {
    --primary-color: #ec008c;
    --secondary-color: #ce5a78;
    --accent-light: #f8d4e5;
    --accent-warm: #f8f1e7;
    --nature-green: #a3b18a;
    --text-dark: #1c1c1c;
    --text-light: #666666;
    --background-cream: #f8f1e7;
    --white: #FFFFFF;
    --shadow-light: 0 2px 15px rgba(236, 0, 140, 0.1);
    --shadow-medium: 0 4px 25px rgba(236, 0, 140, 0.15);
    --shadow-romantic: 0 8px 30px rgba(206, 90, 120, 0.2);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-cream);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    width: 125px;
    height: 75px;
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: var(--white); */
    color: transparent;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    /* box-shadow: var(--shadow-light); */
}

.logo:hover {
    transform: translateY(-3px);
    /* box-shadow: var(--shadow-romantic); */
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    background-color: var(--accent-light);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide:nth-child(1) {
    background-image: url('slide_01.png');   
    background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
}

.carousel-slide:nth-child(2) {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><rect fill="%238B4B3B" width="800" height="400"/><text x="400" y="200" font-family="serif" font-size="24" fill="white" text-anchor="middle"></text></svg>');
}

.carousel-slide:nth-child(3) {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><rect fill="%23F5E6D3" width="800" height="400"/><text x="400" y="200" font-family="serif" font-size="24" fill="%232C2C2C" text-anchor="middle"></text></svg>');
}

.carousel-content {
    text-align: center;
    color: var(--white);
    padding: 2.5rem;
    background: rgba(28, 28, 28, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(248, 212, 229, 0.3);
}

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

/* .product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
} */

.product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.product-card:nth-child(1) .product-image {
    background-image: url('bouquets_200x300_01d.png');
    background-color: var(--accent-light);
}

.product-card:nth-child(2) .product-image {
    background-image: url('bouquets_mini_BW_200x300_01c.png');
    background-color: var(--accent-warm);
}

.product-card:nth-child(3) .product-image {
    background-image: url('custom_200x300_01a.png');
    background-color: var(--accent-light);
}

/* Optional: Add a subtle overlay for better text readability if needed */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}
/*.product-image::after {
    content: '🌸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.8;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
} */

/* .product-card:nth-child(2) .product-image::after {
    content: '🕯️';
}

.product-card:nth-child(3) .product-image::after {
    content: '💐';
}
*/

.product-content {
    padding: 2rem;
}

.product-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.product-link:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--nature-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 0, 140, 0.3);
}

/* Category Hero Section - For Product Pages */
.category-hero {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-warm));
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.category-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(236, 0, 140, 0.1);
}

.category-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Product Items - For Product Pages */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.product-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
    transition: var(--transition);
    border: 1px solid rgba(248, 212, 229, 0.3);
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: center;
}

.product-item:hover {
    box-shadow: var(--shadow-romantic);
    transform: translateY(-5px);
}

.product-item:nth-child(even) {
    grid-template-columns: 1fr 350px;
}

.product-item:nth-child(even) .product-item-image {
    order: 2;
}

.product-item:nth-child(even) .product-item-content {
    order: 1;
}

.product-item-image {
    width: 350px;
    height: 300px;
    
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-item-image::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px; /* adjust as needed */
    height: 300px;
    transform: translate(-50%, -50%);
    background-image: url('Bouquet_S.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}
/* .product-item-image::after {
    content: '🌹';
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.8;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}*/

.product-item:nth-child(2n) .product-item-image::after {
    content: '🌹';
}

.product-item:nth-child(3n) .product-item-image::after {
    content: '🌺';
}

.product-item:nth-child(4n) .product-item-image::after {
    content: '🌷';
}

.product-item:nth-child(5n) .product-item-image::after {
    content: '🌻';
}

.product-item-content {
    padding: 2rem;
}

.product-item-name {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.product-item-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stock-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--nature-green);
}

.stock-indicator.low {
    background: #ffa500;
}

.stock-indicator.out {
    background: #ff4444;
}

.color-palette {
    margin-bottom: 1.5rem;
}

.color-palette-title {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.color-swatch::after {
    content: attr(data-color);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}

.color-swatch:hover::after {
    opacity: 1;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--nature-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 0, 140, 0.3);
}

.add-to-cart-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-light);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Product page responsive adjustments */
    .category-title {
        font-size: 2.5rem;
    }
    
    .product-item,
    .product-item:nth-child(even) {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-item-image,
    .product-item:nth-child(even) .product-item-image {
        order: 1;
        width: 100%;
        height: 250px;
    }
    
    .product-item-content,
    .product-item:nth-child(even) .product-item-content {
        order: 2;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .products-section {
        padding: 2rem 1rem;
    }

    .carousel-content {
        padding: 1rem;
    }

    .carousel-content h1 {
        font-size: 1.5rem;
    }
}