/* ========================================
   HUESTON OFFICIAL WEBSITE - MAIN STYLES
   Dark Maroon / Burgundy Theme
   ======================================== */

:root {
    --maroon: #6B1A3A;
    --maroon-dark: #4A1028;
    --maroon-light: #8B2A4A;
    --burgundy: #2D0A1A;
    --black: #0a0a0a;
    --black-light: #111111;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D4;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --gray-dark: #444444;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; font-weight: 600; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ========================================
   NAVIGATION
   ======================================== */
.main-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 26, 58, 0.2); transition: var(--transition);
}
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 30px;
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}
.logo {
    font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700;
    color: var(--cream); letter-spacing: 4px; text-transform: uppercase;
}
.logo span { color: var(--maroon-light); }
.nav-menu { display: flex; list-style: none; gap: 35px; }
.nav-menu a {
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px;
    color: var(--gray-light); position: relative; padding: 5px 0;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background: var(--maroon-light); transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--cream); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.mobile-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding-top: 80px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--black) 50%, var(--maroon-dark) 100%);
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; filter: brightness(0.4) saturate(0.8); z-index: 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(45,10,26,0.6) 50%, rgba(10,10,10,0.9) 100%); z-index: 1;
}
.hero-content { text-align: center; max-width: 800px; padding: 0 30px; position: relative; z-index: 2; }
.hero-label {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 6px; text-transform: uppercase;
    color: var(--maroon-light); margin-bottom: 25px;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 1.1;
    margin-bottom: 20px; color: var(--cream);
}
.hero-subtitle {
    font-size: 1.3rem; color: var(--gray-light); margin-bottom: 15px; font-weight: 300;
}
.hero-description {
    font-size: 1rem; color: var(--gray); max-width: 500px; margin: 0 auto 40px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 35px;
    font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; border: none; cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: var(--cream); color: var(--black);
}
.btn-primary:hover { background: var(--maroon-light); color: var(--cream); }
.btn-outline {
    background: transparent; color: var(--cream); border: 1px solid rgba(245,240,232,0.3);
}
.btn-outline:hover { background: var(--cream); color: var(--black); border-color: var(--cream); }
.btn-maroon { background: var(--maroon); color: var(--cream); }
.btn-maroon:hover { background: var(--maroon-light); }
.btn-sm { padding: 10px 25px; font-size: 0.8rem; }

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 100px 30px; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
    color: var(--maroon-light); margin-bottom: 15px;
}
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 15px; color: var(--cream); }
.section-subtitle { color: var(--gray); max-width: 600px; margin: 0 auto; font-size: 0.95rem; }
.section-dark { background: var(--black-light); }
.section-maroon { background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--burgundy) 100%); }
.container { max-width: 1200px; margin: 0 auto; }

/* ========================================
   ALBUM CARDS
   ======================================== */
.albums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.album-card {
    background: var(--black-light); border-radius: 12px; overflow: hidden;
    transition: var(--transition); border: 1px solid rgba(107, 26, 58, 0.15);
}
.album-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(107, 26, 58, 0.2); border-color: rgba(107, 26, 58, 0.4); }
.album-cover { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--burgundy); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.album-card:hover .album-overlay { opacity: 1; }
.play-btn {
    width: 55px; height: 55px; border-radius: 50%; background: var(--cream); color: var(--black);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer;
    transition: var(--transition);
}
.play-btn:hover { transform: scale(1.1); }
.album-info { padding: 22px; }
.album-title { font-size: 1.1rem; margin-bottom: 6px; color: var(--cream); font-weight: 600; }
.album-meta { font-size: 0.8rem; color: var(--gray); margin-bottom: 12px; }
.album-status {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.status-upcoming { background: rgba(107, 26, 58, 0.3); color: var(--maroon-light); border: 1px solid rgba(107, 26, 58, 0.3); }
.status-released { background: rgba(40, 167, 69, 0.15); color: #28a745; border: 1px solid rgba(40, 167, 69, 0.2); }

/* ========================================
   VIDEO CARDS
   ======================================== */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 25px; }
.video-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; background: var(--burgundy); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.video-card:hover img { transform: scale(1.03); }
.video-play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(245, 240, 232, 0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
    color: var(--black); transition: var(--transition);
}
.video-card:hover .video-play-icon { transform: translate(-50%, -50%) scale(1.1); }
.video-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px 20px 15px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.video-title { font-size: 1rem; margin-bottom: 4px; font-weight: 600; }
.video-meta { font-size: 0.8rem; color: var(--gray); }

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--burgundy); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(107, 26, 58, 0.5); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: var(--cream); }

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; object-fit: contain; }
.lightbox-close { position: absolute; top: 30px; right: 30px; font-size: 2rem; color: var(--cream); cursor: pointer; background: none; border: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--maroon-light); cursor: pointer; background: none; border: none; padding: 20px; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }

