/* Move the Yard - Stylesheet */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #292524;
    background-color: #FEFCE8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1c1917;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0D9488;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0f766e;
}

strong {
    font-weight: 600;
    color: #1c1917;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(185, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.main-nav.visible {
    transform: translateY(0);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-weight: 900;
    font-size: 1.125rem;
    color: #FEFCE8;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-brand:hover {
    color: #FEF3C7;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #FEF3C7;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
    color: #FEFCE8;
    padding: 5rem 0 3rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,\
        <svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg">\
            <circle cx="30" cy="30" r="1.5" fill="%23FEFCE8" fill-opacity="0.1"/>\
        </svg>');
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: #FEFCE8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: #FEF3C7;
}

.hero-description {
    font-size: 1.0625rem;
    max-width: 650px;
    margin: 0 0 2rem;
    line-height: 1.7;
    color: #FEF3C7;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background-color: #0D9488;
    color: #FEFCE8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #FEFCE8;
}

.btn-secondary {
    background-color: transparent;
    color: #FEFCE8;
    border: 2px solid #FEFCE8;
}

.btn-secondary:hover {
    background-color: #FEFCE8;
    color: #B91C1C;
    border-color: #FEFCE8;
}

/* Yard Photo Section */
.yard-photo {
    background-color: #1c1917;
    padding: 2rem 0 0;
}

.yard-figure {
    margin: 0;
}

.yard-img {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 0 auto;
}

.yard-figure figcaption {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem 1rem;
    font-size: 0.9375rem;
    color: #a8a29e;
    font-style: italic;
    text-align: left;
}

/* Opportunity Section */
.opportunity {
    background-color: #ffffff;
}

.opportunity h2 {
    color: #B91C1C;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.info-box {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-left: 4px solid #B91C1C;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(41, 37, 36, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #78716c;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item span {
    font-weight: 600;
    color: #1c1917;
}

.note {
    font-size: 0.875rem;
    color: #78716c;
    font-style: italic;
}

.note a {
    color: #0D9488;
    text-decoration: underline;
}

.note a:hover {
    color: #0f766e;
}

/* Division Map */
.division-map {
    margin-top: 2.5rem;
}

.division-map h3 {
    font-size: 1.5rem;
    color: #B91C1C;
    margin-bottom: 0.5rem;
}

.division-map > p {
    color: #57534e;
    margin-bottom: 1rem;
}

.map-img {
    width: 100%;
    max-width: 800px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    cursor: zoom-in;
    transition: box-shadow 0.2s ease;
}

.map-img:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.division-map .note {
    margin-top: 1rem;
}

/* Petition Section */
.petition {
    background: linear-gradient(180deg, #FEF9C3 0%, #FEFCE8 100%);
    padding-bottom: 2.5rem;
}

.petition h2 {
    color: #B91C1C;
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 600px;
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
    color: #57534e;
    line-height: 1.6;
}

.petition-counter {
    text-align: center;
    margin: 0 0 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
}

.counter-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: #FEFCE8;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.counter-label {
    display: block;
    font-size: 1.125rem;
    color: #FEF3C7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Forms */
.form {
    max-width: 100%;
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    color: #44403c;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e7e5e4;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background-color: #fafaf9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0D9488;
    background-color: #ffffff;
}

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

.checkbox-group {
    margin-bottom: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.form button[type="submit"] {
    width: 100%;
    margin-top: 0.75rem;
}

/* Thank You Messages */
.thank-you {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border-left: 4px solid #0D9488;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thank-you h3 {
    color: #065f46;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.thank-you p {
    color: #047857;
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: #FEFCE8;
    padding: 2.5rem 0 3rem;
}

.contact h2 {
    color: #B91C1C;
    margin-bottom: 0.5rem;
}

.contact .section-intro {
    margin-bottom: 1rem;
}

.contact-email .btn {
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
    letter-spacing: 0.01em;
}

/* Footer */
.footer {
    background-color: #292524;
    color: #d6d3d1;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fafaf9;
    margin-bottom: 1rem;
}

.footer a {
    color: #0D9488;
}

.footer a:hover {
    color: #14b8a6;
}



/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    section {
        padding: 3rem 0;
    }

    .form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .counter-number {
        font-size: 3rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .lead {
        font-size: 1.0625rem;
    }

    .section-intro {
        font-size: 0.9375rem;
    }

    .nav-brand {
        font-size: 0.875rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .counter-number {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you {
    animation: fadeIn 0.4s ease;
}

/* Loading state for buttons */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #0D9488;
    outline-offset: 2px;
}
