/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #1FD0D3;
    --teal-hover: #1ab8bb;
    --yellow: #FFE500;
    --yellow-hover: #E6CF00;
    --brand-color: var(--teal);
    --brand-hover: var(--teal-hover);
    --header-color: var(--yellow);
    --header-hover: var(--yellow-hover);
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --purple: #8B5CF6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

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

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

/* Header */
.header {
    background-color: transparent;
    padding: 1rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 229, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 66px;
    width: auto;
}

/* Navigation Menu */
.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    transition: text-shadow 0.2s;
}

.nav-link:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
                 0 0 16px rgba(255, 255, 255, 0.6);
}

/* Menu Button */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    box-sizing: content-box;
    position: relative;
    top: -5px;
}

.menu-btn:hover {
    background-color: var(--light-gray);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.menu-icon span {
    display: block;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-btn.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.menu-text {
    display: inline;
}

/* Mobile Navigation */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    right: 0;
    background-color: rgba(255, 229, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-items: flex-end;
}

/* Hero Section */
.hero {
    position: relative;
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.5rem 0;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    opacity: 0.7;
}

/* Sport Lines Decoration */
.sport-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero h1 strong {
    font-weight: 700;
    color: #000000;
    background-color: var(--yellow);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 30px;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 270px;
}

.search-icon {
    color: var(--gray);
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 1rem;
    flex: 1;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--gray);
}

.link-yellow {
    display: inline-block;
    color: var(--dark);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.link-yellow:hover {
    opacity: 0.7;
}

.link-white {
    display: inline-block;
    color: var(--dark);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.link-white:hover {
    opacity: 0.7;
}

.btn-black {
    display: inline-block;
    background-color: var(--dark);
    color: var(--white);
    padding: 0.875rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-black:hover {
    background-color: #333;
}

/* Stock Section */
.stock-section {
    position: relative;
    padding: 4rem 1.5rem;
    background-color: #1FD0D3;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
}

.stock-lines {
    position: absolute;
    height: 100%;
    width: 200px;
    top: 0;
    pointer-events: none;
    z-index: 1;
}

.stock-lines-left {
    left: 0;
}

.stock-lines-right {
    right: 0;
}

.stock-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 40px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.stock-image {
    width: 100%;
}

.stock-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.stock-content {
    padding: 2rem;
}

.stock-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.stock-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1FD0D3;
    color: var(--white);
    padding: 0.875rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #1ab8bb;
}

.btn-icon {
    font-size: 1.2rem;
}

/* News Section */
.news-section {
    padding: 3rem 1.5rem;
    background-color: var(--light-gray);
}

.news-card {
    background-color: var(--white);
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.news-image {
    border-radius: 0px;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-color);
    color: var(--dark);
    padding: 0.6rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-outline:hover {
    background-color: var(--brand-hover);
}

.center-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 3rem 1.5rem;
    background-color: var(--white);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.how-it-works p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--dark);
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--dark);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.2s;
}

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

/* Footer */
.footer {
    background-color: var(--brand-color);
    padding: 2rem 1.5rem;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo .logo-img {
    height: 66px;
    width: auto;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    max-width: 400px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    font-size: 0.9rem;
    color: var(--dark);
    transition: opacity 0.2s;
}

.footer-column a:hover {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    transition: transform 0.2s;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-lang .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    border: 1px solid var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.footer-lang .lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero {
        padding: 4rem 2rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .stock-section {
        padding: 5rem 3rem;
    }

    .stock-card {
        flex-direction: row;
    }

    .stock-image {
        flex: 0 0 45%;
    }

    .stock-image img {
        height: 100%;
        min-height: 350px;
    }

    .stock-content {
        flex: 1;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .stock-content h2 {
        font-size: 2.25rem;
    }

    .news-section {
        padding: 4rem 2rem;
    }

    .news-card {
        display: flex;
        max-width: 900px;
    }

    .news-image {
        flex: 0 0 40%;
    }

    .news-image img {
        height: 100%;
        min-height: 250px;
    }

    .news-content {
        flex: 1;
        padding: 2rem;
    }

    .how-it-works {
        padding: 4rem 2rem;
        max-width: 700px;
    }

    .footer {
        padding: 3rem 2rem;
    }

    .footer-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
        align-items: start;
    }

    .footer-links {
        margin: 0;
        gap: 4rem;
    }

    .footer-social {
        margin: 0;
    }

    .footer-lang {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 1rem 3rem;
    }

    .nav-menu {
        display: flex;
    }

    .menu-btn {
        display: none;
    }

    .hero {
        padding: 4rem 3rem 5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .stock-section {
        padding: 5rem 3rem;
    }

    .stock-content h2 {
        font-size: 2rem;
    }

    .news-section {
        padding: 5rem 3rem;
    }

    .news-content h3 {
        font-size: 1.5rem;
    }
}

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

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

.hero-content,
.stock-content,
.stock-image,
.news-card,
.how-it-works {
    animation: fadeIn 0.6s ease-out;
}

/* Mobile-first adjustments */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .search-container {
        position: relative;
        flex-direction: row;
        align-items: stretch;
    }

    .search-box {
        position: relative;
        padding: 0.6rem 0.9rem;
        padding-right: 2.75rem;
        width: 100%;
    }

    .search-box input {
        font-size: 0.9rem;
    }

    .search-container .btn-black {
        position: absolute;
        right: calc(0.5rem - 4px);
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        z-index: 1;
        overflow: hidden;
    }

    .search-container .btn-black::after {
        content: '>';
        color: var(--white);
        font-size: 1.2rem;
        line-height: 1;
    }

    .news-content {
        padding: 1.25rem;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-content p {
        font-size: 0.9rem;
    }
}

/* Subpage Styles */
.sub-hero {
    padding: 8rem 1.5rem 4rem;
    background-color: var(--brand-color);
    position: relative;
    overflow: hidden;
}

.sub-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-content {
    padding: 4rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray);
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card,
.inventory-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.location-card h3,
.inventory-card h3 {
    margin-bottom: 0.75rem;
}

/* Responsive Sub-hero */
@media (min-width: 768px) {
    .sub-hero {
        padding: 10rem 3rem 6rem;
    }

    .sub-hero h1 {
        font-size: 3.5rem;
    }
}

/* Background Decoration */
.bg-decoration {
    position: relative;
    z-index: 1;
}

.bg-decoration::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.bg-skate::before {
    background-image: url('img/skate.webp');
}

.bg-basket::before {
    background-image: url('img/basket.webp');
}

.bg-soccer::before {
    background-image: url('img/soccer.webp');
}

.bg-tennis::before {
    background-image: url('img/tenis.webp');
}

.bg-surf::before {
    background-image: url('img/surf.webp');
}