/* Font declarations */
@font-face {
    font-family: 'Suisse Intl';
    src: url('../fonts/SuisseIntl-Regular-WebS.woff2') format('woff2'),
         url('../fonts/SuisseIntl-Regular-WebS.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Suisse Intl';
    src: url('../fonts/SuisseIntl-Medium-WebS.woff2') format('woff2'),
         url('../fonts/SuisseIntl-Medium-WebS.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Suisse Intl';
    src: url('../fonts/SuisseIntl-SemiBold-WebS.woff2') format('woff2'),
         url('../fonts/SuisseIntl-SemiBold-WebS.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Suisse Intl';
    src: url('../fonts/SuisseIntl-Bold-WebS.woff2') format('woff2'),
         url('../fonts/SuisseIntl-Bold-WebS.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Suisse Intl', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#landing-page-brooklyn, h1, h2, h3, h4, h5, h6, button {
    font-family: 'Suisse Intl', sans-serif;
}

.category-card {
    cursor: pointer;
    border-radius: 8px;
    aspect-ratio: 3/4;
    overflow: visible;
    position: relative;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.3;
    border-radius: 8px;
    z-index: 1;
}

.category-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    line-height: 1.2;
    z-index: 2;
    letter-spacing: -2px;
}

@media (max-width: 1024px) {
    .category-label {
        font-size: 2rem;
        line-height: 1;
    }
}

.tap-badge {
    position: absolute;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 500;
    color: black;
    transform: rotate(7deg) translateZ(0);
    z-index: 10;
}

@media (max-width: 1024px) {
    .tap-badge {
        font-size: 2.5rem;
    }
}

.category-card[data-category="bites"] .tap-badge,
.category-card[data-category="shops"] .tap-badge {
    top: 7%;
    left: -7%;
}

.category-card[data-category="sips"] .tap-badge,
.category-card[data-category="hangs"] .tap-badge {
    bottom: 7%;
    right: -7%;
}

#category-tabs {
    border-radius: 15px;
    margin: 2rem 0;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    justify-content: space-between;
}

.tabs-header .tab-btn:nth-child(2) {
    background-color: #FFD04B;
}

.tabs-header .tab-btn:nth-child(3) {
    background-color: #FFDC79;
}

.tabs-header .tab-btn:nth-child(4) {
    background-color: #FFE7A5;
}

.tabs-header .tab-btn.active {
    background-color: #FFC41F;
}

.tab-btn {
    background: #FFD04B;
    border: none;
    border-radius: 15px 15px 0 0;
    font-size: 1.7rem;
    font-weight: 500;
    color: black;
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.tab-btn:hover {
    color: initial;
}

.tab-btn-emoji {
    padding: 0 2px 0 5px;
}

.tab-btn .close-x {
    font-size: 2rem;
}

.tab-btn img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    margin-right: 4px;
    opacity: 0.7;
}

.tab-btn.active {
    opacity: 1;
}

.tab-btn .close-x {
    font-size: 2rem;
}

.tab-btn .close-x:hover {
    color: #fff;
}

.tab-content {
    background: #FFC41F;
    padding: 15px;
    overflow: visible;
}

.carousel {
    position: relative;
    padding-bottom: 60px;
    overflow: visible;
}

.carousel-inner {
    overflow: visible;
}

.carousel-inner img {
    width: 100%;
    max-height: 500px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

@media (min-width: 768px) {
    .carousel {
        padding: 15px 15px 60px 15px;
    }

    .carousel-inner img {
        aspect-ratio: 3/4;
    }
}

.carousel-item {
    padding: 15px;
}

.carousel-item h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: black;
}

.carousel-navigation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-weight: 600;
    max-width: 100px;
    margin: 0 auto;
}

button.carousel-control-prev,
button.carousel-control-next {
    color: black;
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: #e9ecef;
}

.carousel-counter {
    text-align: center;
    position: relative;
    width: 40px;
    color: black;
}

@media (min-width: 768px) {
    .carousel-navigation,
    button.carousel-control-prev,
    button.carousel-control-next,
    .carousel-counter {
        font-size: 1.6rem;
    }
}

.venue-logo {
    position: absolute;
    background: transparent;
    color: white;
    border: 5px solid white;
    max-width: 200px;
    padding: 30px 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    transform: rotate(-5deg) translateZ(0);
    z-index: 10;
}

@media (min-width: 768px) {
    .venue-logo {
        font-size: clamp(40px, calc(250px / 8), 40px);
        max-width: 250px;
    }
}

/* Random positions for each venue with logos coming out of the sides */
#carouselBites .carousel-item:nth-child(1) .venue-logo {
    top: 30%;
    left: -1%;
    transform: rotate(10deg);
    font-size: 3rem;
    font-weight: 600;
}

#carouselBites .carousel-item:nth-child(2) .venue-logo {
    bottom: 30%;
    left: 0;
    transform: rotate(5deg);
}

#carouselBites .carousel-item:nth-child(3) .venue-logo {
    bottom: 44%;
    left: -1%;
    transform: rotate(5deg);
}

#carouselBites .carousel-item:nth-child(4) .venue-logo {
    top: -3%;
    left: -1%;
    transform: rotate(7deg);
}

#carouselSips .carousel-item:nth-child(1) .venue-logo {
    bottom: -1%;
    left: 6%;
    transform: rotate(6deg);
}

#carouselSips .carousel-item:nth-child(2) .venue-logo {
    top: -2%;
    right: -2%;
    transform: rotate(10deg);
}

