
/* =================================
   MAGIC BROADCAST CORP.
   MAIN STYLESHEET
================================= */

/* COLORES */

:root {
    --yellow: #ffcc00;
    --orange: #ff7200;
    --black: #080808;
    --dark: #111111;
    --gray: #1a1a1a;
    --white: #ffffff;
}

/* RESET */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
}

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

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

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,8,8,.96);
    border-bottom: 1px solid #292929;
    padding: 20px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    backdrop-filter: blur(15px);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
    white-space: nowrap;
}

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

.logo small {
    display: block;
    color: #888;
    font-size: 9px;
    letter-spacing: 5px;
    margin-top: 5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    font-size: 12px;
    font-weight: bold;
    color: #ddd;
    transition: .3s;
}

nav a:hover {
    color: var(--yellow);
}

.language {
    background: transparent;
    border: 1px solid var(--yellow);
    color: var(--yellow);
    padding: 9px 12px;
    cursor: pointer;
    font-weight: bold;
}

/* =================================
   HERO / PORTADA
================================= */

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;

    padding: 100px 10%;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.98) 5%,
        rgba(0,0,0,.72) 55%,
        rgba(0,0,0,.2)
    ),
    url("https://images.unsplash.com/photo-1478720568477-152d9b164e26")
    center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
}

.tag {
    color: var(--orange);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 5px;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 88px);
    font-weight: 900;
    line-height: .99;
    margin: 30px 0;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    color: #ff0000;
    max-width: 600px;
    line-height: 1.9;
    font-size: 20px;
}

/* BUTTONS */

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 16px 27px;

    background: linear-gradient(
        90deg,
        var(--yellow),
        var(--orange)
    );

    color: #000;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    transition: .3s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px #ff720055;
}

.btn-outline {
    display: inline-block;
    padding: 15px 27px;
    border: 1px solid #777;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* =================================
   GENERAL SECTIONS
================================= */

section {
    padding: 100px 9%;
}

.section-label {
    color: var(--orange);
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--yellow);
}

.description {
    color: #999;
    max-width: 650px;
    line-height: 1.8;
    margin-bottom: 50px;
}

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

.services {
    background: #0c0c0c;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service {
    background: var(--gray);
    padding: 35px 25px;
    border: 1px solid #292929;
    border-bottom: 3px solid var(--orange);
    transition: .3s;
}

.service:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--yellow);
}

.service-icon {
    font-size: 38px;
    margin-bottom: 25px;
}

.service h3 {
    color: var(--yellow);
    font-size: 17px;
    margin-bottom: 15px;
}

.service p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
}

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

.portfolio {
    background: #121212;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #222;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.project:hover img {
    transform: scale(1.08);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;

    background: linear-gradient(
        transparent,
        #000
    );
}

.project-info span {
    font-size: 10px;
    color: var(--orange);
    letter-spacing: 3px;
}

.project-info h3 {
    font-size: 21px;
    margin-top: 7px;
}

/* =================================
   ABOUT / NOSOTROS
================================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-image {
    height: 400px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    color: #aaa;
    line-height: 1.9;
    font-size: 15px;
    margin-top: 20px;
}

/* =================================
   SOCIAL MEDIA
================================= */

.social {
    text-align: center;
    background: #121212;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
}

.social-links a {
    border: 1px solid #444;
    padding: 17px 30px;
    font-size: 13px;
    font-weight: bold;
    transition: .3s;
}

.social-links a:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

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

.contact {
    text-align: center;

    background: linear-gradient(
        120deg,
        #191919,
        #080808
    );
}

.contact h2 {
    font-size: clamp(35px, 5vw, 55px);
    font-weight: 900;
}

.contact h2 span {
    color: var(--orange);
}

.contact p {
    color: #aaa;
    margin: 25px 0;
}

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

footer {
    padding: 40px 8%;
    background: #050505;
    border-top: 2px solid var(--orange);
    text-align: center;
}

.footer-logo {
    font-size: 23px;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--yellow);
}

footer p {
    color: #777;
    font-size: 12px;
    line-height: 2;
}

.footer-social {
    margin: 20px 0;
}

.footer-social a {
    color: var(--yellow);
    margin: 0 10px;
    font-size: 12px;
}

/* =================================
   WHATSAPP
================================= */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;

    padding: 15px 20px;
    border-radius: 50px;

    background: #25d366;
    color: white;
    font-size: 13px;
    font-weight: bold;
}

/* =================================
   RESPONSIVE / TABLETS
================================= */

@media(max-width: 950px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        grid-template-columns: 1fr;
    }

}

/* =================================
   RESPONSIVE / MOBILE
================================= */

@media(max-width: 650px) {

    header {
        flex-direction: column;
        gap: 20px;
    }

    .nav-right {
        flex-direction: column;
        gap: 18px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: 600px;
        padding: 70px 7%;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 70px 7%;
    }

    .about-image {
        height: 270px;
    }

}
