@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Reset & base ─────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow:       #e8cb00;
    --yellow-dim:   rgba(232, 203, 0, 0.5);
    --yellow-faint: rgba(232, 203, 0, 0.15);
    --blue-dark:    #00184a;
    --blue-mid:     #002d8c;
    --blue-light:   #0040c0;
    --white:        #ffffff;
    --white-75:     rgba(255,255,255,0.75);
    --white-45:     rgba(255,255,255,0.45);
    --white-12:     rgba(255,255,255,0.12);
    --white-06:     rgba(255,255,255,0.06);
    --radius-card:  16px;
    --radius-sm:    8px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background: var(--blue-dark);
    background-image:
        radial-gradient(ellipse 120% 60% at 50% -10%, rgba(0,80,200,0.55) 0%, transparent 70%),
        linear-gradient(180deg, #001640 0%, #001030 100%);
    color: var(--white);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Hero Header ──────────────────────────────────── */
.hero-header {
    position: relative;
    padding: 72px 24px 56px;
    text-align: center;
    overflow: hidden;
}

.hero-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%);
    opacity: 0.6;
}

.hero-inner { position: relative; z-index: 1; }

.company-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--yellow-dim);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(4rem, 11vw, 7.5rem);
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1;
    color: #00ff88;
    text-shadow:
        0 0 8px rgba(0, 255, 136, 0.9),
        0 0 20px rgba(0, 255, 136, 0.55),
        0 0 50px rgba(0, 255, 136, 0.2),
        0 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 18px;
}

.hero-title span {
    font-size: 0.33em;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--white-75);
    margin-bottom: 44px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
}

.hero-cta-primary {
    background: linear-gradient(90deg, var(--yellow), #ffe15c);
    color: #001030;
    box-shadow: 0 10px 25px rgba(232, 203, 0, 0.25);
}

.hero-cta-secondary {
    background: rgba(255,255,255,0.10);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.18);
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--yellow);
    margin: 0 auto;
    opacity: 0.5;
    border-radius: 2px;
}

/* ─── Services ─────────────────────────────────────── */
.services { padding: 16px 0 56px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white-06);
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--white-12);
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--yellow-dim);
    border-color: var(--yellow-dim);
}

.service-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
    background: var(--blue-mid);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img { transform: scale(1.05); }

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(0,10,36,0.7) 100%);
    pointer-events: none;
}

.service-card h3 {
    padding: 15px 20px 17px;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
}

/* ─── Conditions ───────────────────────────────────── */
.conditions-section {
    padding: 0 0 56px;
    text-align: center;
}

.conditions-btn {
    background: transparent;
    color: var(--yellow);
    border: 1.5px solid var(--yellow-dim);
    padding: 12px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.conditions-btn:hover {
    background: var(--yellow-faint);
    border-color: var(--yellow);
}

.conditions-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.3s ease;
    background: var(--white-06);
    border: 1px solid var(--white-12);
    border-radius: var(--radius-card);
    margin-top: 20px;
    text-align: left;
}

.conditions-content.active {
    max-height: 300px;
    padding: 28px 36px;
}

.conditions-content h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 18px;
}

.conditions-content ul { list-style: none; max-width: 520px; }

.conditions-content li {
    padding: 11px 0;
    font-size: 0.9rem;
    color: var(--white-75);
    border-bottom: 1px solid var(--white-12);
    display: flex;
    align-items: center;
    gap: 12px;
}

.conditions-content li:last-child { border-bottom: none; }

.conditions-content li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.75;
}

/* ─── Footer ───────────────────────────────────────── */
footer {
    background: rgba(0,0,0,0.35);
    border-top: 1px solid var(--white-12);
    padding: 52px 0 32px;
    margin-top: 20px;
    text-align: center;
}

footer h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    align-items: center;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn-primary {
    background: linear-gradient(90deg, var(--yellow), #ffe15c);
    color: #001030;
    box-shadow: 0 10px 25px rgba(232, 203, 0, 0.25);
}

.contact-btn-secondary {
    background: rgba(255,255,255,0.10);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.18);
}

.contact-info p { font-size: 0.9rem; color: var(--white-75); }
.contact-info strong { color: var(--white); font-weight: 500; }

.contact-info a {
    color: var(--white-75);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover { color: var(--yellow); }

.copyright {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--white-45);
    margin-top: 16px;
}

.floating-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    background: linear-gradient(90deg, var(--yellow), #ffe15c);
    color: #001030;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 13px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    transition: transform 0.2s ease;
}

.floating-cta:hover {
    transform: translateY(-2px);
}

