/* Disable tap highlights globally for all elements */
* {
    -webkit-tap-highlight-color: transparent;
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,700&family=Lato:wght@400;700;900&display=swap');

/* Only the h1 style needs to change */

:root {
    /* Color Palette stays the same */
    --color-primary: #2E7D32;
    --color-primary-light: #4CAF50;
    --color-primary-dark: #1B5E20;
    --color-secondary: #FFC107;
    --color-text: #263238;
    --color-text-light: #546E7A;
    --color-background: #FFFFFF;
    --color-surface: #F5F5F5;
    --color-success: #43A047;
    --color-error: #D32F2F;

    /* Typography updated */
    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'Lato', sans-serif;

    /* Rest of the variables stay the same */

    /* ... rest of the CSS remains identical ... */


    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;


    letter-spacing: -0.02em;
    font-weight: 700;
    font-style: italic;
}

.logo {
    letter-spacing: -2px;
    text-shadow: 0px 3px 8px rgba(7, 88, 0, 0.21);
}

h5 {
    font-size: 1.25rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
}

p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

/*First Date*/

#firstDatePlaces {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.firstDatePlace {
    background-color: #a8e6cf;
    /* Slightly darker green */

    border-radius: 8px;
    cursor: pointer;
    box-sizing: content-box;
    margin: 13px;
    min-width: 155px;
    position: relative;
    box-shadow: 0px 3px 13px rgba(0, 0, 0, 21%);
    opacity: 0.64;
    transition: transform 0.21s ease-out, background-color 0.64s ease-out,opacity 0.21s;
}

.firstDatePlace.active {
    transform: scale(1.08);
    background: lightgreen;
    opacity:1
}

.firstDatePlace p:first-of-type {
    position: relative;
    bottom: 8px;
    color: rgb(34, 34, 34);
    font-weight: 900;
}

.firstDatePlace .tagline {
    position: relative;
    top: 8px;
}



.firstDatePlace img {

    width: 89px;
    padding: 13px;

}

#firstDateExploreButtonWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    visibility: hidden;
    transform: scale(0.89);
}

#firstDateExploreButton {
    background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
    border-radius: 55px;
    color: white;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.34);
    text-transform: uppercase;
    font-weight: 900;
    box-shadow: 0px 5px 13px rgba(7, 88, 0, 34%);
    width: fit-content;
    padding: 13px 21px;
    font-size: 1.55rem;
    position: absolute;
    bottom: -81px;
    cursor: pointer;
}

@keyframes highlightExploreButton {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes highlightExploreButton {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.highlightExploreButton {
    animation: highlightExploreButton 1.55s cubic-bezier(0.19, 1, 0.22, 1) infinite;
    -webkit-animation: highlightExploreButton 1.55s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

/* Map Styles */
#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 13;
    pointer-events: none;
    visibility:hidden;
}

/* Aggressive label hiding using multiple techniques */
.hide-labels {
    color: transparent !important;
}

.hide-labels .mapboxgl-canvas-container {
    font-size: 0 !important;
}

.hide-labels .mapboxgl-map * {
    color: transparent !important;
}

/* Hide any potential text elements */
[class*="mapboxgl-ctrl-"] {
    display: none !important;
}

/* Hide markers and popups if needed */
.hide-labels .mapboxgl-marker,
.hide-labels .mapboxgl-popup {
    display: none !important;
}

/* Onboarding Styles */
#termsAndConditions {
    position: fixed;
    overflow-y: scroll;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background);
    z-index: 10;
}

.swiper-slide {
    display: flex;
}

#onboardSlider {}

.onboardingSlide {
    display: flex;
    justify-content: center;
    padding: var(--spacing-xl);
    background: radial-gradient(circle at center, var(--color-surface) 0%, var(--color-background) 100%);
}

.onboardingSlide p {
    line-height: 1;
}

.content {
    text-align: center;
    max-width: 600px;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: transform var(--transition-normal);
}

/* Button Styles */
.btn-next,
.btn-nav,
.btn-confirm {
    font-family: var(--font-primary);
    font-weight: 500;
    padding: var(--spacing-md) var(--spacing-lg);
    border: solid 3px white;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;

    box-shadow: 0px 3px 13px rgba(7, 88, 0, 0.21);
    text-shadow: 0px 1px 5px rgba(7, 88, 0, 0.34);
    background-image: linear-gradient(-134deg, #d4fc79 0%, #96e6a1 100%);
}

.btn-next {

    color: white;
    font-size: 1rem;
    min-width: 150px;
    font-weight: 700;
}

.btn-next:hover {

    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.btn-nav {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    min-width: 120px;
}

.btn-nav:hover {
    background: var(--color-primary);
    color: white;
}

.btn-confirm {
    background: var(--color-success);
    color: white;
    min-width: 180px;
    font-weight: 600;
}

.btn-confirm:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/*First Date*/

#firstDate {
    z-index: 34;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    display: flex;
    text-align: center;
    justify-content: center;
    overflow-y: scroll;
    padding: 55px;
    visibility: hidden;
    -ms-overflow-style: none;
    /* For Internet Explorer and Edge */

    scrollbar-width: none;
    /* For Firefox */
}

#firstDate::-webkit-scrollbar {

    display: none;
    /* For WebKit browsers */

}

#firstDateCard h1 {
    background: transparent;
    color: white;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.13);
    text-wrap: balance;

}

#firstDateCard {
    backdrop-filter: blur(13px);
    box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.13);
    border-radius: 34px;
    padding: 34px;
    height: fit-content;
    max-width: 89vw;

}

.bigCount {
    background: white;
    border-radius: 34px;
    height: 34px;
    width: 34px;
    display: flex;
    font-weight: 900;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 21px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.21);
    font-size: 1.34em;
}

.firstDateCount {

    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: 700;
    position: relative;
    font-size: 0.84em;
    padding-top: 5px;
}

.mapMarker {
    background: white;
    border-radius: 64px;
    width: 64px;
    height: 64px;
    box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.13);
    border: solid 2px white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;

}

.mapMarker img {
    width: 55px;
    padding: 10px;
}

/* Location Card Styles */
.locationCard {
    position: fixed;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--color-background);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    display: none;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .content {
        padding: var(--spacing-lg);
    }

    .nav-buttons {
        flex-direction: column;
    }

    .btn-nav,
    .btn-confirm {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    animation: fadeIn 0.5s ease-out;
}