/* Main styles for Reverb Studios */

/* Import Google Fonts - Work Sans with multiple weights */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset and Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography Hierarchy with Work Sans */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 600;
}

h4, h5, h6 {
    font-weight: 500;
}

p {
    font-weight: 300;
}

.lead {
    font-weight: 300;
}

strong, b {
    font-weight: 600;
}

.btn {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header-area {
    transition: all 0.3s ease;
}

.header-area.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../images/gallery/recording-suite.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    transform: translateZ(0);
    will-change: transform;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title h2,
.testimonials-section .section-title p {
    position: relative;
    z-index: 2;
}

.testimonials-section .testimonials-marquee {
    position: relative;
    z-index: 2;
}

.testimonials-section .btn {
    position: relative;
    z-index: 2;
}

/* Auto marquee — scrolls right to left; duplicate groups in HTML for seamless loop */
.testimonials-marquee {
    overflow: hidden;
    width: 100%;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-bottom: 0.5rem;
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.testimonials-marquee-track {
    display: flex;
    width: max-content;
    animation: testimonials-marquee-rtl 50s linear infinite;
}

.testimonials-marquee:hover .testimonials-marquee-track,
.testimonials-marquee:focus-within .testimonials-marquee-track {
    animation-play-state: paused;
}

@keyframes testimonials-marquee-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-marquee-track {
        animation: none;
    }

    .testimonials-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .testimonials-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.testimonials-marquee-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    align-items: stretch;
    flex-shrink: 0;
    padding: 0 0.75rem;
}

.testimonial-slide {
    flex: 0 0 auto;
    width: min(85vw, 420px);
    max-width: 100%;
}

.testimonials-marquee .testimonial-card {
    height: 100%;
}

.testimonials-marquee .testimonial-card:hover {
    transform: translateY(-6px);
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(198, 40, 40, 0.15);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    font-size: 18px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.testimonial-author img,
.testimonial-author .author-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-author .author-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #A91D22 100%);
    color: #fff;
    font-size: 24px;
}

.testimonial-author .author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
}

.testimonial-author .author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-primary:focus,
.btn-primary:active {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.5) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-primary:hover {
    color: var(--primary-dark) !important;
}

a.text-primary:hover,
a.text-primary:focus {
    color: var(--primary-dark) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary:hover {
    background-color: var(--primary-dark) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.border-primary:hover {
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.5) !important;
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .btn {
        padding: 10px 25px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
}

