/* =========================================
   Tipografías Locales
   ========================================= */
@font-face {
    font-family: 'Hatshows Signature';
    src: url('../assets/fonts/Hatshows%20Signature.ttf') format('truetype');
}

@font-face {
    font-family: 'Silver Forte Grunge';
    src: url('../assets/fonts/Silver%20Forte%20GrungeDEMO.ttf') format('truetype');
}

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

@font-face {
    font-family: 'Liberation Sans';
    src: url('../assets/fonts/LiberationSans-Bold.ttf') format('truetype');
    font-weight: bold;
}

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

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: bold;
}

/* =========================================
   Variables de Color y Tipografía
   ========================================= */
:root {
    /* Paleta Principal */
    --black: #080808;
    --black-light: #151515;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --gold-dark: #A67C00;
    --silver: #A6A9AA;

    /* Tipografías */
    --font-titles: 'Poppins', sans-serif;
    --font-text: 'Poppins', sans-serif;
    --font-subtitles: 'Liberation Sans', sans-serif;
    --font-signature: 'Hatshows Signature', cursive;
}

/* =========================================
   Reset y Estilos Generales
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

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

.text-center {
    text-center: center;
}

/* =========================================
   Tipografías
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: var(--gold);
    bottom: -10px;
    left: 0;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-family: var(--font-subtitles);
    color: var(--silver);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* =========================================
   Navegación
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    font-family: var(--font-titles);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-d {
    color: var(--white);
}

.logo-text {
    color: var(--silver);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-dark);
}

.highlight-link {
    color: var(--gold);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

/* =========================================
   Botones
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-titles);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold-dark);
}

.btn-outline:hover {
    background-color: var(--gold-dark);
    color: var(--black);
}

/* =========================================
   Sección Hero
   ========================================= */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--black);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('../assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: var(--font-subtitles);
    font-size: 1.5rem;
    color: var(--silver);
    letter-spacing: 5px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Abstract moving elements */
.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--gold);
    top: 10%;
    left: -100px;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: var(--gold-dark);
    bottom: -100px;
    right: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* =========================================
   Sección Sobre Mí
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: var(--black-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--silver);
    position: relative;
    z-index: 2;
}

.grayscale {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.grayscale:hover {
    filter: grayscale(0%);
}

.accent-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--gold-dark);
    bottom: -30px;
    right: -30px;
    z-index: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--silver);
}

.signature {
    font-family: var(--font-signature);
    font-size: 3rem;
    color: var(--gold);
    margin-top: 30px;
}

/* =========================================
   Sección Servicios
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.service-icon {
    height: 200px;
    background-color: var(--black-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--gold-dark);
    color: var(--white);
}

.service-info {
    padding: 25px;
}

.service-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-info p {
    color: var(--silver);
    font-size: 0.9rem;
}

.abstract-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 11px);
    pointer-events: none;
    z-index: 1;
}

/* =========================================
   Sección Instagram
   ========================================= */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    display: block;
}

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

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

.instagram-item::after {
    content: '\f16d'; /* FontAwesome Instagram icon */
    font-family: "Font Awesome 6 Brands";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.instagram-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.instagram-item:hover::before,
.instagram-item:hover::after {
    opacity: 1;
}

/* =========================================
   Sección Contacto
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info p {
    color: var(--silver);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--gold-dark);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--black-light);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--gold);
    transform: scale(1.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--black-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-text);
    border-radius: 4px;
}

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

/* =========================================
   Galería
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    aspect-ratio: 1 / 1;
}

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

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

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--black);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-titles);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer p {
    color: var(--silver);
    font-size: 0.9rem;
}

/* =========================================
   Floating WhatsApp Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float i {
    color: white;
}

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

/* =========================================
   Media Queries
   ========================================= */

/* Tablets y pantallas medianas */
@media (max-width: 900px) {
    .section {
        padding: 80px 0;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

    .image-placeholder {
        height: 400px;
    }

    .accent-circle {
        width: 150px;
        height: 150px;
        bottom: -20px;
        right: -20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Teléfonos móviles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
        color: var(--gold);
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .image-placeholder {
        height: 300px;
    }

    .accent-circle {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: -15px;
    }

    .contact-item {
        font-size: 0.95rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}