/* ========================================
   EVENTS
   ======================================== */
.events-list { display: flex; flex-direction: column; gap: 15px; }
.event-card {
    display: grid; grid-template-columns: 100px 1fr auto; gap: 25px; align-items: center;
    background: var(--black-light); border-radius: 12px; padding: 22px;
    border: 1px solid rgba(107, 26, 58, 0.1); transition: var(--transition);
}
.event-card:hover { border-color: rgba(107, 26, 58, 0.3); }
.event-date { text-align: center; padding: 12px; background: rgba(107, 26, 58, 0.1); border-radius: 8px; border: 1px solid rgba(107, 26, 58, 0.2); }
.event-date-day { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--cream); line-height: 1; }
.event-date-month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray); }
.event-info h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--cream); }
.event-meta { display: flex; gap: 20px; color: var(--gray); font-size: 0.85rem; flex-wrap: wrap; }
.event-meta i { color: var(--maroon-light); margin-right: 5px; }
.event-status { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* ========================================
   PRODUCTS / SHOP
   ======================================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.product-card {
    background: var(--black-light); border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(107, 26, 58, 0.1); transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(107, 26, 58, 0.15); border-color: rgba(107, 26, 58, 0.3); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--burgundy); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--maroon); color: var(--cream); padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.product-info { padding: 20px; }
.product-name { font-size: 1rem; margin-bottom: 6px; font-weight: 600; color: var(--cream); }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.price-current { font-size: 1.1rem; font-weight: 700; color: var(--cream); }
.price-old { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; }

/* ========================================
   BLOG
   ======================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.blog-card { background: var(--black-light); border-radius: 12px; overflow: hidden; border: 1px solid rgba(107, 26, 58, 0.1); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.blog-image { aspect-ratio: 16/10; overflow: hidden; background: var(--burgundy); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-content { padding: 25px; }
.blog-meta { display: flex; gap: 15px; font-size: 0.8rem; color: var(--gray); margin-bottom: 12px; }
.blog-meta i { color: var(--maroon-light); margin-right: 5px; }
.blog-title { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.4; color: var(--cream); }
.blog-excerpt { color: var(--gray); font-size: 0.9rem; margin-bottom: 15px; line-height: 1.7; }
.read-more { color: var(--cream); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px; }
.read-more:hover { color: var(--maroon-light); gap: 12px; }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: 16px; box-shadow: 0 20px 60px rgba(107, 26, 58, 0.3); width: 100%; }
.about-content h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--cream); }
.about-content p { color: var(--gray); margin-bottom: 20px; line-height: 1.9; }
.awards-list { list-style: none; margin-top: 30px; }
.awards-list li { display: flex; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(107, 26, 58, 0.1); color: var(--gray-light); font-size: 0.9rem; }
.awards-list i { color: var(--maroon-light); font-size: 1rem; }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.contact-info-item i { width: 50px; height: 50px; background: rgba(107, 26, 58, 0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--maroon-light); font-size: 1.2rem; flex-shrink: 0; border: 1px solid rgba(107, 26, 58, 0.2); }
.contact-info-item h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--cream); }
.contact-info-item p { color: var(--gray); font-size: 0.9rem; }
.contact-form { background: var(--black-light); padding: 40px; border-radius: 16px; border: 1px solid rgba(107, 26, 58, 0.1); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 500; color: var(--gray-light); text-transform: uppercase; letter-spacing: 1px; }
.form-control { width: 100%; padding: 14px 18px; background: var(--black); border: 1px solid var(--gray-dark); border-radius: 8px; color: var(--cream); font-family: 'Poppins', sans-serif; font-size: 0.95rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(107, 26, 58, 0.1); }
textarea.form-control { min-height: 150px; resize: vertical; }

/* ========================================
   MUSIC PLAYER
   ======================================== */
