/* ========================================
   Snoring Dog Music - Main Stylesheet
   Bright, modern recording studio aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --bg-white: #ffffff;
    --bg-light: #f7f8fc;
    --bg-warm: #faf9f7;
    --accent: #e8645a;
    --accent-hover: #d4524a;
    --accent-light: #fdf0ef;
    --text-dark: #2c3e50;
    --text-body: #555e68;
    --text-muted: #8b95a1;
    --border: #e8ecf1;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --nav-height: 70px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4vw;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--text-dark);
}

/* ========================================
   Navigation — Sticky
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin-left: auto;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Sections — General
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    background: url('../images/studio-shots/IMG_0616.jpeg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for readability */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    margin-bottom: 25px;
}

.hero-logo {
    max-width: 750px;
    width: 85vw;
    height: auto;
}

.hero-content .tagline {
    font-size: 1.625rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
    display: inline-block;
    margin-top: 60px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ========================================
   Studio Section
   ======================================== */
.studio-section {
    background: var(--bg-white);
}

.studio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.studio-text {
    text-align: left;
}

.studio-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 20px;
}

.studio-text p:last-child {
    margin-bottom: 0;
}

.studio-photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.studio-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.studio-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.studio-photo-dog {
    position: relative;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
}

/* ========================================
   Services Section — Rate Cards
   ======================================== */
.services-section {
    background: var(--bg-light);
    position: relative;
}

.services-section::before {
    display: none;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.rate-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.rate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.rate-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--accent-light);
    border-radius: 50%;
    display: inline-block;
}

.rate-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.rate-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.rate-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.rate-amount.highlight {
    font-size: 1.5rem;
    color: var(--accent);
}

.rate-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ========================================
   Film & TV Section
   ======================================== */
.filmtv-section {
    background: var(--bg-white);
}

.filmtv-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.filmtv-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 20px;
}

.filmtv-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Equipment Section — Grid Cards
   ======================================== */
.equipment-section {
    background: var(--bg-white);
}

.equipment-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.equipment-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.equipment-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.equipment-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px 25px;
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.equipment-card h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-light);
}

.equipment-card ul {
    list-style: none;
}

.equipment-card li {
    font-size: 0.95rem;
    color: var(--text-body);
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
}

.equipment-card li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--bg-light);
    position: relative;
}

.contact-section::before {
    display: none;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 40px;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.required-note {
    color: var(--accent);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 100, 90, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 100, 90, 0.3);
}

/* ========================================
   Standalone Pages (film-tv.html, etc.)
   ======================================== */
.page-main {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.page-main::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.page-main::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 35px;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.page-text p:last-child {
    margin-bottom: 0;
}

.page-content-wide {
    max-width: 700px;
}

.page-intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

/* Contact form on standalone page (over gradient background) */
.contact-form-page {
    text-align: left;
}

.contact-form-page .form-group label {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-page .required-note {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form-page .form-group input,
.contact-form-page .form-group textarea {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-form-page .form-group input:focus,
.contact-form-page .form-group textarea:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: #ffffff;
}

.contact-form-page .btn-submit {
    color: var(--text-dark);
    background: #ffffff;
}

.contact-form-page .btn-submit:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--text-dark);
    padding: 40px 0;
    text-align: center;
}

.footer-location {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.footer-email {
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-email a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-email a:hover {
    color: #ffffff;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .container {
        padding: 0 6vw;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 15px 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 0 !important;
    }

    /* Mobile Menu Toggle Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hero */
    .hero-logo {
        max-width: 565px;
    }

    .hero-content .tagline {
        font-size: 1.375rem;
    }

    /* Sections */
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Studio */
    .studio-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .studio-text {
        text-align: center;
    }

    .studio-photos {
        max-width: 450px;
        margin: 0 auto;
    }

    /* Rates */
    .rates-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Equipment */
    .equipment-feature {
        grid-template-columns: 1fr;
    }

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

    /* Contact Form */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 450px;
    }

    .hero-content .tagline {
        font-size: 1.25rem;
    }

    .nav-logo img {
        height: 35px;
    }

    /* Equipment single column on small screens */
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}
