/*
Theme Name: HARLEM SURFBOARDS THEME
Theme URI: https://wpastra.com/
Template: astra
Author: Clem
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Custom theme for HARLEM Surfboards
Version: 1.0.0
*/

/* ========================================
   BASE STYLES
   ======================================== */

body {
    color: #171717;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

ul {
    list-style: none;
}

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

/* ========================================
   HEADER STYLES
   ======================================== */

.harlem-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #f5f5f5;
}

/* Push header below WordPress admin bar when logged in */
body.admin-bar .harlem-header {
    top: 32px;
}

.harlem-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.harlem-logo-nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.harlem-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #171717;
}

.harlem-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

.harlem-nav a {
    font-size: 14px;
    color: #525252;
    transition: color 0.2s ease;
}

.harlem-nav a:hover {
    color: #171717;
}

.harlem-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Menu Button - White background */
.harlem-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.harlem-menu-btn:hover {
    background-color: #f5f5f5;
    border-color: #d4d4d4;
}

.harlem-menu-btn:active {
    transform: scale(0.95);
    color: lightgrey;
}

.harlem-menu-icon,
.harlem-close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.harlem-close-icon {
    display: none;
}

.harlem-header.menu-open .harlem-menu-icon {
    display: none;
}

.harlem-header.menu-open .harlem-close-icon {
    display: flex;
}

.harlem-contact-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: #171717;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
}

.harlem-contact-btn:hover {
    background-color: #404040;
}

/* Mobile Navigation */
.harlem-mobile-nav {
    display: none;
    flex-direction: column;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #f5f5f5;
}

.harlem-header.menu-open .harlem-mobile-nav {
    display: flex;
}

.harlem-mobile-nav a {
    padding: 16px 0;
    font-size: 18px;
    color: #171717;
    border-bottom: 1px solid #f5f5f5;
}

.harlem-mobile-nav a:last-child {
    border-bottom: none;
}

/* Main Content Area */
.harlem-main {
    padding-top: 70px;
}

/* Adjust main content when admin bar is present */
body.admin-bar .harlem-main {
    padding-top: 102px;
}

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

.harlem-footer {
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 48px 20px 24px;
}

.harlem-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.harlem-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.harlem-footer-brand {
    max-width: 300px;
}

.harlem-footer-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
}

.harlem-footer-tagline {
    font-size: 14px;
    color: #737373;
    margin-bottom: 16px;
}

.harlem-footer-desc {
    font-size: 14px;
    color: #525252;
    line-height: 1.7;
}

.harlem-footer-links h3 {
    font-size: 14px;
    font-weight: 600;
    color: #171717;
    margin-bottom: 16px;
}

.harlem-footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.harlem-footer-links a {
    font-size: 14px;
    color: #525252;
    transition: color 0.2s ease;
}

.harlem-footer-links a:hover {
    color: #171717;
}

.harlem-footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.harlem-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #525252;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.harlem-footer-social a:hover {
    background-color: #171717;
    color: #fff;
}

.harlem-footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.harlem-footer-bottom p {
    font-size: 13px;
    color: #737373;
}

/* ========================================
   CONTENT AREAS
   ======================================== */

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

.harlem-page-content {
    background-color: #fff;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #171717;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #525252;
}

.entry-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 48px 0 24px;
    color: #171717;
}

.entry-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 36px 0 18px;
    color: #171717;
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.harlem-homepage {
    min-height: 50vh;
}

/* ========================================
   RESPONSIVE - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .harlem-header-inner {
        padding: 16px 32px;
    }

    .harlem-logo {
        font-size: 24px;
    }

    .harlem-nav {
        display: flex;
    }

    .harlem-menu-btn {
        display: none;
    }

    .harlem-contact-btn {
        display: flex;
    }

    .harlem-mobile-nav {
        display: none !important;
    }

    .harlem-main {
        padding-top: 80px;
    }

    body.admin-bar .harlem-main {
        padding-top: 112px;
    }

    .harlem-container {
        padding: 60px 32px;
    }

    .page-title {
        font-size: 56px;
    }

    .harlem-footer {
        padding: 64px 32px 32px;
    }

    .harlem-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 48px;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .harlem-header-inner {
        padding: 20px 48px;
    }

    .harlem-logo-nav {
        gap: 64px;
    }

    .harlem-nav {
        gap: 40px;
    }

    .harlem-footer {
        padding: 80px 48px 40px;
    }

    .harlem-footer-grid {
        gap: 64px;
    }
}

/* ========================================
   MOBILE ADMIN BAR (782px and below)
   ======================================== */

@media screen and (max-width: 782px) {
    body.admin-bar .harlem-header {
        top: 46px;
    }

    body.admin-bar .harlem-main {
        padding-top: 116px;
    }
}