/* ==========================================================================
   Home Page Scope Styles: Glassmorphism, Charcoal & Luminous Gold
   ========================================================================== */
.home-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

/* ==========================================================================
   1. Modern Hero Section (Semi-Transparent Charcoal Glass)
   ========================================================================== */
.home-hero {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    align-items: center;
    gap: 3rem;
    padding: 3.5rem 3rem;
    background: linear-gradient(145deg, rgba(25, 31, 26, 0.55) 0%, rgba(14, 18, 15, 0.65) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 207, 141, 0.16);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: -25%;
    right: -10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 207, 141, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    background: rgba(255, 207, 141, 0.08);
    border: 1px solid rgba(255, 207, 141, 0.28);
    color: #ffcf8d;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    margin: 0 0 1.2rem;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    color: #f5f6f4;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: #ffcf8d;
    text-shadow: 0 0 24px rgba(255, 207, 141, 0.35);
}

.hero-description {
    margin: 0 0 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.9rem;
    border-radius: 9999px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn--primary {
    background: #ffffff;
    color: #0c0e0b;
    border: 1px solid #000000;
    box-shadow: 0 6px 20px rgba(255, 207, 141, 0.25);
}

.hero-btn--primary:hover {
    background: #ffdca8;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 207, 141, 0.35);
}

.hero-btn--outline {
    background: rgba(255, 255, 255, 0.03);
    color: #f5f6f4;
    border: 1px solid rgba(255, 207, 141, 0.25);
    backdrop-filter: blur(8px);
}

.hero-btn--outline:hover {
    background: rgba(255, 207, 141, 0.08);
    border-color: #ffcf8d;
    color: #ffcf8d;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: #f5f6f4;
}

.stat-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #9aa198;
    margin-top: 0.2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Media Declaration (Controlled via CSS for Plesk) */
.hero-card-img {
    display: block;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 18px;
    border: none;
    box-shadow: none;
    /* Keeps dimensions stable to avoid layout shifts while waiting for scroll */
}

/* Applied dynamically when scrolled into view */
.hero-card-img.is-visible {
    background-image: url('/assets/home%20sliders/barf-dengeli-formul-nitelik-transparent.webp');
}

.hero-card {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 207, 141, 0.16);
    border-radius: 14px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.hero-card__pill {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffcf8d;
    letter-spacing: 0.08em;
    margin-bottom: 1.1rem;
}

.hero-card__icon {
    width: 66px;
    height: 66px;
    object-fit: contain;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 4px 14px rgba(255, 207, 141, 0.3));
}

.hero-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f5f6f4;
}

.hero-card__text {
    margin: 0 0 1.5rem;
    font-size: 0.88rem;
    color: #9aa198;
    line-height: 1.55;
}

.hero-card__link {
    color: #ffcf8d;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hero-card__link:hover {
    color: #ffdca8;
    transform: translateX(4px);
}

/* ==========================================================================
   2. Section Blocks & Headings (High-Contrast Charcoal on Light Page)
   ========================================================================== */
.section-block {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.section-head--actions {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

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

.section-tag {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9e6e1a;
}

.section-heading {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 800;
    color: #161c18;
    letter-spacing: -0.01em;
}

.section-subtext {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    color: #454d44;
    max-width: 600px;
}

/* ==========================================================================
   3. Category Grid (Translucent Charcoal Glass + Black Icon Wraps)
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.85rem;
    background: linear-gradient(145deg, rgba(25, 31, 26, 0.6) 0%, rgba(14, 18, 15, 0.7) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 207, 141, 0.16);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg, rgba(32, 40, 34, 0.68) 0%, rgba(18, 24, 20, 0.78) 100%);
    border-color: rgba(255, 207, 141, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), 0 0 16px rgba(255, 207, 141, 0.1);
}

.category-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #000000 !important;
    border: 1px solid rgba(255, 207, 141, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* CSS-Controlled Category Media Declarations */
.category-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    flex-shrink: 0;
}

.category-icon--barf {
    background-image: url('/assets/small%20icons/Barf-Mama-small-icon.webp');
}

.category-icon--kurabiye {
    background-image: url('/assets/small%20icons/Kurabiye-small-icon.webp');
}

.category-icon--saglik {
    background-image: url('/assets/small%20icons/Saglik-Rehberi-small-icon.webp');
}

.category-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f5f6f4;
}

.category-desc {
    margin: 0 0 1.25rem;
    font-size: 0.86rem;
    color: #9aa198;
    line-height: 1.55;
}

.category-cta {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffcf8d;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   4. Product Scroller & Slider Controls (Black When Not Hovering)
   ========================================================================== */
.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 207, 141, 0.25);
    background: #0c100d !important;
    color: #ffcf8d !important;
    cursor: pointer;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.slider-arrow:hover {
    background: #ffcf8d !important;
    color: #0c0e0b !important;
    border-color: #ffcf8d !important;
}

.product-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.product-scroller::-webkit-scrollbar {
    display: none;
}

.product-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: linear-gradient(145deg, rgba(25, 31, 26, 0.6) 0%, rgba(14, 18, 15, 0.7) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 207, 141, 0.16);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 207, 141, 0.35);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.product-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder-art {
    font-weight: 800;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #ffcf8d;
    color: #0c0e0b;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.22rem 0.65rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.product-badge--accent {
    background: rgba(255, 207, 141, 0.18);
    border: 1px solid #ffcf8d;
    color: #ffcf8d;
}

