:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #f472b6;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* Offset for Navigation bar */
#player,
#watch,
#tone,
#gear,
#process,
#credits,
#booking {
    scroll-margin-top: var(--nav-height);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-booking-btn {
    background-color: #E63946 !important;
    color: #fff !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px;
    font-weight: 700 !important;
    transition: transform 0.3s, background-color 0.3s !important;
}

.nav-booking-btn:hover {
    background-color: #c92a35 !important;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('mountain_bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) contrast(1.1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    max-width: 1100px;
    width: 90%;
    animation: fadeInUp 1s ease-out;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.hero-image-container {
    position: relative;
}

.hero-artist-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title .accent {
    font-style: italic;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.6);
}

.w-100 {
    width: 100%;
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Mobile Nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
}

.mobile-nav-item i {
    margin-bottom: 4px;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-nav-item.active i {
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    padding: 6rem 0;
}

/* Player Section */
.player-section {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8)), url('matt_lynn_waveform.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.player-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.player-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.player-text .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.player-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.genre-tags span {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.genre-tags span:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.player-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 450px;
    /* Force a consistent height for the player section image area */
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

.experience-badge-inline {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--accent);
    padding: 1rem 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.experience-badge-inline:hover {
    transform: translateY(-5px);
}

.experience-badge-inline .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-white);
}

.experience-badge-inline .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-white);
}

/* Video Section */
.video-section {
    background: rgba(15, 23, 42, 0.5);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-wrapper {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.video-wrapper:hover {
    transform: translateY(-10px);
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--text-white);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title .accent {
    color: var(--accent);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tone Section */
.tone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tone-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.tone-card:hover {
    transform: translateY(-10px);
}

.tone-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tone-header i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.tone-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.tone-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.mini-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 12px;
}

.play-btn {
    background: var(--primary);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
}

.waveform-mock {
    flex-grow: 1;
    height: 20px;
    background: linear-gradient(90deg, var(--primary) 30%, transparent 30%);
    background-size: 4px 100%;
    opacity: 0.5;
}

.soundcloud-integration {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.soundcloud-integration a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Gear Section */
.gear-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.gear-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gear-deliverables h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.gear-deliverables ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gear-deliverables li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-white);
}

.gear-deliverables i {
    color: #10b981;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.gear-item {
    text-align: center;
}

.gear-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: 12px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.gear-item h4 {
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
}

.gear-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Credits Section */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.credit-item {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.credit-item:hover {
    transform: translateX(10px);
    background: rgba(99, 102, 241, 0.1);
}

.credit-artist {
    font-weight: 700;
    color: var(--text-white);
}

.credit-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Booking Section */
.containerSmall {
    max-width: 800px;
    margin: 0 auto;
    width: 90%;
    padding: 6rem 0;
}

.booking-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    margin-bottom: 4rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.social-link-branded {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-branded:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.social-link-branded i {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Responsiveness */
@media (max-width: 968px) {

    .music-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .artist-quote {
        font-size: 1.5rem;
    }

    .gallery-item {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .navbar {
        height: 60px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-image-container {
        max-width: 200px;
        margin: 0 auto;
    }

    /* B2B Sections Responsive */
    .gear-intro {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .booking-card {
        padding: 2rem 1.5rem;
    }

    .tone-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    z-index: 10;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-content {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-muted);
}

#hero-video-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

#hero-video-trigger i {
    width: 20px;
    height: 20px;
}

/* Featured Video Thumbnail */
.featured-video {
    cursor: pointer;
    position: relative;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-video:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-video:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    width: 60px;
    height: 60px;
    color: white;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}