/* ============================================================
   Aloha Pants — stylesheet
   Fonts: Questrial (display/logo), Martel Sans (body/headings)
   Colors:
     --blue:       #2EA3F2  (primary accent)
     --blue-dark:  #1a7dbf
     --dark:       #1a1a1a
     --gray-dark:  #444444
     --gray-mid:   #777777
     --gray-light: #f5f5f5
     --white:      #ffffff
   ============================================================ */

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

:root {
    --blue:       #2ea3f2;
    --blue-dark:  #1a7dbf;
    --brown:      #8a6255;
    --brown-dark: #6e4e43;
    --dark:       #1a1a1a;
    --gray-dark:  #444444;
    --gray-mid:   #777777;
    --gray-light: #f5f5f5;
    --white:      #ffffff;
    --max-width:  1100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Martel Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Questrial", sans-serif;
    line-height: 1.2;
    color: var(--dark);
}

a {
    color: var(--blue-dark);
    text-decoration: none;
}

a:hover {
    color: var(--blue);
    text-decoration: underline;
}

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

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e8e8e8;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: "Questrial", sans-serif;
    font-size: 0.95rem;
    color: var(--gray-dark);
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.2s;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
    display: inline-block;
    background: var(--brown);
    color: var(--white);
    font-family: "Questrial", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    padding: 0.75rem 2rem;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
    background: var(--brown-dark);
    color: var(--white);
    text-decoration: none;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    font-family: "Questrial", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    padding: 0.75rem 2rem;
    border-radius: 3px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    text-decoration: none;
}

.btn-buy {
    display: inline-block;
    background: var(--brown);
    color: var(--white);
    font-family: "Questrial", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.5rem;
    border-radius: 3px;
    transition: background 0.2s;
}

.btn-buy:hover {
    background: var(--brown-dark);
    color: var(--white);
    text-decoration: none;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    background: linear-gradient(135deg, #c9b8ae 0%, #a8bfc0 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    overflow: hidden;
}

.hero-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image img {
    max-height: 520px;
    width: auto;
    object-fit: contain;
    display: block;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4rem 4rem 2rem;
    color: var(--white);
}

.hero-text h1 {
    font-family: "Questrial", sans-serif;
    font-size: 3.5rem;
    color: var(--white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-text h1::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--white);
    margin-top: 1rem;
    opacity: 0.6;
}

.hero-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 340px;
}

.btn-hero {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: "Questrial", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: background 0.2s, border-color 0.2s;
    align-self: flex-start;
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    text-decoration: none;
    border-color: var(--white);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */

.featured-section {
    padding: 4rem 0;
    background: var(--white);
}

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

.product-grid--full {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-card > a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-info h3 {
    font-size: 1.05rem;
}

.product-price {
    font-family: "Questrial", sans-serif;
    font-size: 1.1rem;
    color: var(--brown);
    font-weight: 600;
}

.product-sizes {
    font-size: 0.82rem;
    color: var(--gray-mid);
    letter-spacing: 0.05em;
}

.shop-note {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-mid);
}

/* ============================================================
   SHOP PAGE
   ============================================================ */

.shop-section {
    padding: 3rem 0 5rem;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 1.5rem;
}

.page-header h1 {
    font-family: "Questrial", sans-serif;
    font-size: 2.5rem;
    color: var(--white);
}

.page-sub {
    color: var(--blue);
    font-size: 1rem;
    margin-top: 0.4rem;
    letter-spacing: 0.04em;
}

/* ============================================================
   PAGE CONTENT (generic single)
   ============================================================ */

.page-content {
    padding: 3rem 0 5rem;
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content a {
    color: var(--blue-dark);
}

/* ============================================================
   MUSIC SECTION (homepage)
   ============================================================ */

.music-section {
    background: var(--gray-light);
    padding: 5rem 0;
}

.music-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.music-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.music-text p {
    color: var(--gray-mid);
    margin-bottom: 1.5rem;
}

.music-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.music-image img {
    border-radius: 4px;
    width: 100%;
}

/* ============================================================
   SOUNDS PAGE
   ============================================================ */

.sounds-section {
    padding: 3rem 0 5rem;
}

.soundcloud-wrap {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sounds-cta {
    text-align: center;
}

/* ============================================================
   PARTY VIDEOS PAGE
   ============================================================ */

.party-videos-section {
    padding: 3rem 0 5rem;
}

.party-videos-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.party-img {
    max-width: 320px;
    margin: 0 auto;
}

.party-text p {
    font-size: 1.1rem;
    color: var(--gray-mid);
    margin-bottom: 2rem;
}

.btn-youtube {
    background: #ff0000;
}

.btn-youtube:hover {
    background: #cc0000;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
    padding: 3rem 0 5rem;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-block h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.contact-block p {
    color: var(--gray-mid);
    margin-bottom: 1.5rem;
}

.contact-social h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

.social-links a {
    display: inline-block;
    font-family: "Questrial", sans-serif;
    color: var(--gray-dark);
    font-size: 1rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--blue);
    text-decoration: none;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--blue);
    text-decoration: none;
}

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

.footer-social a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--blue);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .product-grid,
    .product-grid--full {
        grid-template-columns: repeat(2, 1fr);
    }

    .music-inner,
    .party-videos-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-top: 1px solid #e8e8e8;
    }

    .site-nav.open .nav-links {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-image {
        max-height: 320px;
        overflow: hidden;
    }

    .hero-image img {
        max-height: 320px;
    }

    .hero-text {
        padding: 2.5rem 1.5rem;
        align-items: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-text h1::after {
        margin: 1rem auto 0;
    }

    .hero-text p {
        max-width: 100%;
    }

    .btn-hero {
        align-self: center;
    }

    .product-grid,
    .product-grid--full {
        grid-template-columns: 1fr;
    }

    .music-btns {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
