/* ============================================
   ORWAY MARKETING - STYLES.CSS
   Versión Final Completa
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');


/* ============================================
   RESET Y VARIABLES GLOBALES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #E8252A;
    --secondary-black: #0A0A0A;
    --accent-red: rgba(232, 37, 42, 0.1);
    --bg-white: #FFFFFF;
    --text-gray: #666666;
    --light-gray: #F5F5F5;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-black);
    background: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 5%;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo span {
    color: var(--primary-red);
}

/* Logo como imagen */
.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-nav {
    background: var(--primary-red);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-nav::after {
    display: none;
}

.cta-nav:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 37, 42, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-black);
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    margin-top: 80px;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-text h1 .highlight {
    color: var(--primary-red);
    display: block;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 37, 42, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-black);
    border: 2px solid var(--secondary-black);
}

.btn-secondary:hover {
    background: var(--secondary-black);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    height: 600px;
}

.hero-video-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-video-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-red), transparent);
    z-index: 1;
}

.video-placeholder {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    z-index: 2;
}

/* Estilos para video real */
.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 8rem 5%;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-header h2 span {
    color: var(--primary-red);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
    transition: background 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card:hover .service-image::after {
    background: linear-gradient(180deg, transparent, rgba(232,37,42,0.4));
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-black);
}

.service-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* ============================================
   IMÁGENES DE SERVICIOS (17 SERVICIOS)
   ============================================ */

/* Servicio 1: Branding y Manuales de Identidad */
.service-img-1 {
    background-image: url('../images/services/branding-identidad.jpg');
}

/* Servicio 2: Creación de Contenido para Redes Sociales */
.service-img-2 {
    background-image: url('../images/services/contenido-redes.jpg');
}

/* Servicio 3: Fotografía Profesional */
.service-img-3 {
    background-image: url('../images/services/fotografia.jpg');
}

/* Servicio 4: Videografía y Producción */
.service-img-4 {
    background-image: url('../images/services/videografia.jpg');
}

/* Servicio 5: Creación de Páginas Web */
.service-img-5 {
    background-image: url('../images/services/paginas-web.jpg');
}

/* Servicio 6: Recursos Gráficos Digitales e Impresos */
.service-img-6 {
    background-image: url('../images/services/diseno-grafico.jpg');
}

/* Servicio 7: Manejo de Redes y Estrategia Digital */
.service-img-7 {
    background-image: url('../images/services/manejo-redes.jpg');
}

/* Servicio 8: NeonFlex e Iluminación LED */
.service-img-8 {
    background-image: url('../images/services/neonflex-led.jpg');
}

/* Servicio 9: Servicio de Imprenta */
.service-img-9 {
    background-image: url('../images/services/imprenta.jpg');
}

/* Servicio 10: Letreros 3D de Aluminio */
.service-img-10 {
    background-image: url('../images/services/letreros-3d.jpg');
}

/* Servicio 11: Registro de Marcas ante IMPI */
.service-img-11 {
    background-image: url('../images/services/registro-marcas.jpg');
}

/* Servicio 12: Creación de Campañas Publicitarias */
.service-img-12 {
    background-image: url('../images/services/campanas-publicitarias.jpg');
}

/* Servicio 13: Creación de Eventos */
.service-img-13 {
    background-image: url('../images/services/eventos.jpg');
}

/* Servicio 14: Renta de Equipo Audiovisual */
.service-img-14 {
    background-image: url('../images/services/renta-equipo.jpg');
}

/* Servicio 15: Servicios de Inteligencia Artificial */
.service-img-15 {
    background-image: url('../images/services/inteligencia-artificial.jpg');
}

/* Servicio 16: Relaciones Públicas y Embajadores */
.service-img-16 {
    background-image: url('../images/services/relaciones-publicas.jpg');
}

/* Servicio 17: Consultoría en Marketing Digital */
.service-img-17 {
    background-image: url('../images/services/consultoria-marketing.jpg');
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

   
.portfolio {
    padding: 8rem 5%;
    background: white;
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8));
    z-index: 1;
    transition: all 0.4s ease;
}

.portfolio-item:hover::before {
    background: linear-gradient(180deg, rgba(232,37,42,0.3), rgba(0,0,0,0.9));
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}


/* Imágenes de portafolio  */

.portfolio-item.portfolio-1 {
    background-image: url('../images/portfolio/proyecto-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portfolio-item.portfolio-2 {
    background-image: url('../images/portfolio/proyecto-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portfolio-item.portfolio-3 {
    background-image: url('../images/portfolio/proyecto-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 8rem 5%;
    background: var(--secondary-black);
    color: white;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Si usas imágenes en avatares */
.author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 8rem 5%;
    background: white;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.about-text h2 span {
    color: var(--primary-red);
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--accent-red);
    transform: translateX(5px);
}

.value-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-black);
}

.value-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

.about-image {
    height: 600px;
    background-image: url('../images/about/about-hero.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 8rem 5%;
    background: var(--light-gray);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--secondary-black);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    /* Navigation mobile */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hero mobile */
    .hero {
        margin-top: 60px;
        padding: 2rem 5%;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    /* Sections mobile */
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .services,
    .portfolio,
    .about,
    .contact,
    .testimonials {
        padding: 4rem 5%;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        padding: 2rem;
    }
    
    .about-text h2 {
        font-size: 2.5rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NOTIFICACIONES
   ============================================ */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 100000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.9rem;
    }
}