/* ============================================
   JUBU MUSIC HOME - STYLES
   ============================================ */

/* Variables & Reset */
:root {
    --color-black: #0a0a0a;
    --color-dark-gray: #1a1a1a;
    --color-gold: #d4af37;
    --color-gold-light: #f4d03f;
    --color-gold-dark: #b8941e;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ART DÃ‰CO DECORATIVE ELEMENTS
   ============================================ */
.jubu-art-deco-line {
    position: relative;
    text-align: center;
    margin: 80px auto 60px;
    max-width: 600px;
}

.jubu-art-deco-line::before,
.jubu-art-deco-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.jubu-art-deco-line::before {
    left: 0;
}

.jubu-art-deco-line::after {
    right: 0;
}

.jubu-art-deco-diamond {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.jubu-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.jubu-hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.jubu-hero-slide.active {
    opacity: 1;
}

.jubu-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.7) 100%);
}

.jubu-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.jubu-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: jubuFadeInUp 1s ease-out;
}

.jubu-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
    animation: jubuFadeInUp 1s ease-out 0.3s both;
}

/* Art DÃ©co frame around hero */
.jubu-hero-frame {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border: 2px solid var(--color-gold);
    pointer-events: none;
    z-index: 5;
    opacity: 0.4;
}

.jubu-hero-frame::before,
.jubu-hero-frame::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-gold);
}

.jubu-hero-frame::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.jubu-hero-frame::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Slider Navigation */
.jubu-slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.jubu-slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--color-gold);
    transform: rotate(45deg);
    cursor: pointer;
    transition: var(--transition);
}

.jubu-slider-dot.active {
    background: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.jubu-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid var(--color-gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.jubu-slider-arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.jubu-slider-prev {
    left: 40px;
}

.jubu-slider-next {
    right: 40px;
}

.jubu-slider-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.jubu-slider-prev::before {
    border-width: 10px 15px 10px 0;
    border-color: transparent var(--color-gold) transparent transparent;
    margin-left: -3px;
}

.jubu-slider-next::before {
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--color-gold);
    margin-left: 3px;
}


/* ============================================
   SECTIONS
   ============================================ */
.jubu-home-section {
    padding: 100px 5%;
    position: relative;
    background: var(--color-black);
}

.jubu-home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.jubu-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    position: relative;
}

.jubu-section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* ============================================
   MUSIC GRID
   ============================================ */
.jubu-music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.jubu-music-item {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.jubu-music-item:hover {
    transform: translateY(-10px);
}

.jubu-music-cover {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--color-dark-gray);
}

.jubu-music-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.jubu-music-item:hover .jubu-music-cover img {
    transform: scale(1.05);
}

.jubu-music-cover::before,
.jubu-music-cover::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-gold);
    opacity: 0;
    transition: var(--transition);
}

.jubu-music-cover::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.jubu-music-cover::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.jubu-music-item:hover .jubu-music-cover::before,
.jubu-music-item:hover .jubu-music-cover::after {
    opacity: 1;
}

.jubu-music-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.jubu-music-item:hover .jubu-music-overlay {
    opacity: 1;
}

.jubu-play-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
}

.jubu-play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--color-gold);
    margin-left: 4px;
}

.jubu-music-info {
    padding: 20px 10px;
    text-align: center;
}

.jubu-music-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.jubu-music-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.jubu-music-era {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.jubu-collection-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-gold);
    border-radius: 2px;
    font-size: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   VIEW ALL BUTTON
   ============================================ */
.jubu-view-all-container {
    text-align: center;
    margin-top: 60px;
}

.jubu-btn-view-all {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.jubu-btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: var(--transition);
}

.jubu-btn-view-all:hover::before {
    left: 100%;
}

.jubu-btn-view-all:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* ============================================
   NEWS SECTION
   ============================================ */
.jubu-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.jubu-news-card {
    background: var(--color-dark-gray);
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.jubu-news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.jubu-news-card:hover::before {
    transform: scaleX(1);
}

.jubu-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--color-gold);
}

.jubu-news-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--color-black);
}

.jubu-news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.jubu-news-card:hover .jubu-news-image img {
    transform: scale(1.1);
}

.jubu-news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--color-gold);
    padding: 8px 16px;
    font-size: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.jubu-news-content {
    padding: 30px;
}

.jubu-news-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

.jubu-news-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.jubu-news-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.jubu-news-link::after {
    content: 'â†’';
    transition: var(--transition);
}

.jubu-news-link:hover {
    gap: 15px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes jubuFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jubu-fade-in {
    opacity: 0;
    animation: jubuFadeInUp 0.8s ease-out forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .jubu-music-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .jubu-music-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .jubu-news-grid {
        grid-template-columns: 1fr;
    }
    
    .jubu-home-section {
        padding: 60px 5%;
    }
    
    .jubu-hero-frame {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .jubu-slider-arrow {
        width: 45px;
        height: 45px;
    }
    
    .jubu-slider-prev {
        left: 20px;
    }
    
    .jubu-slider-next {
        right: 20px;
    }
    
    .jubu-floating-player {
        width: 65px;
        height: 65px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .jubu-music-grid {
        grid-template-columns: 1fr;
    }
    
    .jubu-hero-title {
        font-size: 2.5rem;
    }
    
    .jubu-hero-subtitle {
        font-size: 0.9rem;
    }
}
