/* Rentals Page Specific Styles */

/* Rentals Hero Section */
.rentals-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4b8d 100%);
    color: white;
    margin-top: 80px;
}

.rentals-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rentals-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white; /* Keep white for hero section */
}

.rentals-hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.rentals-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Rental Categories */
.rental-categories {
    padding: 5rem 0;
    background: white;
}

.rental-categories h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
}

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

.category-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-card a {
    text-decoration: none;
    color: inherit;
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.category-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.category-card:hover .category-link {
    gap: 1rem;
}

/* Rental Sections */
.rental-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.rental-section:nth-child(even) {
    background: white;
}

.rental-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
}

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

.rental-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.rental-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.rental-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.rental-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.rental-info {
    padding: 1.5rem;
}

.rental-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.rental-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.rental-specs span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.rental-specs i {
    margin-right: 0.3rem;
    color: #2c3e50;
}

.rental-pricing {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price {
    text-align: center;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.period {
    font-size: 0.9rem;
    color: #666;
}

.rental-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rental-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Rental Benefits */
.rental-benefits {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
}

.rental-benefits h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: white; /* Keep white for benefits section */
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white; /* Keep white for benefits section */
}

.benefit-card p {
    opacity: 0.9;
    line-height: 1.5;
}

/* Rental Inquiry */
.rental-inquiry {
    padding: 5rem 0;
    background: white;
}

.inquiry-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.inquiry-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.inquiry-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.inquiry-form {
    text-align: left;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    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: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Ensure rental-btn styles work for both buttons and anchors */
.rental-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.rental-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .rentals-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rentals-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .rentals-hero-image img {
        height: 300px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .rental-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .rentals-hero {
        padding: 80px 0;
        margin-top: 70px;
    }
    
    .rentals-hero-content h1 {
        font-size: 2rem;
    }
    
    .rental-pricing {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .inquiry-content {
        padding: 0 1rem;
    }
}