/* VERSEELA - Music Production Studio
   External CSS Stylesheet
   Created to replace embedded styles in index.html
   ================================================= */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Beige and Black Color Palette */
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --tertiary-black: #2a2a2a;
    
    /* Beige Variations */
    --beige-50: #faf8f5;
    --beige-100: #f5f1ea;
    --beige-200: #ebe4d5;
    --beige-300: #ddd4c0;
    --beige-400: #c8b99f;
    --beige-500: #b39d7e;
    --beige-600: #9e8465;
    --beige-700: #7d6850;
    --beige-800: #5e4f3e;
    --beige-900: #3f362d;
    
    /* Accent Colors */
    --accent-beige: #b39d7e;
    --accent-beige-light: #c8b99f;
    --accent-beige-dark: #9e8465;
    
    /* Text Colors */
    --text-primary: #faf8f5;
    --text-secondary: #ebe4d5;
    --text-muted: #b39d7e;
    --text-dark: #2a2a2a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', serif;
}

/* Gradient Styles */
.gradient-beige {
    background: linear-gradient(135deg, var(--beige-300), var(--beige-500), var(--beige-700));
    padding: 6px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--beige-300), var(--beige-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass-effect {
    backdrop-filter: blur(20px);
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(179, 157, 126, 0.2);
}

/* Audio Visualizer */
.audio-visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Navigation */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(42, 42, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(179, 157, 126, 0.3);
    padding: 1rem 2rem;
}

.floating-nav:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(179, 157, 126, 0.5);
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.floating-nav ul li {
    margin: 0;
    padding: 0;
}

.floating-nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: none;
}

.floating-nav ul li a:hover, .floating-nav ul li a:focus {
    background: var(--accent-beige);
    color: var(--primary-black);
    outline: none;
}

.floating-nav ul li a::before {
    display: none !important;
}

/* Logo */
.logo-container {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(179, 157, 126, 0.2);
    border-radius: 12px;
    padding: 4px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
    border-color: rgba(179, 157, 126, 0.4);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.logo-container img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(25deg);
    border-radius: 6px;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Waveform Container */
.waveform-container {
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(179, 157, 126, 0.1), transparent);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(179, 157, 126, 0.2);
}

.waveform-container canvas {
    width: 100%;
    height: 100%;
    filter: blur(0.5px);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-beige), transparent);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--accent-beige);
    border-radius: 50%;
    border: 3px solid var(--primary-black);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: var(--secondary-black);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(179, 157, 126, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-beige);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Buttons */
.btn-primary {
    background: var(--accent-beige);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-beige-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-beige);
    border: 2px solid var(--accent-beige);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-beige);
    color: var(--primary-black);
}

/* Section Padding */
.section-padding {
    padding: 8rem 0;
}

/* Hero Pattern */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(179, 157, 126, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(179, 157, 126, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-beige);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-beige-light);
}

/* Form Radio Button Styling */
input[type="radio"]:checked + div {
    background: rgba(179, 157, 126, 0.1);
    border-color: var(--accent-beige);
}

/* Particle Effect */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-beige);
    border-radius: 50%;
    pointer-events: none;
}

.equipments{
    padding: 4px;
}

/* Enhanced Styles for Beige Theme */
.beige-accent {
    color: var(--accent-beige);
}

.beige-bg {
    background-color: var(--beige-100);
    color: var(--text-dark);
}

