/**
 * Main Stylesheet
 * Hamburger Croquet Club Theme
 *
 * @package HCC
 */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* ========================================
   LAYOUT
   ======================================== */

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

.site-main {
    min-height: 60vh;
}

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

.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

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

.site-branding {
    flex: 0 0 auto;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: #333;
}

.main-navigation {
    flex: 1 1 auto;
    text-align: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.header-cta {
    flex: 0 0 auto;
    display: flex;
    gap: 1rem;
}

.header-cta a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

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

.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
    padding: 4rem 0;
}

.section-wrapper {
    display: grid;
    gap: 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-text {
    margin-bottom: 1.5rem;
}

.section-image {
    width: 100%;
}

.section-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Layout Variants */
.section-split .section-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.section-fullwidth .section-wrapper {
    max-width: 100%;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007cba;
    color: #fff;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-secondary {
    background: #666;
    color: #fff;
}

.btn-secondary:hover {
    background: #444;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-link:hover .gallery-image {
    transform: scale(1.05);
}

/* ========================================
   EVENTS
   ======================================== */

.events-list {
    display: grid;
    gap: 2rem;
}

.event-item {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.event-date {
    font-weight: bold;
    color: #007cba;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

.contact-card {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: #007cba;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    margin-top: 2rem;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 4px;
}

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

.site-footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-nav-menu {
    list-style: none;
}

.footer-nav-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

.footer-nav-menu a:hover {
    text-decoration: underline;
}

.footer-contact-info .contact-item {
    color: #fff;
}

.footer-contact-info a {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #fff;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-cta {
        width: 100%;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-split .section-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* ========================================
   PASTE AI STUDIO CSS HERE
   ======================================== */

