.page-content-wrapper {
    width: 100%;
    /* KEY CHANGE: Make wrapper take full viewport height */
    height: 100vh; 
    display: flex;
    flex-direction: column;
}

/* Visual Spacer is now redundant for scrolling but keeps the background centered/visible */
.visual-spacer {
    /* KEY CHANGE: This spacer now takes up the remaining height of the viewport */
    flex-grow: 1; 
    min-height: 1px; /* Ensure it collapses if needed but fills space */
    width: 100%;
    /* Height calculation is removed, using flex-grow: 1 instead to fill the space */
    height: auto; 
}

.header-about-page {
    background-color: rgba(0, 0, 0, 0.7); 
    position: relative; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 10; 
    width: 100%;
    border-bottom: none; 
    flex-shrink: 0; 
    height: 60px; 
    box-sizing: border-box;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.header-about-page .container {
    max-width: none; 
    width: 100%; 
    margin: 0; 
    padding: 0 1rem; 
    height: 100%; 
    display: flex;
    justify-content: center; 
    align-items: center;
}


.nav-links-left {
    display: flex;
    align-items: stretch; 
    gap: 1.5rem; 
    justify-content: center; 
    width: 100%; 
}

.nav-item {
    color: #fff; 
    text-decoration: none;
    font-weight: bold;
    font-family: "Impact", sans-serif; 
    padding: 1rem 1.5rem; 
    display: flex; 
    align-items: center; 
    height: 100%; 
    transition: all 0.3s ease; 
    border-radius: 0; 
    text-transform: uppercase; 
    font-size: 1.3rem; 
    text-shadow: none; 
    background-color: transparent; 
    border: 1px solid transparent; 
}

.nav-item:hover {
    color: #000; 
    background-color: #fff; 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); 
    transform: translateY(-2px); 
    border: 1px solid #fff; 
}

/* ==========================================================================
   SERVICES PAGE & MODAL STYLES
   ========================================================================== */

/* Main layout split into two halves */
.services-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(30vh - 120px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* Left side artist photo */
.services-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.artist-image {
    max-width: 80%;
    max-height: 60vh;
    object-fit: contain;
    filter: grayscale(20%);
    border-radius: 4px;
}



/* Right side 2x2 service grid matching reference image */
.services-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 650px;
}

.service-card {
    background-color: #262c33;
    border: 1px solid #383e46;
    height: 180px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.service-card:hover {
    background-color: #2e353e;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
}

.card-price {
    color: #9c2929;
}

.card-action {
    color: #8a929a;
    letter-spacing: 0.05em;
}

.service-card:hover .card-action {
    color: #ffffff;
}

/* ==========================================================================
   BOOKING MANIFEST MODAL (Matching Image 956adc)
   ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.hidden {
    display: none;
}

.modal-container {
    background-color: #e5e5df;
    color: #111;
    width: 100%;
    max-width: 520px;
    padding: 2.5rem;
    font-family: 'Space Mono', monospace;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #111;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.manifest-title {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: bold;
}

.manifest-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #111;
    padding: 0.5rem 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #111;
    outline: none;
    border-radius: 0;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23111111%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.65em auto;
}

.submit-btn {
    margin-top: 1rem;
    background-color: #8a261f;
    color: #000;
    border: none;
    padding: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background-color: #530606;
}

/* Responsive design for tablets/mobile */
@media (max-width: 900px) {
    .services-container {
        flex-direction: column;
        min-height: auto;
        padding-bottom: 5rem;
    }

    .vertical-divider {
        width: 80%;
        height: 1px;
        margin: 2rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-size: 0.75rem; 
    color: #fff; 
}

.footer-links {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7); 
}

.footer-links span {
    display: inline; 
}

.footer-links a {
    margin-left: 0.75rem;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    border-radius: 4px; 
}

.footer-links a:hover {
    color: #ccc; 
}

.social-icons {
    display: flex; 
    justify-content: flex-start; 
    gap: 1rem; 
}

.social-icons a {
    border-radius: 50%; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0; 
}

.social-icons svg {
    width: 1.25rem; 
    height: 1.25rem;
    fill: currentColor;
    color: #fff; 
    transition: color 0.3s;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7)); 
}

