/* 
    JM ESTUDIO - Custom Styles
    Colors:
    Black: #030305
    White: #ededed
    Gold: #e7b473
*/

:root {
    --black: #030305;
    --white: #ededed;
    --gold: #e7b473;
    --gold-icons: #e3b371;
    --gray: #333;
    --light-gray: #f4f4f4;
    --transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.5px;
    position: relative;
}

/* Sutil textura de ruido para toque premium */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    text-transform: none;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 35px 0;
    transition: var(--transition);
    background: transparent;
}

#main-header.scrolled {
    background: rgba(3, 3, 5, 0.98);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(231, 180, 115, 0.1);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

#main-header.scrolled .logo img {
    height: 50px;
}

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

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

.nav-links a {
    color: var(--white);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.header-social {
    display: flex;
    align-items: center;
    margin-left: 50px;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 30px;
}

.header-social a {
    color: var(--gold-icons) !important;
    font-size: 1.1rem;
    margin-left: 20px;
    transition: var(--transition);
}

.header-social a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(3, 3, 5, 0.7), rgba(3, 3, 5, 0.4)), url('../Galeria/470172063_18057433195941909_1294594469133538063_n.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(3, 3, 5, 0.4) 100%);
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    line-height: 1;
    font-style: italic;
}

.hero-content p {
    font-size: 0.9rem;
    letter-spacing: 10px;
    margin-bottom: 50px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    color: var(--gold);
    font-family: var(--font-sans);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

/* Sections General */
section {
    padding: 100px 0;
}

.section-title {
    text-align: left;
    margin-bottom: 100px;
}

.section-title h2 {
    font-size: 3.5rem;
    position: relative;
    padding-bottom: 25px;
    display: inline-block;
    font-style: italic;
}

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

/* Sobre Nosotros */
#sobre-nosotros {
    background-color: var(--white);
}

.about-grid {
    display: flex;
    gap: 100px;
    align-items: stretch;
}

.about-img {
    flex: 0 0 40%;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
    border: 1px solid rgba(231, 180, 115, 0.2);
    padding: 15px;
    background-color: #fff;
}

.about-img:hover img {
    filter: grayscale(0%);
    border-color: var(--gold);
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
    border-left: none;
}

.about-tags {
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--black);
    font-weight: 300;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 30px;
    font-weight: 300;
    color: #555;
    font-size: 1.05rem;
    max-width: 600px;
}

/* Servicios */
#servicios {
    background-color: var(--black);
    color: var(--white);
}

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

.service-card {
    padding: 60px 40px;
    border: 1px solid rgba(231, 180, 115, 0.1);
    text-align: left;
    transition: var(--transition);
    position: relative;
    background: linear-gradient(145deg, #050507, #030305);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: var(--gold);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 30px;
    display: block;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 400;
    font-family: var(--font-serif);
}

.service-card p {
    font-size: 0.95rem;
    font-weight: 300;
    color: #999;
    line-height: 1.6;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    background-color: rgba(231, 180, 115, 0.05);
}

/* Galeria */
#galeria {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 400px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--black);
}

.gallery-item:nth-child(3n) {
    grid-row: span 2;
}

.gallery-item:nth-child(4n) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--gold);
    font-size: 2rem;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Videos */
#videos {
    background-color: var(--black);
    color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.video-item {
    background: #111;
    padding: 10px;
    border: 1px solid rgba(231, 180, 115, 0.1);
}

.video-item video {
    width: 100%;
    display: block;
}

/* Frase Impacto */
.quote-section {
    padding: 150px 0;
    background-color: var(--white);
    text-align: center;
}

.quote-section h2 {
    font-size: 5rem;
    font-weight: 300;
    font-style: italic;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--black);
    line-height: 1.1;
    font-family: var(--font-serif);
}

/* Contacto */
#contacto {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-right: 20px;
}

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

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold);
    padding-left: 10px;
}

.btn-submit {
    background-color: var(--black);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Footer */
#main-footer {
    background-color: var(--black);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info h3, .footer-social h3 {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.social-links a {
    font-size: 1.2rem;
    margin-right: 20px;
    color: var(--gold-icons);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Lightbox Simple */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .about-grid {
        gap: 50px;
    }
}

@media screen and (max-width: 992px) {
    section {
        padding: 80px 0;
    }

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

    .about-text {
        padding-top: 0;
    }

    .about-img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section-title h2 {
        font-size: 2.8rem;
    }

    .quote-section h2 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    #main-header {
        padding: 20px 0;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--black);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        justify-content: center;
        z-index: 999;
    }
    
    .nav-links li {
        margin: 15px 0;
    }

    .header-social {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-top: 30px;
    }

    .header-social a {
        margin: 0 15px;
    }
    
    .burger {
        display: block;
        z-index: 1000;
    }

    .burger div {
        background-color: var(--white);
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--gold) !important;
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--gold) !important;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 350px;
        gap: 15px;
    }

    .gallery-item:nth-child(3n), .gallery-item:nth-child(4n) {
        grid-row: span 1;
        grid-column: span 1;
    }

    .quote-section {
        padding: 100px 0;
    }

    .quote-section h2 {
        font-size: 2.2rem;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .contact-grid {
        gap: 40px;
    }

    .footer-content {
        gap: 30px;
        text-align: center;
    }

    .footer-info, .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        margin-right: 0;
    }

    .social-links a {
        margin: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 12px;
    }

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