/* Import Google Fonts - Syne */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --accent: #ff1949;          
    --accent-hover: #e0123d;    
    --soft-accent: rgba(255, 25, 73, 0.1); 
    --dark: #0f172a;            
    --light-gray: #f8fafc;      
    --white: #ffffff;
    
    --font-main: 'Syne', sans-serif;
}

body {
    font-family: var(--font-main);
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container{
    padding-right: calc(var(--bs-gutter-x) * .8);
    padding-left: calc(var(--bs-gutter-x) * .8);
}

/* ================================== Section HERO ================================== */
#heroCarousel {
    height: 72vh;
    min-height: 460px;
    max-height: 700px;
    margin-top: 0;
}

.carousel-item {
    height: 72vh;
    min-height: 460px;
    max-height: 700px;
    overflow: hidden;
}

.hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.hero-icon.accent {
    background-color: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 767px) {
    #heroCarousel, .carousel-item {
        height: 88vh;
        min-height: 520px;
    }
}

.carousel-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1);
    transition: transform 8s ease-in-out; 
}

.carousel-item.active .carousel-bg {
    transform: scale(1.08); 
}

.carousel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}

.dark-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0) 100%);
}

.accent-overlay {
    background: linear-gradient(90deg, rgba(255, 25, 73, 0.98) 0%, rgba(255, 25, 73, 0.85) 45%, rgba(255, 25, 73, 0) 100%);
}

@media (max-width: 991px) {
    .dark-overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
    }
    .accent-overlay {
        background: linear-gradient(180deg, rgba(255, 25, 73, 0.6) 0%, rgba(255, 25, 73, 0.95) 100%);
    }
    .carousel-item p.w-75 {
        width: 100% !important;
    }
}

.animate-slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-item.active .animate-slide-content {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.5s; }
.delay-3 { transition-delay: 0.7s; }
.delay-4 { transition-delay: 0.9s; }

.fw-extrabold { font-weight: 700; }
.text-accent { color: var(--accent) !important; }
.text-soft-accent { color: var(--soft-accent) !important; }
.text-dark { color: var(--dark) !important; }
.bg-light-gray { background-color: var(--light-gray); }
.bg-soft-accent { background-color: var(--soft-accent); }
.bg-accent { background-color: var(--accent); }
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }
.tracking-wide { letter-spacing: 0.05em; }

.btn {
    font-family: var(--font-main);
}
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    transition: all 0.3s ease;
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 25, 73, 0.2);
}

.transition-nav {
    transition: all 0.3s ease;
    padding: 20px 0;
    background-color: transparent;
}
.transition-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.navbar-brand { font-size: 1.5rem; color: var(--dark) !important; }
.nav-link { color: var(--dark); font-weight: 600; font-size: 0.95rem; margin: 0 10px; transition: color 0.3s; }
.nav-link:hover { color: var(--accent); }

.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}
.hero-image-wrapper img {
    border-radius: 20px;
    object-fit: cover;
    height: 500px;
    width: 100%;
}

/* ================================== Spodní ovládací lišta ================================== */

.carousel-bottom-bar {
    height: auto;
}

.scroll-down-action {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down-action:hover {
    opacity: 1;
}

.scroll-circle {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.scroll-down-action:hover .scroll-circle {
    background-color: var(--accent);
    border-color: var(--accent) !important;
}

.bounce-animation {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-1px); }
}

.carousel-indicators.premium-circles {
    gap: 15px;
}

.carousel-indicators.premium-circles button {
    width: 52px !important;
    height: 52px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50%;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    opacity: 0.4 !important;
    transition: all 0.4s ease !important;
    text-indent: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-indicators.premium-circles button.active {
    opacity: 1 !important;
    transform: scale(1.05); 
}

.premium-circles .num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-main);
    letter-spacing: 1px;
    line-height: 1;
}

.premium-circles svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.premium-circles circle {
    fill: none;
    stroke-width: 2px;
}

.premium-circles .circle-bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.premium-circles .circle-progress {
    stroke: var(--accent);
    stroke-dasharray: 125; 
    stroke-dashoffset: 125; 
}

.premium-circles button.active .circle-progress {
    animation: drawCircle 6s linear forwards;
}

@keyframes drawCircle {
    0% { stroke-dashoffset: 125; }
    100% { stroke-dashoffset: 0; }
}

