/* Importar fuentes */
@font-face {
    font-family: 'CalSans';
    src: url('../assets/fonts/CalSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Schoolbell';
    src: url('../assets/fonts/Schoolbell-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Schoolbell', cursive;
    background-color: white;
    color: black;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 15px;
}

/* Header */
.header {
    background-color: #f0f0f0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
    padding: 20px 15px 20px 30px;  /* top right bottom left */
    width: 100%;
}

.logo a {
    background-color: #328E6E;
    color: white;
    text-decoration: none;
    font-family: 'CalSans', sans-serif;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 177px;
    height: 53px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.logo a span {
    width: 149px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a:hover,
.logo a:active {
    background-color: #2a7a5e;
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0 30px 0 45px;  /* top right bottom left */
    margin-bottom: 40px;
}

.content-container {
    max-width: 600px;
}

.page-title {
    font-family: 'CalSans', sans-serif;
    font-size: 22px;
    color: black;
    margin-bottom: 15px;
    font-weight: normal;
}

.text-content {
    max-width: 100%;
}

.text-content p {
    font-family: 'Schoolbell', cursive;
    font-size: 18px;
    color: black;
    line-height: 1.5;
    text-align: left;
}

/* Footer */
.footer {
    background-color: #000000;
    color: white;
    padding: 30px 0 20px;
    margin-top: auto;
}

.footer-content {
    padding: 0 15px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-row-top,
.footer-row-bottom {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 15px;
}

.footer-row-bottom {
    margin-bottom: 25px;
}

.footer a {
    color: white;
    text-decoration: none;
    font-family: 'Schoolbell', cursive;
    font-size: 18px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.footer a:hover,
.footer a:active {
    color: #ccc;
    transform: translateY(-1px);
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.copyright p {
    font-family: 'Schoolbell', cursive;
    font-size: 14px;
    color: #ccc;
}


/* Estilos para formulario de contacto */
.contact-form {
    max-width: 100%;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: 'Schoolbell', cursive;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #328E6E;
    background-color: white;
}

.form-group select {
    cursor: pointer;
    color: #666;
}

.form-group select option {
    color: black;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #328E6E;
    color: white;
    border: none;
    padding: 12px 24px;
    font-family: 'CalSans', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    text-decoration: none; /* AGREGAR esta línea */
    display: inline-block; /* AGREGAR esta línea */
}

.submit-btn:hover,
.submit-btn:active {
    background-color: #2a7a5e;
    transform: translateY(-1px);
}


/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding-top: 0px;
    }
    
    .header {
        padding: 20px 15px 20px 35px;  /* top right bottom left */    }
    
    .main-content {
        padding: 0 50px 0 35px;  /* Cambia de 0 20px */
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .logo a {
        font-size: 28px;
        width: 160px;
        height: 48px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .text-content p {
        font-size: 16px;
    }
    
    .footer a {
        font-size: 16px;
    }
    
    .copyright p {
        font-size: 12px;
    }
    
    .footer-row-top,
    .footer-row-bottom {
        gap: 15px;
        flex-wrap: wrap;
    }
}


/* Estilos para la tienda */
.product-carousel {
    margin-top: -75px;
    margin-bottom: 0px;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
}

.carousel-wrapper {
    position: relative;
    width: 300px;
    height: 350px;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-btn {
    background: none;
    border: none;
    font-family: 'Schoolbell', cursive;
    font-size: 24px;
    color: black;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover,
.carousel-btn:active {
    color: #666;
    transform: scale(1.1);
}

.product-info {
    text-align: left;
    max-width: 400px;
    margin-top: -60px;
}

.price {
    font-family: 'Schoolbell', cursive;
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin-bottom: 15px;
}

.product-details {
    margin-bottom: 25px;
}

.product-details p {
    font-family: 'Schoolbell', cursive;
    font-size: 16px;
    color: black;
    line-height: 1.4;
    margin-bottom: 5px;
}

.buy-btn {
    background-color: #328E6E;
    text-decoration: none;
    color: white;
    border: none;
    padding: 12px 24px;
    font-family: 'CalSans', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.buy-btn:hover,
.buy-btn:active {
    background-color: #2a7a5e;
    transform: translateY(-1px);
}


/* Estilos para la galería */
.gallery-carousel {
    width: 100%;
    max-width: 600px;
}

.collection-title {
    font-family: 'Schoolbell', cursive;
    font-size: 16px;
    color: black;
    margin-bottom: 15px;
    text-align: left;
}

.gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.gallery-btn {
    background: none;
    border: none;
    font-family: 'Schoolbell', cursive;
    font-size: 24px;
    color: black;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.gallery-btn:hover,
.gallery-btn:active {
    color: #666;
    transform: scale(1.1);
}

.gallery-container {
    position: relative;
    width: 100%;
}

.gallery-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.gallery-grid.active {
    display: grid;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Responsive para galería */
@media (max-width: 480px) {
    .gallery-grid {
        gap: 5px;
    }
    
    .gallery-btn {
        font-size: 20px;
        padding: 8px 12px;
    }
    
    .collection-title {
        font-size: 14px;
    }
}

/* Estilos para galería individual */
.artwork-display {
    margin-top: 3px;
    margin-bottom: 15px;
}

.artwork-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.artwork-btn {
    background: none;
    border: none;
    font-family: 'Schoolbell', cursive;
    font-size: 24px;
    color: black;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.artwork-btn:hover,
.artwork-btn:active {
    color: #666;
    transform: scale(1.1);
}

.artwork-container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.artwork-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.artwork-description {
    max-width: 100%;
    margin-top: -10px;
}

.artwork-description p {
    font-family: 'Schoolbell', cursive;
    font-size: 16px;
    color: black;
    line-height: 1.5;
    text-align: left;
}

/* Estilos para página de música */
.coming-soon-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.coming-soon-text {
    text-align: center;
    max-width: 400px;
}

.coming-soon-text h2 {
    font-family: 'CalSans', sans-serif;
    font-size: 28px;
    color: black;
    margin-bottom: 20px;
    font-weight: normal;
}

.coming-soon-text p {
    font-family: 'Schoolbell', cursive;
    font-size: 18px;
    color: black;
    line-height: 1.5;
    margin-bottom: 25px;
}

.contact-btn {
    display: inline-block;
    background-color: #328E6E;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-family: 'CalSans', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.contact-btn:hover,
.contact-btn:active {
    background-color: #2a7a5e;
    transform: translateY(-1px);
}

/* Responsive para música */
@media (max-width: 480px) {
    .coming-soon-text h2 {
        font-size: 24px;
    }
    
    .coming-soon-text p {
        font-size: 16px;
    }
    
    .contact-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Responsive para galería individual */
@media (max-width: 480px) {
    .artwork-btn {
        font-size: 20px;
        padding: 8px 12px;
    }
    
    .artwork-image {
        max-height: 300px;
    }
    
    .artwork-description p {
        font-size: 14px;
    }
}


/* Mejorar la experiencia táctil en dispositivos móviles */
@media (hover: none) and (pointer: coarse) {
    .logo a:active {
        background-color: #3d8273;
        transform: scale(0.98);
    }
    
    .footer a:active {
        color: #ccc;
        transform: scale(0.98);
    }
}

/* Responsive para formulario */
@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .submit-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Responsive para tienda */
@media (max-width: 480px) {
    .carousel-container {
        gap: 10px;
    }
    
    .carousel-wrapper {
        width: 250px;
        height: 300px;
    }
    
    .carousel-btn {
        font-size: 20px;
        padding: 8px 12px;
    }
    
    .product-details p {
        font-size: 14px;
    }
    
    .buy-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}