﻿/* =========================================
   ESTILOS GENERALES (TEMA DARK REBELTAG)
   ========================================= */

/* Reset básico */
body, h1, h2, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #121212; /* Fondo oscuro general */
    color: #e0e0e0; /* Texto claro */
}

/* Estructura */
.container {
    width: 90%;
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

/* Encabezado */
header {
    background-color: #000000;
    color: white;
    padding: 50px 0;
    text-align: center;
    border-bottom: 4px solid #D32F2F;
}

    header h1 {
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 2.5rem; /* Grande en PC */
    }

/* Secciones y Títulos */
section {
    padding: 40px 0;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #D32F2F;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2rem;
}

/* =========================================
   SECCIÓN "SOBRE MÍ" (Tarjeta Pro)
   ========================================= */
.about-section {
    padding: 60px 0;
}

.about-box {
    background-color: #1e1e1e;
    padding: 50px; /* Espacioso en PC */
    position: relative;
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.15);
    border: 1px solid #333;
    overflow: hidden;
}

/* EL LOGO EN LA ESQUINA */
.about-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: auto;
    opacity: 0.8;
}

/* El contenido de texto */
.about-content {
    padding-right: 80px;
}

    .about-content h2 {
        text-align: left;
        margin-bottom: 20px;
    }

.intro-text {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.4;
    color: white;
}

.highlight-red {
    color: #D32F2F;
    font-weight: bold;
    border-bottom: 2px solid #D32F2F;
}

.about-content p:not(.intro-text) {
    color: #bbb;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* =========================================
   ESTILOS DE GRID (Tarjetas del Inicio)
   ========================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #1e1e1e;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 1px solid #333;
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        border-color: #D32F2F;
    }

    .card h3 {
        color: #fff;
        margin-bottom: 10px;
        font-size: 1.4rem;
    }

    .card p {
        color: #bbb;
        margin-bottom: 20px;
        font-size: 0.95rem;
    }

/* Botones Rojos */
.boton {
    display: inline-block;
    padding: 12px 25px;
    background-color: #D32F2F;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid #D32F2F;
}

    .boton:hover {
        background-color: #000000;
        color: #D32F2F;
        cursor: pointer;
        box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
    }

/* =========================================
   ESTILOS DE LA GALERÍA (RECUPERADO)
   Esto arregla las fotos gigantes de las camisas
   ========================================= */
.galeria-body {
    background-color: #121212;
}

.carousel-section {
    text-align: center;
    padding: 40px 0;
    perspective: 1000px;
}

.carousel-container {
    width: 100%;
    overflow-x: auto;
    padding: 50px 0;
    scrollbar-width: none;
}

    .carousel-container::-webkit-scrollbar {
        display: none;
    }

.carousel-track {
    display: inline-flex;
    gap: 25px;
    padding: 0 40px;
}

/* Tarjeta Galería */
.gallery-card {
    flex: 0 0 auto;
    width: 260px;
    height: 380px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #1e1e1e;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
}

    .gallery-card:hover {
        transform: scale(1.1) translateY(-10px);
        z-index: 10;
        box-shadow: 0 20px 40px rgba(0,0,0,0.8);
        border-color: #D32F2F;
    }

    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    color: white;
    text-align: left;
}

    .card-info h3 {
        font-size: 1.2rem;
        margin: 0;
        color: #fff;
        text-shadow: 2px 2px 4px #000;
    }

    .card-info p {
        font-size: 0.9rem;
        margin: 5px 0 0;
        color: #ddd;
    }

/* =========================================
   FOOTER Y REDES SOCIALES
   ========================================= */
footer {
    background: #000000;
    color: #888;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 2px solid #222;
}

/* Contenedor de iconos de redes */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px; /* Espacio entre iconos */
    margin-bottom: 20px;
}

.social-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%); /* Efecto blanco y negro inicial */
    transition: all 0.3s ease;
}

.social-link:hover img {
    filter: grayscale(0%); /* Vuelven a color al pasar el mouse */
    transform: scale(1.2); /* Se hacen grandes */
}

/* =========================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================= */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

    .btn-whatsapp img {
        width: 35px;
        height: 35px;
        object-fit: contain;
    }

/* =========================================
   ⚡ CORRECCIONES PARA MÓVIL (RESPONSIVE) ⚡
   ========================================= */
@media (max-width: 600px) {

    /* Achicamos los títulos gigantes */
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Ajustamos la caja 'Sobre Mí' */
    .about-box {
        padding: 25px;
        border-radius: 30px 0 30px 0 !important;
    }

    .about-content {
        padding-right: 0;
        margin-top: 50px;
    }

    .about-logo {
        width: 60px;
        top: 15px;
        right: 15px;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    /* Grid en una sola columna */
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer más compacto */
    .social-link img {
        width: 35px;
        height: 35px;
    }
}
