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

:root {
    --primary-color: #1f215f;
    --accent-color: #484bb5;
    --text-dark: #000000;
    --text-heading: #1f215f;
    --bg-gray: #f9f9f9;
    --bg-dark-gray: #ededed;
    --border-color: #eeeeee;
    --white: #ffffff;
    --link-color: #428bca;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

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

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

/* ==================== NAVIGATION ==================== */
.navbar {
    position: relative;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand .logo {
    height: 55px;
    width: auto;
    display: block;
}

.nav-brand span {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
    padding: 0;
    margin: 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-cta {
    color: var(--text-dark) !important;
}

.nav-cta:hover {
    color: var(--accent-color) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero.jpg') center/cover no-repeat;
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 3rem 0 3rem 2rem;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

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

.btn-filled {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-filled:hover {
    background: #2d2f7a;
    border-color: #2d2f7a;
    color: var(--white);
}

/* ==================== CONTENT SECTIONS ==================== */
.section {
    padding: 5rem 0;
    border-bottom: 2px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

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

/* Two-column layout: image + text */
.two-col {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.two-col .col-image {
    flex: 0 0 48%;
    max-width: 48%;
}

.two-col .col-image img {
    width: 100%;
    height: auto;
    display: block;
}

.two-col .col-text {
    flex: 1;
}

.two-col.reverse {
    flex-direction: row-reverse;
}

/* Content box with gray background */
.content-box {
    background: var(--bg-gray);
    padding: 2rem;
    box-shadow: 0 0 7px rgba(168, 168, 168, 0.5);
    margin-bottom: 1.5rem;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3 {
    color: var(--text-heading);
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ==================== LISTS ==================== */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.check-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    line-height: 1.6;
}

.check-list li::before {
    content: '⊙';
    position: absolute;
    left: 0.25rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.bullet-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    line-height: 1.6;
}

.bullet-list li::before {
    content: '⊙';
    position: absolute;
    left: 0.25rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* ==================== RESOURCE CARDS ==================== */
.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.resource-card {
    background: var(--bg-gray);
    padding: 1.5rem 2rem;
    box-shadow: 0 0 7px 3px rgba(168, 168, 168, 0.5);
    text-align: center;
}

.resource-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.resource-card h3 a {
    color: var(--accent-color);
}

.resource-card p {
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
    display: flex;
    gap: 2rem;
}

.contact-info-box {
    flex: 0 0 45%;
    background: var(--bg-dark-gray);
    border: 3px solid #585858;
    padding: 2rem;
}

.contact-form-box {
    flex: 1;
    background: var(--bg-dark-gray);
    border: 3px solid #585858;
    padding: 2rem;
}

.contact-info-box h2 {
    text-transform: none;
    margin-bottom: 1.5rem;
}

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

.contact-detail a {
    color: var(--accent-color);
    font-size: 1.0625rem;
}

/* Contact Form */
.contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    text-transform: none;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #777;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-submit:hover {
    background: #2d2f7a;
}

/* Form Status */
.form-status {
    margin-top: 1rem;
    padding: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    display: block;
    padding: 1rem;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    display: block;
    padding: 1rem;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ==================== SERVING ARIZONA BAR ==================== */
.serving-bar {
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.serving-bar h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2.5rem 0 1.5rem;
}

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

.footer-logo .logo {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer-contact {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-contact-item .icon {
    font-size: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-nav a:last-child {
    border-right: none;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .navbar-content {
        padding: 0.75rem 1.5rem;
    }

    .two-col {
        flex-direction: column;
    }

    .two-col .col-image {
        flex: none;
        max-width: 100%;
    }

    .two-col.reverse {
        flex-direction: column;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-info-box {
        flex: none;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        justify-content: center;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.125rem;
    }

    .hero {
        min-height: 60vh;
    }

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

    .hero-content {
        padding: 2rem 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.25rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav a {
        border-right: none;
    }
}

/* ==================== UTILITY ==================== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

strong {
    font-weight: 700;
}
