﻿/* ============================================
   MyFortDodge.com - Main Stylesheet
   Clean, Fast, Modern HTML Site
   ============================================ */

/* ============================================
   CUSTOM FONTS
   ============================================ */
@font-face {
    font-family: 'Liorah';
    src: url('../fonts/Liorah-BT-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1E90FF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0066CC;
}

/* ============================================
   BRAND COLORS
   ============================================ */
:root {
    --gold: #CDB778;
    --olive: #7A8450;
    --black: #000000;
    --white: #FFFFFF;
    --blue: #1E90FF;
    --light-blue: #87CEEB;
    --gray: #f5f5f5;
    --dark-gray: #333;
}

/* ============================================
   LAYOUT STRUCTURE
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: var(--black);
    color: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links span {
    font-size: 14px;
    margin-right: 10px;
}

.social-links a {
    color: var(--white);
    font-size: 20px;
    transition: color 0.3s ease;
}

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

.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 16px;
    background: var(--blue);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #0066CC;
    transform: translateY(-1px);
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    background: var(--black);
    border-top: 1px solid #333;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
}

nav li {
    position: relative;
}

nav a {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
    color: #FFFFFF !important;
}

.slide-content p {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    color: #FFFFFF;
}

.slide-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #00ccff;
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-transform: none;
}

.slide-btn:hover {
    background: #00b8e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    color: #FFFFFF !important;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--gold);
    transform: scale(1.2);
}

/* ============================================
   MAIN CONTENT SECTIONS
   ============================================ */
.section {
    padding: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    padding: 15px 20px;
    background: var(--blue);
    border-radius: 4px;
    text-align: center;
}

.section-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

/* ============================================
   CARDS & CONTENT BLOCKS
   ============================================ */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* About MyFortDodge - Black Box Style (WordPress Original) */
.about-quote {
    background: #000;
    color: #fff;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 30px 0;
    overflow: hidden;
}

.about-quote-image {
    flex: 0 0 33%;
    background: #8B9556;
}

.about-quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
}

.about-quote-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-quote-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #fff;
}

.about-quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-quote-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.about-quote-name {
    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.about-quote-title {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Indie Music Room Section - WordPress Original Style */
.imr-section {
    background: #fff;
    padding: 0;
    border-radius: 0;
    margin: 30px 0;
}

.imr-section h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-gray);
    font-weight: 700;
    padding: 20px 0;
}

.imr-content {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: #f0f0f0;
}

.imr-image {
    flex: 0 0 66%;
}

.imr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.imr-text {
    flex: 1;
    padding: 40px 30px;
    background: #fff;
}

.imr-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
    font-family: Georgia, serif;
}

.imr-text strong {
    color: var(--dark-gray);
    font-weight: 700;
}

.imr-text a {
    color: var(--blue);
    font-weight: normal;
}

.imr-links {
    display: none;
}

/* Alexa Three-Column Cards - WordPress Original Style */
.alexa-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.alexa-card {
    background: #f5f5f5;
    border-radius: 0;
    padding: 30px 25px;
    text-align: left;
    transition: none;
}

.alexa-card:hover {
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}

.alexa-card h3 {
    color: #00ccff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 1.4;
}

.alexa-card-image {
    margin: 20px 0;
}

.alexa-card-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
}

.alexa-card-image iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.alexa-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
    font-family: Georgia, serif;
    text-align: left;
}

.alexa-card strong {
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

/* Responsive adjustments for About sections */
@media (max-width: 968px) {
    .about-quote {
        flex-direction: column;
    }
    
    .about-quote-image {
        flex: 0 0 auto;
        height: 300px;
    }
    
    .imr-content {
        flex-direction: column;
    }
    
    .imr-image {
        flex: 0 0 100%;
    }
    
    .alexa-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.widget {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}

.radio-player {
    background: var(--gray);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.radio-player iframe {
    width: 100%;
    height: 614px;
    border: none;
    border-radius: 4px;
}

/* ============================================
   NEWS GRID (RSS FEED)
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.news-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.news-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.news-date {
    font-style: italic;
}

.news-link {
    color: var(--blue);
    font-weight: 600;
}

/* ============================================
   WEATHER LAYOUT
   ============================================ */
.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

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

.weather-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.weather-item h3 {
    font-size: 18px;
    color: var(--dark-gray);
    margin-top: 10px;
}

/* ============================================
   TOCKIFY CALENDAR
   ============================================ */
.calendar-container {
    margin: 30px 0;
    min-height: 600px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #999;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        display: none;
    }
    
    nav ul.mobile-open {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-top {
        flex-wrap: wrap;
    }
    
    .logo img {
        height: 50px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden {
    display: none;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

.loading::after {
    content: '...';
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