@media (max-width: 768px) {
    .carousel-bottom-bar {
        flex-direction: column-reverse;
        align-items: center !important;
        gap: 20px;
        padding-bottom: 20px !important;
    }
    
    .carousel-indicators.premium-circles {
        justify-content: center !important;
    }

    .carousel-control-next{
        display: none !important;
    }

    .carousel-control-prev{
        display: none !important;
    }
}

/* ================================== Hlavní menu ================================== */

.transition-nav {
    transition: all 0.3s ease;
    padding: 20px 0;
    background-color: transparent; 
}

.transition-nav .navbar-brand { color: var(--white) !important; transition: color 0.3s; }
.transition-nav .nav-link { color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.95rem; margin: 0 10px; transition: color 0.3s; }
.transition-nav .nav-link:hover { color: var(--white); }

.transition-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.transition-nav.scrolled .navbar-brand { color: var(--dark) !important; }
.transition-nav.scrolled .nav-link { color: var(--dark); }
.transition-nav.scrolled .nav-link:hover { color: var(--accent); }

.hamburger-icon {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.transition-nav.scrolled .hamburger-icon span {
    background-color: var(--dark);
}

button[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
button[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
button[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
    .navbar-collapse {
        width: 100%;
        max-width: 100vw;
    }

    .mobile-nav-bg {
        background-color: var(--white);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        margin-top: 15px !important;
        border: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        box-sizing: border-box; 
    }
    
    .transition-nav .nav-link {
        color: var(--dark) !important;
        padding: 12px 20px;
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .transition-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .transition-nav .nav-link:hover {
        color: var(--accent) !important;
        padding-left: 20px;
    }
}

.navbar .logo-dark {
    display: none;
}
.navbar .logo-light {
    display: block;
}
.navbar.scrolled .logo-light,
.transition-nav.scrolled .logo-light {
    display: none;
}
.navbar.scrolled .logo-dark,
.transition-nav.scrolled .logo-dark {
    display: block;
}

/* ================================== Karty ================================== */

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}
.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--soft-accent);
    color: var(--accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.feature-card:hover .icon-box {
    background-color: var(--accent);
    color: var(--white);
}

/* ================================== Section Footer ================================== */

.footer {
    background-color: #020c19;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.animate-on-scroll { opacity: 0; transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.slide-up { transform: translateY(40px); }
.slide-left { transform: translateX(40px); }
.animate-on-scroll.is-visible { opacity: 1; transform: translate(0); }

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.hover-white:hover {
    color: var(--white) !important;
}


/* ================================== Page title / Breadcrumbs ================================== */

.page-title-section {
    padding: 160px 0 40px;
    background-color: var(--light-gray);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-trail li {
    display: flex;
    align-items: center;
}

.breadcrumb-trail li:not(:last-child)::after {
    content: '/';
    color: #cbd5e1;
    margin: 0 10px;
}

.breadcrumb-trail a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
    color: var(--accent);
}

.breadcrumb-trail .current {
    color: var(--accent);
    font-weight: 600;
}

/* ================================== Section O NÁS ================================== */

.hero-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
}

/* ================================== Section KONTAKT  ================================== */

/* ================================== Cookie lišta ================================== */

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9000;
    width: 380px;
    max-width: calc(100vw - 32px);
    background-color: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25), 0 4px 16px rgba(15, 23, 42, 0.08);
    animation: cookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.cookie-banner-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background-color: var(--soft-accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.cookie-banner-body {
    color: #64748b;
    font-size: 0.9rem;
}
.cookie-banner-body h5 {
    font-weight: 800;
    color: var(--dark);
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.cookie-banner-body p:last-child {
    margin-bottom: 0;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.cookie-btn-accept {
    flex: 1;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.cookie-btn-decline {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 12px;
    background: none;
    border: none;
}
.cookie-btn-decline:hover {
    color: var(--dark);
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }
}

/* Honeypot pole proti spam botům - musí zůstat v DOM, ale skryté před reálnými uživateli */
.user-input {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}


.contact-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--accent) !important;
    color: var(--white) !important;
    box-shadow: 0 10px 20px rgba(255, 25, 73, 0.2) !important;
}

.hover-accent:hover {
    color: var(--accent) !important;
}

#contactForm .form-control:focus {
    box-shadow: 0 0 0 4px var(--soft-accent) !important;
    background-color: var(--white) !important;
    border: none;
}

#contactForm button[type="submit"]:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 25, 73, 0.2) !important;
}
