/**
 * ═══════════════════════════════════════════════════════════════════════
 * AV Hire Page Styles — The Grind Events Hire
 * ═══════════════════════════════════════════════════════════════════════
 * Extracted from inline <style> in av-hire.php for better cacheability
 * and reduced page weight.
 * ═══════════════════════════════════════════════════════════════════════
 */

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #f7b801;
    --dark-bg: #1a1a1a;
    --light-text: #f5f5f5;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
    background-color: var(--dark-bg);
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--light-text) !important;
}

nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin-left: 10px;
    transition: color 0.3s ease;
}

nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-av {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3a52 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-av::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-av h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: var(--light-text) !important;
}

.hero-av p {
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
    color: var(--light-text);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.cta-button:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.cta-button.secondary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Service Cards */
.service-card {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 15px;
    padding: 40px 30px;
    margin: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 4px solid var(--primary-color);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.3);
    background: rgba(26, 26, 26, 0.8);
}

.service-card i {
    font-size: 52px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-color);
}

.service-card h3 {
    color: var(--light-text);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 24px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 15px;
    opacity: 0.85;
    font-size: 15px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    color: var(--light-text);
    opacity: 0.8;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--dark-bg);
    padding: 80px 20px;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--light-text);
}

.feature-box {
    background: rgba(26, 26, 26, 0.6);
    padding: 40px;
    border-radius: 10px;
    margin: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid var(--primary-color);
    min-height: 140px;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.3);
    background: rgba(26, 26, 26, 0.8);
}

.feature-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: 5px;
    transition: all 0.4s ease;
}

.feature-box:hover i {
    transform: scale(1.3) rotate(15deg);
    color: var(--accent-color);
}

.feature-box h4 {
    color: var(--light-text);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.feature-box:hover h4 {
    color: var(--primary-color);
}

.feature-box p {
    color: var(--light-text);
    margin: 0;
    opacity: 0.85;
    font-size: 14px;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--dark-bg);
    padding: 80px 20px;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--light-text);
}

.testimonial-card {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 0;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.3);
}

.testimonial-card .stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-card p {
    color: var(--light-text);
    margin-bottom: 15px;
    font-style: italic;
    opacity: 0.9;
    line-height: 1.6;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
    margin-top: 15px;
}

/* Reviews Carousel */
.reviews-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 20px;
    background: var(--dark-bg);
}

.reviews-marquee {
    display: flex;
    gap: 20px;
    animation: marquee 80s linear infinite;
    width: fit-content;
}

.reviews-marquee:hover {
    animation-play-state: running;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-370px * (var(--card-count, 16))));
    }
}

.reviews-marquee .testimonial-card {
    flex: 0 0 350px;
    min-width: 350px;
    min-height: auto;
    height: auto;
    margin: 0;
}

.review-source-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.review-source-badge i {
    font-size: 14px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

.stars-row {
    color: var(--accent-color);
    font-size: 16px;
}

.testimonial-text {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.9;
    flex-grow: 1;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-text);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-item i {
    font-size: 28px;
    color: var(--accent-color);
}

.contact-info-item div {
    text-align: left;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--light-text);
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-av h1 {
        font-size: 32px;
    }

    .hero-av p {
        font-size: 16px;
    }

    .why-choose-us h2,
    .testimonials-section h2,
    .cta-section h2 {
        font-size: 28px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}
