/* === Color Palette === */
:root {
    --vgo-light: #F3F4F4;
    --vgo-primary: #853953;
    --vgo-dark: #612D53;
    --vgo-black: #2C2C2C;
}

/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    height: 100%;
    overflow-x: hidden;
}

/* === Page Container === */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === Main Content === */
main {
    flex: 1 0 auto;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1s ease-in-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

main img {
    width: 100%;
}

main h1 { margin-bottom: 10px; }
main h2, main h3, main h4, main h5 { margin-top: 20px; }
main p { line-height: 1.5em; padding-top: 4px; padding-bottom: 16px; }

main a {
    color: var(--vgo-primary);
    text-decoration: none;
    transition: color 0.5s ease, text-decoration 0.5s ease;
}
main a:hover {
    color: var(--vgo-dark);
}

.container-fluid { padding: 20px; }

@media (max-width: 576px) {
    main h1 { font-size: 1.2em; }
}

/* === Navigation === */
header {
    background-color: #fff;
    padding: 10px 20px;
    width: 100%;
    border-bottom: 1px solid var(--vgo-light);
}

.logo a { text-decoration: none; }
.logo-img {
    max-width: 250px;
    height: auto;      /* preserve natural 9.09:1 aspect ratio when width is constrained */
    display: block;
}

.vgoNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 1000;
}

.vgoNav .logo-img {
    max-width: 200px;
    height: auto;
    display: block;
}

.vgoNav .navlinks {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vgoNav .navlinks li {
    margin-left: 6px;
    position: relative;
}

.vgoNav .navlinks a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    text-decoration: none;
    color: var(--vgo-black);
    padding: 10px 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.vgoNav .navlinks a:hover {
    color: var(--vgo-primary);
}

.vgoNav .navlinks a img {
    width: 18px;
    height: 18px;
    display: block;
    background: transparent !important;
    filter: brightness(0) saturate(100%) invert(26%) sepia(30%) saturate(1200%) hue-rotate(300deg) brightness(85%) contrast(90%);
}

.vgoNav .navlinks a:hover img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(40%) saturate(1500%) hue-rotate(290deg) brightness(70%) contrast(95%);
}

.vgoNav .Dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.vgoNav .Dropdown-content.active {
    display: block;
}

.vgoNav .Dropdown-content li { margin: 0; }

.vgoNav .Dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: var(--vgo-black);
}

.vgoNav .Dropdown-content a:hover,
.vgoNav .hover:hover {
    background-color: var(--vgo-light);
    color: var(--vgo-primary);
}

/* Mobile Nav */
.vgoNav .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--vgo-primary);
}

/* Mobile-only banner below header — appears when cart has items.
   Styled to match the cart's CHECKOUT button (same purple, same radius). */
.mobile-cart-banner { display: none; }
@media (max-width: 768px) {
    .mobile-cart-banner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        margin: 0.85rem 1rem 0.25rem;       /* inset from screen edges */
        padding: 0.95rem 1.75rem;           /* matches ed-cart-checkout padding */
        background: var(--vgo-dark);        /* #612D53 — same as Checkout button */
        color: #fff !important;
        font-size: 0.78rem;                 /* matches Checkout button */
        font-weight: 500;
        letter-spacing: 0.08em;             /* matches ed-tracking-small */
        text-transform: uppercase;
        text-decoration: none !important;
        border: 1px solid var(--vgo-dark);
        border-radius: 0.25rem;             /* matches Checkout button */
        transition: background 0.2s ease, border-color 0.2s ease;
    }
    .mobile-cart-banner:hover,
    .mobile-cart-banner:focus {
        background: var(--vgo-primary);     /* #853953 — same hover as Checkout */
        border-color: var(--vgo-primary);
        color: #fff !important;
    }
    .mobile-cart-banner-icon { height: 16px; width: 16px; filter: brightness(0) invert(1); }
    .mobile-cart-banner-arrow { font-size: 1.1rem; line-height: 1; opacity: 0.85; }
    body.editorial .mobile-cart-banner { color: #fff !important; }
}

@media (max-width: 768px) {
    .vgoNav { flex-wrap: wrap; }

    .vgoNav .navlinks {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 0;
        background-color: #fff;
        z-index: 1001;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }

    .vgoNav .navlinks.active { display: flex; }

    .vgoNav .navDropdown .Dropdown-content {
        position: relative;
        box-shadow: none;
        background-color: var(--vgo-light);
    }

    .vgoNav .navlinks li { margin: 0; margin-top: 2px; margin-bottom: 2px; }
    .vgoNav .navlinks li a { padding-top: 10px; padding-bottom: 10px; display: block; width: 100%; }
    .vgoNav .navlinks .Dropdown-content { padding: 0; padding-left: 20px; margin: 0; width: 100%; }

    .vgoNav .menu-toggle {
        display: block;
        z-index: 1002;
    }
}

