﻿/* --- PRODUCT CATALOG SECTION --- */
.product-card-catalog-section {
    padding: 100px 5%;
    font-family: 'Playfair Display', serif;
    /* Image Background Setup with a soft light mask overlay */
    background-image: url('/css/images/sky1.jpg'); /* Change to your actual file name */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: Creates a cool parallax scrolling effect */
}

.product-card-catalog-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-card-catalog-main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1b4332; /* Matcha Green */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
}

.product-card-catalog-pink {
    color: #ffb7c5; /* Sakura Pink */
}

.product-card-catalog-subtitle {
    font-family: 'Inter', sans-serif;
    color: #555; /* Darkened slightly for better readability on image backgrounds */
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Grid Layout */
.product-card-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Item Card */
.product-card-catalog-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    /* Soft shadow added to make cards stand out neatly over the background image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

    .product-card-catalog-item:hover {
        transform: translateY(-10px);
        border-color: #ffb7c5; /* Pink border on hover */
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

/* Image Container */
.product-card-catalog-image-box {
    position: relative;
    height: 350px;
    background: #f9f9f9;
    overflow: hidden;
}

.product-card-catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-catalog-item:hover .product-card-catalog-img {
    transform: scale(1.08);
}

.product-card-catalog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2d6a4f;
    color: white;
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 50px;
}

/* Details Area */
.product-card-catalog-details {
    padding: 25px;
}

.product-card-catalog-name {
    font-size: 1.4rem;
    color: #1b4332;
    margin: 0 0 10px 0;
}

.product-card-catalog-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer of the Card */
.product-card-catalog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product-card-catalog-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d6a4f;
}

.product-card-catalog-add {
    background: transparent;
    border: 1px solid #d4af37; /* Gold Tint border */
    color: #d4af37;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: 0.3s;
}

    .product-card-catalog-add:hover {
        background: #ffb7c5; /* Pink fill on hover */
        color: #fff;
        border-color: #ffb7c5;
    }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .product-card-catalog-section {
        padding: 60px 20px;
        background-attachment: scroll; /* Fixes performance lag on mobile browsers */
    }

    .product-card-catalog-image-box {
        height: 300px;
    }
}




/*title and image section*/

/* --- IMAGE TITLE BANNER (20% Height) --- */
.image-title-banner {
    position: relative;
    width: 100%;
    height: 30vh; /* Exactly % of screen height */
    min-height: 150px; /* Ensures visibility on very small screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Background Image Setup */
    background: url('/css/images/matchaPowder.webp') center center no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect for elegance */
}

/* Gold Tint & Soft Theme Overlay */
.image-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle Gold and Pink tint */
    background: linear-gradient( to right, rgba(212, 175, 55, 0.1) 0%, rgba(255, 240, 245, 0.3) 50%, rgba(212, 175, 55, 0.1) 100% );
    z-index: 1;
}

/* Center Title Styling */
.image-title-center-box {
    position: relative;
    z-index: 2;
    text-align: center;
}

.image-title-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin: 0;
    /* Gold stroke/tint effect */
    -webkit-text-stroke: 0.5px rgba(212, 175, 55, 0.5);
}

.image-title-accent {
    color: #ffb7c5; /* Sakura Pink */
    font-style: italic;
    text-transform: none;
    letter-spacing: 2px;
}

/* Bottom Text Styling */
.image-title-footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.image-title-desc {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.9;
    /* Matcha Green tint on the text */
    color: #dbe9d3;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .image-title-banner {
        height: 15vh; /* Slightly smaller on mobile to save space */
        background-attachment: scroll; /* Better performance on mobile */
    }

    .image-title-main {
        letter-spacing: 5px;
    }

    .image-title-desc {
        letter-spacing: 2px;
        font-size: 0.65rem;
    }
}







/*seporator titel-----------------------*/

