/* 1. Global Reset & Variables */
:root {
    /* Brand Colors */
    --primary: #60492e;
    --secondary: #5d670b;
    --accent: #97a72a;
    --bg-color: #fcfbfa;
    --text-color: #333333;
    --white: #ffffff;
    
    /* Layout */
    --container-width: 85%;
    --max-content-width: 70%;
    --grid-gap: 24px;
    --border-radius: 5px;
    --logo-height: 80px;
    
    /* Typography */
    --font-heading: 'Cantora One', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Scale */
h1 { font-size: clamp(2.2rem, 6vw, 3.7rem); line-height: 1.1; font-family: var(--font-heading); color: var(--primary); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.5rem); line-height: 1.2; font-family: var(--font-heading); color: var(--primary); margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-family: var(--font-heading); margin-bottom: 0.75rem; color: var(--secondary); }

p {
    max-width: var(--max-content-width);
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Containers */
.container {
    width: var(--container-width);
    margin: 0 auto;
    max-width: 1600px;
}

section {
    padding: 80px 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 244, 238, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0; /* Reduced padding since logo is taller */
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--container-width);
    margin: 0 auto;
}

.logo img {
    height: var(--logo-height);
    border-radius: 0;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.logo img:hover {
    box-shadow: none !important;
}

.footer-logo {
    height: var(--logo-height);
    filter: brightness(0) invert(1);
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    box-shadow: none !important;
}

.logo-desktop {
    display: none;
}

.logo-mobile {
    display: block;
}

nav {
    flex-grow: 1;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

@media (min-width: 1025px) {
    .nav-container {
        justify-content: center;
    }
    
    .logo-mobile {
        display: none;
    }
    
    .logo-desktop {
        display: block;
        margin: 0 40px; /* Space around the logo in the middle */
    }
    
    nav {
        flex-grow: 0;
        margin-left: 0;
    }
    
    .nav-links {
        justify-content: center;
        gap: 30px;
    }
}

.nav-links li a.nav-highlight {
    border-bottom: 3px solid var(--accent);
    padding-bottom: 4px;
    font-weight: 600;
}

.nav-links li a.active:not(.nav-highlight) {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 4px;
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 24px;
}

/* Hero Section (Overlay style) */
.hero {
    width: 95%;
    max-width: 1800px; /* Rozšíření limitu */
    height: calc(100vh - (var(--logo-height) + 25px)); /* Dynamic height calculation */
    margin: calc(var(--logo-height) + 20px) auto 5px; /* Vycentrování s okraji, margin-top dynamic */
    display: flex;
    align-items: center; /* Vertically center content on desktop */
    justify-content: flex-start;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    padding-top: 0;
    background: none; /* Background image moved to wrapper */
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none !important;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(247, 244, 238, 0.75) 10%, rgba(247, 244, 238, 0.0) 60%);
    pointer-events: none;
}

.hero-content {
    padding: 60px 60px 60px 100px;
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2rem, 6.5vw, 4.5rem);
    line-height: 1.45;
    letter-spacing: 0.03em;
    color: var(--primary);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
}

.hero .btn {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Mobile Hero adjustments */
@media (max-width: 1024px) {
    .hero {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin-top: calc(var(--logo-height) + 15px);
        background: none;
        padding-bottom: 0;
        border-radius: 0;
        overflow: visible;
        width: 95%;
    }
    
    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        z-index: 1;
        overflow: hidden;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
    
    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-image-wrapper::after {
        display: none; /* Hide gradient mask on mobile for clean image */
    }
    
    .hero-content {
        position: relative;
        padding: 30px 10px;
        text-align: center;
        max-width: 100%;
        width: 100%;
        background: transparent;
        z-index: 2;
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 6.5vw, 2.5rem);
        line-height: 1.25;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        max-width: 100%;
        text-align: center;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 320px;
        margin: 10px auto 0;
        display: block;
        text-align: center;
    }
}

/* Services Section & Bento Grid */
.services {
    background-color: var(--white);
    border-radius: 5px;
    margin: 40px auto;
    padding: 100px 40px;
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: clamp(1.6rem, 5vw, 3rem);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 3-column grid for pece-o-kone — collapses to 1 column on mobile */
.bento-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .bento-grid-3col {
        grid-template-columns: 1fr;
    }
}

.bento-card {
    background: var(--white);
    padding: 50px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: var(--white);
}

.bento-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.bento-card .icon-main {
    font-size: 2.5rem;
    color: var(--primary);
    background: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: none;
}

.bento-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0;
}

.bento-card ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bento-card li {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    color: var(--text-color);
}

.bento-card ul {
    list-style: none;
    padding: 0;
}