.beige-border {
    border-color: var(--accent-beige);
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, var(--secondary-black), var(--tertiary-black));
    border: 1px solid rgba(179, 157, 126, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.feature-card:hover {
    border-color: var(--accent-beige);
    box-shadow: 0 10px 40px rgba(179, 157, 126, 0.1);
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    background: #374151;
    border: 1px solid #4b5563;
    color: white;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-beige);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0 2rem 0;
    }
    
    .logo-container {
        top: 0.75rem;
        left: 0.75rem;
        padding: 4px 8px;
    }
    
    .logo-container img {
        width: 30px;
        height: 30px;
    }
    
    .floating-nav {
        top: 0.75rem;
        left: 85%;
        transform: translateX(-50%);
        padding: 0.75rem 1rem;
        border-radius: 25px;
        max-width: 90%;
    }
    
    .floating-nav:hover {
        transform: translateX(-50%) translateY(-1px);
    }
    
    .floating-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .floating-nav ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-pattern {
        opacity: 0.3;
    }
    
    /* Hero section improvements */
    #home h1 {
        font-size: 3.5rem !important;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    #home p {
        font-size: 1rem !important;
        margin-bottom: 2rem;
        padding: 0 1.5rem;
        line-height: 1.6;
    }
    
    #home .flex {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Text size adjustments */
    .text-5xl {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
    
    .text-2xl {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .text-xl {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    /* Button improvements */
    .btn-primary, .btn-secondary {
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 0.75rem auto;
        display: block;
        text-align: center;
    }
    
    /* Grid improvements */
    .grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .grid.grid-cols-1.lg\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact form improvements */
    .contact-form {
        padding: 0 1rem;
    }
    
    .form-step {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }
    
    .form-step .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-step .btn-secondary {
        order: 2;
    }
    
    .form-step .btn-primary {
        order: 1;
    }
    
    /* Feature card improvements */
    .feature-card {
        padding: 1.5rem;
        margin: 0.75rem 0;
        border-radius: 12px;
    }
    
    /* About section stats */
    .grid.grid-cols-2.gap-8 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Services section */
    .timeline-item .feature-card {
        margin: 1rem 0;
    }
    
    /* Contact section cards */
    .contact-section-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    /* Waveform containers */
    .waveform-container {
        height: 80px;
        margin-bottom: 1rem;
    }
    
    /* Container padding */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Spacing adjustments */
    .mb-8 {
        margin-bottom: 1.5rem;
    }
    
    .space-y-6 > * + * {
        margin-top: 1rem;
    }
    
    .space-y-8 > * + * {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .floating-nav {
        top: 0.5rem;
        padding: 0.5rem 0.75rem;
        max-width: 95%;
    }
    
    .floating-nav ul {
        gap: 0.3rem;
        font-size: 0.7rem;
    }
    
    .floating-nav ul li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .logo-container {
        top: 0.5rem;
        left: 0.5rem;
        padding: 3px 6px;
    }
    
    .logo-container img {
        width: 24px;
        height: 24px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    /* Hero section for very small screens */
    #home h1 {
        font-size: 2.8rem !important;
        padding: 0 0.75rem;
    }
    
    #home p {
        font-size: 0.95rem !important;
        padding: 0 1rem;
    }
    
    /* Text adjustments for small screens */
    .text-5xl {
        font-size: 2rem;
    }
    
    .text-2xl {
        font-size: 1.3rem;
    }
    
    .text-xl {
        font-size: 1rem;
    }
    
    /* Form improvements for small screens */
    .form-step {
        padding: 1rem;
        margin: 0 0.25rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    /* Container for very small screens */
    .container {
        padding: 0 1rem;
    }
    
    /* Waveform for small screens */
    .waveform-container {
        height: 60px;
    }
    
    /* Grid adjustments */
    .grid.grid-cols-2.gap-8 {
        gap: 0.75rem;
    }
    
    /* Contact section description */
    .contact-section-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.rounded-xl {
    border-radius: 12px;
}

.rounded-2xl {
    border-radius: 16px;
}

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(179, 157, 126, 0.3);
    transition: box-shadow 0.3s ease;
}

/* Background Variations */
.bg-dark-section {
    background-color: rgba(42, 42, 42, 0.3);
}

.bg-black {
    background-color: #000000;
}

/* Text Sizing */
.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

.text-9xl {
    font-size: 8rem;
    line-height: 1;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 1.3;
    padding-bottom: 10px;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.4;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.5;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Width and Height Utilities */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Position Utilities */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Z-Index */
.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

/* Opacity */
.opacity-0 {
    opacity: 0;
}

.opacity-80 {
    opacity: 0.8;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Transitions */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s ease;
}

.transition-opacity {
    transition: opacity 0.3s ease;
}

/* Font Weights */
.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Border Radius */
.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 8px;
}

/* Leading (Line Height) */
.leading-relaxed {
    line-height: 1.625;
}

/* Transform */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Bounce Animation */
.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Scroll Smooth */
.scroll-smooth {
    scroll-behavior: smooth;
}

/* Min Height */
.min-h-screen {
    min-height: 100vh;
}

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

/* Border */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

/* Additional Form Styles */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

form {
    margin-bottom: 0;
}

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-beige);
    outline-offset: 2px;
}

/* Disabled States */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .floating-nav,
    .logo-container,
    .loader {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .gradient-text {
        color: black;
    }
}

/* Increase gap between email/WhatsApp cards */
@media (min-width: 768px) {
    .contact-section-cards {
        gap: 2.5rem !important;
    }
}

/* Increase margin below the 'Ready to transform...' paragraph */
.contact-section-description {
    margin-bottom: 4rem !important;
}

/* ==================== TESTIMONIALS SECTION ==================== */

/* Testimonials Container - Horizontal Scrolling */
#testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0 2rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

#testimonials-container::-webkit-scrollbar {
    height: 8px;
}

#testimonials-container::-webkit-scrollbar-track {
    background: rgba(42, 42, 42, 0.3);
    border-radius: 4px;
}

#testimonials-container::-webkit-scrollbar-thumb {
    background: var(--beige-500);
    border-radius: 4px;
}

#testimonials-container::-webkit-scrollbar-thumb:hover {
    background: var(--beige-400);
}

/* Testimonial Items */
.testimonial-item {
    min-width: 350px;
    max-width: 400px;
    flex-shrink: 0;
    transform: scale(1);
    transition: all 0.3s ease;
    border: 1px solid rgba(179, 157, 126, 0.2);
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    scroll-snap-align: start;
}

