:root {
    --lavender: #c8b6dc;
    --light-blue: #a0d2eb;
    --light-purple: #daceef;
    --background: #e8e3f0;
    --coral: #F5659E;
    --yellow: #ffd966;
    --green: #4caf50;
    --light-green: #80bd7c;
    --white: #ffffff;
}

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

body {
    color: #F5659E;
    letter-spacing: 0.15em;
    font-family: poppins-extralight, poppins, sans-serif;
    background: linear-gradient(to bottom, var(--background), #7c80bd);
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 5%;
    position: relative;
}

.flavor-favicon {
    font-size: 2.5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 30px));
    z-index: 1;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--coral);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--coral);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--coral);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

section {
    padding: 4rem 5%;
    position: relative;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100vh;
}

.hero-image {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 60%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.gallery-and-model-container {
    display: flex;
    align-items: center; /* Vertically center items */
    gap: 2rem; /* Add some space between model and images */
}

#model-container {
    position: absolute;
    top: 0;
    left: -200px;
    width: 400px; /* Reset to original size */
    height: 400px;
    z-index: -1; /* Behind other content */
}

.gallery-wrapper {
    flex: 1; /* Allow gallery to take remaining space */
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--coral);
}

h1 span {
    color: var(--coral);
}

h2 {
    font-weight: 10;
    /* or any other desired weight */
}

.tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: black;
    margin-bottom: 1rem;
    line-height: 0.7;
    opacity: 0; /* Initially hidden */    
}

.fly-in {
    animation: flyInFromLeft 0.8s ease-out forwards;
}

.fly-in:nth-child(1) {
    animation-delay: 0.5s;
}

.fly-in:nth-child(2) {
    animation-delay: 1s;
}

.fly-in:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes flyInFromLeft {
    0% {
        transform: translateX(-150%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.description {
    margin: 1.5rem 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--coral);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--coral);
    box-shadow: 0 4px 15px rgba(255, 140, 140, 0.3);
    margin: 0.5rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--coral);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--coral);
}

.flavors {
    text-align: center;
    background-color: #f9f5ff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
    padding: 4rem 0;
    overflow: hidden;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--coral);
}

h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--light-green);
    bottom: -10px;
    left: 25%;
}

/* Flavor Carousel Styling */
.flavor-carousel-container {
    position: relative;
    width: 100%;
    margin: 3rem 0;
    overflow: hidden;
    padding: 2rem 0;
}

.flavor-track {
    display: flex;
    width: max-content;
    animation: scroll 120s linear infinite;
}

.flavor-track:hover {
    animation-play-state: paused;
}

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

    100% {
        transform: translateX(-50.1%);
    }
}

.flavor-item {
    width: 200px;
    height: 200px;
    margin: 0 15px;
    flex-shrink: 0;
    /* border-radius: 15px; */
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.flavor-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.flavor-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, var(--flavor-color, var(--light-blue)), transparent);
    opacity: 0.7;
}

.flavor-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    padding: 0 10px;
    margin-top: 80px;
    z-index: 2;
    position: relative;
}

.flavor-carousel-container::before,
.flavor-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.flavor-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #f9f5ff, transparent);
}

.flavor-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #f9f5ff, transparent);
}

.location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5rem;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.location-info {
    flex: 1;
    min-width: 300px;
    padding: 3rem;
}

.location-info h2 {
    text-align: left;
}

.location-info h2::after {
    left: 0;
    width: 100px;
}

.location-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.location-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    /* border-radius: 0 20px 20px 0; */
    overflow: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

/* Custom Map Styling */
.custom-map-marker {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style the map popup */
.leaflet-popup-content-wrapper {
    /* border-radius: 15px; */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    background-color: var(--white);
}

.leaflet-popup-tip {
    background-color: var(--white);
}

/* Style map controls */
.leaflet-control-zoom a {
    background-color: var(--white);
    color: #333;
    border-color: var(--light-purple);
    transition: all 0.3s;
}

.leaflet-control-zoom a:hover {
    background-color: var(--light-purple);
    color: #333;
}

.gallery {
    text-align: center;
    /* margin-top: 5rem; */
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-img {
    height: 250px;
    /* border-radius: 10px; */
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.bookings {
    text-align: center;
    margin-top: 5rem;
    background-color: #f9f5ff;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.booking-container {
    max-width: 800px;
    margin: 2rem auto;
}

.booking-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    list-style: none;
}

.booking-list li {
    background-color: white;
    padding: 0.8rem 1.5rem;
    /* border-radius: 30px; */
    box-shadow: 0 4px 10px rgba(200, 182, 220, 0.3);
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.booking-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(200, 182, 220, 0.5);
}

.booking-btn {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.contact {
    text-align: center;
    margin-top: 5rem;
    background-color: #f9f5ff;
    /* border-radius: 20px; */
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: white;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--coral);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--coral);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--coral);
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

.news-mentions {
    padding: 4rem 0;
    text-align: center;
    background-color: white;
}

.news-logo {
    width: 100px;
    height: 100px;
    filter: grayscale(100%);
    margin: 0 0.5rem;
}

.grass-container {
    z-index: 2;
    bottom: 0;
    pointer-events: none;
}

/* Decorative elements */
.decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.dot1,
.dot2,
.dot3,
.dot4 {
    border-radius: 50%;
    position: absolute;
}

.dot1 {
    width: 20px;
    height: 20px;
    background-color: var(--yellow);
    top: 30%;
    left: 20%;
    animation: float-slow 10s infinite alternate;
}

.dot2 {
    width: 15px;
    height: 15px;
    background-color: var(--coral);
    bottom: 20%;
    right: 25%;
    animation: float-slow 8s infinite alternate-reverse;
}

.dot3 {
    width: 25px;
    height: 25px;
    background-color: var(--light-blue);
    top: 65%;
    left: 30%;
    animation: float-slow 12s infinite alternate;
}

.dot4 {
    width: 18px;
    height: 18px;
    background-color: var(--lavender);
    top: 15%;
    right: 15%;
    animation: float-slow 9s infinite alternate-reverse;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .location-info,
    .location-map {
        flex: 100%;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: white;
        flex-direction: column;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.5s;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    nav ul.active {
        height: 250px;
    }

    nav ul li {
        margin: 1.5rem 0;
        text-align: center;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 5%;
    }

    .hamburger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line2 {
        opacity: 0;
    }

    .hamburger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
        text-align: center;
    }

    .flavor-item {
        width: 150px;
        height: 150px;
    }

    .flavor-name {
        font-size: 0.9rem;
        margin-top: 60px;
    }
}
