@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;
}

/* ==========================================================================
   SMOOTH SCROLL ENGINE
   ========================================================================== */

html {
    scroll-behavior: auto;
    overflow: hidden;
}

/* Wrapper pro celý obsah stránky */
#smooth-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
}

/* Luxusní scrollbar */
.custom-scrollbar {
    position: fixed;
    top: 0;
    right: 8px;
    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);
    border-radius: 999px;
    will-change: transform;
}

body {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(234, 230, 225, 0.85), 
            rgba(234, 230, 225, 0.95)
        ),
        url('images/background-texture.png');

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

/* Společné nadpisy */
h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--green-velvet);
    margin-bottom: 50px;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-metallic);
    margin: 15px auto 0;
}

.section-subtitle {
    font-family: 'Cinzel', serif;
    color: var(--gold-metallic);
    letter-spacing: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Společná tlačítka */
.btn {
    display: inline-block;
    padding: 16px 34px;
    border: none;
    border-radius: 40px;
    background: var(--gold-gradient);
    color: var(--green-velvet);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.25);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.7), 0 15px 30px rgba(197, 160, 89, 0.3);
}

/* ==========================================================================
   4. HERO SEKCE
   ========================================================================== */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 180px;
    padding-bottom: 40px;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--green-velvet);
}

.hero h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 650px;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 35px;
    opacity: 0.85;
    line-height: 1.7;
}

/* ==========================================================================
   5. BENEFITS SEKCE & KARTY (S přidanými zlatými rohy)
   ========================================================================== */
.benefits-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px 20px;
    text-align: center;
}

.benefits-section h2 {
    color: var(--gold-metallic);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    position: relative; /* Nutné pro absolutní pozicování rohových čar */
    text-align: center;
    padding: 40px 30px;
    background: var(--green-velvet);
    border-radius: 16px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Zlaté rohy v levém horním a pravém dolním rohu karet */
.card::before,
.card::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--gold-metallic);
    border-style: solid;
    pointer-events: none;
    transition: width 0.3s ease, height 0.3s ease;
}

.card::before {
    top: 14px;
    left: 14px;
    border-width: 2px 0 0 2px;
}

.card::after {
    bottom: 14px;
    right: 14px;
    border-width: 0 2px 2px 0;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-metallic);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 160, 89, 0.3);
}

.card-icon {
    margin-bottom: 20px;
    color: var(--gold-metallic);
    display: flex;
    justify-content: center;
}

.card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold-metallic);
    margin-bottom: 15px;
}

.card p {
    color: var(--white);
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   6. CALL TO ACTION (CTA) SEKCE (Taky dostane zlaté rohy)
   ========================================================================== */
#cta-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px 80px 20px;
}

.contact-container {
    position: relative; /* Nutné pro rohové čáry */
    background-color: var(--green-velvet);
    padding: 60px 40px;
    border-radius: 25px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    margin: 0 auto;
}

/* Zlaté rohy pro CTA box */
.contact-container::before,
.contact-container::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--gold-metallic);
    border-style: solid;
    pointer-events: none;
}

.contact-container::before {
    top: 16px;
    left: 16px;
    border-width: 2px 0 0 2px;
}

.contact-container::after {
    bottom: 16px;
    right: 16px;
    border-width: 0 2px 2px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold-metallic);
}

.cta-title::after {
    display: none;
}

.cta-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   7. PATIČKA
   ========================================================================== */
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);
}

/* ==========================================================================
   8. RESPONSIVITA
   ========================================================================== */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .contact-container {
        padding: 40px 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}