/* Modern Minimalist Black & White Theme */
:root {
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --border-radius-sm: 15px;
    --border-radius-md: 25px;
    --border-radius-lg: 35px;
    --btn-height: 45px;
    --transition-speed: 0.3s;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar - Fixed with Liquid Glass Effect */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.navbar:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateX(-50%) translateY(-2px);
}

.logo {
    width: 60px;
    height: auto;
    border-radius: var(--border-radius-sm);
    transition: transform var(--transition-speed) ease;
}

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

.btn-nav {
    height: var(--btn-height);
    padding: 0 25px;
    border: none;
    border-radius: var(--border-radius-lg);
    background: var(--black);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-light);
}

.btn-nav:hover {
    background: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-nav:nth-child(2) {
    margin-right: 10px;
}

/* Mobile Menu Toggle Button - Base Styles */
.menu-toggle {
    display: none; /* Hidden by default, shown only on mobile */
    width: 45px;
    height: 45px;
    background: var(--black);
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-light);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* PIN Modal - Modern Glass Design */
.pin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pin-modal-content {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-heavy);
    position: relative;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--black), #333);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-title {
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 28px;
    color: var(--black);
}

.modal-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
}

.pin-inputs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
}

.pin-digit {
    width: 65px;
    height: 80px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius-md);
    font-size: 32px;
    text-align: center;
    font-weight: 800;
    background: var(--light-gray);
    transition: all var(--transition-speed) ease;
}

.pin-digit:focus {
    outline: none;
    border-color: var(--black);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.btn-pin {
    height: var(--btn-height);
    width: 100%;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-light);
    margin-top: 20px;
}

.btn-pin:hover {
    background: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.modal-error {
    color: #ef4444;
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
    display: none;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.btn-cancel-modal {
    background: none;
    border: none;
    margin-top: 15px;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    transition: color var(--transition-speed) ease;
}

.btn-cancel-modal:hover {
    color: var(--black);
}

/* Hero Section */
.container {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.image-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
    filter: brightness(1.1) contrast(1.05);
}

.card-content-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 60px 50px;
    text-align: center;
    max-width: 700px;
    width: 90%;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: floatIn 1s ease-out;
    transition: all var(--transition-speed) ease;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-content-glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.title-container {
    margin-bottom: 30px;
}

.word-group {
    display: inline-block;
}

.title-content {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-content {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-content-2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
}

/* Features Section */
.card-content-glass-section-1 {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 20px;
    flex-wrap: wrap;
}

.card-feature {
    background: var(--black);
    color: var(--white);
    width: 350px;
    border-radius: var(--border-radius-lg);
    padding: 50px 35px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-feature:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.card-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.subtitle-card {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Map Section */
.section-mapa {
    padding: 80px 20px;
    margin: 0 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.mapa-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.mapa-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--black), var(--dark-gray));
    border-radius: 2px;
}

.mapa-barber {
    max-width: 1000px;
    margin: 0 auto;
}

.mapa-ja {
    border-radius: var(--border-radius-lg);
    width: 100%;
    height: 450px;
    border: 2px solid var(--medium-gray);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-speed) ease;
}

.mapa-ja:hover {
    border-color: var(--black);
    box-shadow: var(--shadow-medium);
}

/* Footer - Minimalist Modern */
.footer {
    padding: 60px 30px;
    margin: 50px 20px 30px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    border-radius: var(--border-radius-sm);
    transition: transform var(--transition-speed) ease;
}

.footer-logo-img:hover {
    transform: scale(1.1);
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.redes-sociales-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.redes-sociales-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Mobile Menu Modal */
.mobile-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.mobile-menu-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    width: 90%;
    max-width: 280px;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--black);
}

.mobile-menu-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-btn {
    height: 45px;
    padding: 0 20px;
    border: none;
    border-radius: var(--border-radius-lg);
    background: var(--black);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-light);
}

.mobile-menu-btn:hover {
    background: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.mobile-menu-close {
    margin-top: 20px;
    background: none;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.mobile-menu-close:hover {
    color: var(--black);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .card-content-glass-section-1 {
        flex-direction: column;
        align-items: center;
    }
    
    .card-feature {
        width: 90%;
        max-width: 400px;
    }
    
    .title-content {
        font-size: 2.8rem;
    }
    
    .mapa-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 90%;
        max-width: 350px;
        padding: 0 25px;
        height: 60px;
    }
    
    .btn-nav {
        padding: 0 20px;
        font-size: 14px;
    }
    
    .card-content-glass {
        padding: 40px 30px;
        width: 95%;
    }
    
    .title-content {
        font-size: 2.2rem;
    }
    
    .text-content {
        font-size: 1rem;
    }
    
    .text-content-2 {
        font-size: 1.1rem;
    }
    
    .card-feature {
        padding: 40px 25px;
        width: 95%;
    }
    
    .card-text {
        font-size: 1.5rem;
    }
    
    .mapa-title {
        font-size: 2rem;
    }
    
    .section-mapa {
        padding: 50px 15px;
        margin: 0 15px;
    }
    
    .mapa-ja {
        height: 300px;
    }
    
    .footer {
        padding: 40px 20px;
        margin: 30px 15px 20px;
    }
    
    .redes-sociales {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .redes-sociales-link {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        width: 95%;
        max-width: 300px;
        top: 15px;
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .navbar .btn-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex; /* Show menu toggle on mobile */
    }
    
    .title-content {
        font-size: 1.8rem;
    }
    
    .pin-modal-content {
        padding: 40px 25px;
        width: 95%;
    }
    
    .pin-inputs {
        gap: 10px;
        margin: 30px 0;
    }
    
    .pin-digit {
        width: 55px;
        height: 70px;
        font-size: 28px;
    }
    
    .card-content-glass {
        padding: 30px 20px;
    }
    
    .card-feature {
        padding: 30px 20px;
    }
    
    .mapa-title {
        font-size: 1.6rem;
    }
}