/* AJ GLOBAL MEDIA GROUP LLC - Premium Corporate Styles */

:root {
    --black-deep: #050505;
    --gold-bright: #fcf6ba;
    --gold-metal: #cba135;
    --text-gray: #b0b0b0;
    --nav-height: 100px;
}

/* --- Configuración Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black-deep);
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(203, 161, 53, 0.2);
}

.navbar-icon {
    height: 70px;
    filter: drop-shadow(0 0 5px var(--gold-metal));
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { margin-left: 30px; }

.nav-links a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--gold-metal); }

.btn-contact-nav {
    border: 1px solid var(--gold-metal);
    padding: 8px 20px;
}

/* --- ESTILOS MENÚ HAMBURGUESA (NUEVO) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gold-metal);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero-bg {
    height: 100vh;
    background: url('../assets/hero-background-full.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    text-align: center;
    padding-top: var(--nav-height);
}

.hero-spacer {
    height: 70vh; 
    width: 100%;
}

.btn-gold-hero {
    padding: 16px 45px;
    border: 1px solid var(--gold-metal);
    color: var(--gold-bright);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: 0.4s ease;
}

.btn-gold-hero:hover {
    background: var(--gold-metal);
    color: #000;
    box-shadow: 0 0 30px rgba(203, 161, 53, 0.6);
    transform: translateY(-5px);
}

/* --- Sección de Servicios --- */
.services {
    padding: 120px 8%;
    background-color: #0a0a0a;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 80px;
    background: linear-gradient(to right, var(--gold-metal), var(--gold-bright), var(--gold-metal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: #111;
    padding: 50px 30px;
    border: 1px solid #1a1a1a;
    text-align: center;
    transition: 0.4s;
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--gold-metal);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* --- ICONOS LUXURY --- */
.gold-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
    display: block;
    background: linear-gradient(to right, #cba135 0%, #fcf6ba 50%, #cba135 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(203, 161, 53, 0.4));
    transition: 0.4s ease;
}

.service-card:hover .gold-icon {
    filter: drop-shadow(0 0 15px var(--gold-bright));
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-bright);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.service-card h3::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--gold-metal);
    transition: width .3s;
    margin: 10px auto 0;
}

.service-card:hover h3::after { width: 50px; }

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- ESTILOS MODAL PREMIUM --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(145deg, #111, #050505);
    border: 1px solid var(--gold-metal);
    padding: 50px;
    max-width: 600px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: modalAppear 0.4s ease-out;
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    color: var(--gold-metal);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover { color: #fff; }

.modal-content .gold-icon {
    font-size: 4.5rem;
    margin-bottom: 25px;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-bright);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.modal-body ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.modal-body li {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.modal-body li strong {
    color: var(--gold-metal);
    display: block;
    margin-bottom: 3px;
}

.modal-body p {
    font-style: italic;
    color: var(--gold-bright);
    font-size: 0.9rem;
    border-top: 1px solid rgba(203, 161, 53, 0.2);
    padding-top: 20px;
}

/* Fondos específicos para modales */
#modal-cyber .modal-content {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../assets/servidores.jpg');
    background-size: cover;
    background-position: center;
}

#modal-media .modal-content {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../assets/oficina-media.jpg');
    background-size: cover;
    background-position: center;
}

#modal-compliance .modal-content {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../assets/Regulatory-Compliance.jpg');
    background-size: cover;
    background-position: center;
}

/* --- About Us --- */
.about {
    padding: 120px 8%;
    background-color: #050505;
    border-top: 1px solid rgba(203, 161, 53, 0.1);
}

.about-vision {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.vision-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #fff;
    font-weight: 300;
    font-style: italic;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.pillar-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-left: 2px solid var(--gold-metal);
}

.pillar-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold-bright);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pillar-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    border-top: 1px solid rgba(203, 161, 53, 0.2);
    padding-top: 60px;
}

.differentiator h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-metal);
    font-size: 2rem;
    margin-bottom: 20px;
}

.differentiator p {
    max-width: 800px;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-final p {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-tagline {
    margin-top: 10px;
    font-size: 1.2rem !important;
    color: var(--gold-bright) !important;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 8%;
    background-color: var(--black-deep);
    text-align: center;
}

.contact-subtitle {
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03); 
    padding: 50px;
    border: 1px solid rgba(203, 161, 53, 0.2);
    backdrop-filter: blur(10px);
}

.contact-info-direct {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(203, 161, 53, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gold-icon-small {
    font-size: 1.2rem;
    background: linear-gradient(to bottom, #fcf6ba 0%, #cba135 50%, #cba135 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(252, 246, 186, 0.4));
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.info-item:hover .gold-icon-small {
    filter: drop-shadow(0 0 8px rgba(252, 246, 186, 0.8));
    transform: scale(1.1);
    transition: 0.3s ease;
}

.contact-form .form-group { margin-bottom: 25px; }

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--gold-metal);
    box-shadow: 0 0 10px rgba(203, 161, 53, 0.2);
}

.contact-form .btn-gold {
    width: 100%;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--gold-metal);
    color: var(--gold-bright);
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: 0.4s;
}

.contact-form .btn-gold:hover {
    background: var(--gold-metal);
    color: #000;
    box-shadow: 0 0 20px rgba(203, 161, 53, 0.4);
}

.confidential-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
}

/* --- Footer --- */
footer {
    padding: 80px 8% 40px;
    background-color: #030303;
    border-top: 1px solid #111;
}

.footer-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px var(--gold-metal));
}

.footer-links { margin: 30px 0; }

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #111;
    padding-top: 20px;
    color: #444;
    font-size: 0.75rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    /* Navbar móvil */
    .menu-toggle { display: flex; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        right: 0;
        background-color: rgba(5, 5, 5, 0.98);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        border-bottom: 1px solid var(--gold-metal);
        transition: 0.3s;
    }

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

    /* Corrección del Hero/Logo gigante en móvil */
    .hero-bg {
        height: 60vh;
        background-size: contain; 
        background-position: center 120px;
        background-repeat: no-repeat;
        padding-top: 100px;
        background-color: #000;
    }

    .hero-spacer { height: 35vh; }

    .btn-gold-hero {
        padding: 12px 30px;
        font-size: 0.75rem;
    }

    .section-title { font-size: 2rem; }
    .contact-wrapper { padding: 30px 20px; }
    .contact-info-direct { flex-direction: column; gap: 20px; }
    .vision-lead { font-size: 1.2rem; }
    .navbar-icon { height: 50px; }
}