/* =============================================
   SANTORINI RESTOBAR - LANDING PAGE
   Estilo inspirado en diseño de restaurante premium
   ============================================= */

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

/* =============================================
   CUSTOM SCROLLBAR
   ============================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #fbca45 #1a1a1a;
}

:root {
    --color-dark: #1a1a1a;
    --color-dark-2: #262624;
    --color-gold: #fbca45;
    --color-gold-dark: #d4a93a;
    --color-cream: #feffcf;
    --color-green: #1ed760;
    --color-orange: #e85d04;
    --color-brown: #4a3728;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--color-dark);
    color: #fff;
    min-height: 100vh;
}

/* =============================================
   BACKGROUND
   ============================================= */

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(251, 202, 69, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(251, 202, 69, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #1a1a1a 0%, #262624 50%, #1a1a1a 100%);
    z-index: -1;
}

/* =============================================
   MAIN CONTAINER
   ============================================= */

.main-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* =============================================
   HEADER - DESKTOP
   ============================================= */

.top-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    z-index: 100;
}

@media (min-width: 900px) {
    .top-header {
        display: flex;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.logo-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-center img {
    height: 50px;
    width: auto;
}

.logo-center span {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-gold);
    letter-spacing: 3px;
}

/* =============================================
   HEADER - MOBILE
   ============================================= */

.mobile-header {
    display: flex;
    justify-content: center;
    padding: 20px;
}

@media (min-width: 900px) {
    .mobile-header {
        display: none;
    }
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo img {
    height: 40px;
    width: auto;
}

.mobile-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 2px;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 15px;
    min-height: 0;
}

@media (min-width: 600px) {
    .hero-section {
        padding: 20px;
    }
}

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

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gold);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 12vw, 8rem);
    color: var(--color-gold);
    line-height: 0.95;
    letter-spacing: 4px;
    text-shadow: 0 0 60px rgba(251, 202, 69, 0.3);
}

.hero-title-sub {
    font-family: var(--font-display);
    font-size: clamp(1rem, 4vw, 2.5rem);
    color: #fff;
    letter-spacing: 8px;
    margin-bottom: 15px;
    font-weight: 400;
}

