/* ==========================================================================
   Gilbert Arizona San Tan Stake SYC 2026 - Light Aesthetic Stylesheet
   ========================================================================== */

/* 1. Global Reset & Theme Variables */
:root {
    --color-bg-light: #cbd6dd;
    --color-bg-light-alt: #d5e0e6;
    --color-bg-card-light: rgba(255, 255, 255, 0.88);
    --color-bg-card-hover: rgba(255, 255, 255, 0.98);

    --color-teal-primary: #125573;
    --color-teal-dark: #094d69;
    --color-gold-primary: #ffa834;
    --color-gold-hover: #f39b22;

    --color-text-dark: #1e293b;
    --color-text-subtle: #475569;
    --color-border-subtle: rgba(18, 85, 115, 0.12);
    --color-border-gold: rgba(255, 168, 52, 0.6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: linear-gradient(135deg, #a7bac3 0%, #cbd6dd 35%, #cfd7dc 65%, #c5ced5 100%);
    background-attachment: fixed;
    color: var(--color-text-dark);
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 2. Header & Navigation (Gradient Bar) */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(90deg, #1d607a 0%, #2e718d 40%, #a78740 85%, #b98e3d 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    height: 72px;
}

.header-inner {
    max-width: 1350px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.brand-title-syc {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 900;
    font-size: 1.9rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-title-year {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 1.9rem;
    color: #ffffff;
    opacity: 0.95;
}

.header-nav {
    display: flex;
    align-items: center;
}

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

.nav-item {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.35rem 0;
    position: relative;
    letter-spacing: 0.3px;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.85;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
}

.menu-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #125573;
    z-index: 1001;
    padding: 2rem 1.5rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.drawer-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-gold-primary);
}

.drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.drawer-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    list-style: none;
}

.drawer-link {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
}

.drawer-link:hover {
    color: var(--color-gold-primary);
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 72px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
}

.hero-mountain-illustration {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 80%;
    background-image: url('https://sycfresnonorthstake.com/wp-content/uploads/2023/05/26themelogo.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.25;
}

.hero-center-emblem {
    position: absolute;
    bottom: -20px;
    left: 45%;
    transform: translateX(-50%);
    width: 380px;
    opacity: 0.9;
}

.emblem-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1350px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    width: 100%;
}

.hero-text-block {
    max-width: 580px;
}

.hero-script-welcome {
    font-family: 'Oooh Baby', cursive;
    font-size: 6.5rem;
    color: var(--color-teal-primary);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: -0.2rem;
    margin-left: -0.25rem;
    text-shadow: 0 2px 10px rgba(18, 85, 115, 0.15);
}

.hero-stake-title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 2.35rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-syc-mega {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 9.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -3px;
    line-height: 0.82;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    margin-top: 0.2rem;
}

.hero-subtext {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 0.75rem;
    margin-bottom: 2.25rem;
}

/* Action Buttons */
.hero-action-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    padding: 14px 34px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(18, 85, 115, 0.15);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 85, 115, 0.25);
}

.btn-gold-pill {
    background: var(--color-gold-primary);
    color: #ffffff;
}

.btn-gold-pill:hover {
    background: var(--color-gold-hover);
}

.btn-teal-pill {
    background: var(--color-teal-dark);
    color: #ffffff;
}

.btn-teal-pill:hover {
    background: #073f57;
}

.hero-date-caption {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 4. Common Section Layouts (Light Theme) */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

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

.section-subtitle {
    display: block;
    color: #b26809;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-teal-primary);
}

.section-lead-text {
    color: var(--color-text-subtle);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0.5rem auto 0;
    font-weight: 600;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: var(--color-gold-primary);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* 5. Registration Page Specific Styles */
.register-main {
    padding-top: 72px;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-teal-primary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.back-home-link:hover {
    transform: translateX(-3px);
    color: var(--color-teal-dark);
}

.margin-top-sm {
    margin-top: 0.5rem;
}

.form-container-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem 0.5rem;
    box-shadow: 0 20px 45px rgba(18, 85, 115, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin: 2.5rem auto 0;
    max-width: 860px;
    width: 100%;
    overflow: hidden;
}

.google-form-iframe {
    width: 100%;
    height: 1250px;
    border: none;
    display: block;
    border-radius: 16px;
}

/* 6. Schedule & Location Section */
.schedule-section {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.schedule-group-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-teal-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-group-title.main-conf-title {
    margin-top: 3.5rem;
    color: var(--color-teal-primary);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.margin-bottom-lg {
    margin-bottom: 3rem;
}

/* Light Schedule Cards */
.schedule-card {
    background: var(--color-bg-card-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.75rem 2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(18, 85, 115, 0.08);
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-4px);
    background: var(--color-bg-card-hover);
    box-shadow: 0 15px 35px rgba(18, 85, 115, 0.15);
}

.schedule-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.schedule-badge {
    position: static;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pre-conf-badge {
    background: var(--color-teal-dark);
    color: #ffffff;
}

.main-conf-badge {
    background: var(--color-gold-primary);
    color: #ffffff;
}

.schedule-date-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.schedule-date-header i {
    font-size: 2rem;
    color: var(--color-teal-primary);
    margin-top: 0.2rem;
}

.schedule-date-header h3 {
    font-size: 1.35rem;
    color: var(--color-teal-primary);
    font-weight: 800;
}

.schedule-time {
    display: block;
    color: #b26809;
    font-weight: 700;
    font-size: 0.95rem;
}

.event-title {
    font-size: 1.2rem;
    color: var(--color-teal-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.event-desc {
    color: var(--color-text-subtle);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Light Highlight Card for Madera Ranch */
.highlight-card.main-event-card {
    border: 2px solid var(--color-gold-primary);
    box-shadow: 0 15px 40px rgba(18, 85, 115, 0.12);
    padding: 3rem;
    background: rgba(255, 255, 255, 0.92);
}

.main-event-header h3 {
    font-size: 1.85rem;
    color: var(--color-teal-primary);
    margin: 0.5rem 0;
    font-weight: 900;
}

.venue-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(18, 85, 115, 0.08);
    border: 1px solid rgba(18, 85, 115, 0.18);
    color: var(--color-teal-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 1.05rem;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.venue-action-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(18, 85, 115, 0.12);
}

/* 7. Footer */
.site-footer {
    background: linear-gradient(90deg, #1d607a 0%, #2e718d 40%, #a78740 85%, #b98e3d 100%);
    padding: 3rem 0;
    color: #ffffff;
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.footer-title {
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 8. Mobile Breakpoints */
@media (max-width: 992px) {
    .hero-syc-mega {
        font-size: 7.5rem;
    }
    .hero-script-welcome {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .menu-toggle-btn {
        display: block;
    }
    .hero-syc-mega {
        font-size: 5.5rem;
    }
    .hero-script-welcome {
        font-size: 4rem;
    }
    .hero-stake-title {
        font-size: 1.75rem;
    }
    .highlight-card.main-event-card {
        padding: 1.75rem;
    }
    .main-event-header h3 {
        font-size: 1.4rem;
    }
    .google-form-iframe {
        min-height: 1100px;
    }
}
