/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Colors - Vintage/Retro Dark & Gold */
    --clr-bg-main: #121212;
    --clr-bg-sec: #1a1a1a;
    --clr-bg-card: #222222;
    --clr-primary: #d4af37; /* Vintage Gold */
    --clr-primary-hover: #b89025;
    --clr-text-light: #f5f5dc; /* Cream */
    --clr-text-muted: #aaaaaa;
    --clr-whatsapp: #25d366;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Oswald', sans-serif;
    
    /* Dimensions & Shadows */
    --border-radius: 4px;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* =========================================
   RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-main);
    color: var(--clr-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.bg-darker {
    background-color: var(--clr-bg-sec);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-title p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 300;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--clr-primary);
    margin: 0 auto 1.5rem;
}

.divider.text-left {
    margin-left: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-bg-main);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--clr-text-light);
    color: var(--clr-text-light);
}

.btn-secondary:hover {
    background-color: var(--clr-text-light);
    color: var(--clr-bg-main);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-bg-main);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-speed), padding var(--transition-speed);
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-text-light);
    letter-spacing: 1px;
}

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

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

.nav-btn {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1600948836101-f9ffda59d250?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero .subtitle {
    color: var(--clr-primary);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero .title {
    font-size: 4.5rem;
    color: var(--clr-text-light);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero .title span {
    color: var(--clr-primary);
    font-style: italic;
}

.hero .tagline {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* =========================================
   SERVICIOS SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--clr-bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--clr-primary);
    transform: scaleY(0);
    transition: transform var(--transition-speed);
    transform-origin: bottom;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.service-info h3 {
    font-size: 1.5rem;
    color: var(--clr-text-light);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-info p {
    color: var(--clr-text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--clr-primary);
    font-weight: 700;
    margin-top: auto;
}

/* =========================================
   GALERIA SECTION
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.8), transparent);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

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

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

/* =========================================
   TESTIMONIOS SECTION
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--clr-bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border-top: 3px solid var(--clr-primary);
    position: relative;
}

.testimonial-card .stars {
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--clr-text-light);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.8;
}

.customer h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.customer span {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* =========================================
   CONTACTO & UBICACION
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-desc {
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-list i {
    color: var(--clr-primary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-list strong {
    display: block;
    color: var(--clr-text-light);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.info-list span {
    color: var(--clr-text-muted);
}

.contact-map iframe {
    box-shadow: var(--box-shadow);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #0a0a0a;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-top: 1rem;
}

.footer-social h3 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--clr-text-light);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--clr-bg-card);
    border-radius: 50%;
    color: var(--clr-primary);
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    background-color: var(--clr-primary);
    color: var(--clr-bg-main);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #050505;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--clr-whatsapp);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .hero .title {
        font-size: 3.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--clr-bg-main);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero .title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        text-align: center;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero .title {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
