/* home.css - specific to homepage */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        160deg,
        rgba(10,35,66,0.8) 0%,
        rgba(10,35,66,0.62) 45%,
        rgba(10,35,66,0.85) 100%
    );
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 100px; /* increased to push content down slightly */
    padding-bottom: 80px; /* added space to ensure scroll hint doesn't overlap actions */
}

.hero__eyebrow {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-sm);
    color: #e8c87a;
}

.hero__title {
    color: var(--color-white);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-family: var(--font-display);
    font-weight: 400;
    margin-bottom: var(--space-md);
    text-shadow: none;
    line-height: 1.2;
}

.hero-subtitle-brand {
    font-family: var(--font-display); /* Playfair Display */
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.15em;
    margin-top: 0.25rem;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0.75rem auto;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px; /* Extra push to keep actions above hint clearly */
}

.hero-btn--primary {
    padding: 1rem 2.5rem;
    border-radius: 2px;
}

.hero__separator {
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-btn--outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2.5rem;
    border-radius: 2px;
}

.hero-btn--outline:hover,
.hero-btn--outline:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 20px; /* pushed it lower into the reserved space */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.hero__scroll-hint .scroll-text {
    font-size: 0.95rem; /* larger font size */
    letter-spacing: 0.2em; /* wider spacing to match premium feel */
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.hero__scroll-hint .scroll-line {
    width: 2px; /* slightly thicker */
    height: 50px; /* slightly longer */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: drop 2s infinite ease-in-out;
    transform-origin: top;
}

@keyframes drop {
    0% { transform: scaleY(0); opacity: 0; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* Features / Neden Biz preview snippet */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: calc(var(--space-xl) * -1); /* reduced overlap to give scroll hint room */
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(10, 35, 66, 0.08);
    border-top: 3px solid var(--color-accent);
    border-radius: 2px;
    text-align: center;
    box-shadow: none;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-primary);
}

.feature-card__icon {
    display: flex;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Home generic sections */
.section-title {
    margin-bottom: var(--space-xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
}

.section-header .section-title {
    margin-bottom: 0;
}

/* Text Link (cta style) */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-primary-mid);
    text-decoration: none;
    letter-spacing: 0.05em;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.text-link:hover {
    color: var(--color-accent);
}

/* About Preview Grid */
.about-preview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 768px) {
    .about-preview__grid {
        grid-template-columns: 3fr 2fr;
        gap: var(--space-2xl);
    }
}

.about-preview__content .accent-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.about-preview__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: var(--space-lg);
}

.about-preview__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    border-left: 1px solid rgba(10,35,66,0.05);
    padding-left: var(--space-lg);
}

.stat-box {
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-md);
}

.stat-box .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Special Tastes Horizontal Carousel */
.tastes-carousel {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.tastes-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.taste-card {
    flex: 0 0 85%;
    max-width: 350px;
    scroll-snap-align: start;
    border-radius: 2px;
    background: var(--color-white);
    overflow: hidden;
    border: 1px solid rgba(10, 35, 66, 0.08);
}

@media (max-width: 480px) {
    .hero__content {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    .hero__title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .hero__content {
        text-align: center;
        align-items: center;
    }
    .hero-btn--primary {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .taste-card {
        flex: 1;
        max-width: none;
    }
}

.taste-card__image {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: rgba(10, 35, 66, 0.1);
    border-bottom: 1px solid rgba(10, 35, 66, 0.05);
    overflow: hidden;
}

.taste-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.taste-card:hover .taste-card__image img {
    transform: scale(1.05);
}

.taste-card__content {
    padding: var(--space-md);
    text-align: center;
}

.taste-card__content h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}