/* --- SECTION SEPARATOR TITLE --- */
.section-separator-title-wrap {
    position: relative;
    width: 100%; /* Full screen width */
    background-color: #ffb7c5; /* Sakura Pink */
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* The "Fancy" Decorative Green Lines */
.section-separator-title-line-top,
.section-separator-title-line-bottom {
    position: absolute;
    width: 150px;
    height: 4px;
    background-color: #2d6a4f; /* Matcha Green */
    border-radius: 2px;
}

.section-separator-title-line-top {
    top: 20px;
    left: 10%;
    transform: rotate(-2deg);
    box-shadow: 20px 5px 0px rgba(45, 106, 79, 0.2); /* Ghost line effect */
}

.section-separator-title-line-bottom {
    bottom: 20px;
    right: 10%;
    transform: rotate(2deg);
    box-shadow: -20px -5px 0px rgba(45, 106, 79, 0.2);
}

/* Typography Container */
.section-separator-title-content {
    text-align: center;
    z-index: 2;
}

/* "Discover the Art of" - Fancy Script Style */
.section-separator-title-fancy {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: -10px;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* "Matcha Perfection" - Bold and Elegant */
.section-separator-title-main {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #ffffff;
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive sizing */
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 0;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Floating Green Accent Circles (Subtle) */
.section-separator-title-wrap::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -50px;
    z-index: 1;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .section-separator-title-wrap {
        padding: 40px 0;
    }

    .section-separator-title-main {
        letter-spacing: 4px;
        line-height: 1.1;
    }

    .section-separator-title-line-top,
    .section-separator-title-line-bottom {
        width: 80px; /* Shorter lines for smaller screens */
    }
}








/*menu product display========================================*/

/* ==========================================================================
   Catalog Section: Softly hand-written feel on pastel pink-white paper
   ========================================================================== */
.product-card-catalog-section {
    padding: 80px 5% !important;
    background-image: linear-gradient(rgba(255, 228, 233, 0.88), rgba(255, 228, 233, 0.88)), url('/css/images/paperMenu.jpg') !important;
    background-blend-mode: multiply !important;
    font-family: 'Caveat', 'Playfair Display', serif !important;
}

/* --- Core Layout Fix: Strict 3-Column Grid System --- */
.product-card-catalog-grid {
    display: grid !important;
    /* Forces exactly 3 columns even if only 1 or 2 items exist, stopping awkward stretching */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 35px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Responsive adjustment for mid-sized tablets */
@media (max-width: 1024px) {
    .product-card-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Responsive adjustment for mobile phones */
@media (max-width: 650px) {
    .product-card-catalog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
.section-separator-title-fancy {
    font-family: 'Shadows Into Light', cursive !important;
    font-size: 1.8rem !important;
    color: #d66882 !important;
}

.section-separator-title-main {
    font-family: 'Caveat', cursive !important;
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    color: #1b4332 !important;
}

/* Title styling for handwritten section headers */
.handwritten-category-header {
    text-align: center;
    margin: 60px auto 40px auto;
    max-width: 700px;
    position: relative;
    padding-bottom: 15px;
    scroll-margin-top: 120px !important; /* Floating Header Adjustments for Scroll Landing */
}

.handwritten-category-title {
    font-family: 'Shadows Into Light', cursive !important;
    font-size: 2.5rem !important;
    color: #1b4332 !important;
    margin: 0 !important;
    letter-spacing: 2px;
    text-transform: capitalize;
    font-weight: 700;
}

/* Handwritten decorative border underneath the title */
.handwritten-category-border {
    width: 100%;
    height: 4px;
    border-bottom: 3px dashed rgba(27, 67, 50, 0.25);
    margin-top: 10px;
    position: relative;
}

    /* Tiny hand-drawn style star or leaf in the center of the border line */
    .handwritten-category-border::after {
        content: '✿';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 228, 233, 0.95); /* matches pastel pink bg */
        padding: 0 15px;
        font-size: 1.6rem;
        color: #d4af37;
    }


/* ==========================================================================
   Product Card Styles (Polaroid / Scrapbook Vibe)
   ========================================================================== */
.product-card-catalog-item {
    background: rgba(255, 255, 255, 0.65) !important; /* Semi-transparent white to blend with the pink paper */
    border: 2px solid rgba(27, 67, 50, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.04) !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
    position: relative;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Alternate rotation of cards for hand-placed collage menu effect */
.product-card-catalog-grid .product-card-catalog-item:nth-child(odd) {
    transform: rotate(-1.5deg);
}

.product-card-catalog-grid .product-card-catalog-item:nth-child(even) {
    transform: rotate(1.2deg);
}

.product-card-catalog-grid .product-card-catalog-item:hover {
    transform: translateY(-8px) scale(1.02) rotate(0deg) !important;
    box-shadow: 5px 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #ffb7c5 !important;
}

/* Add a sketchy paper clip decoration to some items for an amazing stationery touch */
.product-card-catalog-item::after {
    content: '📎';
    position: absolute;
    top: -12px;
    right: 15px;
    font-size: 24px;
    transform: rotate(15deg);
    opacity: 0.85;
    z-index: 11;
}


/* ==========================================================================
   Card Media & Inner Content
   ========================================================================== */
/* Image container styled like a taped polaroid */
.product-card-catalog-image-box {
    height: 280px !important;
    background: #fff !important;
    border: 6px solid #fff !important;
    border-bottom-width: 24px !important; /* Authentic polaroid fat bottom margin */
    border-radius: 2px !important;
    box-shadow: 1px 3px 8px rgba(0,0,0,0.06) !important;
    position: relative;
    overflow: visible !important; /* Allow tape to overflow */
}

    /* Washi tape at the top of each item */
    .product-card-catalog-image-box::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%) rotate(-3deg);
        width: 100px;
        height: 25px;
        background: rgba(255, 183, 197, 0.5) !important; /* semi-transparent pastel pink tape */
        box-shadow: 1px 1px 3px rgba(0,0,0,0.05);
        border-left: 2px dashed rgba(0,0,0,0.1);
        border-right: 2px dashed rgba(0,0,0,0.1);
        z-index: 10;
    }

.product-card-catalog-img {
    border-radius: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dynamic Badge Tags (New, Best Seller, Seasonal, Limited) inside Polaroid box */
.product-card-catalog-tag {
    position: absolute;
    max-height: 30px;
    bottom: -15px;
    left: 10px;
    background: #db7093;
    color: #fff;
    font-family: 'Shadows Into Light', cursive !important;
    font-size: 0.9rem;
    padding: 2px 10px;
    border-radius: 4px;
    z-index: 5;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.1);
}

/* Details area styling */
.product-card-catalog-details {
    padding: 15px 5px 5px 5px !important;
    font-family: 'Caveat', cursive !important;
}

.product-card-catalog-name {
    font-family: 'Caveat', cursive !important;
    font-weight: 700 !important;
    font-size: 1.9rem !important;
    color: #1b4332 !important;
    margin-bottom: 5px !important;
}

.product-card-catalog-desc {
    font-family: 'Caveat', cursive !important;
    font-size: 1.25rem !important;
    color: #444 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.product-card-catalog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Price tag styling like a hand-drawn circle or label */
.product-card-catalog-price {
    font-family: 'Caveat', cursive !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #2d6a4f !important;
}

/* Add to Cart button styled like hand-drawn ink script */
.product-card-catalog-add {
    font-family: 'Caveat', cursive !important;
    font-size: 1.1rem !important;
    border: 2px dashed #d4af37 !important;
    border-radius: 12px !important;
    color: #b38b25 !important;
    background: transparent !important;
    padding: 4px 14px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

    .product-card-catalog-add:hover {
        background: rgba(255, 183, 197, 0.2) !important;
        border-style: solid !important;
        border-color: #ffb7c5 !important;
        color: #db7093 !important;
    }


/* ==========================================================================
   Menu Navigation / Preview Sticky bar 
   ========================================================================== */
.menu-preview-section {
    background-color: rgba(255, 228, 233, 0.45);
    border-bottom: 2px dashed rgba(27, 67, 50, 0.12);
    padding: 24px 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.menu-preview-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.menu-preview-title {
    font-family: 'Shadows Into Light', cursive !important;
    font-size: 1.8rem !important;
    font-weight: 700;
    color: #1b4332;
    margin-right: 8px;
}

.menu-preview-link {
    font-family: 'Caveat', cursive !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1b4332 !important;
    text-decoration: none !important;
    padding: 8px 20px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border-radius: 24px !important;
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .menu-preview-link:hover {
        transform: translateY(-4px) scale(1.04);
        background: #ffffff !important;
        box-shadow: 3px 8px 16px rgba(0, 0, 0, 0.08) !important;
        color: #db7093 !important;
    }

/* Unique dashed borders for each preview tag matching its category layout */
.brand-pink-border {
    border: 2px dashed #ffb7c5 !important;
}

.brand-gold-border {
    border: 2px dashed #b38b25 !important;
}

.brand-rose-border {
    border: 2px dashed #db7093 !important;
}

.brand-purple-border {
    border: 2px dashed #8b008b !important;
}

.brand-green-border {
    border: 2px dashed #2d6a4f !important;
}

html {
    scroll-behavior: smooth;
}