.bento-card li {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.bento-card li i {
    color: var(--accent);
    margin-right: 12px;
    font-size: 0.9rem;
}

.bento-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Tone-in-tone Tints of Brand Colors */
.bento-card.service-venceni { background-color: #f6efe6; } /* Jemná béžová */
.bento-card.service-krmeni { background-color: #eee4d5; } /* Malinko tmavší béžová */
.bento-card.service-lonzovani { background-color: #eee4d5; } /* Světlá hnědá */
.bento-card.service-uklid { background-color: #e1d4bf; } /* Jemná hnědá */

/* Grid spans for desktop */
@media (min-width: 1025px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .span-3 { grid-column: span 3; }
    .span-2 { grid-column: span 2; }
    .span-4 { grid-column: span 4; }

    /* 3-col variant stays at 3 equal columns, ignoring the 6-col override */
    .bento-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Full Width Image Section */
.full-width-section {
    width: 95%;
    max-width: 1800px;
    margin: 40px auto;
    padding: 0;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    object-fit: contain; /* Assures no cropping */
}

/* Info Section (Bento Style) */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Creative reference quote styling */
.creative-quote {
    position: relative;
    padding: 30px 40px 30px 60px;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary);
    border-left: 2px solid rgba(151, 167, 42, 0.1); /* Subtle edge */
}

.creative-quote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.15;
    pointer-events: none;
}

.creative-quote cite {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    font-style: normal;
    font-size: 1.1rem;
    color: var(--secondary);
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer */
footer {
    background-color: var(--primary);
    background-image: linear-gradient(rgba(40, 40, 40, 0.75), rgba(40, 40, 40, 0.75)), url('obrazky/spokojena-zviratka.png');
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    color: var(--white);
    padding: 240px 0 60px;
    border-radius: 5px 5px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-family: var(--font-heading);
}

.footer-logo-large {
    height: 250px;
    max-width: 100%;
    filter: brightness(0) invert(1);
    mix-blend-mode: screen;
    width: auto;
    display: block;
    box-shadow: none !important;
    transition: transform 0.3s ease;
}

.footer-logo-large:hover {
    transform: scale(1.05);
    box-shadow: none !important;
}

.footer-logo-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.instagram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.instagram-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom p {
    max-width: 100%;
    margin: 0 auto;
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* CTA Section Styling */
.cta-section {
    position: relative;
    margin-top: 150px; 
    margin-bottom: 100px;
    background-color: var(--primary);
    border-radius: var(--border-radius);
    padding: 20px 40px 100px; /* Reduced top padding as image is relative now */
    text-align: center;
    overflow: visible; 
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-image {
    width: 280px;
    height: auto;
    margin-top: -160px; /* Pops out of the section */
    margin-bottom: 50px; /* Pushes text down safely */
    border-radius: 0; 
    display: block;
    z-index: 10;
    box-shadow: none !important;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25)); /* Modern soft shadow */
    transition: transform 0.5s ease, filter 0.5s ease;
}

.cta-image:hover {
    transform: scale(1.05);
    box-shadow: none !important;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}
.cta-text {
    max-width: 100%;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    line-height: 1.2;
    font-family: var(--font-heading);
    color: var(--white);
    margin: 0 0 40px 0; /* Reset margins to use padding/gap */
}

.btn-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-size: 1.2rem;
    padding: 18px 40px;
}

.btn-cta:hover {
    background: var(--secondary) !important;
}

.secondary-btn {
    background: transparent !important;
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    margin-top: 20px;
}

.secondary-btn:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
}

/* Reference Transparent Image Style */
.reference img {
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero, .info-section {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-col {
        justify-content: center;
        order: -1; /* Move logo to top on mobile? No, user said last column. Usually logo is at top or bottom on mobile. */
        margin-top: 20px;
    }

    .footer-logo-large {
        height: 100px;
    }
    
    footer {
        background-attachment: scroll;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 40px 0;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links li {
        margin: 20px 0;
    }

    .nav-links .logo-desktop {
        display: none !important; /* Never show desktop logo in mobile menu list */
    }
    
    .hamburger {
        display: block;
    }
}

@media (max-width: 600px) {
    .container {
        width: 90%;
    }
    
    .bento-grid, .info-cards {
        grid-template-columns: 1fr;
    }
    
    p {
        max-width: 100%;
    }
}

/* Contact Form Styles */
.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-form-card h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(96, 73, 46, 0.15);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(151, 167, 42, 0.15);
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Hide honeypot field */
.honeypot-field {
    display: none !important;
}

/* Other activities buttons styling */
.other-activities-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 600px) {
    .other-activities-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .other-activities-links .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

