/* 
 * Main Stylesheet for Mohave County Website
 * This file contains all the main styling for the website
 * Author: Mohave County Web Team
 * Last Updated: April 2025
 */

/* ===== GLOBAL STYLES ===== */
:root {
    /* Color Variables */
    --primary-color: #0056b3;
    --primary-dark: #004494;
    --primary-light: #3a7cc2;
    --secondary-color: #e67e22;
    --secondary-dark: #d35400;
    --accent-color: #2ecc71;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #dddddd;
    
    /* Typography */
    --font-main: 'Arial', sans-serif;
    --font-heading: 'Georgia', serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Container Width */
    --container-width: 1200px;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

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

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

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section Spacing */
.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Background Colors */
.bg-light {
    background-color: var(--bg-light);
}

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

.bg-secondary {
    background-color: var(--secondary-color);
    color: white;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-outline, .btn-text {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0;
    border: none;
    position: relative;
}

.btn-text::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover::after {
    transform: translateX(5px);
}

/* ===== HEADER ===== */
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: var(--spacing-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
}

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

.desktop-nav li {
    margin-left: var(--spacing-lg);
}

.desktop-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--primary-color);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
}

.mobile-menu-button span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--bg-white);
    padding: var(--spacing-md) 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: var(--spacing-md);
}

.mobile-nav a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-color);
    font-weight: 500;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    height: 600px;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* ===== FEATURED DESTINATIONS ===== */
.destinations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.destination-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.destination-image {
    height: 200px;
    position: relative;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-content {
    padding: var(--spacing-md);
}

.destination-content h3 {
    margin-bottom: var(--spacing-sm);
}

/* ===== AD BADGE ===== */
.ad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
}

/* ===== AD BANNER ===== */
.ad-banner {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-lg) 0;
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .ad-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.ad-text h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.ad-text p {
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .ad-text p {
        margin-bottom: 0;
    }
}

/* ===== BUSINESS SPOTLIGHTS ===== */
.business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.business-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.business-image {
    height: 200px;
    position: relative;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-content {
    padding: var(--spacing-md);
}

.business-content h3 {
    margin-bottom: var(--spacing-xs);
}

.business-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

/* ===== UPCOMING EVENTS ===== */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    position: relative;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-md);
    min-width: 80px;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}

.event-content {
    padding: var(--spacing-md);
    flex-grow: 1;
}

.event-content h3 {
    margin-bottom: var(--spacing-xs);
}

.event-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

/* ===== LATEST NEWS ===== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: var(--spacing-md);
}

.news-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.news-content h3 {
    margin-bottom: var(--spacing-sm);
}

/* ===== EXPLORE SECTION ===== */
.explore-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 576px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .explore-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.explore-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.explore-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
}

.explore-icon img {
    width: 100%;
    height: 100%;
}

.explore-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.explore-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== NEWSLETTER SIGNUP ===== */
.newsletter-signup {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xl) 0;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .newsletter-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.newsletter-text {
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .newsletter-text {
        margin-bottom: 0;
        margin-right: var(--spacing-lg);
    }
}

.newsletter-text h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
}

@media (min-width: 576px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    margin-bottom: var(--spacing-sm);
    width: 100%;
}

@media (min-width: 576px) {
    .newsletter-form input {
        margin-bottom: 0;
        margin-right: var(--spacing-sm);
    }
}

.newsletter-form button {
    width: 100%;
}

@media (min-width: 576px) {
    .newsletter-form button {
        width: auto;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #333;
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 576px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 2fr 1fr;
    }
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: white;
}

.footer-nav-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .footer-nav-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-nav h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-nav h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: var(--spacing-sm);
}

.footer-nav a {
    color: #ccc;
}

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

.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
    color: #ccc;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links img {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    margin-bottom: var(--spacing-md);
    color: #999;
}

@media (min-width: 768px) {
    .footer-bottom p {
        margin-bottom: 0;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 var(--spacing-sm);
}

.footer-links a {
    color: #999;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* ===== SECTION FOOTER ===== */
.section-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.source-link {
    font-size: 0.875rem;
    font-style: italic;
}
.resources-list {
    list-style: none;
    padding: 0;
}
.resources-list li {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}
