@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* ==========================================================================
   1. BAREVNÁ PALETA A PROMĚNNÉ
   ========================================================================== */
:root {
    --bg-linen: #EAE6E1;        /* Světlé premium pozadí */
    --green-velvet: #061B12;    /* Temně zelená / Mechová */
    --gold-metallic: #C5A059;   /* Základní matná zlatá */
    --gold-gradient: linear-gradient(135deg, #B58D3D 0%, #E8D08F 50%, #B58D3D 100%);
    --text-dark: #1A1A1A;
    --white: #FFFFFF;
}

/* ==========================================================================
   2. ZÁKLADNÍ RESET A STYLY STRÁNKY
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: auto;
    overflow: hidden; /* Vypne nativní scrollbar pro JS scroll engine */
    width: 100%;
    min-height: 100vh;
}

body {
    background-color: var(--bg-linen);
    background-image: 
        radial-gradient(at 10% 20%, rgba(197, 160, 89, 0.3) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(14, 83, 53, 0.35) 0px, transparent 50%),
        radial-gradient(at 50% 80%, rgba(197, 160, 89, 0.35) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(13, 65, 42, 0.35) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
}

/* Obal pro plynulý JavaScript scroll */
#smooth-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
}

/* Custom luxury scrollbar */
.custom-scrollbar {
    position: fixed;
    right: 8px;
    top: 0;
    width: 6px;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.custom-scrollbar:hover {
    opacity: 1;
}

.custom-scrollbar-thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    background: var(--gold-metallic, #C5A059);
    border-radius: 3px;
    will-change: transform;
}

/* ==========================================================================
   3. CONTAINER A HERO
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 80px;
}

.hero-title {
    text-align: center;
    margin-bottom: 70px;
    padding-top: 150px;
    padding-bottom: 30px;
}

.hero-title h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--green-velvet);
    margin-bottom: 15px;
}

.hero-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title p {
    max-width: 700px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: .8;
}

/* ==========================================================================
   4. GRID A KONTAKTY
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(6, 27, 18, .1);
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--green-velvet);
    margin-bottom: 10px;
}

.info-card a,
.info-card p {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--gold-metallic);
}

.team-box {
    margin-top: 10px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, .15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
}

.team-box h4 {
    font-family: 'Cinzel', serif;
    color: var(--green-velvet);
    margin-bottom: 10px;
}

/* ==========================================================================
   5. FORMULÁŘ
   ========================================================================== */
.contact-form-card {
    background: var(--green-velvet);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid rgba(197, 160, 89, .25);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.contact-form-card::before,
.contact-form-card::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold-metallic);
}

.contact-form-card::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.contact-form-card::after {
    right: 15px;
    bottom: 15px;
    border-left: none;
    border-top: none;
}

.contact-form-card h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-metallic);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, .05);
    color: white;
    border: 1px solid rgba(197, 160, 89, .2);
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: .3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, .4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-metallic);
    box-shadow: 0 0 15px rgba(197, 160, 89, .15);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    border: none;
    padding: 18px;
    border-radius: 12px;
    cursor: pointer;
    background: var(--gold-gradient);
    color: var(--green-velvet);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, .25);
}

/* ==========================================================================
   6. PATIČKA A RESPONSIVITA
   ========================================================================== */
footer {
    background: var(--green-velvet);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
}

@media(max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title h1 {
        font-size: 2.6rem;
    }

    .contact-form-card {
        padding: 35px 25px;
    }
}