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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 5px solid #c0392b;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        45deg,
        #f39c12,
        #f39c12 20px,
        #2c3e50 20px,
        #2c3e50 40px
    );
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

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

.back-link {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    background: rgba(0,0,0,0.2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-link:hover {
    background: rgba(0,0,0,0.4);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Výpis vybavení */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.equipment-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid #e67e22;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(230,126,34,0.4);
}

.equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #f39c12;
}

.equipment-info {
    padding: 1.5rem;
}

.equipment-info h2 {
    margin-bottom: 0.5rem;
    color: #e67e22;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 1rem 0;
}

.pricing-info {
    margin: 1rem 0;
    color: #555;
    font-weight: 600;
}

.price-item {
    font-size: 0.95rem;
    color: #555;
    margin: 0.3rem 0;
}

.pricing-detail {
    background: #fff3e0;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 5px solid #f39c12;
}

.pricing-detail h3 {
    color: #e67e22;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pricing-detail p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.price-summary {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 3px solid #f39c12;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.price-summary h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.price-summary p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.price-summary .price-per-day {
    color: #c0392b;
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn:hover {
    background: linear-gradient(135deg, #d35400 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn-primary {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1rem;
}

/* Detail vybavení */
.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 3px solid #e67e22;
}

.detail-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-image {
    width: 100%;
    border-radius: 8px;
    border: 3px solid #f39c12;
}

.equipment-description h2 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.equipment-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.detail-right h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

/* Kalendář */
#calendar {
    border: 3px solid #e67e22;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #fff;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.calendar-header button {
    background: #e67e22;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.calendar-header button:hover {
    background: #d35400;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: bold;
    color: #e67e22;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.calendar-day:hover:not(.disabled):not(.unavailable):not(.empty) {
    background: #fff3e0;
    border-color: #e67e22;
    transform: scale(1.1);
}

.calendar-day.empty {
    border: none;
    cursor: default;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f9f9f9;
}

.calendar-day.unavailable {
    background: #ffebee;
    color: #c62828;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.selected {
    background: #e67e22;
    color: white;
    border-color: #e67e22;
    font-weight: bold;
}

/* Výběr datumů */
.date-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.date-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.date-input input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e67e22;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
}

/* Formulář */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #e67e22;
}

.form-group label input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group label {
    cursor: pointer;
}

/* Zprávy */
.message {
    display: none;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: bold;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #c82333;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #2c3e50;
    color: white;
    margin-top: 3rem;
    border-top: 5px solid #e67e22;
}

footer a {
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #e67e22;
}

/* O nás stránka */
.about-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 3px solid #e67e22;
    max-width: 900px;
    margin: 0 auto;
}

.about-container h2 {
    color: #e67e22;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
}

.about-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f39c12;
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h3 {
    color: #e67e22;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-section p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.5rem;
}

.about-section ul, .about-section ol {
    margin-left: 1.5rem;
    line-height: 1.8;
}

.about-section li {
    margin-bottom: 0.5rem;
    color: #333;
}

.about-section strong {
    color: #e67e22;
}

/* Košík */
.cart-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 3px solid #e67e22;
    max-width: 900px;
    margin: 0 auto;
}

.cart-container h2 {
    color: #e67e22;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cart-item {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 5px solid #f39c12;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-item-header h3 {
    color: #e67e22;
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

.btn-remove {
    background: #c0392b;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    line-height: 1;
}

.btn-remove:hover {
    background: #e74c3c;
}

.cart-item-details p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

/* Galerie */
.gallery-container {
    margin-bottom: 1.5rem;
}

.gallery-main {
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid #f39c12;
}

.gallery-main-image,
.gallery-main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-thumb:hover {
    border-color: #e67e22;
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c3e50;
    color: #e67e22;
    font-size: 2rem;
    font-weight: bold;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.fullscreen-overlay img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

/* Related items section */
.related-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.related-section h2 {
    color: #e67e22;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.related-carousel-wrapper {
    position: relative;
    width: 100%;
}

.related-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
}

.related-carousel::-webkit-scrollbar {
    display: none;
}

.related-item {
    flex: 0 0 180px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #e67e22;
    text-decoration: none;
    color: inherit;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(230,126,34,0.4);
}

.related-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.related-item p {
    padding: 0.6rem;
    text-align: center;
    font-weight: bold;
    color: #333;
    font-size: 0.85rem;
}

.carousel-btn {
    background: #e67e22;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

.carousel-btn:hover {
    background: #d35400;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Košík - layout */
.cart-item-wrapper {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.cart-item-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.cart-item-dates {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cart-item-prices {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

/* Responsivní design */
@media (max-width: 768px) {
    .detail-container {
        grid-template-columns: 1fr;
    }

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

    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 0.5rem;
        margin: 1rem auto;
    }

    /* Košík - na mobilu skrýt obrázek a vše pod sebe */
    .cart-item-image {
        display: none;
    }

    .cart-item-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cart-item-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .cart-item-header h3 {
        font-size: 1rem;
        width: 100%;
    }

    .cart-item-dates {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .cart-item-dates > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-item-dates input[type="date"] {
        flex: 1;
        margin-left: 0.5rem;
    }

    .cart-item-prices {
        flex-direction: column;
        gap: 0.3rem;
        font-size: 0.85rem;
    }

    /* Tlačítko odstranit */
    .btn-remove {
        font-size: 1.5rem !important;
        padding: 0.25rem !important;
    }

    /* Doprava sekce */
    .delivery-section {
        padding: 0.5rem !important;
    }

    .delivery-section > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }

    .delivery-section label {
        font-size: 0.85rem !important;
        display: block !important;
        margin-bottom: 0.25rem !important;
    }

    /* Souhrn */
    .price-summary {
        padding: 1rem !important;
        font-size: 0.9rem !important;
    }

    .price-summary h3 {
        font-size: 1.1rem !important;
    }

    #summary-grand-total {
        font-size: 1.2rem !important;
    }

    /* Formulář */
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem !important;
        padding: 0.6rem !important;
    }

    /* Tlačítka */
    .btn, .btn-primary {
        width: 100%;
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
}