#carouselSips .carousel-item:nth-child(3) .venue-logo {
    top: 25%;
    right: -1%;
    transform: rotate(346deg);
}

#carouselSips .carousel-item:nth-child(4) .venue-logo {
    bottom: 35%;
    left: 0;
    transform: rotate(8deg);
}

#carouselShops .carousel-item:nth-child(1) .venue-logo {
    top: 75%;
    left: 0;
    transform: rotate(-7deg);
}

#carouselShops .carousel-item:nth-child(2) .venue-logo {
    bottom: 20%;
    left: -1%;
    transform: rotate(6deg);
}

#carouselShops .carousel-item:nth-child(3) .venue-logo {
    bottom: 16%;
    left: -1%;
    transform: rotate(17deg);
}

#carouselShops .carousel-item:nth-child(4) .venue-logo {
    top: -1%;
    left: -1%;
    transform: rotate(340deg);
}

#carouselHangs .carousel-item:nth-child(1) .venue-logo {
    bottom: 27%;
    left: 0;
    transform: rotate(-5deg);
}

#carouselHangs .carousel-item:nth-child(2) .venue-logo {
    top: -2%;
    right: 5%;
    transform: rotate(7deg);
}

#carouselHangs .carousel-item:nth-child(3) .venue-logo {
    top: 57%;
    right: -1%;
    transform: rotate(10deg);
}

#carouselHangs .carousel-item:nth-child(4) .venue-logo {
    bottom: 45%;
    left: -1%;
    transform: rotate(4deg);
}

/* Map */
#map {
    height: 500px;
    width: 100%;
}

@media (min-width: 768px) {
    #map {
        height: 700px;
    }
}

.emoji-icon {
    font-size: 48px;
    line-height: 1;
    text-align: center;
}

/* Venue */
.venue-address .address-text {
    color: rgba(0, 0, 0, 0.5);
}

.venue-address i::before {
    margin-right: 5px;
    content: "📍";
}

@media (min-width: 768px) {
    .carousel-item h3{
        font-size: 3rem;
    }
    .venue-description,
    .venue-address,
    .venue-links {
        font-size: 1.6rem;
    }
    .venue-links {
        position: absolute;
    }

    .venue-content {
        padding-left: 15px;
    }
}

.venue-links {
    bottom: 0;
    left: 25px;
    margin-bottom: -1.4rem;
}

.venue-links a {
    color: black;
    text-decoration: underline;
    display: block;
    margin-bottom: 4px;
}

/* Estilos para las secciones finales */
.cta-section {
    text-align: center;
    padding: 25px 0;
    margin: 40px 0 0 0;
    border-top: 4px solid black;
    overflow: hidden;
    white-space: nowrap;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin: 0;
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 3.5rem;
    }
}

/* Estilos para la marquesina */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    position: relative;
    white-space: nowrap;
    will-change: transform;
}

.marquee-content h2 {
    display: flex;
    align-items: center;
    padding-right: 50px;
}

.statue-of-liberty {
    height: 2em;
    padding: 0 10px 10px 10px;
    margin: -10px 0 10px 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

  .marquee-animation {
    animation: marquee 15s linear infinite;
  }

.cta-section:hover h2 {
    animation-play-state: paused;
}

.highlight-section {
    margin-bottom: 40px;
}

.highlight-section .row {
    margin: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-top: 4px solid black;
}

.highlight-section .col-md-6 {
    padding: 20px 15px;
    border-bottom: 4px solid black;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .highlight-section .col-md-6:first-child {
        border-right: 2px solid black;
    }

    .highlight-section .col-md-6:last-child {
        border-left: 2px solid black;
    }
}

.highlight-section h4 {
    font-size: clamp(1rem, 10cqi, 5rem);
    line-height: 1;
    letter-spacing: normal;
    white-space: nowrap;
}

.highlight-section .title-row {
    display: flex;
    margin-bottom: 20px;
    min-height: 0;
    container-type: inline-size;
}

@media (min-width: 768px) {
    .highlight-section .title-row {
        height: 100%;
    }
}

.highlight-section .image-container {
    position: relative;
    width: 100%;
    padding-top: 60%;
    flex-shrink: 0;
}

.highlight-section .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 80%;
}

.highlight-section .image-container img.sticker {
    position: absolute;
    width: 45%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.highlight-section .col-md-6:first-child .sticker {
    top: 33%;
    left: -14%;
}

.highlight-section .col-md-6:last-child .sticker {
    top: -10%;
    left: 60%;
}

.highlight-section ol {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.highlight-section ol li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 2px solid black;
}

.highlight-section ol li:first-child {
    border-top: 2px solid black;
}

.highlight-section ol li span.number {
    font-weight: 600;
    word-break: keep-all;
}

.highlight-section ol li span.text {
    flex-grow: 1;
    text-align: center;
    font-size: 1.3rem;
}

.highlight-section ol li span.text a {
    color: black;
    text-decoration: none;
}

.highlight-section ol li span.text a:hover {
    color: #FFC41F;
}

.highlight-pill {
    background-color: #FFC41F;
    border-radius: 50%;
    padding: 0 15px;
    display: inline-block;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .carousel-item .row {
        display: flex;
        flex-direction: column;
    }

    .carousel-item .col-md-5 {
        margin-bottom: 24px;
    }

    .venue-links {
        position: static;
        margin-top: 24px;
    }

    .venue-info {
        padding-left: 0;
    }

}
