/* Redesigned Homepage Styles */
:root {
    --brand-blue: #002d72;
    --brand-orange: #ff6a00;
    --accent-orange: #ff7e1e;
    --stats-card-bg: rgba(255, 255, 255, 0.1);
    --search-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-full-width-section {
    width: 100%;
    position: relative;
    background: #f8fafc;
    overflow: hidden;
    line-height: 0;
    border-bottom: 1px solid #e2e8f0;
}

.hero-media-container {
    width: 100%;
    position: relative;
    line-height: 0;
}

.hero-dynamic-media {
    width: 100%;
    height: auto;
    min-height: 500px;
    max-height: 700px;
    object-fit: cover;
    display: block;
}

/* Ensure video fills correctly */
video.hero-dynamic-media {
    max-height: 75vh;
}

@media (max-width: 768px) {
    .hero-dynamic-media {
        height: 40vh;
        min-height: auto;
        max-height: none;
        object-fit: cover;
    }
}

.btn-rent {
    background: var(--brand-orange);
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
}

.btn-hire {
    background: #f1f5f9;
    color: #0f172a;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
}

.btn-quote {
    background: #10b981;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: var(--stats-card-bg);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-box i {
    font-size: 1.5rem;
    color: #ff9d00;
}

.stat-box .text b {
    display: block;
    font-size: 1.1rem;
}

.hero-illustration {
    position: relative;
    z-index: 2;
}

/* Search Bar Redesign */
.search-bar-wrap {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.search-box {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--search-box-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-item {
    flex: 1;
    border-right: 1px solid #e2e8f0;
    padding: 0 15px;
}

.search-item:last-child {
    border-right: none;
}

.search-item label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.search-item select, .search-item input {
    border: none;
    width: 100%;
    font-weight: 600;
    color: #0f172a;
    outline: none !important;
}

.btn-search {
    background: var(--brand-orange);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
}

/* Section Common */
.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h2 {
    font-size: 2rem;
    font-weight: 800;
}

/* Category Cards */
.cat-card {
    background: white;
    border-radius: 20px;
    text-align: center;
    padding: 0;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-orange);
}

.cat-icon-wrap {
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.cat-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-icon-wrap img {
    transform: scale(1.1);
}

.cat-card h4 {
    font-size: 0.95rem;
    padding: 15px 10px;
    margin: 0;
    font-weight: 700;
    color: #1e293b;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Popular Rentals */
.rent-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.rent-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.rent-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.rent-body {
    padding: 20px;
    text-align: center;
}

.rent-body h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.rent-body .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
}

.btn-rent-now {
    background: var(--brand-orange);
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
}

/* Flexible Pricing */
.pricing-strip {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.price-pill b {
    font-size: 1.25rem;
}

/* Musician Cards */
.musician-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.musician-img {
    height: 300px;
    overflow: hidden;
}

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

.musician-body {
    padding: 20px;
}

.musician-body h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.musician-body .exp {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.btn-hire-now {
    background: var(--brand-orange);
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
}

.btn-hire-now.alt {
    background: #4338ca;
}


.cat-card.active-border {
    border: 2px solid var(--brand-orange) !important;
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.15) !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-redesign {
        padding: 40px 0 80px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    .hero-content h1 .highlight {
        padding: 4px 12px;
        font-size: 0.8em;
        vertical-align: baseline;
    }
    .hero-content p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
        line-height: 1.6;
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    .hero-btns a {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    .hero-stats {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .stat-box {
        width: 100%;
        max-width: 320px;
        padding: 12px 20px;
        justify-content: flex-start;
        text-align: left;
    }
    .stat-box i {
        font-size: 1.2rem;
    }
    .stat-box .text b {
        font-size: 0.95rem;
    }
    .stat-box .text span {
        font-size: 0.75rem;
    }
    .hero-illustration {
        margin-top: 50px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .search-bar-wrap {
        margin-top: -40px;
        padding: 0 15px;
    }
    .search-box {
        flex-direction: column;
        align-items: stretch;
        padding: 25px;
    }
    .search-item {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 0 0 15px 0;
        margin-bottom: 15px;
    }
    .search-item:last-child {
        border-bottom: none;
    }
    .btn-search {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .stat-box {
        flex: 1 1 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .section-head h2 {
        font-size: 1.5rem;
    }
}

/* ══ Brands Section ═══════════════════════════════════════ */
.brands-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* ── Marquee wrapper — clips overflow & fades edges ─ */
.brands-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

.brands-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.brands-scroll-left {
    animation: brandsScrollLeft 28s linear infinite;
}

.brands-scroll-right {
    animation: brandsScrollRight 32s linear infinite;
}

.brands-marquee-wrapper:hover .brands-marquee-track {
    animation-play-state: paused;
}

@keyframes brandsScrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes brandsScrollRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.brand-item {
    flex-shrink: 0;
    padding: 0 12px;
}

.brand-logo-box {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    width: 190px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 14px rgba(0,0,0,0.03);
    cursor: default;
}

.brand-logo-box:hover {
    transform: translateY(-5px) scale(1.04);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.12);
}

.brand-logo-img {
    max-width: 130px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .brands-section { padding: 40px 0; }
    .brand-logo-box { width: 150px; min-height: 75px; padding: 15px 20px; }
    .brand-logo-img { max-width: 100px; max-height: 45px; }
}

/* Quick Links Section */
.quick-link-card {
    position: relative;
    display: block;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ql-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.quick-link-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    transition: opacity 0.4s ease;
}

.ql-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: white;
}

.ql-card-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
}

.btn-ql {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

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

.quick-link-card:hover .ql-card-bg {
    transform: scale(1.1);
}

.quick-link-card:hover .btn-ql {
    background: white;
    color: #0f172a;
    border-color: white;
}

@media (max-width: 768px) {
    .quick-link-card {
        height: 220px;
    }
    .ql-card-content {
        padding: 20px;
    }
    .ql-card-content h3 {
        font-size: 1.1rem;
    }
}

/* Browse Section Heading Optimization */
.browse-section-heading {
    font-size: 1.85rem !important;
    line-height: 1.3 !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .browse-section-heading {
        font-size: 1.4rem !important;
        max-width: 100%;
    }
}
