/*
 * Double J Quarter Horses - Static Site Styles
 * Based on Inspiro WordPress Theme
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005a9c;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-branding h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #222;
}

.site-description {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #007acc;
    border-bottom-color: #007acc;
}

/* Hero Section - Sunset Theme */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    /* Warm sunset gradient fallback if no image is set */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffd89b 100%);
    /* Background image settings - single centered image, no repeat */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    animation: subtleGlow 4s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.05);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Warm sunset overlay - adjust opacity to see more of the background image */
    background: linear-gradient(
        to bottom,
        rgba(255, 94, 77, 0.3) 0%,
        rgba(245, 142, 96, 0.3) 25%,
        rgba(247, 183, 51, 0.4) 50%,
        rgba(232, 93, 117, 0.3) 75%,
        rgba(138, 35, 135, 0.4) 100%
    );
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.7), 0 0 20px rgba(255,255,255,0.3);
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Main Content */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-area {
    max-width: 800px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #222;
}

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

.horse-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.horse-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.horse-card-content {
    padding: 1.5rem;
}

.horse-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.horse-card p {
    color: #666;
    line-height: 1.6;
}

/* Entry Content */
.entry-content {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

.entry-content h1 {
    font-size: 2rem;
}

.entry-content h2 {
    font-size: 1.75rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content strong {
    font-weight: 600;
    color: #222;
}

.entry-content em {
    font-style: italic;
}

.entry-content img {
    margin: 2rem auto;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.site-footer p {
    margin: 0.5rem 0;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .main-navigation {
        margin-top: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

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

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

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