.product-info {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product-category {
    font-size: 0.72rem;
    font-weight: 800;
    color: #9aa198;
    text-transform: uppercase;
}

.product-name {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f5f6f4;
}

.product-desc {
    margin: 0 0 1.25rem;
    font-size: 0.84rem;
    color: #9aa198;
    line-height: 1.5;
}

.product-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffcf8d;
}

.product-btn {
    padding: 0.42rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 207, 141, 0.2);
    color: #f5f6f4;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-btn:hover {
    background: #ffcf8d;
    border-color: #ffcf8d;
    color: #0c0e0b;
}

/* ==========================================================================
   5. Benefits Grid (Translucent Charcoal Glass)
   ========================================================================== */
.why-barf-block {
    margin-top: 2em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.benefit-box {
    background: linear-gradient(145deg, rgba(25, 31, 26, 0.6) 0%, rgba(14, 18, 15, 0.7) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 207, 141, 0.16);
    border-radius: 14px;
    padding: 1.85rem 1.35rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.benefit-symbol {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.benefit-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f5f6f4;
}

.benefit-text {
    margin: 0;
    font-size: 0.85rem;
    color: #9aa198;
    line-height: 1.55;
}

/* ==========================================================================
   6. Emergency Callout Banner
   ========================================================================== */
.emergency-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 207, 141, 0.08) 0%, rgba(20, 26, 22, 0.65) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 207, 141, 0.25);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.emergency-tag {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffcf8d;
    display: block;
    margin-bottom: 0.5rem;
}

.emergency-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f5f6f4;
}

.emergency-text {
    margin: 0;
    font-size: 0.92rem;
    color: #9aa198;
    max-width: 600px;
}

.emergency-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.9rem;
    border-radius: 9999px;
    background: #ffcf8d;
    color: #0c0e0b;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(255, 207, 141, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.emergency-cta-btn:hover {
    background: #ffdca8;
    transform: translateY(-2px);
}

/* ==========================================================================
   7. Google Reviews Slider (Glass Charcoal Container & Cards)
   ========================================================================== */
.google-reviews-section {
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(24, 30, 25, 0.6) 0%, rgba(14, 18, 15, 0.65) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgb(255 207 141);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa198;
    margin-bottom: 0.35rem;
}

.google-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    font-size: 0.92rem;
}

.rating-stars {
    color: #ffcf8d;
    letter-spacing: 2px;
    font-size: 1.05rem;
}

.rating-score strong {
    color: #f5f6f4;
    font-weight: 800;
}

.rating-count {
    color: #9aa198;
    font-size: 0.84rem;
}

/* Horizontal single-row slider */
.reviews-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem !important;
    padding: 1rem 0 1.5rem !important;
    scrollbar-width: none;
    cursor: grab;
}

.reviews-slider:active {
    cursor: grabbing;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

/* Review Cards: Semi-Transparent Charcoal Glass */
.review-card {
    flex: 0 0 350px !important;
    width: 350px !important;
    max-width: 85vw !important;
    height: 290px;
    min-height: 290px;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: height 0.3s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 207, 141, 0.35);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    margin-bottom: 0.85rem;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 207, 141, 0.1);
    border: 1px solid rgba(255, 207, 141, 0.25);
    color: #ffcf8d;
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    flex-shrink: 0;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow: hidden;
}

.reviewer-name {
    font-size: 0.94rem;
    font-weight: 800;
    color: #f5f6f4;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.review-author-link {
    color: inherit;
    text-decoration: none;
}

.review-author-link:hover {
    color: #ffcf8d;
}

.reviewer-meta {
    font-size: 0.76rem;
    color: #9aa198;
}

.review-google-icon {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.85;
}

.review-stars {
    color: #ffcf8d;
    font-size: 0.92rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.65rem;
}

.review-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(245, 246, 244, 0.88);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.review-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 0.35rem 0 0;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffcf8d;
    cursor: pointer;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    align-self: flex-start;
    transition: color 0.15s ease;
}

.review-toggle-btn:hover {
    color: #ffffff;
}

.review-card.is-expanded {
    height: auto !important;
    min-height: 290px;
    overflow: visible;
}

.review-card.is-expanded .review-text {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

.review-photos {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
}

.review-photos::-webkit-scrollbar {
    display: none;
}

.review-photo-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.review-photo-thumb:hover {
    transform: scale(1.05);
    border-color: #ffcf8d;
}

/* ==========================================================================
   Responsive Viewports
   ========================================================================== */
@media (max-width: 1024px) {
    .home-hero {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 2.5rem;
    }

    .hero-visual {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .hero-card {
        max-width: min(360px, 100%);
        width: 100%;
    }

    .hero-card-img {
        max-width: min(340px, 100%);
        aspect-ratio: 1 / 1;
    }

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

@media (max-width: 768px) {
    .home-page {
        gap: 3rem;
    }

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

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

    .emergency-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
    }

    .emergency-cta-btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .product-item {
        flex: 0 0 260px;
    }

    .google-reviews-section {
        padding: 1.5rem 1rem;
    }

    .review-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        height: 280px;
        min-height: 280px;
    }

    .review-card.is-expanded {
        min-height: 280px;
    }
}