/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Reset and Base Styles */


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

body {
    font-family: "Roboto";
    line-height: 1.6;
    color: #2a2a2a;
    background-color: linear-gradient(135deg, #f8f9ff 0%, #fff5e6 100%);
    min-height: 100vh;
}

a {
    color: #1891D2;
}

main {
    padding-top: 57px; /* Account for fixed header */
    min-height: 100vh;
    /* background: #fafafa; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fdf7f0 100%);
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 0.5rem;
}

.logo i {
    color: #ff6347;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(255, 99, 71, 0.3));
}

.logo a {
    color: #8b4513;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #8b4513;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #ff6347;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    z-index: 9999;
}

.menu-toggle.active {
    pointer-events: auto !important;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #8b4513;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* Full Screen Navigation */
.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #8b4513 0%, #4682b4 100%);
    z-index: 9998;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.fullscreen-nav.active {
    transform: translateY(0);
}

.nav-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 2rem;
    position: relative;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    font-size: 2rem;
    color: #ffd700;
    animation: spin 20s linear infinite;
}

.nav-logo a {
    color: white;
    text-decoration: none;
}

.close-nav {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-menu li {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a:hover {
    color: #ffd700;
    /* transform: translateX(20px); */
}

.nav-menu a::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.1);
    transition: left 0.3s ease;
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu a i {
    font-size: 1.25rem;
    width: 30px;
    text-align: center;
    color: #ff6347;
    z-index: 1;
    position: relative;
}

.nav-menu a span {
    z-index: 1;
    position: relative;
}

.nav-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.social-nav-link:hover {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.social-nav-link i {
    font-size: 1.5rem;
}

.social-nav-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body.nav-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    /* background: linear-gradient(135deg, #4682b4 0%, #cd853f 30%, #ff6347 70%, #ffd700 100%); */
    background: url("/assets/vinyl-albums-e690a64f.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(255, 99, 71, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    max-width: 70%;
    padding: 20px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;

    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #eca829;
    color: white;
}

.btn-primary:hover {
    background: white;
    color: #8b4513;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #8b4513;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4682b4;
    color: #4682b4;
}

.btn-outline:hover {
    background: #4682b4;
    color: white;
    box-shadow: 0 4px 15px rbga(70, 130, 180, 0.3);
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

section h2 i {
    color: #e74c3c;
}


/* Featured Album */
.featured-album {
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 230, 0.95) 100%); */
    background-color: #f5f5f4;
}

.featured-album-card {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
}

.album-cover-container {
    flex-shrink: 0;
}

.featured-album-cover {
    width: 300px;
    height: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.album-info {
    flex: 1;
}

.album-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.album-info .artist {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.album-info .format {
    color: #888;
    margin-bottom: 1rem;
}

.rating {
    margin-bottom: 1rem;
}

.album-rating {
    text-align: center;
}

.stars {
    font-size: 1.25rem;
}

.record-label {
    text-align: center;
}

.description {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Recently Added */
.recently-added {
    background: #272727;
    position: relative;
    overflow: hidden;    
}

.recently-added h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.recently-added p {
    color: #b8b8b8;
    text-align: center;
    font-size: 1.1;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.album-grid a {
    text-decoration: none;
}

.album-item {
    text-align: center;
}

.album-item:hover .placeholder-cover-small {
    transform: scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255, 99, 71, 0.4),
        0 5px 15px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.album-item:hover p {
    color: rgb(246, 189, 67);
}

@keyframes albumCoverScale {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(2);
    }
}

.album-cover-small {
    margin-bottom: 1rem;
}

.placeholder-cover-small {
    width: 250px;
    height: 250px;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
    box-shadow: 1px 1px 1px rgba(187, 187, 187, 0.41);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.album-artist {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.see-all {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* All Albums Page */

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.filters-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.filter-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.filter-dropdown {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
    min-width: 120px;
}

.filter-dropdown:hover,
.filter-dropdown:focus {
    border-color: #3498db;
}

.filter-dropdown option {
    padding: 0.5rem;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(475px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.albums-grid a {
    text-decoration: none;
}

/* .album-card-grid {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
} */

.album-card {
    text-align: center;
    transition: all 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rbga(0,0,0,0.15);
}

.album-cover {
    margin-bottom: 1rem;
}

.album-cover img {
    width: 475px;
    height: 475px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: linear-gradient(135deg, #357ABD, #1e3c72);
    color: white;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.album-details {
    text-align: center;
}

.album-title-grid {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.album-artist-grid {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.album-meta-grid {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

/* Album Detail Page */
.back-nav {
    margin-bottom: 2rem;
    width: 100px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.back-link:hover {
    color: #2980b9;
}

.album-header {
    margin-bottom: 3rem;
    padding: 2rem;
}

.album-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.album-artist {
    color: #666;
    margin-bottom: 1rem;
}

.album-meta {
    font-size: 1.1rem;
    color: #888;
    font-weight: 500;
}

.album-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.album-review {
    margin-top: 100px;
    display: flex;
    gap: 3rem;
}

.album-review h2 {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8b4513;
    text-shadow: 0 2px 8px rgba(79, 140, 255, 0.08);
    display: inline-block;
}

.album-detail-meta {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
}

.album-detail-meta p:nth-child(1) {
    color: #000;
    font-size: 2.5rem;
    font-weight: 700;
}

.album-detail-meta p:nth-child(2) {
    color: #888;
    font-size: 1.1rem;
    font-weight: 500;
}

.release-year {
    text-align: center;
}

.rating {
    text-align: center;
}

.rating-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 1rem;
}

.rating-label {
    font-weight: 600;
    color: #2c3e50;
}

/* Footer */
.footer {
    /* background: linear-gradient(135deg, #7a5a47 0%, #5a7a8f 100%); */
    color: 333;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8b4513
}

.copyright {
    font-size: 0.9rem;
}

.about-page {
    padding-top: 100px;
}

/* About Page */
/* .about-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
} */

/* .about-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
} */

.about-page h1 {
    display: flex;
    flex-direction: column;
    line-height: 2rem;
    margin-bottom: 5rem;
}

.about-page h1 span {
    color: #999;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.about-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    border: 1px solid #e0e0e0;
}

.about-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.about-content {
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }
}