.hero-description {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(251, 202, 69, 0.1);
    border: 1px solid rgba(251, 202, 69, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   SELECTION SECTION
   ============================================= */

.selection-section {
    padding: 20px 15px 30px;
}

@media (min-width: 600px) {
    .selection-section {
        padding: 30px 20px 40px;
    }
}

.selection-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* =============================================
   SELECTION CARDS
   ============================================= */

.selection-card {
    position: relative;
    flex: 1;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 400px) {
    .selection-card {
        max-width: 200px;
    }
}

@media (min-width: 600px) {
    .selection-card {
        max-width: 280px;
        border-radius: 20px;
    }
}

@media (min-width: 900px) {
    .selection-card {
        max-width: 350px;
    }
}

.selection-card:hover {
    transform: translateY(-10px);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.selection-card.licores .card-bg {
    background: linear-gradient(135deg, #2d2520 0%, #1a1510 100%);
    border: 2px solid rgba(251, 202, 69, 0.2);
    border-radius: 20px;
}

.selection-card.comidas .card-bg {
    background: linear-gradient(135deg, #1a2520 0%, #0f1a15 100%);
    border: 2px solid rgba(30, 215, 96, 0.2);
    border-radius: 20px;
}

.selection-card:hover .card-bg {
    transform: scale(1.02);
}

.selection-card.licores:hover .card-bg {
    border-color: var(--color-gold);
    box-shadow: 0 20px 60px rgba(251, 202, 69, 0.2);
}

.selection-card.comidas:hover .card-bg {
    border-color: var(--color-green);
    box-shadow: 0 20px 60px rgba(30, 215, 96, 0.2);
}

.card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    gap: 12px;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.selection-card.licores .card-icon {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-dark);
    box-shadow: 0 10px 30px rgba(251, 202, 69, 0.3);
}

.selection-card.comidas .card-icon {
    background: linear-gradient(135deg, var(--color-green) 0%, #18a050 100%);
    color: var(--color-dark);
    box-shadow: 0 10px 30px rgba(30, 215, 96, 0.3);
}

.card-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    letter-spacing: 4px;
}

.selection-card.licores .card-title {
    color: var(--color-gold);
}

.selection-card.comidas .card-title {
    color: var(--color-green);
}

.card-desc {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.selection-card.licores .card-btn {
    background: var(--color-gold);
    color: var(--color-dark);
}

.selection-card.comidas .card-btn {
    background: var(--color-green);
    color: var(--color-dark);
}

.selection-card:hover .card-btn {
    transform: scale(1.05);
}

.selection-card.licores:hover .card-btn {
    box-shadow: 0 10px 30px rgba(251, 202, 69, 0.4);
}

.selection-card.comidas:hover .card-btn {
    box-shadow: 0 10px 30px rgba(30, 215, 96, 0.4);
}

.card-btn i {
    transition: transform 0.3s ease;
}

.selection-card:hover .card-btn i {
    transform: translateX(5px);
}

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

.bottom-footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.contact-btn.location {
    background: var(--color-gold);
    color: var(--color-dark);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-address i {
    color: var(--color-gold);
    margin-right: 5px;
}

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

@media (max-width: 600px) {
    .mobile-header {
        padding: 15px;
    }

    .mobile-logo img {
        height: 35px;
    }

    .mobile-logo span {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }

    .hero-description {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .hero-tags {
        gap: 6px;
    }

    .tag {
        padding: 5px 10px;
        font-size: 0.6rem;
        gap: 4px;
    }

    .selection-section {
        padding: 15px 15px 25px;
    }

    .selection-grid {
        gap: 12px;
    }

    .card-content {
        padding: 15px 10px;
        gap: 8px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .card-title {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .card-desc {
        font-size: 0.6rem;
        line-height: 1.3;
    }

    .card-btn {
        padding: 8px 14px;
        font-size: 0.6rem;
        gap: 5px;
    }

    .bottom-footer {
        padding: 20px 15px;
    }

    .footer-contact {
        gap: 10px;
    }

    .contact-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    .footer-address {
        font-size: 0.7rem;
        margin-top: 5px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero-title-sub {
        font-size: 0.9rem;
        letter-spacing: 5px;
    }

    .hero-description {
        font-size: 0.7rem;
    }

    .tag {
        padding: 4px 8px;
        font-size: 0.55rem;
    }

    .selection-card {
        max-width: 150px;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-desc {
        font-size: 0.55rem;
    }

    .card-btn {
        padding: 6px 12px;
        font-size: 0.55rem;
    }
}

@media (min-width: 601px) and (max-width: 899px) {
    .selection-card {
        max-width: 280px;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.selection-card {
    animation: fadeInUp 0.8s ease-out;
}

.selection-card:nth-child(2) {
    animation-delay: 0.1s;
}

/* =============================================
   BOTON MESERA
   ============================================= */

.contact-btn.mesera {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-dark);
    border: none;
    cursor: pointer;
}

.contact-btn.mesera:hover {
    box-shadow: 0 10px 30px rgba(251, 202, 69, 0.4);
}

/* =============================================
   MODAL STYLES
   ============================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: linear-gradient(145deg, #2a2a28 0%, #1a1a18 100%);
    border: 1px solid rgba(251, 202, 69, 0.2);
    border-radius: 24px;
    padding: 35px 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(251, 202, 69, 0.2);
    color: var(--color-gold);
}

.modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-dark);
    box-shadow: 0 10px 30px rgba(251, 202, 69, 0.3);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.modal-title.success {
    color: var(--color-green);
    font-size: 1.6rem;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-input-group {
    position: relative;
    margin-bottom: 20px;
}

.modal-input {
    width: 100%;
    padding: 18px 20px;
    padding-left: 75px;
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 5px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(251, 202, 69, 0.3);
    border-radius: 16px;
    color: var(--color-gold);
    outline: none;
    transition: all 0.3s ease;
}

.modal-input::placeholder {
    color: rgba(251, 202, 69, 0.3);
    font-size: 1.5rem;
}

.modal-input:focus {
    border-color: var(--color-gold);
    background: rgba(251, 202, 69, 0.05);
    box-shadow: 0 0 20px rgba(251, 202, 69, 0.2);
}

.input-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.modal-btn {
    width: 100%;
    padding: 16px 30px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.modal-btn.success {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-dark);
}

.modal-btn.success:hover {
    box-shadow: 0 10px 30px rgba(251, 202, 69, 0.4);
}

/* =============================================
   SUCCESS ANIMATION
   ============================================= */

.success-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.success-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-green) 0%, #18a050 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    animation: scaleIn 0.5s ease-out;
    box-shadow: 0 10px 40px rgba(30, 215, 96, 0.4);
}

.success-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 3px solid var(--color-green);
    border-radius: 50%;
    opacity: 0;
    animation: ringPulse 1s ease-out 0.3s;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.modal-container.confirmacion .modal-title {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.modal-container.confirmacion .modal-subtitle {
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.modal-container.confirmacion .modal-btn {
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

/* Modal Responsive */
@media (max-width: 500px) {
    .modal-container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-subtitle {
        font-size: 0.75rem;
    }

    .modal-input {
        font-size: 1.8rem;
        padding: 15px 15px 15px 65px;
    }

    .modal-btn {
        padding: 14px 25px;
        font-size: 0.85rem;
    }

    .success-animation {
        width: 80px;
        height: 80px;
    }

    .success-circle {
        font-size: 2rem;
    }
}
