/* CSS Variables - Enhanced for Kawaii Aesthetic */
:root {
    --primary-bg-light: #FFECF4; /* Very light pink for base background */
    --primary-bg-dark: #FFC0CB; /* Main soft pink */
    --secondary-accent: #FF85A2; /* Brighter pink for gradients/accents */
    --tertiary-accent: #A3D8F4; /* Light blue/mint for contrast shapes */
    --text-dark: #4A4A4A;
    --text-light: #7F7F7F;
    --white: #ffffff;
    --glass-bg-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white for glassmorphism */
    --glass-border-color: rgba(255, 255, 255, 0.7);
    --shadow-soft: rgba(0, 0, 0, 0.08); /* Softer general shadow */
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    --pink-glow: rgba(255, 192, 203, 0.7); /* Soft pink for focus glow */
    --border-radius-soft: 15px;
    --border-radius-pill: 50px;
    --transition-speed: 0.3s;
    --card-shadow-pink: rgba(255, 192, 203, 0.4); /* Light pink for card shadow */
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatShapes {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
    100% { transform: translateY(0px) scale(1); }
}

/* Basic Reset & Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-bg-light) 0%, var(--primary-bg-dark) 100%); /* Soft pastel pink gradient */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    animation: fadeIn 0.8s ease-out forwards; /* Smooth fade-in on load */
    position: relative; /* For pseudo-elements */
}

/* Floating Decorative Shapes */
body::before, body::after {
    content: '';
    position: absolute;
    background: var(--secondary-accent);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(50px);
    animation: floatShapes 8s ease-in-out infinite alternate;
    z-index: -1;
}

body::before {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    background: var(--secondary-accent);
}

body::after {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
    background: var(--tertiary-accent);
    animation-delay: 2s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header (unchanged for now, waiting for nav clarification) */
.header {
    background-color: var(--primary-bg-light); /* Changed to use new var */
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow-soft); /* Softer shadow */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.8);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-main {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-grow: 1;
    justify-content: center;
}

.logo img {
    height: 50px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 8px var(--shadow-soft);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 1.05rem;
    padding: 10px 18px;
    border-radius: var(--border-radius-pill);
    transition: none !important; /* Keep transition none for now */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.header-cta {
    flex-shrink: 0;
}

.header-cta .btn {
    background-color: var(--secondary-accent); /* Use new accent color */
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 4px 10px var(--shadow-medium);
}

.header-cta .btn:hover {
    background-color: var(--primary-bg-dark); /* Darker pink on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px var(--shadow-strong);
}

/* New CSS for full width responsive layout */

/* Main container already has max-width: 1200px and margin: 0 auto */

/* Section spacing */
.section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Hero section styling enhancements for full width */
.hero {
    position: relative; /* Ensure it's not already there */
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Grid for product and category sections */
.category-grid,
.product-grid,
.choose-us-grid { /* Added choose-us-grid here */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    gap: 30px !important;
}

/* Override for 'Shop by Category' to always be 2 columns */
.categories-section .category-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center; /* Center items horizontally */
    align-items: stretch; /* Make cards equal height */
    gap: 30px; /* Keep column gap at 30px */
    row-gap: 20px; /* Reduce vertical gap between rows */
}

.choose-us-card {
    text-align: center;
    padding: 20px;
    background-color: var(--glass-bg-color);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 10px var(--shadow-soft);
}

.choose-us-card .card-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.category-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Make card height auto instead of fixed */
    width: 100%;
    padding: 20px; /* Card padding to 20px */
    background-color: var(--glass-bg-color);
    border-radius: 20px; /* Add border-radius 20px */
    box-shadow: 0 4px 15px var(--card-shadow-pink); /* Add soft shadow (light pink shadow) */
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease; /* Smooth transition for hover effect */
}

.category-card:hover {
    transform: scale(1.02); /* Add hover effect (scale 1.02 smooth) */
    box-shadow: 0 8px 20px var(--card-shadow-pink); /* Enhance shadow on hover */
}

/* Image styling */
.category-card img {
    width: 100%;
    height: 180px; /* Set images height to 180px only */
    display: block;
    object-fit: cover; /* Apply object-fit cover to images */
    border-radius: var(--border-radius-soft); /* Keep existing border-radius for images */
    margin-bottom: 8px; /* Reduce spacing between image and title (from 10px to 8px) */
}
/* General image styling for other sections */
.product-card img,
.featured-product-card img {
    width: 100%;
    height: auto; /* Keep auto for other images if not specified */
    display: block;
    object-fit: cover;
}

.product-image-container,
.featured-image-container {
    height: 250px; /* Consistent height for product images */
    overflow: hidden; /* Hide overflowing parts of the image */
    border-radius: var(--border-radius-soft);
}

/* Center text for headings */
h1, h2, h3, h4, h5, h6, .section-title {
    text-align: center;
}

/* Responsive adjustments for grids */
@media (max-width: 1024px) { /* Tablet and below */
    /* General product grid behavior */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Specific for category-grid on tablet */
    .categories-section .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) { /* Mobile and below */
    /* General product grid behavior */
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    /* Specific for category-grid on mobile */
    .categories-section .category-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .hero-text {
        padding: 20px; /* Adjust padding for smaller screens */
    }
}

/* Contact Page Specific Styles */
.contact-content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.contact-container {
    max-width: 900px;
    width: 90%; /* Ensure responsiveness */
    padding: 30px; /* Increased padding */
    background-color: var(--glass-bg-color); /* Glassmorphism background */
    border: 1px solid var(--glass-border-color); /* Glassmorphism border */
    backdrop-filter: blur(10px); /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-soft); /* Rounded corners */
    box-shadow: 0 10px 30px var(--shadow-medium); /* Soft shadow for depth */
}

