* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f8f8;
    padding-bottom: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.step-number.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-color: #ffd700;
    transform: scale(1.1);
}

.step-number.completed {
    background: #4caf50;
    color: white;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
}

.service-card.selected {
    border: 3px solid #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
    transform: translateY(-8px);
}

.service-card.selected::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: #ff6b35;
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-content p {
    color: #666;
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.btn-success {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.cart-summary {
    position: sticky;
    top: 20px;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 2px solid #ffd700;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 12px;
}

.cart-item-remove {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    transform: scale(1.1);
    background: #d32f2f;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.total-price {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin: 20px 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navigation-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

/* SPODNÍ LIŠTA S CENOU - jako u BB Box */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -3px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    border-top: 3px solid #ffd700;
}

.bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bottom-bar-price {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bottom-bar-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.bottom-bar-amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bottom-bar-amount-small {
    font-size: 1.2rem;
    font-weight: 700;
    color: #666;
}

.bottom-bar-button {
    padding: 16px 40px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.bottom-bar-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.bottom-bar-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cart-summary-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.cart-summary-link:hover {
    color: #f7931e;
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 35px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Player Count Modal - optimalizováno pro mobily */
.player-count-modal {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.player-count-modal-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}

.player-count-modal-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.player-count-modal-title {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.player-count-modal-description {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.player-count-modal-input-group {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.player-count-modal-input-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
    font-size: 1rem;
}

.player-count-modal-input-group input {
    width: 100%;
    padding: 15px;
    border: 3px solid #ff6b35;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #ff6b35;
    transition: all 0.3s;
}

.player-count-modal-input-group input:focus {
    outline: none;
    border-color: #f7931e;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.player-count-modal-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-top: auto;
}

.player-count-modal-buttons button {
    flex: 1;
    padding: 14px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Mobilní optimalizace */
@media (max-width: 768px) {
    .player-count-modal {
        width: 95%;
        max-height: 85vh;
        border-radius: 16px;
    }
    
    .player-count-modal-image {
        height: 120px;
    }
    
    .player-count-modal-content {
        padding: 15px;
    }
    
    .player-count-modal-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .player-count-modal-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .player-count-modal-input-group {
        margin-bottom: 15px;
    }
    
    .player-count-modal-input-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .player-count-modal-input-group input {
        padding: 12px;
        font-size: 1.2rem;
    }
    
    .player-count-modal-buttons {
        gap: 8px;
    }
    
    .player-count-modal-buttons button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Extra malé mobily */
@media (max-width: 400px) {
    .player-count-modal {
        width: 96%;
        max-height: 80vh;
    }
    
    .player-count-modal-image {
        height: 100px;
    }
    
    .player-count-modal-content {
        padding: 12px;
    }
    
    .player-count-modal-title {
        font-size: 1.2rem;
    }
    
    .player-count-modal-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .player-count-modal-input-group input {
        padding: 10px;
        font-size: 1.1rem;
    }
    
    .player-count-modal-buttons button {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Landscape módy na mobilech */
@media (max-height: 600px) and (orientation: landscape) {
    .player-count-modal {
        max-height: 95vh;
    }
    
    .player-count-modal-image {
        height: 80px;
    }
    
    .player-count-modal-content {
        padding: 10px 15px;
    }
    
    .player-count-modal-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .player-count-modal-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .player-count-modal-input-group {
        margin-bottom: 10px;
    }
    
    .player-count-modal-input-group input {
        padding: 8px;
        font-size: 1rem;
    }
    
    .player-count-modal-buttons button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
}

.close-modal:hover {
    color: #ff6b35;
    transform: rotate(90deg);
}

.admin-login {
    min-height: 100vh;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-panel {
    background: #f8f8f8;
    min-height: 100vh;
    padding: 20px;
}

.inquiry-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 5px solid #ff6b35;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-new {
    background: #fff3e0;
    color: #ff6b35;
}

.status-confirmed {
    background: #e8f5e9;
    color: #4caf50;
}

@media (max-width: 768px) {
    .header {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    /* FORMULÁŘ - POD SEBE NA MOBILU */
    .contact-form-grid {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    
    /* KOŠÍK ODKAZ V BOTTOM-BAR - MENŠÍ NA MOBILU */
    .cart-summary-link {
        font-size: 0.8rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .navigation-buttons {
        flex-direction: column;
    }

    /* MOBILNÍ ÚPRAVY PRO SPODNÍ PRUH */
    .bottom-bar {
        padding: 12px 15px; /* Menší padding */
    }
    
    .bottom-bar-content {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .bottom-bar-price {
        justify-content: space-between;
        gap: 10px;
    }
    
    .bottom-bar-label {
        font-size: 0.85rem; /* Menší text */
    }
    
    .bottom-bar-amount {
        font-size: 1.4rem; /* Menší částka */
    }
    
    .bottom-bar-amount-small {
        font-size: 1rem;
    }

    .bottom-bar-button {
        width: 100%;
        padding: 12px 20px; /* Menší padding */
        font-size: 0.95rem; /* Menší text */
    }
}

.hidden {
    display: none !important;
}

.success-message {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.success-message h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.player-count-input {
    max-width: 300px;
    margin: 25px auto;
}

.player-count-input input {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}
    </style>