/* ─── Modal ────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    overflow-y: auto;
    background: rgba(0,8,24,0.88);
    backdrop-filter: blur(6px);
}

.modal-content {
    background: linear-gradient(160deg, #002070 0%, #001030 100%);
    margin: 4% auto 40px;
    padding: 36px;
    border: 1px solid var(--yellow-dim);
    border-radius: 20px;
    width: 92%;
    max-width: 940px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.close {
    float: right;
    font-size: 26px;
    line-height: 1;
    color: var(--white-45);
    cursor: pointer;
    transition: color 0.2s;
    margin-top: -2px;
}

.close:hover { color: var(--yellow); }

#modal-body > h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--yellow);
    clear: both;
    margin-bottom: 6px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
    clear: both;
}

.vehicle-item {
    background: var(--white-06);
    padding: 20px;
    border-radius: var(--radius-card);
    border: 1px solid var(--white-12);
}

.vehicle-item h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 14px;
}

.vehicle-item img {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    display: block;
}

.specs { margin: 12px 0; }

.specs p {
    font-size: 0.85rem;
    color: var(--white-75);
    margin: 7px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.specs p::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.65;
}

.specs p strong { color: var(--white); font-weight: 500; }

.price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--yellow);
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--white-12);
}

/* ─── Academy content ─────────────────────────────── */
.academy-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
}

.academy-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--white-12);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.academy-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.academy-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 4px;
}

.academy-intro {
    font-size: 0.98rem;
    color: var(--white-75);
    line-height: 1.7;
}

.academy-highlights {
    display: grid;
    gap: 12px;
}

.academy-highlight {
    background: var(--white-06);
    border: 1px solid var(--white-12);
    border-radius: 14px;
    padding: 14px 16px;
}

.academy-highlight h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 6px;
}

.academy-highlight p {
    font-size: 0.93rem;
    color: var(--white-75);
    line-height: 1.6;
}

/* ─── Jezdecký kroužek ─────────────────────────────── */
.krouzek-link {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(232, 203, 0, 0.16), rgba(232, 203, 0, 0.04));
    border: 1.5px dashed var(--yellow-dim);
    border-radius: 14px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all 0.25s;
}

.krouzek-link:hover {
    border-style: solid;
    border-color: var(--yellow);
    background: linear-gradient(135deg, rgba(232, 203, 0, 0.28), rgba(232, 203, 0, 0.1));
    box-shadow: 0 10px 26px rgba(232, 203, 0, 0.18);
    transform: translateY(-2px);
}

.krouzek-badge {
    flex-shrink: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #001030;
    background: var(--yellow);
    border-radius: 999px;
    padding: 5px 10px;
}

.krouzek-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.krouzek-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
}

.krouzek-sub {
    font-size: 0.8rem;
    color: var(--white-75);
    line-height: 1.4;
}

.krouzek-arrow {
    flex-shrink: 0;
    font-size: 1.3rem;
    color: var(--yellow);
    transition: transform 0.25s;
}

.krouzek-link:hover .krouzek-arrow {
    transform: translateX(4px);
}

.krouzek-box {
    background: var(--white-06);
    border: 1px dashed var(--yellow-dim);
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 16px;
}

.krouzek-photo {
    width: 66%;
    height: auto;
    display: block;
    margin: 16px auto 0;
    border-radius: 14px;
    border: 1px solid var(--white-12);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.krouzek-box p {
    font-size: 0.95rem;
    color: var(--white-75);
    line-height: 1.7;
    margin: 0 0 12px;
}

.krouzek-box p:last-child { margin-bottom: 0; }

.academy-machines {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(232, 203, 0, 0.12));
    border: 1px solid var(--white-12);
    border-radius: 14px;
    padding: 16px 18px;
}

.academy-machines h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 10px;
}

.academy-machines ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.academy-machines li {
    padding-left: 14px;
    position: relative;
    color: var(--white-75);
    font-size: 0.94rem;
}

.academy-machines li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--yellow);
}

.academy-price {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(90deg, var(--yellow), #ffef70);
    color: #001030;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .academy-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }

    .hero-header { padding: 52px 16px 44px; }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta,
    .contact-btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .floating-cta {
        right: 12px;
        left: 12px;
        bottom: 12px;
        text-align: center;
    }

    .modal-content {
        padding: 22px 16px;
        margin: 0 auto 20px;
        border-radius: 12px;
    }

    .vehicle-grid { grid-template-columns: 1fr; }

    .conditions-content.active { padding: 20px 18px; }

    .academy-image-wrap img { max-height: 260px; }
    .academy-content h2 { font-size: 1.3rem; }
    .academy-price { font-size: 0.95rem; }
}

/* ─── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar        { width: 8px; }
::-webkit-scrollbar-track  { background: #000e28; }
::-webkit-scrollbar-thumb  { background: rgba(245,216,0,0.35); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(245,216,0,0.65); }
