/* CSS Variables for Theme */
:root {
    /* Main Dark Theme Colors */
    --bg-primary: #0f0f11;
    --bg-secondary: #1a1a1f;
    --bg-darker: #08080a;

    /* Exact CMYK Colors from Business Card */
    --cmyk-cyan: #00AEEF;
    --cmyk-magenta: #EC008C;
    --cmyk-yellow: #FFF200;

    /* Text Colors */
    --text-primary: #f8f8fd;
    --text-secondary: #a0a0b0;

    /* UI Utilities */
    --border-radius: 12px;
    --transition: 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Typography Elements */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cmyk-magenta), var(--cmyk-cyan));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(236, 0, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}


/* =========================================
   LOGO IMAGE
   ========================================= */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img-nav {
    height: 45px;
    /* Adjust to nicely fit navbar */
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 60px;
    /* Adjust for footer */
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 17, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    background: rgba(15, 15, 17, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--cmyk-cyan), var(--cmyk-magenta));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

/* Efecto de pintura de fondo */
.hero-bg-fx {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 35% 60%, rgba(236, 0, 140, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 65% 30%, rgba(0, 174, 239, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 242, 0, 0.05) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

/* Línea Cyan atravesando la pantalla */
.cyan-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--cmyk-cyan);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 0 15px var(--cmyk-cyan);
    opacity: 0.6;
}

/* Gradient Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    z-index: 0;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-center-box {
    background: rgba(15, 15, 17, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-center-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--cmyk-cyan), var(--cmyk-magenta));
    z-index: -1;
    border-radius: 32px;
    opacity: 0.3;
}

.hero-main-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.cmyk-text {
    background: linear-gradient(to right, var(--cmyk-cyan), var(--cmyk-magenta), var(--cmyk-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.accent-text {
    color: var(--cmyk-cyan);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cmyk-cyan), var(--cmyk-magenta));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--cmyk-magenta);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.service-disabled {
    opacity: 0.6;
}

.service-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Portfolio Grid Real Images */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item-real {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.portfolio-item-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item-real .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 15, 17, 0.95), rgba(15, 15, 17, 0.4) 40%, transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item-real .overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item-real:hover img {
    transform: scale(1.08);
}

.portfolio-item-real:hover .overlay {
    opacity: 1;
}

.portfolio-item-real:hover .overlay span {
    transform: translateY(0);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    background-color: var(--bg-darker);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cmyk-magenta), var(--cmyk-cyan), transparent);
    opacity: 0.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-container {
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(15, 15, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cmyk-cyan);
    background: rgba(15, 15, 17, 1);
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.2);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid #25D366;
}

.form-message.error {
    display: block;
    background: rgba(236, 0, 140, 0.1);
    color: var(--cmyk-magenta);
    border: 1px solid var(--cmyk-magenta);
}

/* Contact sidebar info */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-card i {
    font-size: 2rem;
    color: var(--cmyk-cyan);
    background: rgba(0, 174, 239, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-card h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card a,
.info-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-direct-action {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.contact-direct-action p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.btn-wpp-direct {
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.btn-wpp-direct:hover {
    background: #128C7E;
    transform: translateY(-2px);
}


/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-contact ul li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--cmyk-cyan);
}

.footer-contact i {
    color: var(--cmyk-magenta);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--cmyk-magenta);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    /* Media query adjustments for Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .contact-form-container {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 30px;
    }

    /* 2 servicios por fila en celular */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-card i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 0.85rem;
    }

    /* 2 fotos por fila en celular */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}