.contact-container h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-size: 2.5rem; /* Larger title */
}

.form-group {
    margin-bottom: 25px; /* Increased spacing */
}

/* Input styling */
input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 24px); /* Account for padding */
    padding: 15px; /* Increased padding */
    border: 1px solid var(--primary-bg-dark); /* Pink border */
    border-radius: var(--border-radius-soft); /* Rounded corners */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: var(--white);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-accent); /* Brighter pink on focus */
    box-shadow: 0 0 0 4px var(--pink-glow); /* Soft pink focus glow */
}

textarea {
    resize: vertical;
    min-height: 150px; /* Slightly taller */
}

/* Button Styling */
.btn-submit {
    display: block;
    width: 100%;
    padding: 15px 20px; /* Increased padding */
    background: linear-gradient(45deg, var(--secondary-accent) 0%, var(--primary-bg-dark) 100%); /* Gradient pink button */
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-pill); /* Pill shape */
    font-size: 1.2rem; /* Larger font */
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 15px var(--shadow-medium); /* Soft initial shadow */
}

.btn-submit:hover {
    transform: translateY(-5px); /* Lift animation */
    box-shadow: 0 10px 20px var(--shadow-strong); /* Stronger shadow */
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: var(--secondary-accent); /* Use new accent color */
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer Styles from home page */
.footer {
    background-color: var(--primary-bg-light); /* Matched to new primary light bg */
    padding: 40px 0;
    color: var(--text-dark);
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -2px 10px var(--shadow-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
}

.footer-brand .footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.footer-brand .brand-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a, .footer-contact-social a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover, .footer-contact-social a:hover {
    color: var(--secondary-accent); /* Matched to new accent color */
}

.footer-contact-social {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact-social h3 {
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
    .footer-brand {
        text-align: left;
    }
    .footer-contact-social {
        text-align: center; /* Explicitly center for larger screens */
    }
    .footer-links {
        text-align: center; /* Explicitly center for larger screens */
    }
    .social-icons {
        text-align: left;
    }
    .contact-container {
        padding: 40px; /* More padding on larger screens */
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    .navbar-main {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .header-cta {
        margin-top: 15px;
    }
    .contact-container h1 {
        font-size: 2rem; /* Adjust title size for mobile */
    }
}
/* Hero Section */
.hero-section {
    background-color: var(--cream-color); /* Cream background */
    text-align: center;
    padding: 80px 20px;
    border-bottom-left-radius: var(--border-radius-soft);
    border-bottom-right-radius: var(--border-radius-soft);
    margin-bottom: 40px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.hero-section h1 {
    font-size: 3.5em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-pink);
    color: var(--text-dark);
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius-soft);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px var(--shadow-color);
    text-decoration: none;
}

.btn:hover {
    background-color: #ffc4e2; /* Slightly darker pink on hover */
    transform: translateY(-3px);
    box-shadow: var(--button-hover-shadow);
}

/* Product Grid */
.products-section {
    padding: 40px 0;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
}

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

.product-card {
    background-color: white;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
    max-width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: contain; /* Ensure image fits without cropping */
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-card .price {
    font-size: 1.1em;
    color: #e91e63; /* A prominent color for price */
    font-weight: 700;
    margin-bottom: 15px;
}

.product-card .add-to-cart {
    background-color: #a4e4d8; /* A nice pastel green/blue for add to cart */
    color: var(--text-dark);
    padding: 10px 20px;
    font-size: 0.9em;
}

.product-card .add-to-cart:hover {
    background-color: #8cd3c5; /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Categories Section */
.categories-section {
    padding: 40px 0;
    background-color: var(--cream-color); /* Cream background */
    border-radius: var(--border-radius-soft);
    margin-top: 40px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.categories-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
}

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

.category-card {
    background-color: white;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-card h3 {
    font-size: 1.5em;
    color: var(--text-dark);
}

/* About Section */
.about-section {
    padding: 60px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 700;
}

.about-section p {
    font-size: 1.1em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--primary-pink);
    color: var(--text-dark);
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-top-left-radius: var(--border-radius-soft);
    border-top-right-radius: var(--border-radius-soft);
    box-shadow: 0 -2px 10px var(--shadow-color);
}

.footer-links {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #b05c84;
}

.contact-info,
.copyright {
    font-size: 0.9em;
    margin-bottom: 5px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8em;
    }

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

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8em;
    }

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

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}
.cart-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 20px; /* Adjust spacing as needed */
}

.cart-icon img {
    height: 24px;
    width: 24px;
    margin-right: 5px;
}
