/* Base Styles */
:root {
    --primary-yellow: #EEFA90;
    --primary-lightblue: #C3E2E7;
    --primary-darkblue: #134b6e;
    --dark: #111111;
    --white: #ffffff;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-yellow);
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dark-btn {
    background-color: var(--dark);
    color: var(--white);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.logo img {
    height: 100px;
    transition: filter 0.3s ease;
}

/* Class to be added by JavaScript when over light sections */
header.over-light-bg .logo img {
    filter: invert(1);
}
header.over-light-bg a {
    filter: invert(1);
}

nav ul {
    display: flex;
    list-style: none;
    white-space: nowrap;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

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

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

/* Wave Dividers */
.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    color: var(--white);
    overflow: hidden;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}

.wave-divider svg path {
    fill: currentColor;
}

.wave-divider.yellow {
    color: var(--primary-yellow);
}

.wave-divider.lightblue {
    color: var(--primary-lightblue);
}

.wave-divider.darkblue {
    color: var(--primary-darkblue);
}

.wave-divider.white {
    color: var(--white);
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-color: #AAAAAA;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: var(--white);
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--primary-yellow);
    /*text-transform: uppercase;*/
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* About Section */
#about {
    position: relative;
    background-color: var(--primary-yellow);
    padding: 100px 0;
}

.about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
    padding: 0 40px;
}

.about-image {
    flex: 0 0 35%;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content {
    flex: 0 0 55%;
}

.about-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Clients Section */
#clients {
    position: relative;
    background-color: var(--primary-lightblue);
    padding: 70px 0 90px 0;
}

.clients-container {
    max-width: 1200px;
    margin: -10px auto;
    padding: 0 40px;
}

.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.client-logos img {
    height: 70px;
    transition: all 0.3s ease;
}

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

/* Testimonials Section */
#testimonials {
    position: relative;
    background-color: var(--white);
    padding: 100px 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.testimonial-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial {
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin-bottom: 0px;
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.quote {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author {
    font-size: 18px;
    font-weight: 500;
}

.prev-btn, .next-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
    color: var(--dark);
    transition: color 0.3s ease;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    color: var(--primary-darkblue);
}

.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--dark);
}

/* Contact Section */
#contact {
    position: relative;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-container {
    position: relative;
    padding: 100px 40px;
    text-align: center;
    background-image: url('images/basketball-court.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container.rink {
    background-image: url('images/ice-plan.png');
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 70px;
    margin-bottom: 40px;
    line-height: 1.2;
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-lightblue);
    color: var(--dark);
    padding: 40px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.email-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--white);
    border-radius: 30px;
    font-weight: 500;
}

.app-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: auto;
}

.qr-code {
    width: 80px;
    height: 80px;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-btn img {
    height: 35px;
}

/* About Me Page Additions */
.section-dark {
    position: relative;
    background-color: var(--primary-darkblue);
    color: var(--white);
    padding: 140px 0 80px; /* top padding clears fixed header */
}

.section-dark .about-content h2 {
    color: var(--white);
}

.section-dark .about-content p {
    color: var(--white);
    opacity: 0.95;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.details-section {
    position: relative;
    background-color: var(--white);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.details-copy h3 {
    font-size: 22px;
    margin: 24px 0 8px;
}

.details-copy p {
    margin-bottom: 12px;
    max-width: 740px;
}

.tagline {
    background-color: var(--primary-yellow);
    color: var(--dark);
    text-align: center;
}

.tagline .content-container p {
    font-size: 22px;
    font-weight: 500;
}

.card-image {
    position: absolute;
    right: 4%;
    top: -40px;
    width: 260px;
    transform: rotate(-8deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    border-radius: 6px;
}

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

    .about-image, .about-content {
        flex: 0 0 100%;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav ul li {
        margin-left: 15px;
    }

    /*.hero-content {*/
    /*    left: 5%;*/
    /*    max-width: 90%;*/
    /*}*/

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .about-content h2, .contact-content h2 {
        font-size: 36px;
    }

    .quote {
        font-size: 20px;
    }

    .testimonial-slider {
        gap: 15px;
    }

    .prev-btn, .next-btn {
        font-size: 20px;
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .contact-footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .card-image { display: none; }
}

@media (max-width: 576px) {
    /*nav {*/
    /*    display: none;*/
    /*}*/

    .hero-content h1 {
        font-size: 36px;
    }

    .quote {
        font-size: 18px;
    }

    .clients-container {
        padding: 0 15px;
    }
    .client-logos img {
        height: 50px;
    }

    .testimonial-slider {
        /*flex-direction: column;*/
        gap: 20px;
        /*margin-bottom: 20px;*/
    }

    .testimonial-content {
        order: 1;
        min-height: 150px;
    }

    .prev-btn {
        order: 0;
    }

    .next-btn {
        order: 2;
    }

    .prev-btn, .next-btn {
        width: 50px;
        height: 50px;
    }
}
