@import url('./fonts.css');
/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--light-gray);
    color: var(--black);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Colors from the image */
:root {
    --bright-pink: #ed1c78;
    --burgundy: #901545;
    --bright-yellow: #ffed00;
    --olive: #7a7729;
    --bright-green: #0E8444;
    --light-blue: #56b3e1;
    --teal: #006275;
    --white: #ffffff;
    --black: #000000;
    --text-color: #141414;
    --light-gray: #F3F3F3;
}

/* Remove parallax container, as it's causing scrolling issues */
.parallax-container,
.parallax-layer,
.parallax-layer-back,
.parallax-layer-base,
.parallax-layer-front,
.parallax-background {
    display: none;
}

/* Remove frosted glass effect since it's no longer needed */
.frosted-section {
    position: relative;
    overflow: visible;
}

.frosted-section::before {
    display: none;
}

.frosted-section.visible::before {
    display: none;
}

/* Banner styles */
.banner {
    background-color: var(--bright-green);
    color: var(--bright-yellow);
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

.banner-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-rtl 45s linear infinite;
    width: fit-content;
    padding-top: 6px;
}

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

.banner span {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: "bookmania", serif;
    line-height: 1;
}

.banner span.banner-content{
    text-transform: capitalize;
}

/* Add more spacing between banner items */
.banner-item {
    display: inline-block;
    margin: 0 30px;
}

/* Hero section */
.hero-section {
    position: relative;
    background-color: var(--bright-yellow);
    min-height: 70vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 60px;
    text-align: center;
    z-index: 1;
    overflow: visible;
}

/* Ensure content is above the frosted layer */
.hero-content, .content, .locations-copy, .green-content, 
.pink-content, .social-container, .footer h2 {
    position: relative;
    z-index: 1;
}

.hero-content {
   max-width: 1700px;
   width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    max-width: 350px
}

.hero-text {
    margin: 65px 0 30px;
}

.hero-text h1 {
    font-size: 155px;
    line-height: 128px;
    text-transform: none;
    text-align: center;
    color: var(--bright-green);
    font-weight: bold;
    font-family: "bookmania",serif;
}

.highlight {
    display: inline;
    color: var(--bright-green);
}

/* Animated arrow button */
.scroll-button {
    margin-top: 40px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
    padding: 0;
}

.scroll-button:hover {
    transform: translateY(-5px);
}

.scroll-button img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Main Grid Layout */
.main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    position: relative;
    z-index: 2;
    grid-auto-flow: row;
    grid-auto-rows: auto;
}

/* Content sections - maintain consistent heights */
.content, .green-section {
    color: var(--black);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: 400px;
    opacity: 1;
}

.copy-container {
    max-width: 100%;
    margin: 0 auto;
}

.copy-container h2{
    font-size: 55px;
}


.copy {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    opacity: 1; 
    @media (min-width: 1100px) {
        max-width: 550px;
    }
}

.copy p{
    font-size: 24px;
    line-height: 1.5;
    color: var(--black);
    opacity: 1;
    padding-right: 44px;
}

h2 {
    color: var(--bright-green);
    font-size: 55px;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: bold;
    opacity: 1;
    font-family: "bookmania",serif;
}

p {
    font-family: "Public Sans", sans-serif;
    font-size: 1.5em;
    color: var(--text-color);
}

/* Image containers - properly scale to image size */
.image-container, .pink-section {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    height: auto;
    width: 100%;
}

.image-container {
    background-color: var(--light-blue);
}

.pink-section {
    background-color: var(--bright-pink);
    color: var(--white);
    padding: 0;
    flex-direction: column;
}

/* Style specifically for the lemon person images to ensure they display at their natural dimensions */
.image-container img[src*="person-with-lemons"], 
.pink-content img[src*="person-with-lemons"] {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
}

/* General style for other images */
.image-container img:not([src*="person-with-lemons"]), 
.pink-content img:not([src*="person-with-lemons"]) {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1;
}

/* Pink section content container */
.pink-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 1;
}

/* Green section */
.green-section {
    color: var(--black);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    opacity: 1;
}

.green-content {
    max-width: 95%;
    margin: 0 auto;
    opacity: 1;
}

