/* Frosty Flame Records - Album-Specific Styles */

/* ========================================
   RECORDS SITE NAVIGATION - Full Screen Overlay
   Unique implementation for music site only
   ======================================== */

/* Full-screen black overlay */
.records-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1005;
}

.records-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Centered navigation links container */
.records-nav-overlay .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.records-nav-overlay .nav-links li {
    margin: 0 0 2rem 0;
    padding: 0;
    border: none;
}

.records-nav-overlay .nav-links li a {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.records-nav-overlay .nav-links li a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Close button positioning for records nav - scoped to records overlay only */
.records-nav-overlay.active ~ .nav-close-btn,
body:has(.records-nav-overlay.active) .nav-close-btn {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    background-image: url('../../images/ff_close.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 55%;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1011;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    opacity: 1;
    display: block;
}

.records-nav-overlay.active ~ .nav-close-btn:hover,
body:has(.records-nav-overlay.active) .nav-close-btn:hover {
    transform: translateX(-50%) rotate(90deg);
}

/* Hide hamburger when menu is open - scoped to records overlay only */
body:has(.records-nav-overlay.active) .menu-toggle {
    opacity: 0;
    pointer-events: none;
}

/* Album Card Overrides */
.coming-soon-card {
    cursor: default;
}

.coming-soon-card:hover {
    transform: none;
}

.coming-soon-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   ALBUM MODAL - Frosty Flame Records Specific
   ======================================== */

/* Modal Overlay - Reuse main site dark overlay */
.album-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
}

.album-modal.active {
    display: flex;
}

/* Modal Content Box - White rounded container */
.album-modal-content {
    background-color: white;
    border-radius: 20px;
    max-width: 850px;
    width: 90%;
    max-height: 85vh;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Close Button - White circle sitting on top edge of modal */
.album-modal-close {
    position: absolute;
    top: -25px; /* Half of button height - sits on edge */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: white; /* White circle */
    background-image: url('../../images/ff_close.svg'); /* Reuse SVG from main site */
    background-position: center;
    background-repeat: no-repeat;
    background-size: 55%; /* Slightly smaller SVG inside white circle */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; /* Reuse from main site */
    z-index: 10; /* Above modal content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Reuse from main site */
}

.album-modal-close i,
.album-modal-close span {
    display: none; /* Hide icon/text since we're using SVG background */
}

.album-modal-close:hover {
    transform: translateX(-50%) rotate(90deg); /* Reuse rotation effect from main site */
}

/* Spotify Embed Container */
.modal-spotify-embed {
    width: 100%;
    background-color: transparent;
    border-radius: 20px 20px 0 0;
    overflow: hidden; /* Contain iframe */
    flex-shrink: 0;
    padding: 20px 20px 0 20px;
}

.modal-spotify-embed iframe {
    width: 100%;
    height: 352px;
    border: none;
    display: block;
    border-radius: 12px;
}

/* Store Links Container */
.album-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 30px 40px 40px 40px;
    background-color: white; /* Reuse from main site */
    border-radius: 0 0 20px 20px;
}

/* Store Link Buttons */
.album-store-link {
    padding: 14px 28px;
    background: transparent; /* No background - just black text on white */
    color: #000; /* Black text */
    text-decoration: none;
    border-radius: 8px; /* Reuse from main site */
    font-weight: 600;
    transition: all 0.3s ease; /* Reuse from main site */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.album-store-link:hover {
    background: #000; /* Black button background on hover */
    color: white; /* White text on hover */
    transform: translateY(-2px); /* Reuse from main site */
}

.album-store-link i {
    font-size: 1.25rem;
    color: inherit;
}

/* Shop Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Albums Section Filter Buttons - White Styling */
.albums-section .category-tab {
    background-color: white; /* White background */
    color: #000; /* Black text */
    border: 2px solid #000; /* Black border */
}

.albums-section .category-tab.active {
    background-color: #000; /* Black background when active */
    color: white; /* White text when active */
}

.albums-section .category-tab:hover {
    background-color: #000; /* Black background on hover */
    color: white; /* White text on hover */
}

/* Album Sections */
.albums-section {
    background-image: url('../../images/frostyflame-records-desert-studio.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* White text for titles in albums section */
.albums-section .section-title,
.albums-section .section-subtitle {
    color: white;
}

.albums-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 50%); /* Dark overlay to show background */
    z-index: 0;
}

.albums-section .container {
    position: relative;
    z-index: 1;
}

/* Ensure album grid matches fleet grid exactly */
.albums-section .vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure album cards match fleet cards */
.albums-section .vehicle-card {
    width: 100%;
    max-width: none;
}

.shop-section {
    background-color: #f9f9f9;
}

.shop-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 40px auto;
}

.about-content {
    max-width: 800px;
    margin: 60px auto;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Artists Section - Use Why-Us Grid */
.artists-grid {
    margin-top: 60px;
}

/* Coming Soon Overlay */
.coming-soon-overlay {
    position: relative;
}

.coming-soon-overlay img {
    filter: brightness(0.5);
}

.coming-soon-badge-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
}

/* ========================================
   FOOTER STYLES - Records Site Specific
   White links with white hover
   ======================================== */

/* Footer nav should be 3 columns */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    grid-column: 2 / -1;
}

/* Footer section links should be white */
.footer-section a {
    color: #fff;
}

.footer-section a:hover {
    color: #fff;
}

/* Footer section headers remain as they are */
.footer-section h3 {
    color: #fff;
}

/* Social icons also stay white */
.social-links a {
    color: #fff;
}

.social-links a:hover {
    color: #fff;
}

/* Responsive footer nav */
@media (max-width: 1024px) {
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 25px;
        grid-column: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .album-modal-content {
        width: 95%;
        max-height: 90vh;
        margin-top: 1.5rem;
    }

    .album-modal-close {
        width: 44px;
        height: 44px;
        top: -22px; /* Half of smaller button height */
    }

    .modal-spotify-embed {
        padding: 15px 15px 0 15px;
    }

    .modal-spotify-embed iframe {
        height: 380px;
    }

    .album-store-links {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }

    .album-store-link {
        width: 100%;
        justify-content: center;
    }
}
