﻿/* --- IMAGE TITLE BANNER (20% Height) --- */
.image-title-banner {
    position: relative;
    width: 100%;
    height: 35vh; /* Increased slightly to give faces and text more breathing room */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* FIX: Changed background shorthand to strictly force center alignment */
    background-image: url('/css/images/cafeSeflies1.png');
    background-position: center 50%; /* Forces the exact vertical center of the photo */
    background-repeat: no-repeat;
    background-size: cover;
    /* REMOVED background-attachment: fixed; as it was forcing the top-of-head crop */
}

/* Gold Tint & Soft Theme Overlay */
.image-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to right, rgba(212, 175, 55, 0.15) 0%, rgba(255, 240, 245, 0.35) 50%, rgba(212, 175, 55, 0.15) 100% );
    z-index: 1;
}

/* Center Title Styling */
.image-title-center-box {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.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;
    -webkit-text-stroke: 0.5px rgba(212, 175, 55, 0.5);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Added to help text pop over faces */
}

.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: 15px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.image-title-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.9;
    color: #dbe9d3; /* Matcha Green tint */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .image-title-banner {
        height: 25vh; /* Balanced mobile framework aspect ratio */
        background-position: center center !important;
    }

    .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 */
    }
}






/*selfies and review form*/

/* --- THE MATCHA SPOT USER MESSAGE FORM CONFIGURATION --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,700;0,900;1,400&display=swap');

.user-message-form-container {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2500; /* Sit on top of everything */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(27, 67, 50, 0.4); /* Dark translucent forest green overlay */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.user-message-form-container.active {
    display: flex; /* Display when active */
}

.user-message-form-wrapper {
    width: 100%;
    max-width: 680px; /* Optimal reading frame layout scale */
    background: #ffffff;
    border: 1px solid rgba(45, 106, 79, 0.08); /* Soft Matcha Green hint frame border */
    padding: 50px 40px;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.04);
}

/* --- Form Headers --- */
.user-message-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.user-message-form-badge {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1b4332; /* Deep Matcha Green */
    background: #e8f5e9; /* Pastel Matcha Wash */
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
}

.user-message-form-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #1b4332;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.user-message-form-accent-pink {
    color: #ffb7c5; /* Elegant Sakura Pink */
    font-style: italic;
    font-weight: 400;
}

.user-message-form-sub-desc {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 500px;
}

