/* 
* Main CSS for Chabelos Landing Page
* Website for Peruvian irreverent rock band
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #f1c40f;
    --light-color: #f1faee;
    --dark-color: #1d1d1d;
    --text-color: #333;
    --text-light: #f1faee;
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #000;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Permanent Marker', cursive;
    margin-bottom: 20px;
    color: var(--light-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--light-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--light-color);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.dark-bg {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #c5293a;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.centered-button {
    text-align: center;
    margin-top: 30px;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    transition: var(--transition);
}

#header.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: var(--transition);
}

.social-media a {
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--light-color);
}

.social-media a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: url('../assets/images/portada_.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

#hero .container {
    position: relative;
    z-index: 1;
}

.main-title {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 8px;
    color: var(--primary-color);
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    color: var(--light-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.band-members {
    flex: 2;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.member {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.member-img {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-img:hover img {
    transform: scale(1.1);
}

.member h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.member p {
    color: var(--primary-color);
    font-style: italic;
}

/* Music Section */
.music-player {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
}

.current-track {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.album-cover {
    width: 120px;
    height: 120px;
    border-radius: 5px;
    overflow: hidden;
}

.track-info h3 {
    margin-bottom: 5px;
}

.track-info p {
    color: #aaa;
}

.player-controls {
    margin-left: auto;
    display: flex;
    gap: 15px;
}

.player-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: var(--light-color);
    cursor: pointer;
    transition: var(--transition);
}

.player-controls button:hover {
    background-color: #c5293a;
    transform: scale(1.1);
}

.playlist {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.playlist-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.playlist-item.active {
    background-color: rgba(230, 57, 70, 0.3);
    color: var(--primary-color);
}

.track-number {
    width: 30px;
    font-weight: bold;
}

.track-title {
    flex: 1;
}

.track-duration {
    color: #aaa;
}

.albums {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.album {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.album:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.album .album-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    margin-bottom: 15px;
}

.album h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.streaming-links {
    text-align: center;
    margin-top: 40px;
}

.streaming-links h3 {
    margin-bottom: 20px;
}

.streaming-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.streaming-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    transition: var(--transition);
}

.streaming-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Videos Section */
.video-gallery {
    margin-top: 20px;
}

.video-item.featured {
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: pointer;
}

.video-container::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

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

.video-container:hover .video-placeholder {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(230, 57, 70, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.video-container:hover .play-button {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--light-color);
    font-size: 20px;
}

.video-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.video-row .video-item {
    flex: 1;
    min-width: 250px;
}

.video-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.video-item p {
    color: #888;
    font-size: 0.9rem;
}

/* Shows Section */
.shows-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.show {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    transition: var(--transition);
}

.show:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateX(10px);
}

.show-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-right: 20px;
}

.show-date .day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.show-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.show-info {
    flex: 1;
}

.show-info h3 {
    margin-bottom: 5px;
}

.venue {
    color: #ddd;
}

.time {
    color: var(--primary-color);
    font-weight: bold;
}

.show-action {
    margin-left: 20px;
}

.venue-map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Merch Section */
.merch-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.merch-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    transition: var(--transition);
}

.merch-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.merch-img {
    width: 100%;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.merch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.merch-img:hover img {
    transform: scale(1.1);
}

.merch-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.price {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

/* Gallery Section */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--light-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter {
    flex: 1;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 20px;
    color: #bbb;
}

.newsletter .form-group {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
}

.booking-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-info h3 {
    margin-bottom: 15px;
}

.booking-info p {
    margin-bottom: 10px;
    color: #bbb;
}

.booking-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer */
#footer {
    background-color: #111;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-logo p {
    color: #888;
}

.footer-social {
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-end;
}

.footer-links a {
    color: #888;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #666;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom i {
    color: var(--primary-color);
}
