/* ============================================
   ARUNÁ ESTUDIO — shared.css
   Estilos comunes a todas las páginas
   ============================================ */

/* ============ VARIABLES ============ */
:root {
    --gold: #ab852b;
    --gold-alt: #c7ae59;
    --dark: #0a0a0a;
    --dark-card: #1a1a1a;
    --text-muted: #aaaaaa;
    --text-soft: #cccccc;
}

/* ============ RESET BASE ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    font-family: "Bebas Neue", sans-serif;
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover * {
    color: var(--gold);
}

/* ============ ARTISTAS ============ */
#artista-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-self: center;
}

.artista-container {
    display: grid;
    grid-template-rows: 5fr 1fr;
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.artista-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.artist-cover {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.artist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.artista-container:hover .artist-cover img {
    transform: scale(1.05);
}

.artista-container .artista {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: black;
    transition: background-color 0.3s ease;
}

.artista-container .artista h4 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: white;
}

.artista-container .artista h5 {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
    margin: 0 0 8px;
}

.artista-container:hover .artista {
    background-color: var(--gold);
}

.artista-container:hover .artista h4,
.artista-container:hover .artista h5 {
    color: black;
}

/* ============ REDES SOCIALES ============ */
.redes-sociales {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icon {
    width: 18px;
    height: 18px;
    fill: #aaaaaa;
    transition: all 0.3s ease;
}

.social-icon:hover .icon {
    fill: var(--gold);
    transform: scale(1.1);
}

.artista-container:hover .redes-sociales .icon {
    fill: black;
}

.artista-container:hover .social-icon:hover .icon {
    fill: white;
}

/* ============ MOSAICO ============ */
.mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    max-width: 1700px;
    margin: 0 auto;
}

.mosaic-item {
    background-color: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mosaic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.mosaic-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.mosaic-item:hover img {
    transform: scale(1.03);
}

.item-caption {
    padding: 12px;
    font-size: 0.85rem;
    color: #ccc;
    background: #111;
    text-align: center;
    font-family: "Inter", sans-serif;
}

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 48px;
    cursor: pointer;
    font-weight: 300;
    transition: transform 0.2s;
    z-index: 1002;
}

.close-lightbox:hover {
    transform: scale(1.1);
    color: var(--gold);
}

.lightbox-image-container {
    max-width: 85%;
    max-height: 70vh;
    margin-bottom: 20px;
}

.lightbox-image-container img {
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    font-size: 1.1rem;
    text-align: center;
    max-width: 80%;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    border-radius: 40px;
    margin-top: 20px;
    font-family: "Inter", sans-serif;
}

/* ============ BOTÓN WHATSAPP FLOTANTE ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ab852b;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, #050505 100%);
    border-top: 1px solid rgba(199, 174, 89, 0.2);
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 60px 30px;
}

.footer-cta {
    text-align: center;
    padding: 50px 0;
    border-bottom: 1px solid rgba(199, 174, 89, 0.2);
    margin-bottom: 50px;
}

.footer-cta h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 60px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-cta h2 span {
    color: var(--gold);
}

.footer-cta p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    color: var(--text-soft);
    margin-bottom: 30px;
}

.footer-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.footer-info {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-brand h3 span {
    color: var(--gold);
}

.footer-brand p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link svg {
    fill: var(--text-soft);
    transition: fill 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.social-link:hover svg {
    fill: var(--dark);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-nav ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--gold);
}

.footer-contact ul li {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #666666;
    margin-bottom: 6px;
}

/* ============ BOTÓN GENERAL ============ */
.button {
    padding: 0.875rem 1.5rem;
    background-color: var(--gold);
    color: var(--dark);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 1px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 220px;
    transition: background-color 0.3s ease, border-color 0.3s ease,
        transform 0.2s ease, box-shadow 0.3s ease;
}

.button:hover {
    background-color: black;
    border-color: white;
    box-shadow: 0 5px 15px rgba(199, 174, 89, 0.3);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button p {
    margin: 0;
    font-family: inherit;
}

/* ============ RESPONSIVE COMPARTIDO ============ */
@media (max-width: 968px) {
    .footer-container { padding: 40px 30px 20px; }
    .footer-info { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer-cta h2 { font-size: 40px; }
    .footer-cta p { font-size: 14px; }
    .footer-info { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand p { max-width: 100%; }

    .mosaic { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; }
    .mosaic-item img { height: 150px; }

    .lightbox-caption { font-size: 0.9rem; max-width: 90%; }
    .close-lightbox { top: 20px; right: 20px; font-size: 36px; }

    #artista-wrapper { grid-template-columns: 1fr; }
}