.green-content h2{
    font-size: 55px;
}

.green-content p{
    font-size: 24px;
    line-height: 1.5;
    color: var(--black);
    opacity: 1;
    padding-right: 44px;
    max-width: 550px;
}
/* Social section */
.social {
    background-color: var(--bright-yellow);
    color: var(--black);
    position: relative;
    z-index: 1;
}

.social-container {
    max-width: 85%;
    margin: 0 auto;
    text-align: center;
}

.social h3 {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--black);
    font-weight: normal;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-feed {
    background-color: var(--white);
    border-radius: 0;
    margin: 0 auto;
    opacity: 1;
    margin-top: 40px;
    width: 100%;
}

.social-handle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.social-handle span {
    font-weight: bold;
    color: var(--black);
    font-size: 18px;
}

.social-handle a, 
.social-handle button {
    background-color: var(--bright-green);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-handle a:hover,
.social-handle button:hover {
    background-color: #00753e;
}

.instagram-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
    display: inline-block;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-item {
    background-color: #e3e3e3;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    background-color: var(--bright-pink);
    position: relative;
    height: 260px;
}

.footer .content {
    height: 100%;
}

.footer h2 {
    color: #781A46;
    font-size: 64px;
    margin-bottom: 0;
    font-weight: bold;
    z-index: 1;
    max-width: calc(100% - 400px);
}

.footer-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
}

.footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Animations */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    animation-fill-mode: both;
}

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

/* Fix layout for image rows in grid */
@media (min-width: 1200px) {
    .main-grid {
        grid-auto-rows: 550px;
    }
}
@media (min-width: 993px) {
    /* Ensure grid cells display GIFs properly */
    .image-container, .pink-section {
        grid-row: span 1;
        align-self: stretch;
        height: auto;
    }
    
    /* Make text sections adapt to adjacent content */
    .content, .green-section {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Let GIFs determine the height naturally */
    .image-container img[src*="person-with-lemons"], 
    .pink-content img[src*="person-with-lemons"] {
        width: auto;
        height: auto;
        max-width: 100%;
    }
}

/* Media queries for responsive handling */
@media (max-width: 992px) {
    .main-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-auto-rows: auto;
    }
    .green-section {
        order: 5;
    }

    .pink-section {
        order: 6
    }

    #locations-section .content {
        order: 2;
    }

    .map-grid {
        order: 1;
    }
    
    /* Ensure images display well on mobile */
    .image-container, .pink-section {
        width: 100%;
        height: auto;
    }
    
    /* Allow GIFs to determine container height */
    .image-container img[src*="person-with-lemons"], 
    .pink-content img[src*="person-with-lemons"] {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: none;
        object-fit: contain;
    }
    
    .locations-container {
        grid-template-columns: 1fr;
    }
    
    /* Make content sections match adjacent GIF sections */
    .content, .green-section {
        min-height: 300px;
        padding: 50px;
    }

}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 4.4rem;
        line-height: 0.9;
    }

    h2 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.3rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo {
        max-width: 220px;
    }

    .green-content {
        max-width: 100%;
    }
    
    .map-container {
        min-height: 300px;
        max-width: 100%;
    }
    
    .map-container img {
        height: 100%;
        object-fit: cover;
    }
    
    .social-container {
        text-align: left;
    }

    .footer {
       height: 100%;
    }

    .footer h2 {
        max-width: 100%;
        font-size: 50px;
    }

    .footer .content {
        min-height: 100%;
    }
    .footer-logo {
        position: relative;
    }
    .footer-logo img {
        max-width: 100%;
    }

    .locations-heading {
        padding: 30px 0px !important;
    }
    .location-list {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width: 576px) {    
    .social-handle {
        flex-direction: column;
        gap: 15px;
    }
    
    .location-buttons {
        flex-direction: column;
    }
/*     
    .copy,
    .locations-copy,
    .pink-section,
    .green-section {
        padding: 30px;
    } */

    
    .instagram-icon {
        width: 16px;
    }
}

/* Ensure sections display correctly and don't overlap */
section {
    position: relative;
    width: 100%;
}

.no-wrap {
    white-space: nowrap;
}