:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-header: rgba(18, 18, 18, 0.95);
    --primary: #c8d421; /* Neon Lime */
    --primary-hover: #b0ba1b;
    --secondary: #FF4500; /* Orange Accent */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: #333333;
    --radius: 12px;
    --container-width: 1200px;
    --font-main: 'Manrope', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-dark-alt {
    background-color: #181818;
}

.highlight {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #a6b318);
    color: #000;
    box-shadow: 0 4px 15px rgba(200, 212, 33, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 212, 33, 0.4);
}

.btn-outline {
    border: 2px solid var(--text-main);
    color: var(--text-main);
}

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

.btn-block {
    display: block;
    width: 100%;
    background: #333;
    color: white;
}

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

.center-btn {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

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

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
}

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

.btn-nav {
    background: var(--primary);
    color: black !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-nav:hover {
    background: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('img-source/baner-webpage.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -80px; /* Offset navbar */
    padding-top: 80px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(18,18,18,1));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-header p {
    color: var(--text-muted);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(to bottom, #2a2a2a, #1e1e1e);
    transform: scale(1.05);
    z-index: 2;
}

.tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.card-header h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--text-main);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
}

.period {
    color: var(--text-muted);
    margin-left: 5px;
}

.card-body {
    flex-grow: 1;
    margin-bottom: 30px;
}

.card-body ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.card-body ul li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 10px;
    font-weight: bold;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

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

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

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

/* Location Section */
.location-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.location-info-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.location-info-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.location-info-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item span {
    font-size: 1.5rem;
}

.info-item p {
    margin-bottom: 0;
    color: var(--text-main);
    font-weight: 600;
}

.map-wrapper {
    position: relative;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(200, 212, 33, 0.15);
    position: relative;
    height: 450px;
    background: #000;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    /* Optional: Slight grayscale to blend better with dark theme, 
       but keeping it standard for usability is usually better */
    filter: grayscale(20%) contrast(110%);
}

/* Footer */
footer {
    background: #000;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.footer-social h3 {
    margin-bottom: 20px;
    text-align: center; /* Or left depending on layout preference */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-icon img {
    width: 25px;
    height: 25px;
}

.social-icon:hover {
    background: var(--primary);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-header);
        flex-direction: column;
        padding: 20px 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .location-container {
        grid-template-columns: 1fr;
    }

    .map-frame {
        height: 300px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--border);
    width: 90%;
    max-width: 800px;
    border-radius: var(--radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    text-decoration: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.menu-item {
    background: #2a2a2a;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.menu-item-content {
    padding: 15px;
}

.menu-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

/* Welcome Modal Specifics */
.welcome-modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none;
    max-width: 600px; /* Adjust based on image aspect ratio */
    padding: 0;
    text-align: center;
}

.welcome-modal-content img {
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
}

.welcome-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 36px;
    background: none;
    border: none;
    cursor: pointer;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 2001;
}

.welcome-close:hover {
    color: var(--primary);
}

/* Logos Container in Navbar */
.logos-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.logos-container img {
    height: 65px; /* Aumentado a 65px para cumplir con "significativo" y cerca del max recomendado */
    width: auto;
    border-radius: 50%; /* Mantener circular */
    border: 2px solid var(--primary);
    transition: transform 0.3s ease;
}

.logos-container img:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .logos-container img {
        height: 50px; /* Cumple con el mínimo de 48px */
    }
}