.testimonial-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(179, 157, 126, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Testimonial Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonials-nav-btn {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(179, 157, 126, 0.3);
    color: var(--beige-300);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.testimonials-nav-btn:hover {
    background: var(--beige-500);
    color: var(--primary-black);
    border-color: var(--beige-400);
    transform: scale(1.1);
}

.testimonials-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.testimonials-nav-info {
    color: var(--beige-300);
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

/* Star Rating System */
.star-rating {
    transition: all 0.2s ease;
    cursor: pointer;
    color: #6b7280; /* Default gray */
}

.star-rating:hover,
.star-rating.active {
    color: #fbbf24; /* Yellow when hovered or active */
    transform: scale(1.1);
}

/* Star rating interaction - when hovering, highlight up to that star */
.star-rating:hover ~ .star-rating {
    color: #6b7280; /* Reset stars after the hovered one */
}

/* Character counter styling */
#testimonial-count {
    font-weight: 500;
    color: var(--beige-300);
}

/* Testimonial form specific styles */
#testimonialForm textarea {
    resize: vertical;
    min-height: 100px;
}

#testimonialForm textarea:focus {
    box-shadow: 0 0 0 3px rgba(179, 157, 126, 0.1);
}

/* Testimonial content styling */
.testimonial-item blockquote {
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--beige-500);
    background: rgba(179, 157, 126, 0.05);
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}

.testimonial-item blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    font-size: 2rem;
    color: var(--beige-500);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
}

/* Testimonial author info */
.testimonial-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-item .text-sm {
    color: var(--beige-400);
}

/* Rating display in testimonials */
.testimonial-item .text-yellow-400 {
    color: #fbbf24 !important;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Avatar styling */
.testimonial-item .w-12.h-12 {
    background: linear-gradient(135deg, var(--beige-400), var(--beige-600));
    border: 2px solid var(--beige-500);
    box-shadow: 0 2px 8px rgba(179, 157, 126, 0.3);
}

.testimonial-item .w-12.h-12 span {
    color: var(--primary-black);
    font-weight: 700;
    text-shadow: none;
}

/* Project type badge */
.testimonial-item .text-xs.opacity-60 {
    background: rgba(179, 157, 126, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    color: var(--beige-300);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive testimonials */
@media (max-width: 768px) {
    #testimonials-container {
        gap: 1rem;
        padding: 0.75rem 0 1.5rem 0;
    }
    
    .testimonial-item {
        min-width: 280px;
        max-width: 320px;
        margin-bottom: 0;
    }
    
    .testimonial-item .flex {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-item .w-12.h-12 {
        margin: 0 auto 1rem auto;
    }
    
    .star-rating {
        font-size: 1.3rem;
    }
    
    .testimonials-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonials-nav-info {
        font-size: 0.8rem;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .testimonial-item {
        min-width: 260px;
        max-width: 290px;
    }
    
    .testimonials-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .testimonials-nav {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
}

/* Animation for testimonials loading */
@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-item {
    animation: testimonialFadeIn 0.6s ease-out forwards;
}

/* Testimonial form animations */
#testimonialForm input:focus,
#testimonialForm select:focus,
#testimonialForm textarea:focus {
    transform: scale(1.02);
    transition: all 0.2s ease;
}

/* Star rating container */
.star-rating-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Loading state for testimonials */
.testimonials-loading {
    text-align: center;
    padding: 3rem;
    color: var(--beige-400);
}

.testimonials-loading::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--beige-500);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hamburger styles */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 50;
  gap: 0.4rem;
}
.hamburger-bar {
  display: block;
  width: 2rem;
  height: 0.22rem;
  background: var(--beige-300, #f5e9d7);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

/* Hide nav links on mobile by default */
#nav-links {
  transition: all 0.3s;
}
@media (max-width: 767px) {
  #nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  }
  #floating-nav.open #nav-links {
    display: flex;
  }
}

/* Hamburger animation when open */
#floating-nav.open .hamburger-bar:nth-child(1) {
  transform: translateY(0.62rem) rotate(45deg);
}
#floating-nav.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
#floating-nav.open .hamburger-bar:nth-child(3) {
  transform: translateY(-0.62rem) rotate(-45deg);
}

/* Nav inner flex layout */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* On desktop, nav links are flex row */
#nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 767px) {
  /* Hamburger at far right */
  .nav-inner {
    flex-direction: row;
  }
  /* Mobile menu dropdown styles */
  #nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: -10.5rem;
    background: rgba(20, 20, 20, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 40;
  }
  #floating-nav.open #nav-links {
    display: flex;
  }
  #nav-links li {
    margin: 0;
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(245, 233, 215, 0.08);
  }
  #nav-links li:last-child {
    border-bottom: none;
  }
  #nav-links a {
    font-size: 1.1rem;
    width: 100%;
    display: block;
  }
  /* Make sure hamburger is at far right */
  .hamburger {
    margin-left: auto;
  }
}