/* Rental Page Specific Styles */

.nav-link.active {
    color: #a855f7;
}

.rental-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(168, 85, 247, 0.3)),
                url('website_content/About_Page.jpg') center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
}

.rental-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(168, 85, 247, 0.2) 100%);
}

.rental-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.rental-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.rental-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Equipment Categories */
.equipment-categories {
    padding: 100px 0;
    background: #111;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    color: #ccc;
    border: 2px solid #333;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: #a855f7;
    color: #000;
    border-color: #a855f7;
    box-shadow:
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.equipment-grid.hidden {
    display: none;
}

.equipment-card {
    background: #222;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 30px rgba(168, 85, 247, 0.4),
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04);
}

.equipment-image {
    height: 250px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}

.equipment-info {
    padding: 1.5rem;
}

.equipment-info h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.equipment-description {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.equipment-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec {
    background: #333;
    color: #a855f7;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.equipment-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price {
    color: #a855f7;
    font-size: 1.5rem;
    font-weight: 700;
}

.weekly-price {
    color: #888;
    font-size: 0.9rem;
}

.rent-btn {
    width: 100%;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rent-btn:hover {
    background: linear-gradient(135deg, #9333ea, #4f46e5);
    transform: translateY(-2px);
    box-shadow:
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04),
        0 0 35px rgba(168, 85, 247, 0.5);
}

.rent-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

/* Rental Cart */
.rental-cart {
    padding: 80px 0;
    background: #000;
    border-top: 1px solid #333;
}

.rental-cart h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cart-items {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
}

.empty-cart {
    color: #888;
    text-align: center;
    font-style: italic;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: #a855f7;
    font-weight: 500;
}

.cart-item-remove {
    background: #ff4444;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.cart-item-remove:hover {
    background: #cc3333;
}

.cart-summary {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    height: fit-content;
}

.total-section {
    margin-bottom: 2rem;
    text-align: center;
}

.total-section h3 {
    color: #a855f7;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.weekly-total {
    color: #888;
    font-size: 0.9rem;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #9333ea, #4f46e5);
    box-shadow:
        /* Red - top right */
        4px -2px 6px rgba(255, 80, 80, 0.25),
        /* Orange - right */
        5px 0 6px rgba(255, 165, 80, 0.22),
        /* Yellow - bottom right */
        4px 2px 5px rgba(255, 200, 50, 0.2),
        /* Green - bottom */
        0 4px 5px rgba(80, 255, 80, 0.18),
        /* Cyan - bottom left */
        -4px 2px 5px rgba(80, 255, 255, 0.2),
        /* Blue - left */
        -5px 0 6px rgba(80, 180, 255, 0.25),
        /* Violet - top left */
        -4px -2px 6px rgba(150, 50, 255, 0.22),
        /* Magenta - top */
        0 -4px 5px rgba(255, 80, 200, 0.2),
        /* Film grain texture */
        1px 1px 2px rgba(255, 255, 255, 0.03),
        -1px -1px 2px rgba(0, 0, 0, 0.04),
        0 0 35px rgba(168, 85, 247, 0.5);
}

.checkout-btn:disabled {
    background: #555;
    cursor: not-allowed;
}

/* Booking Form */
.booking-form-section {
    padding: 100px 0;
    background: #111;
}

.booking-form-section.hidden {
    display: none;
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: #222;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #333;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a855f7;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.booking-summary {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border: 1px solid #333;
}

.booking-summary h3 {
    color: #a855f7;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-item {
    display: flex;
    justify-content: space-between;
    color: #ccc;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
}

.booking-item:last-child {
    border-bottom: none;
}

.booking-total {
    text-align: right;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #a855f7;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Rental Terms */
.rental-terms {
    padding: 100px 0;
    background: #000;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.term-card {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    text-align: center;
}

.term-card h3 {
    color: #a855f7;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.term-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rental-hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .rental-hero-content p {
        font-size: 1rem;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
    }

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

    .cart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .rental-hero {
        height: 50vh;
    }
    
    .rental-hero-content h1 {
        font-size: 2rem;
    }
    
    .equipment-card,
    .cart-items,
    .cart-summary,
    .booking-form {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}