.social-icons a:hover svg { 
     color: #ccc; 
}

.fade-out-page {
    opacity: 0;
    animation: pageFadeOut 1s ease-in-out forwards; 
}

.fade-in-page {
    opacity: 0; 
    animation: pageFadeIn 1s ease-in-out forwards; 
}

@keyframes pageFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive adjustments for mobile (max-width: 768px) */
@media (max-width: 768px) {
    .footer {
        flex-direction: column; /* Stack children vertically */
        align-items: center; /* Center items horizontally */
        padding: 1rem; /* Adjust padding for mobile */
    }

    .social-icons {
        order: 1; /* Place icons first (above the text) */
        margin-bottom: 0.75rem; /* Space between icons and text */
        gap: 1.5rem; /* Increase gap between icons on mobile */
        width: 100%; /* Ensure it takes full width for centering */
        justify-content: center; /* Center icons horizontally on mobile */
    }

    .footer-links {
        order: 2; /* Place text second (below the icons) */
        text-align: center; /* Ensure copyright text is centered on mobile */
        width: 100%; /* Ensure it takes full width for centering on mobile */
    }

    .footer-links span {
        display: block; /* Make the span a block element for mobile to center its text */
    }
}

/* ==========================================
   CONTACT MODAL TEXT & COLOR CUSTOMIZATION
   ========================================== */

/* Header Title (/ CONTACT INFO) */
#contactModal .manifest-title {
    color: #111111; /* Header title color */
}

/* Close Button (CLOSE ×) */
#contactModal .close-btn {
    color: #111111; /* Close text/icon color */
}
#contactModal .close-btn:hover {
    color: #555555; /* Hover color for close button */
}

/* Section Labels (DIRECT EMAIL, LOCATION, DIRECT CHANNELS) */
.contact-label {
    color: #666666; /* Subtitle / label color */
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

/* Divider Lines */
.contact-divider {
    border-bottom: 1px solid #cccccc; /* Border line color between sections */
    padding-bottom: 1rem;
}

/* Email Link (gunaarbeidz@gmail.com) */
.contact-email-link {
    color: #773f3f; /* Primary email text color */
    font-weight: 700;
    font-size: 1rem;
}
.contact-email-link:hover {
    color: #000000; /* Color on hover */
    text-decoration: underline;
}

/* Location Text (RIGA, LATVIA) */
.contact-location-text {
    color: #773f3f; /* Location text color */
    font-weight: 700;
}

/* Social Channel Links (INSTAGRAM, SOUNDCLOUD, etc.) */
.contact-social-link {
    color: #773f3f; /* Social link color */
    font-size: 0.75rem;
    transition: color 0.2s ease;
}
.contact-social-link:hover {
    color: #000000; /* Social link hover color */
    text-decoration: underline;
}

/* ==========================================================================
   PAGE SCROLLABILITY FIX & CONTENT SECTIONS
   ========================================================================== */

/* Enable scrolling on wrapper and remove fixed height constraints */
.page-content-wrapper {
    width: 100%;
    min-height: 100vh;
    height: auto; /* Replaces 100vh restriction to allow full vertical scroll */
    display: flex;
    flex-direction: column;
}

/* Update fixed positioning of footer so it sits naturally at the document bottom */
.footer {
    position: relative;
    width: 100%;
    background-color: #000;
    margin-top: auto;
}

/* Pricing Section Styling */
.pricing-section {
    width: 100%;
    max-width: 1200px;
    margin: .2rem auto 7rem auto;
    padding: 0 .5rem;
    box-sizing: border-box;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.75rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: #1a1e23;
    border: 1px solid #2e353e;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease;
}

.pricing-card:hover {
    border-color: #773f3f;
}

.pricing-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.pricing-price {
    font-family: 'Space Mono', monospace;
    font-size: 1.75rem;
    color: #9c2929;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #a0a0a0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #2c323a;
}

.pricing-btn {
    width: 100%;
    padding: 0.85rem;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pricing-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Horizontal Moving Image Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #000000;
    padding: .5rem 0;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    margin: 3rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-track img {
    height: 70px;
    width: auto;
    margin: 0 3rem;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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