.music-player { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(20px); border-top: 1px solid rgba(107, 26, 58, 0.3); padding: 12px 30px; z-index: 999; display: none; align-items: center; gap: 20px; }
.music-player.active { display: flex; }
.player-info { display: flex; align-items: center; gap: 15px; min-width: 220px; }
.player-cover { width: 45px; height: 45px; border-radius: 6px; object-fit: cover; }
.player-details h4 { font-size: 0.85rem; margin-bottom: 2px; }
.player-details p { font-size: 0.75rem; color: var(--gray); }
.player-controls { display: flex; align-items: center; gap: 15px; flex: 1; justify-content: center; }
.player-controls button { background: none; border: none; color: var(--cream); font-size: 1rem; cursor: pointer; transition: var(--transition); }
.player-controls button:hover { color: var(--maroon-light); }
.player-controls .play-pause { width: 40px; height: 40px; background: var(--cream); color: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.player-progress { flex: 1; max-width: 350px; display: flex; align-items: center; gap: 10px; }
.progress-bar { flex: 1; height: 3px; background: var(--gray-dark); border-radius: 2px; cursor: pointer; position: relative; }
.progress-fill { height: 100%; background: var(--maroon-light); border-radius: 2px; width: 0%; transition: width 0.1s linear; }
.player-time { font-size: 0.7rem; color: var(--gray); min-width: 70px; text-align: right; }
.player-close { background: none; border: none; color: var(--gray); font-size: 1.1rem; cursor: pointer; }

/* ========================================
   FOOTER
   ======================================== */
.main-footer { background: var(--black-light); border-top: 1px solid rgba(107, 26, 58, 0.1); padding: 80px 30px 30px; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
.footer-logo { font-size: 1.6rem; color: var(--cream); margin-bottom: 15px; font-family: 'Playfair Display', serif; letter-spacing: 3px; }
.footer-tagline { color: var(--gray); margin-bottom: 25px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(107, 26, 58, 0.1); display: flex; align-items: center; justify-content: center; color: var(--cream); transition: var(--transition); border: 1px solid rgba(107, 26, 58, 0.2); }
.footer-social a:hover { background: var(--maroon); color: var(--cream); transform: translateY(-3px); }
.footer-links h4 { font-size: 1rem; margin-bottom: 25px; color: var(--cream); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray); font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--cream); }
.footer-newsletter h4 { font-size: 1rem; margin-bottom: 15px; color: var(--cream); text-transform: uppercase; letter-spacing: 2px; }
.footer-newsletter p { color: var(--gray); font-size: 0.85rem; margin-bottom: 20px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 12px 15px; background: var(--black); border: 1px solid var(--gray-dark); border-radius: 8px; color: var(--cream); font-family: 'Poppins', sans-serif; font-size: 0.9rem; }
.newsletter-form button { padding: 12px 20px; background: var(--maroon); border: none; border-radius: 8px; color: var(--cream); cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { background: var(--maroon-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(107, 26, 58, 0.1); font-size: 0.8rem; color: var(--gray); }
.admin-link a { color: var(--gray); font-size: 0.8rem; }
.admin-link a:hover { color: var(--maroon-light); }

/* ========================================
   FLASH MESSAGES
   ======================================== */
.flash-message { position: fixed; top: 100px; right: 30px; padding: 15px 25px; border-radius: 10px; color: var(--cream); font-weight: 500; z-index: 9999; display: flex; align-items: center; gap: 15px; box-shadow: var(--shadow); }
.flash-success { background: #28a745; } .flash-error { background: #dc3545; } .flash-warning { background: #ffc107; color: var(--black); } .flash-info { background: #17a2b8; }
.flash-message button { background: none; border: none; color: inherit; font-size: 1.2rem; cursor: pointer; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .event-card { grid-template-columns: 80px 1fr; }
    .event-card .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width:768px){

    .nav-container{
        position:relative;
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .nav-actions{
        display:flex;
        align-items:center;
        gap:18px;
    }

    .mobile-toggle{
        display:block;
        background:none;
        border:none;
        color:#fff;
        font-size:26px;
        cursor:pointer;
        z-index:10002;
    }

    .nav-menu{
        position:fixed;
        top:80px;
        left:-100%;
        width:100%;
        height:calc(100vh - 80px);
        background:#0a0a0a;
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        align-items:center;
        padding-top:40px;
        gap:25px;
        transition:left .35s ease;
        z-index:10001;
    }

    .nav-menu.active{
        left:0;
    }

    .nav-menu li{
        list-style:none;
    }

    .nav-menu a{
        font-size:20px;
        color:#fff;
    }

}
@media (max-width: 480px) {
    .albums-grid, .videos-grid, .blog-grid, .products-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Cart icon in nav */
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-container > div { display: flex; align-items: center; gap: 20px; }

@media (max-width: 768px) {
    .nav-container > div { position: relative; }
    .nav-container > div > a[href="cart.php"] { margin-right: 50px; }
}