/* === Footer === */
footer {
    flex: 0 0 auto;
    position: relative;
    padding: 8px 12px;
    font-size: .7em;
    background-color: #fff;
    color: var(--vgo-black);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
footer .footer-legal {
    margin: 0.25rem 0 0.5rem;
    font-size: 0.95em;
    letter-spacing: 0.02em;
}
footer .footer-legal a {
    color: var(--vgo-black);
    text-decoration: none;
    margin: 0 0.15rem;
}
footer .footer-legal a:hover { color: var(--vgo-primary); }
footer .footer-legal .sep { color: #bbb; margin: 0 0.15rem; }

#back-to-top {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    background-color: var(--vgo-primary);
    color: #fff;
    padding: 6px 14px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
#back-to-top:hover { background-color: var(--vgo-dark); }

/* === Home Cards === */
.homeButton {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.homeButton img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease-in-out;
}

.homeButton:hover img {
    transform: scale(1.2);
}

.homeButton-link {
    text-decoration: none;
}

.button-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1.5em;
    color: #fff;
    text-align: center;
    background-color: rgba(133, 57, 83, 0.8);
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

@media (max-width: 768px) {
    .homeButton {
        padding-top: 56.25%;
        height: 0;
    }
    .button-title {
        font-size: 1.2em;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .button-title {
        font-size: 1em;
        padding: 5px 10px;
    }
}

/* === About Section === */
#about-vgo-recordings .about-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    padding: 30px 20px;
    border-radius: 8px;
    min-height: 300px;
}

#about-vgo-recordings .about-col h1,
#about-vgo-recordings .about-col h2 {
    color: white;
}

#about-vgo-recordings .about-col a {
    color: var(--vgo-light);
    text-decoration: underline;
}
#about-vgo-recordings .about-col a:hover {
    color: #fff;
}

@media (min-width: 769px) {
    #about-vgo-recordings .about-col {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    #about-vgo-recordings .about-col {
        text-align: left;
        padding: 15px;
        border-radius: 0;
    }
}

/* Footer mobile — readable font + WCAG-compliant touch targets */
@media (max-width: 720px) {
    footer {
        font-size: 0.85em;
        padding: 14px 12px;
    }
    footer .footer-legal {
        font-size: 0.95em;
        line-height: 2;
    }
    footer .footer-legal a {
        display: inline-block;
        padding: 6px 6px;
    }
    #back-to-top {
        padding: 12px 20px;
        font-size: 0.9em;
    }
}

/* === Cookie Consent Banner === */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 44, 44, 0.97);
    color: #fff;
    border-top: 2px solid var(--vgo-primary);
    padding: 1.5rem 1rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

.cookie-consent-banner p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
    padding: 0;
}

.cookie-consent-banner a {
    color: var(--vgo-light);
    text-decoration: underline;
}
.cookie-consent-banner a:hover {
    color: #fff;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-button-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-form { width: 100%; }

.cookie-btn-accept {
    width: 100%;
    background-color: var(--vgo-primary);
    color: #fff;
    border: 2px solid var(--vgo-primary);
    font-weight: bold;
    transition: all 0.2s ease;
}
.cookie-btn-accept:hover {
    background-color: var(--vgo-dark);
    border-color: var(--vgo-dark);
    color: #fff;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    width: 100%;
    border: 2px solid #666;
    color: #ccc;
    background: transparent;
    font-weight: bold;
    transition: all 0.2s ease;
}
.cookie-btn-decline:hover {
    background-color: #666;
    color: #fff;
    border-color: #666;
    transform: translateY(-2px);
}

/* === Contact Form === */
.contact form {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}

.contact .form-label {
    display: block;
    margin-bottom: 2px;
    font-weight: bold;
    color: var(--vgo-black);
}

.contact .form-control {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact .form-control:focus {
    border-color: var(--vgo-primary);
    box-shadow: 0 0 5px rgba(133, 57, 83, 0.5);
}

.btn-contact {
    font-size: 16px;
    font-weight: bold;
    background-color: var(--vgo-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-contact:hover {
    background-color: var(--vgo-dark);
    color: #fff;
    transform: scale(1.02);
}

.btn-contact.muted,
.btn-contact:disabled {
    background-color: #ccc;
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.contact .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact .form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--vgo-primary);
    cursor: pointer;
}

.contact .form-check-label {
    font-size: 14px;
    color: var(--vgo-black);
    cursor: pointer;
}

/* Visually hidden — accessible to screen readers, invisible on screen */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