/* --- Form Architecture Structure --- */
.user-message-form-element {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.user-message-form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.user-message-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-message-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1b4332;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-message-form-input,
.user-message-form-textarea {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 14px 18px;
    background: #fdfdfd;
    border: 1px solid #e2e0da;
    border-radius: 12px;
    color: #1b4332;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

    .user-message-form-input:focus,
    .user-message-form-textarea:focus {
        outline: none;
        border-color: #1b4332;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.05);
    }

/* --- Elegant Image Upload Zone --- */
.user-message-form-upload-zone {
    border: 2px dashed #ffb7c5; /* Sakura Pink border track line */
    background: rgba(255, 240, 245, 0.3); /* Ultra soft pink glow overlay layer */
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .user-message-form-upload-zone:hover {
        background: rgba(255, 183, 197, 0.15);
        border-color: #1b4332;
    }

.user-message-form-file-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.user-message-form-upload-icon {
    font-size: 1.8rem;
    color: #ffb7c5;
    display: block;
    margin-bottom: 8px;
}

.user-message-form-upload-text {
    font-size: 0.9rem;
    color: #1b4332;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.user-message-form-upload-limit {
    font-size: 0.75rem;
    color: #777777;
}

/* Photo Submission Preview Interface Metrics */
.user-message-form-preview-img {
    max-height: 200px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    display: block;
}

/* --- Submit Action Configurations --- */
.user-message-form-submit-btn {
    width: 100%;
    background: #1b4332;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.15);
}

    .user-message-form-submit-btn:hover {
        background: #ffb7c5; /* Shifts elegantly to Sakura Pink on hover interaction rules */
        color: #1b4332;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255, 183, 197, 0.5);
    }

/* Loading CSS Spinner Logic */
.user-message-form-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(27, 67, 50, 0.2);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: formSpin 0.7s linear infinite;
}

.user-message-form-hidden {
    display: none !important;
}

@keyframes formSpin {
    to {
        transform: rotate(360deg);
    }
}

/* --- MOBILE RESPONSIVE ADAPTATION ENGINE --- */
@media (max-width: 768px) {
    .user-message-form-wrapper {
        padding: 35px 24px;
        border-radius: 24px;
    }

    .user-message-form-row-grid {
        grid-template-columns: 1fr; /* Instantly stacks input controls cleanly on small phone widths */
        gap: 16px;
    }

    .user-message-form-container {
        padding: 40px 16px;
    }
}






/*review/seflies display*/

/* ==========================================================================
   APPROVED SELFIES & REVIEWS PINBOARD SECTION
   ========================================================================== */
.reviews-container {
    width: 100%;
    min-height: 100vh; /* Forces container to span full viewport height */
    padding: 80px 5%;
    box-sizing: border-box;
    /* --- TOTAL BACKGROUND COVERAGE --- */
    background-image: url('/css/images/pinBoardPink.jpg'); /* Set your true background asset path here */
    background-size: cover; /* Crops and scales dynamically to cover all screen shapes */
    background-position: center; /* Keeps the graphical weight centered */
    background-repeat: no-repeat; /* Disables repeating if elements extend downwards */
    background-attachment: scroll; /* Scrolls naturally down the wall layout */
}

.reviews-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 1. THE GRID SYSTEM --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 30px;
    padding-top: 20px;
}

/* --- 2. PINNED PAPER CARD STRUCT --- */
.reviews-card {
    position: relative;
    background: #ffffff;
    padding: 16px;
    padding-bottom: 24px;
    box-sizing: border-box;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .reviews-card:nth-child(even) {
        transform: rotate(1.5deg);
    }

    .reviews-card:nth-child(odd) {
        transform: rotate(-1.5deg);
    }

    .reviews-card:hover {
        transform: translateY(-8px) rotate(0deg) scale(1.02);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
        z-index: 5;
    }

/* --- 3. THE PAPER PIN --- */
.reviews-card-pin {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 4px 4px, #e6b800, #b38f00, #665200);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4), inset -1px -1px 2px rgba(0, 0, 0, 0.4);
}

    .reviews-card-pin::after {
        content: '';
        position: absolute;
        top: 6px;
        left: 8px;
        width: 4px;
        height: 8px;
        background: rgba(0, 0, 0, 0.3);
        transform: rotate(30deg);
        border-radius: 50%;
    }

/* --- 4. SELFIE SNAPSHOT CONTAINER --- */
.reviews-card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.reviews-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- 5. TEXT CONTENT & FOOTER --- */
.reviews-card-content {
    font-family: var(--st-font-main, 'Playfair Display', serif);
}

.reviews-card-message {
    color: #444444;
    font-size: 1rem;
    line-height: 1.5;
    font-style: italic;
    margin: 0 0 16px 0;
    word-wrap: break-word;
}

.reviews-card-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px dashed #e0e0e0;
    padding-top: 12px;
}

.reviews-card-username {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--st-green, #2d6a4f);
    text-transform: capitalize;
}

.reviews-card-date {
    font-size: 0.75rem;
    color: #999999;
    font-family: sans-serif;
}

/* --- 6. EMPTY PLACEHOLDER STYLING --- */
.reviews-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.reviews-placeholder-icon {
    font-size: 2rem;
    color: var(--st-accent-pink, #ffb7c5);
    display: block;
    margin-bottom: 10px;
}

.reviews-placeholder-text {
    font-family: var(--st-font-main, serif);
    font-size: 1.2rem;
    color: #666666;
    margin: 0;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 640px) {
    .reviews-container {
        padding: 50px 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 45px 0;
    }

    .reviews-card:nth-child(even),
    .reviews-card:nth-child(odd) {
        transform: rotate(0.8deg);
    }

    .reviews-card:hover {
        transform: translateY(-4px) rotate(0deg);
    }
}

/* ==========================================================================
   PAGINATION STYLES
   ========================================================================== */
.reviews-pagination-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
    padding-bottom: 20px;
}

.pagination-nav-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 24px;
    border: 1px solid rgba(45, 106, 79, 0.15);
    background-color: #ffffff;
    color: #1b4332;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-nav-btn:hover:not(:disabled) {
    background-color: #ffb7c5;
    color: #1b4332;
    border-color: #ffb7c5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 183, 197, 0.3);
}

.pagination-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #faf9f5;
    color: #999999;
    border-color: #e0e0e0;
}

.pagination-page-number {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #1b4332;
    font-size: 0.95rem;
}

/* ==========================================================================
   MODAL TRIGGER AND CLOSE BUTTON STYLES
   ========================================================================== */
.post-trigger-container {
    background: url('/css/images/woodenPlank1.jpg') repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto; /* Removed vertical margins to eliminate the white gap lines */
    padding: 30px 20px; /* Added vertical padding so the red background remains continuous */
    box-sizing: border-box;
}

.post-trigger-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background-color: #1b4332; /* Deep Matcha Green */
    border: 2px solid #1b4332;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.15);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    outline: none;
}

.post-trigger-btn:hover {
    background-color: #ffb7c5; /* Sakura Pink */
    border-color: #ffb7c5;
    color: #1b4332;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 183, 197, 0.35);
}

.post-trigger-icon {
    font-size: 1.15rem;
    color: inherit;
    animation: pulseIcon 2s infinite ease-in-out;
}

.user-message-form-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2.2rem;
    font-weight: 300;
    color: #1b4332;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 5px;
    outline: none;
    z-index: 10;
}

.user-message-form-close-btn:hover {
    color: #ffb7c5;
    transform: scale(1.1);
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}