/* ==========================================
   1. GENERAL PAGE STYLING
   ========================================== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

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

h1 {
    margin-top: 20px;
}

.logo-container {
    text-align: center;
    margin-top: 20px;
}

.logo {
    max-width: 100%;
    height: auto;
}

/* Header Styling */
header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    color: red;
    font-size: 3rem;
    margin: 0;
}

/* ==========================================
   2. LYRICS & CART NAVIGATION
   ========================================== */
.lyrics-list {
    list-style-type: none;
    padding: 0;
}

.lyrics-list li {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.lyric-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.lyric-link:hover,
.lyric-link.active {
    color: red;
}

/* Fix for Fixed Top-Right Cart Icon */
.cart-icon {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1100;
    width: 40px;
    height: 40px;
    display: block;
}

.cart-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents distortion/squishing */
}

/* ==========================================
   3. SHOP ITEMS & MUSIC CARDS
   ========================================== */
.shop-item {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centers children horizontally */
    text-align: center;      /* Centers text content */
    padding: 20px;
    margin-bottom: 30px;
}

.shop-item a {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Base Thumbnail Styling with Smooth Zoom Transition */
.item-thumbnail {
    width: 100px;
    height: auto;
    margin: 0;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
}

/* Hover Zoom Effect directly on your existing thumbnails */
.item-thumbnail:hover {
    transform: scale(2.2);    /* Magnifies image 220% on hover */
    position: relative;
    z-index: 100;             /* Brings hovered image over surrounding text */
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); /* Red outline shadow */
}

.song-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.song-art {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.song-info {
    flex: 1;
}

.song-name {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.song-description {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.add-to-cart-btn {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.add-to-cart-btn:hover {
    background-color: #005177;
}

/* Product Size & Quantity Dropdowns */
.option-group {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;               /* Space between label and dropdown */
    width: 100%;
}

.option-group label {
    font-weight: bold;
    font-size: 0.9rem;
}

.option-group select,
.product-size, 
.product-qty {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid red;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ==========================================
   4. SECTION BACKGROUNDS
   ========================================== */
.section-music {
    background-image: url('../images/.jpeg');
    background-color: #000000;
    background-size: 50% auto;
    background-position: center;
}

.section-videos {
    background-image: url('../images/Vejigante-LSD-cover.png');
    background-color: #000000;
    background-size: 50% auto;
    background-position: center;
}

.section-shop {
    background-image: url('../images/Shop-img/vejigante-embroided-cap-v-logo-black-front(crop).jpg');
    background-size: 25% auto;
    background-color: #000000;
    background-position: center;
}

.section-gallery {
    background-image: url('../images/bru.jpeg');
    background-size: 25% auto;
    background-color: #000000;
    background-position: center;
}

.section-sponsors {
    background-image: url('../images/.jpeg');
    background-size: cover;
    background-color: #000000;
    background-position: center;
}

/* ==========================================
   5. PAGE-SPECIFIC BACKGROUNDS
   ========================================== */
body.about,
body.home-page,
body.Music,
body.Videos,
body.Cart {
    background-image: url('../images/1-YerbaVioleta.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

body.Contact {
    background-image: url('../images/1-YerbaVioleta.png');
    background-size: 75% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   6. GALLERY & LIGHTBOX
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    display: block;
    max-width: 85%;
    max-height: 75vh;
    margin: 10vh auto 2vh auto;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.lightbox-caption {
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    padding: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ff4d4d;
}

/* Your default desktop background styles */
body {
  background-image: url('../images/1-YerbaVioleta.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Works on desktop */
}

/* Mobile fix */
@media (max-width: 768px) {
  body {
    background-attachment: scroll; /* Fixes mobile rendering */
  }
}