:root {
    --primary: #06ffa1; /* Hlavní tmavě modrá barva */
    --secondary: #d7d7d8; /* Sekundární světle modrá */
    --accent: #f6ad55; /* Akcent oranžová */
    --dark: #d7d9dd;
    --light: #f7fafc;
    --tdcgreen: #06ffa1;
    --tdcpurple: #8d1eff;
    --tdcwhite: #ffffff;
    --tdcgray: #888888cc;
    --tdcblack: #000000;
}

.tdc-whitebg{
 background: var(--tdcwhite);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 80px;
    color: white;
    background: black;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand h1 {
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

/* Pro tmavý navbar */
.navbar-dark .navbar-nav .nav-link {
    color: #888888cc; /* Normální stav */
    transition: all 0.3s ease;
}

/*.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(141, 30, 255, 0.95); /* Najetí myší
}*/

.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff; /* Aktivní položka */
    font-weight: 500;
    position: relative;
}

.custom-bg{
    background: #131313;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

#hero-vegas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Hero Section - původní kód zůstává */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

#hero-vegas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    margin: 20px;
    max-width: calc(100% - 40px); /* Nové - zabrání přetékání */
    box-sizing: border-box; /* Nové - zahrne padding do šířky */
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-logo {
    height: 180px;
    width: auto;
    max-width: 100%;
}

/* Pouze tyto media queries přidáme/upravíme */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-content {
        padding: 30px;
        margin: 15px;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 110vh;
        min-height: 700px;
    }
    
    .hero-content {
        padding: 25px;
        margin: 10px;
        max-width: calc(100% - 20px);
        padding-top: 20%;
    }
}

/* Category Cards */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
}

.category-overlay h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Section Header */
.section-header h2 {
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--tdcgray);
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .blog-date {
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-card .blog-title {
    font-weight: 700;
    margin: 0.5rem 0;
}

.blog-card .blog-excerpt {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .product-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card .product-price {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-card .product-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-item {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Newsletter */
.newsletter-form .form-control {
    height: 50px;
    border: none;
}

.newsletter-form .btn {
    height: 50px;
    padding: 0 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
}

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary) !important;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white; /* Barva textu - upravte podle potřeby */
    /*background: rgba(0, 0, 0, 0.7) !important; /* Vynucení průhledného pozadí */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-section:hover .hero-bg-image {
    transform: scale(1.05); /* Jemný zoom při hoveru */
}

.hero-logo {
    height: 180px;
    width: auto;
    max-width: 100%;
}

/* Textové stíny pro lepší čitelnost */
.hero-section h1,
.hero-section p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        height: 60vh;
        text-align: center;
    }
    
    .hero-logo {
        height: 120px;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-logo {
        height: 90px;
    }
}

/* Původní styly tlačítek */
.btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: var(--tdcwhite);
    transition: all 0.3s ease; /* Přidáno pro plynulý přechod */
}

.btn-primary:hover, .btn-primary:focus { /* Přidáno :focus pro mobily */
    background-color: var(--tdcwhite);
    border-color: var(--tdcwhite);
    color: #000000;
}

.btn-outline-primary {
    color: var(--tdcgray);
    border-color: var(--tdcgray);
    transition: all 0.3s ease; /* Přidáno pro plynulý přechod */
}

.btn-outline-primary:hover, .btn-outline-primary:focus { /* Přidáno :focus pro mobily */
    background-color: var(--tdcwhite);
    color: black;
}

/* Nové pravidlo pro aktivní stav na mobilech */
@media (hover: none) {
    .btn-primary:active, .btn-outline-primary:active {
        background-color: var(--tdcwhite) !important;
        border-color: var(--tdcwhite) !important;
        color: #000000 !important;
    }
}

.btn-secondary {
    background-color: #ffffff;
    border-color: #000000;
    color: var(--tdcblack);
    transition: all 0.3s ease; /* Přidáno pro plynulý přechod */
}

.btn-secondary:hover,
.btn-secondary:focus { /* Přidáno :focus pro klávesnici */
    background-color: #000000;
    border-color: #000000;
    color: var(--tdcwhite);
}

/* Pro mobilní zařízení */
@media (hover: none) {
    .btn-secondary:active {
        background-color: #000000 !important;
        border-color: #000000 !important;
        color: var(--tdcwhite) !important;
    }
}

.partner-card {
    background: transparent;
    transition: transform 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.logo-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.partner-card:hover .logo-circle {
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    mix-blend-mode: multiply;
}

h3 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.disable-blog-btn {
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}
.disable-blog-btn:hover {
    transform: scale(1.05);
}

#blog-posts {
    transition: opacity 0.5s ease;
    opacity: 1;
}
#blog-posts.fade-out {
    opacity: 0;
}

/* Animace statistik */
.stat-number {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: inline-block;
    min-width: 60px;
}

.stat-number:hover {
    transform: scale(1.05);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

/* Efekt při animaci */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-number.animating {
    animation: pulse 0.5s ease-in-out;
}

/* Styly pro košík */
#cart-items .img-thumbnail {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Nahraďte problematický kód tímto */
#cart-items input[type="number"] {
    -moz-appearance: textfield; /* Pro Firefox */
    appearance: textfield; /* Standardní vlastnost */
}

#cart-items input[type="number"]::-webkit-outer-spin-button,
#cart-items input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Animace pro změnu množství */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.quantity-updated {
    animation: pulse 0.3s ease-in-out;
}

/* Zásilkovna widget */
#vyber-misto {
    background-color: #e3001b;
    border-color: #e3001b;
    color: white;
    font-weight: bold;
}

