/* ===== Hero Section ===== */
.equipment-hero {
    position: relative;
    padding: 10rem 0 8rem;
    color: white;
    overflow: hidden;
    background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(18, 44, 77, 0.9)),
                    url('../images/hero/hero-equipment.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.equipment-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.7) 100%);
    z-index: -1;
}

.equipment-hero h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.equipment-hero .lead {
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.equipment-hero .btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.equipment-hero .btn-primary:hover {
    background-color: #e65a2b;
    border-color: #e65a2b;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.bg-primary-light {
    background-color: rgba(26, 84, 109, 0.1);
}

.bg-success-light {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
}

.stats-section .stat-icon {
    color: var(--color-secondary);
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.stats-section h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stats-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card h3 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Call to Action Section */
.cta-section {
    position: relative;
    padding: 6rem 0;
    color: white;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                    url('../images/equipment/camera-in-studio.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section h2 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    min-width: 160px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    color: var(--color-primary) !important;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover {
    color: var(--color-primary) !important;
}

/* ===== Featured Equipment ===== */
.featured-equipment {
    padding: 5rem 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.equipment-card {
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    background: white;
    margin-bottom: 2rem;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.equipment-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.equipment-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.equipment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
}

.equipment-category {
    display: inline-block;
    background: var(--color-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.equipment-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.equipment-specs {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.equipment-specs i {
    margin-right: 0.25rem;
}

.equipment-footer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.equipment-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.equipment-price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.equipment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -1rem;
    top: -1.5rem;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2c4a7a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: white;
    color: var(--color-primary);
}

.btn-cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 54, 93, 0.1);
    border-color: #e2e8f0;
}

/* Image Container */
.equipment-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.equipment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Category Tag */
.equipment-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-secondary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card Body */
.equipment-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

/* Title */
.equipment-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    line-height: 1.4;
}

.equipment-card .card-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

/* Price */
.equipment-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0.5rem 0;
}

.equipment-price small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

/* Location */
.equipment-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.equipment-location i {
    color: #94a3b8;
    font-size: 0.9em;
}

/* Rating */
.equipment-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.equipment-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.equipment-rating .rating-count {
    color: #64748b;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

/* Favorite Button */
.btn-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-favorite:hover {
    background: white;
    color: #dc3545;
    transform: scale(1.1);
}

.btn-favorite.active {
    color: #dc3545;
    background: white;
}

.btn-favorite i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Card Footer */
.equipment-card .card-footer {
    background: transparent;
    border-top: 1px solid #f1f5f9;
    padding: 1rem 1.5rem;
    margin-top: auto;
}

/* View Details Button */
.btn-view-details {
    width: 100%;
    padding: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.status-available {
    background: #10b981;
    color: white;
}

.status-rented {
    background: #ef4444;
    color: white;
}

.status-pending {
    background: #f59e0b;
    color: white;
}

/* Category badge */
.category-badge {
    background-color: var(--color-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    z-index: 2;
}

/* Status badge */
.status-badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    z-index: 2;
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .equipment-hero {
        padding: 6rem 0;
    }
    
    .stats-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    .glass-card,
    .cta-card {
        margin-bottom: 1rem;
    }
}
