/* ============================================================
   Honzíkova Farma – Custom Styles
   Built on Bootscore / Bootstrap 5
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
    --hf-green:        #2d6a4f;
    --hf-green-light:  #40916c;
    --hf-green-dark:   #1b4332;
    --hf-accent:       #95d5b2;
    --hf-gold:         #d4a373;
    --hf-cream:        #fefae0;
    --hf-bg-alt:       #f8f9f5;
    --hf-text:         #344e41;
    --hf-text-light:   #5e7a6b;
    --hf-radius:       1rem;
    --hf-font-heading: 'Playfair Display', Georgia, serif;
    --hf-font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --hf-transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Base ----- */
body {
    font-family: var(--hf-font-body);
    color: var(--hf-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hf-section-title,
.hf-hero-title {
    font-family: var(--hf-font-heading);
}

/* ----- Utility classes ----- */
.text-farm       { color: var(--hf-green) !important; }
.text-farm-accent{ color: var(--hf-accent) !important; }
.bg-farm         { background-color: var(--hf-green) !important; }
.bg-farm-dark    { background-color: var(--hf-green-dark) !important; }

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ----- Buttons ----- */
.btn-farm {
    background-color: var(--hf-green);
    color: #fff;
    border: 2px solid var(--hf-green);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--hf-transition);
}

.btn-farm:hover,
.btn-farm:focus {
    background-color: var(--hf-green-dark);
    border-color: var(--hf-green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45,106,79,.3);
}

.btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* ===== HEADER / NAVBAR ===== */
.hf-header .navbar {
    padding: 0.75rem 0;
    transition: var(--hf-transition);
}

.hf-header .navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.08) !important;
}

.hf-logo {
    transition: var(--hf-transition);
}

.hf-header .navbar.scrolled .hf-logo {
    height: 45px;
}

.hf-header .navbar-nav .nav-link {
    font-weight: 500;
    color: var(--hf-text);
    padding: 0.5rem 1rem;
    transition: var(--hf-transition);
    position: relative;
}

.hf-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--hf-green);
    transition: var(--hf-transition);
    transform: translateX(-50%);
}

.hf-header .navbar-nav .nav-link:hover::after,
.hf-header .navbar-nav .nav-link.active::after {
    width: 60%;
}

.hf-header .navbar-nav .nav-link:hover {
    color: var(--hf-green);
}

/* ===== HERO SECTION ===== */
.hf-hero {
    min-height: 100vh;
    position: relative;
    background:
        linear-gradient(135deg, rgba(27,67,50,.85), rgba(45,106,79,.7)),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    background-color: var(--hf-green-dark);
}

.hf-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(149,213,178,.15) 0%, transparent 70%);
}

.hf-hero-badge {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--hf-accent);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,.1);
}

.hf-hero-title {
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 30px rgba(0,0,0,.2);
}

.hf-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Scroll indicator */
.hf-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: hf-bounce 2s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes hf-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ===== FEATURES STRIP ===== */
.hf-features-strip {
    border-bottom: 3px solid var(--hf-accent);
}

.hf-feature-item {
    padding: 0.75rem 0;
    transition: var(--hf-transition);
}

.hf-feature-item:hover {
    transform: translateY(-3px);
}

.hf-feature-icon {
    opacity: 0.85;
}

/* ===== SECTION COMMON ===== */
.hf-section-label {
    display: inline-block;
    color: var(--hf-green);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hf-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hf-text);
    margin-bottom: 1rem;
}

.hf-section-alt {
    background-color: var(--hf-bg-alt);
}

/* ===== ABOUT SECTION ===== */
.hf-about-image-wrapper {
    position: relative;
}

.hf-placeholder-img {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--hf-bg-alt), #e8ede9);
    border-radius: var(--hf-radius);
}

.hf-about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1rem;
    background: var(--hf-green);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--hf-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(45,106,79,.3);
}

.hf-check-icon {
    color: var(--hf-green);
    flex-shrink: 0;
}

/* ===== PRODUCT CARDS ===== */
.hf-product-card {
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
    transition: var(--hf-transition);
    cursor: default;
}

.hf-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,.1);
}

.hf-product-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--hf-cream), #fef9ef);
}

.hf-product-card .card-title {
    color: var(--hf-text);
}

/* ===== WHY US CARDS ===== */
.hf-why-card {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,.05);
    transition: var(--hf-transition);
}

.hf-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.hf-why-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(45,106,79,.08), rgba(149,213,178,.15));
    color: var(--hf-green);
    transition: var(--hf-transition);
}

.hf-why-card:hover .hf-why-icon {
    background: var(--hf-green);
    color: #fff;
}

/* ===== CTA SECTION ===== */
.hf-cta-section {
    background-color: var(--hf-bg-alt);
}

.hf-cta-box {
    background: linear-gradient(135deg, var(--hf-green-dark), var(--hf-green));
    box-shadow: 0 20px 60px rgba(27,67,50,.3);
    overflow: hidden;
}

.hf-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(149,213,178,.2), transparent 70%);
    border-radius: 50%;
}

.hf-cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,163,115,.15), transparent 70%);
    border-radius: 50%;
}

/* ===== MAP SECTION ===== */
.hf-map-placeholder {
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

.hf-location-info h5 {
    color: var(--hf-text);
}

/* ===== FOOTER ===== */
.hf-footer {
    background: #1a1a2e !important;
}

.hf-footer-links a,
.hf-footer-links li a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--hf-transition);
    display: block;
    padding: 0.2rem 0;
}

.hf-footer-links a:hover,
.hf-footer-links li a:hover {
    color: var(--hf-accent);
    padding-left: 0.3rem;
}

.hf-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    transition: var(--hf-transition);
    text-decoration: none;
}

.hf-social-link:hover {
    background: var(--hf-green);
    color: #fff !important;
    transform: translateY(-3px);
}

/* ===== ANIMATIONS (scroll reveal) ===== */
.hf-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hf-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hf-hero-title {
        font-size: 2.5rem;
    }

    .hf-section-title {
        font-size: 2rem;
    }

    .py-6 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .hf-about-badge {
        right: 0;
        bottom: -1rem;
    }
}

@media (max-width: 575.98px) {
    .hf-hero {
        min-height: 90vh;
    }

    .hf-hero-title {
        font-size: 2rem;
    }

    .hf-section-title {
        font-size: 1.75rem;
    }

    .py-6 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hf-placeholder-img {
        height: 300px;
    }
}