#vyber-misto:hover {
    background-color: #c10015;
    border-color: #c10015;
}

#zasilkovna-widget {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
}

#vybrane-misto-info {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 12px;
    margin-top: 10px;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: none;
    color: white;
    font-weight: bold;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #e0852e, #d45f34, #d1253d, #b3205a, #a41678);
    color: white;
}

.facebook-btn {
    background: linear-gradient(45deg, #1877F2, #166FEF, #0F63E8, #0A54CC);
    border: none;
    color: white;
    font-weight: bold;
    transition: all 0.25s ease;
}

.facebook-btn:hover {
    background: linear-gradient(45deg, #0F63E8, #0A54CC, #0946B0, #083892);
    color: white;
}

/* aktivní stav na zařízeních bez hover (mobil) */
@media (hover: none) {
    .facebook-btn:active {
        background: #083892 !important;
        color: white !important;
    }
}

/* Spotlight grid */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.spotlight-item {
    transition: transform 0.3s ease;
}

.spotlight-item:hover {
    transform: translateY(-5px);
}

.spotlight-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.spotlight-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spotlight-item:hover .spotlight-image img {
    transform: scale(1.05);
}

.spotlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 10px;
}

.spotlight-badge {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.placeholder-image {
    height: 150px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
}

.spotlight-caption h6 {
    color: #333;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Hero Section */
.event-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-poster {
    position: relative;
    z-index: 2;
}

.poster-image {
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Zajistí, že obsah bude nad pozadím */
.event-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-poster {
        margin-top: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .event-hero-section {
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-poster {
        margin-top: 3rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-cta .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
}

/* ==================== */
/* MOBILNÍ BANNER - PŘIZPŮSOBENÍ ŠÍŘCE */
/* ==================== */

@media (max-width: 768px) and (orientation: portrait) {
    .hero-background {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
    }
    
    .hero-bg-image {
        width: 100% !important;
        height: auto !important;
        min-height: 100vh;
        object-fit: cover;
        object-position: center center;
    }
    
    /* Přidáme černé pruhy pouze pokud je banner příliš úzký */
    .hero-background::before,
    .hero-background::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 50vh;
        background: #000;
        z-index: -1;
    }
    
    .hero-background::before {
        top: -50vh;
    }
    
    .hero-background::after {
        bottom: -50vh;
    }
}

/* ==================== */
/* OPRAVA SCROLL DOWN PRO MOBIL */
/* ==================== */

@media (max-width: 768px) {
    .scroll-down {
        /* Resetování pozice */
        position: fixed !important;
        left: 50% !important;
        bottom: 30px !important;
        transform: translateX(-50%) !important;
        
        /* Lepší viditelnost */
        background: rgba(255, 255, 255, 0.95);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex !important; /* Důležité! */
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        z-index: 1000;
        border: 2px solid rgba(0, 0, 0, 0.1);
    }
    
    .scroll-down i {
        color: #333 !important;
        font-size: 1.5rem;
        margin-top: 2px;
    }
    
    /* Animace */
    .scroll-down {
        animation: bounce 2s infinite !important;
    }
}

@media (max-width: 576px) {
    .scroll-down {
        bottom: 20px !important;
        width: 45px;
        height: 45px;
    }
    
    .scroll-down i {
        font-size: 1.3rem;
    }
}

/* Pro velmi malé obrazovky */
@media (max-width: 400px) {
    .scroll-down {
        bottom: 15px !important;
        width: 40px;
        height: 40px;
    }
    
    .scroll-down i {
        font-size: 1.1rem;
    }
}

.next-event-cta {
    background: var(--tdcgray);
    border: 2px solid var(--tdcwhite);
    transition: all 0.3s ease;
}

/* Jednotlivé položky */
.dropdown-item {
    color: #888888cc !important;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px; /* Zaoblení i pro hover stav */
    transition: all 0.25s ease; /* Plynulý přechod */
    position: relative;
    overflow: hidden;
}

/* Hover stav - jemný a elegantní */
.dropdown-item:hover {
    background: rgba(84, 84, 84, 0.244) !important; /* Velmi jemný nádech tvé zelené */
    color: var(--tdcwhite) !important;
    padding-left: 1.5rem; /* Jemný posun textu doprava */
}

/* Aktivní položka (pokud na ní uživatel je) */
.dropdown-item.active, .dropdown-item:active {
    background: var(--tdcwhite) !important;
    color: black !important;
}

/* Oddělovač (ten zakomentovaný v HTML) */
.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0.7rem;
}

/* --- DESKTOP VERZE (nad 992px) --- */
@media (min-width: 992px) {
    .dropdown-menu {
        background: rgba(19, 19, 19, 0.85) !important;
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 0.7rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
        margin-top: 10px !important;
        /* Animace pro desktop */
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* --- MOBILNÍ VERZE (pod 992px) --- */
@media (max-width: 991.98px) {
    .dropdown-menu {
        background: transparent !important; /* Pozadí necháme na navbaru */
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        padding: 0 0 0 1.5rem !important; /* Odsazení zleva vytvoří vizuální strom */
        margin: 0 !important;
    }

    .dropdown-item {
        color: #888888cc !important;
        padding: 0.75rem 1rem !important;
        border-radius: 0 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1); /* Jemná linka pro hierarchii */
    }

    .dropdown-item:hover, .dropdown-item:active {
        background: transparent !important;
        color: var(--tdcwhite) !important;
        padding-left: 1.2rem !important; /* Jen malý náznak pohybu */
    }
}