:root {
    --color-dark-green: #194728;
    --color-green: #149F6D;
    --color-orange: #FF7148;
    --color-blue: #668DCB;
    --color-yellow: #FED70E;
    --color-beige: #F1CCAF;
    --color-black: #1D1D1B;
    --color-off-white: #F6FFFD;

    --font-title-main: 'Bowlby One', cursive;
    --font-title-hand: 'Gochi Hand', cursive;
    --font-text: 'Rubik', sans-serif;
}

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

body {
    font-family: var(--font-text);
    background-color: var(--color-off-white);
    color: var(--color-black);
    overflow-x: hidden; /* Prevent horizontal scroll from stickers */
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-title-main);
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-dark-green);
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-orange);
    text-shadow: 2px 2px 0px var(--color-black);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-family: var(--font-title-hand);
    font-size: 1.5rem;
    color: var(--color-blue);
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.subtitle {
    font-family: var(--font-title-hand);
    font-size: 1.5rem;
    text-align: center;
    color: var(--color-green);
}

/* Layout */
section {
    padding: 3rem 1.5rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: var(--color-off-white);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 20px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 36px;
    max-width: 90%;
    margin: 0 auto;
}

.nav-logo {
    height: 40px;
}

.btn-nav {
    background-color: var(--color-orange);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-title-main);
    font-size: 0.8rem;
    border: 2px solid var(--color-black);
    box-shadow: 2px 2px 0px var(--color-black);
    transition: transform 0.1s;
    cursor: pointer;
}

.btn-nav:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--color-black);
}

/* Hero */
.hero {
    padding: 2rem 1rem;
    text-align: center;
    background-color: var(--color-off-white);
    position: relative;
    margin-top: 20px;
}

/* Carousel */
.carousel-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: 2rem;
    padding: 1rem 0;
    background-color: var(--color-beige);
    border-top: 3px solid var(--color-black);
    border-bottom: 3px solid var(--color-black);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.carousel-item {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-white);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

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

.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Us */
.about-us {
    background-color: var(--color-green);
    color: white;
    border-radius: 20px;
    margin: 2rem 0.5rem;
}

.about-us h2 {
    color: var(--color-yellow);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.photo-item {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid white;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Map Section */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 15px;
    border: 3px solid var(--color-black);
    z-index: 1;
}

.map-marker-logo {
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    background: white;
}

/* Group Trip */
.group-trip {
    background-color: var(--color-blue);
    color: white;
    text-align: center;
    margin: 2rem 1rem;
    border-radius: 20px;
}

.group-trip h3 {
    color: var(--color-yellow);
    font-size: 2rem;
}

/* Benefits Teaser */
.benefits-teaser {
    text-align: center;
    background-color: var(--color-orange);
    color: white;
    margin: 2rem 1rem;
    border-radius: 20px;
}

.benefits-teaser h2 {
    color: white;
}

.btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-black);
    border: 3px solid var(--color-black);
    padding: 1rem 2rem;
    font-family: var(--font-title-main);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50px;
    margin-top: 1rem;
    transition: transform 0.2s;
    box-shadow: 4px 4px 0px var(--color-black);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--color-black);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.hidden {
    display: none !important;
}

.modal-content {
    background-color: var(--color-off-white);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 20px;
    position: relative;
    border: 4px solid var(--color-black);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    font-family: var(--font-title-main);
}

/* Password Screen */
#password-screen {
    text-align: center;
    padding: 2rem;
}

#benefit-password {
    padding: 1rem;
    font-size: 1.2rem;
    border: 2px solid var(--color-black);
    border-radius: 10px;
    margin: 1rem 0;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.btn-secondary {
    background-color: var(--color-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-title-main);
    border-radius: 10px;
    cursor: pointer;
}

.error-msg {
    color: red;
    font-weight: bold;
    margin-top: 1rem;
}

/* Benefits Content */
.benefits-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .benefits-layout {
        flex-direction: row;
    }
    .benefits-list, .benefits-map-container {
        flex: 1;
    }
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    background: white;
    margin-bottom: 1rem;
    padding: 0.7rem;
    border-radius: 15px;
    border: 2px solid var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

.bar-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.bar-logo-small {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-black);
    flex-shrink: 0;
}

.bar-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
}

.bar-address {
    font-size: 1rem;
    color: #555;
    font-family: var(--font-text);
}

.bar-name {
    font-family: var(--font-title-main);
    font-size: 1.1rem;
    color: var(--color-black);
}

.btn-qr-small {
    background-color: var(--color-blue);
    color: white;
    border: 2px solid var(--color-black);
    padding: 0.5rem;
    border-radius: 10px;
    font-family: var(--font-title-main);
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 2px 2px 0px var(--color-black);
    transition: transform 0.1s;
    width: 70%;
    height: 50%;
    transform: translateX(20%);
}

@media (min-width: 600px) {
    .benefits-list li {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .bar-info {
        flex-direction: row;
        align-items: center;
        width: auto;
        flex: 1;
        gap: 1rem;
    }

    .btn-qr-small {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 1024px) {
    .about-us, .group-trip, .benefits-teaser {
        text-align: center;
        margin: 3rem auto;
        max-width: 1200px;
    }

    .about-us p {
        margin-left: auto;
        margin-right: auto;
        max-width: 1000px;
    }
}

.btn-qr-small:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--color-black);
}

.discount-badge {
    background-color: var(--color-orange);
    color: white;
    padding: 0.4rem;
    border-radius: 5px;
    font-weight: bold;
    font-family: var(--font-title-main);
    font-size: 0.9rem;
}

.qr-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--color-black);
}

/* Stickers */
.sticker {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.sticker img {
    width: 100%;
    height: auto;
    filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.2));
}

.sticker-sol {
    width: 60px;
    top: 10px;
    right: 10px;
    animation: spin 20s linear infinite;
}

.sticker-monumento {
    width: 100px;
    bottom: -20px;
    left: -10px;
    transform: rotate(-10deg);
}

.sticker-mano1 {
    width: 50px;
    top: -30px;
    left: 2px;
}

.sticker-arbol {
    width: 80px;
    bottom: -20px;
    right: -10px;
}

.sticker-luna {
    width: 60px;
    top: 10px;
    left: 10px;
}

.sticker-pochoclo {
    width: 70px;
    top: -20px;
    left: 10%;
    transform: translateX(-50%);
}

.sticker-mascaras {
    width: 80px;
    bottom: 10px;
    right: 10px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    background-color: var(--color-black);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

footer a {
    color: var(--color-yellow);
    text-decoration: none;
    font-family: var(--font-title-hand);
    font-size: 1.2rem;
}
