/* Color palette */
:root {
    --color-dark-blue: #393B4F;
    --color-medium-blue: #5570B4;
    --color-green: #5F9A71;
    --color-light-blue: #9EB4CA;
    --color-light-gray: #F8F7F9;
    --color-white: #ffffff;
    --color-black: #000000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Shippori Antique', sans-serif;
    line-height: 1.6;
    color: var(--color-dark-blue);
    background-color: var(--color-white);
}

h1, h2, h3 {
    font-family: 'Alfa Slab One', cursive;
    color: var(--color-dark-blue);
    font-weight: 400;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header / Hero Section */
.hero {
    background-color: var(--color-dark-blue);
    background-image: url('images/herringbone-pattern.webp');
    background-repeat: repeat;
    color: var(--color-white);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.location {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.location span {
    color: var(--color-green);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 400;
}

.location-icon {
    width: 30px;
    height: 30px;
    margin-right: 0.5rem;
}

.location-icon img {
    width: 100%;
    height: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--color-light-blue);
}

.hero .tagline {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--color-medium-blue);
    text-transform: uppercase;
}

.hero .description {
    max-width: 600px;
    margin-bottom: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-image img {
    padding: 5px;
    margin-left: auto;
}

/* Intro Section */
.intro {
    background-color: var(--color-light-blue);
    padding: 4rem 0;
}

.intro .container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-medium-blue);
    line-height: 1.2;
}

.intro-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-light-gray);
    max-width: 90%;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background-color: var(--color-light-gray);
}

.pricing .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.pricing-content-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
}

.pricing-description {
    margin: 0;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-green);
    width: 50%;
}

.pricing-boxes {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: 50%;
}

.pricing-icon {
    width: 70px;
    height: auto;
    margin: 0 0 1rem 0;
    display: block;
    text-align: left;
}

.pricing-icon img {
    width: 100%;
    height: 100%;
}

.pricing h2 {
    font-size: 3.5rem;
    color: var(--color-medium-blue);
    text-align: left;
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.pricing .commit {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-medium-blue);
    letter-spacing: 1px;
    text-align: left;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.pricing-description-text::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 600px;
    height: 2px;
    background-color: var(--color-green);
    margin: 2rem 0;
}

.pricing-box {
    width: calc(50% - 0.75rem);
    height: 230px;
    padding: 2rem;
    border-radius: 2rem;
    text-align: left;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: block;
}

.pricing-box.beginner {
    background-color: var(--color-light-blue);
    color: var(--color-dark-blue);
}

.pricing-box.beginner:hover {
    background-color: color-mix(in srgb, var(--color-light-blue) 85%, white);
}

.pricing-box.intermediate {
    background-color: var(--color-medium-blue);
    color: var(--color-white);
}

.pricing-box.intermediate:hover {
    background-color: color-mix(in srgb, var(--color-medium-blue) 85%, white);
}

.pricing-box h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.pricing-box.beginner h3 {
    color: var(--color-medium-blue);
}

.pricing-box.intermediate h3 {
    color: var(--color-white);
}

.pricing-box p {
    font-size: 0.8rem;
    line-height: 1.5;
}

.pricing-box.beginner p {
    color: var(--color-medium-blue);
}

.pricing-box.intermediate p {
    color: var(--color-white);
}

.pricing-rates {
    text-align: left;
    font-weight: 400;
    line-height: 1.8;
    font-size: 0.9rem;
    letter-spacing: 0;
    color: var(--color-green);
    text-transform: uppercase;
}

/* Booking Section */
.booking {
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 4rem 0;
}

.booking .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.booking-image {
    flex: 1;
    text-align: center;
    width: 50%;
}

.booking-image img {
    border-radius: 50%;
    max-width: 100%;
    margin: 0 auto;
}

.booking-content {
    flex: 1;
    text-align: center;
}

.booking-content h2 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
}

.booking-phone {
    font-size: 1rem;
    margin: 1rem 0 2rem;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.booking-phone a {
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
}

.booking-phone img {
    width: 1rem;
    height: 1rem;
    filter: brightness(0) invert(1);
}

.qr-codes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    flex: 1;
    border-radius: 0.2rem;
    color: var(--color-dark-blue);
    max-width: 150px;
}

/* Reintroduce necessary whatsapp profile styling */
.whatsapp-profile {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.profile-text h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.profile-text p {
    font-size: 0.8rem;
}

/* Footer */
footer {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    font-weight: 200;
    text-transform: uppercase;
    color: var(--color-light-blue);
}

/* Gallery Section */
.gallery {
    background-color: var(--color-dark-blue);
    padding: 4rem 0;
    color: var(--color-white);
}

.gallery h2 {
    font-size: 3.5rem;
    color: var(--color-light-blue);
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.lightbox.active {
    display: block;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
    }

    .hero-image {
        order: 1;
        margin: 1rem 0;
        width: 100%;
    }

    .hero .description {
        order: 2;
    }
    
    .hero-image img {
        margin: 0 auto;
        max-width: 85%;
        width: 400px;
    }

    .intro .container,
    .booking .container {
        flex-direction: column;
    }
    
    .pricing-content-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .pricing-description,
    .pricing-boxes {
        width: 100%;
    }
    
    .pricing-boxes {
        margin-top: 2rem;
        flex-direction: column;
    }
    
    .pricing-box {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .qr-codes {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .intro-content h2,
    .pricing h2,
    .booking-content h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Courts Section */
.courts {
    background-color: var(--color-dark-blue);
    padding: 4rem 0;
    color: var(--color-light-blue);
}

.courts h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: capitalize;
    color: var(--color-light-blue);
}

.courts-list {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.court-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.court-item a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.court-item a:hover {
    opacity: 0.8;
}

.court-item .location-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.5rem;
}

.court-item p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--color-light-blue);
}

.court-item .location-text {
    font-size: 0.9rem;
    color: var(--color-light-blue);
    opacity: 0.8;
    font-weight: normal;
}

@media (max-width: 992px) {
    .courts-list {
        justify-content: center;
        gap: 1.5rem;
    }

    .court-item {
        flex: 0 1 calc(50% - 1rem);
        min-width: 150px;
    }
}

@media (max-width: 576px) {
    .court-item {
        flex: 0 1 100%;
    }
} 