/* ===================================
   HERMAN "BUTCH" RAMIK FOR MAYOR
   Main Stylesheet - Responsive Design
   =================================== */

/* CSS RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

/* BRAND COLORS */
:root {
    --navy-blue: #1B365D;
    --honor-gold: #FFD700;
    --transparency-white: #FFFFFF;
    --courage-red: #8B0000;
    --wisdom-gray: #C0C0C0;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E5E5E5;
    --shadow-light: rgba(27, 54, 93, 0.1);
    --shadow-medium: rgba(27, 54, 93, 0.2);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

a:hover {
    color: var(--honor-gold);
}

ul,
ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* LAYOUT CONTAINERS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: #f8f9fa;
}

/* HEADER & NAVIGATION */
header {
    background-color: var(--navy-blue);
    box-shadow: 0 2px 10px var(--shadow-medium);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    color: var(--transparency-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.logo .star {
    color: var(--honor-gold);
    margin: 0 0.5rem;
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: var(--transparency-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: var(--honor-gold);
    color: var(--navy-blue);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--transparency-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--navy-blue);
    box-shadow: 0 2px 10px var(--shadow-medium);
}

.mobile-nav ul {
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav li {
    margin: 0;
    text-align: center;
}

.mobile-nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2c4a6b 100%);
    color: var(--transparency-white);
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    color: var(--transparency-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--honor-gold);
    margin: 2rem auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CALL-TO-ACTION BUTTONS */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-primary,
.cta-secondary,
.cta-tertiary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.cta-primary {
    background-color: var(--honor-gold);
    color: var(--navy-blue);
    border-color: var(--honor-gold);
}

.cta-primary:hover {
    background-color: transparent;
    color: var(--honor-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.cta-secondary {
    background-color: transparent;
    color: var(--transparency-white);
    border-color: var(--transparency-white);
}

.cta-secondary:hover {
    background-color: var(--transparency-white);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.cta-tertiary {
    background-color: transparent;
    color: var(--transparency-white);
    border-color: transparent;
    text-decoration: underline;
}

.cta-tertiary:hover {
    color: var(--honor-gold);
}

/* INTRO SECTION */
.intro {
    padding: 4rem 0;
    text-align: center;
    background-color: #f8f9fa;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro .tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.intro .description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* CONTENT SECTIONS */
.content {
    padding: 4rem 0;
}

.content h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.content h3 {
    color: var(--navy-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content ul {
    margin-bottom: 2rem;
}

.content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.content li:last-child {
    border-bottom: none;
}

/* PLATFORM PILLARS */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pillar {
    background-color: var(--transparency-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--honor-gold);
}

.pillar h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.pillar p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.pillar ul {
    text-align: left;
    margin-left: 0;
}

/* FORMS */
form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--transparency-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--navy-blue);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--honor-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

button[type="submit"] {
    background-color: var(--navy-blue);
    color: var(--transparency-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: var(--honor-gold);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

/* TESTIMONIALS & QUOTES */
blockquote {
    background-color: #f8f9fa;
    border-left: 5px solid var(--honor-gold);
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--navy-blue);
    font-style: normal;
}

/* FOOTER */
footer {
    background-color: var(--navy-blue);
    color: var(--transparency-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--honor-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--honor-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--honor-gold);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

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

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

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

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

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

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

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

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

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

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.p-3 {
    padding: 3rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* RESPONSIVE DESIGN */

/* TABLET STYLES */
@media screen and (max-width: 768px) {

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }

    .mobile-nav.active {
        display: block;
    }

    /* Hero section */
    .hero {
        padding: 6rem 0 3rem;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary,
    .cta-tertiary {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    /* Grid adjustments */
    .pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Form adjustments */
    form {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* MOBILE STYLES */
@media screen and (max-width: 480px) {

    /* Container adjustments */
    .container {
        padding: 0 0.5rem;
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Header */
    .header-container {
        padding: 0.5rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    /* Hero section */
    .hero {
        padding: 5rem 0 2rem;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 200px;
    }

    /* Sections */
    .section {
        padding: 2rem 0;
    }

    .content {
        padding: 2rem 0;
    }

    /* Pillars */
    .pillar {
        padding: 1.5rem;
    }

    .pillar-icon {
        font-size: 2rem;
    }

    /* Forms */
    form {
        padding: 1rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        padding: 0.75rem;
    }

    /* Footer */
    footer {
        padding: 2rem 0 1rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* PRINT STYLES */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    header,
    footer,
    .cta-buttons,
    form {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }

    p,
    li {
        orphans: 3;
        widows: 3;
    }

    .content {
        padding: 0;
    }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    :root {
        --navy-blue: #000000;
        --honor-gold: #FFFF00;
        --text-dark: #000000;
        --border-color: #000000;
    }

    .hero {
        background: #000000;
    }

    button,
    .cta-primary,
    .cta-secondary {
        border: 2px solid #000000;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in-up,
    .fade-in {
        animation: none;
    }
}

/* FOCUS STYLES FOR ACCESSIBILITY */
*:focus {
    outline: 3px solid var(--honor-gold);
    outline-offset: 2px;
}

button:focus,
.cta-primary:focus,
.cta-secondary:focus,
.cta-tertiary:focus {
    outline: 3px solid var(--transparency-white);
    outline-offset: 2px;
}

/* LOADING STATES */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--honor-gold);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ERROR STATES */
.error {
    color: var(--courage-red);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.input-error {
    border-color: var(--courage-red) !important;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1) !important;
}

/* SUCCESS STATES */
.success {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.input-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}


/* === MOBILE NAVIGATION STYLES === */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        left: 1rem;
        z-index: 1001;
        background: transparent;
        border: none;
        font-size: 2rem;
        color: rgba(27,
                54,
                93,
                0.2);
        cursor: pointer;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 4rem;
        right: 0;
        background-color: var(--navy-blue);
        width: 100%;
        padding: 1rem;
        z-index: 1000;
    }

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

    .mobile-nav a {
        color: rgb(255, 255, 255);
        padding: 1rem;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav.desktop-only {
        display: none;
    }
}

/* Desktop view shows full nav */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: fixed !important;
    }

    nav.desktop-only {
        display: flex;
    }
}