/* =================================
   Diamond ZJ Equine - Styles
   Based on Austin Equine design theme
   ================================= */

/* CSS Variables - Austin Equine Color Scheme */
:root {
    --primary-gold: #91905f;
    --primary-off-white: #e0e0ce;
    --background-dark: #111;
    --accent-cream: #f5f5eb;
    --text-light: #ffffff;
    --text-dark: #333333;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

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

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.contact-toggle {
    background-color: var(--primary-gold);
    color: var(--background-dark);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background-color: #a19f6f;
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
}

.floating-contact-buttons.active .contact-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-btn {
    background-color: var(--text-light);
    color: var(--background-dark);
    text-decoration: none;
    padding: 0.875rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed);
    white-space: nowrap;
    border: 2px solid var(--primary-gold);
}

.contact-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-gold);
    color: var(--text-light);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.contact-text small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.jacy-btn {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
}

.zach-btn {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
    .floating-contact-buttons {
        bottom: 20px;
        right: 20px;
    }

    .contact-toggle {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .contact-btn {
        padding: 0.75rem 1rem;
    }

    .contact-text {
        font-size: 0.85rem;
    }

    .contact-icon {
        font-size: 1.25rem;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--accent-cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background-color: var(--background-dark);
    padding: 0.5rem 0;
    padding-top: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-medium);
    overflow: visible;
}

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

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.logo img {
    height: 120px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    transition: all var(--transition-speed);
    margin-top: -25px;
    margin-bottom: -50px;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.9)) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.7));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--primary-off-white);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-speed);
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-off-white);
    margin: 3px 0;
    transition: all var(--transition-speed);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--background-dark) 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-background-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-background-container img.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.6);
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--primary-off-white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons - Austin Equine Style */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-off-white);
    border-color: var(--primary-off-white);
}

.btn-secondary:hover {
    background-color: var(--primary-off-white);
    color: var(--background-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Video Section */
.video-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--text-light);
    overflow: hidden;
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.video-background-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.video-background-container img.active {
    opacity: 0.15;
}

.video-section .container {
    position: relative;
    z-index: 2;
}

.video-section h2 {
    color: var(--background-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    background-color: #000;
    z-index: 2;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--primary-off-white);
}

.about-section h2 {
    color: var(--background-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--text-light);
    overflow: hidden;
}

.services-background-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.services-background-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.services-background-container img.active {
    opacity: 0.15;
}

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

.services-section h2 {
    color: var(--background-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--accent-cream);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--background-dark);
    margin-bottom: 0.5rem;
}

.service-provider {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.service-description {
    text-align: left;
    margin: 1.5rem 0;
    color: #555;
}

.service-card .btn {
    margin-top: 1rem;
}

/* Why Choose Section */
.why-choose-section {
    padding: 5rem 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.why-choose-section h2 {
    color: var(--primary-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--primary-off-white);
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--primary-off-white);
    overflow: hidden;
}

.contact-background-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.contact-background-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.contact-background-container img.active {
    opacity: 0.15;
}

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

.contact-section h2 {
    color: var(--background-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
}

.contact-card h3 {
    color: var(--background-dark);
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card .btn {
    margin-top: 1rem;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--background-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--primary-off-white);
    padding: 3rem 0 1rem;
}

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

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary-off-white);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-admin-link {
    color: #444;
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s;
}

.footer-admin-link:hover {
    color: var(--primary-gold);
}

/* Business Pages - Individual Pages for Zach & Jacy */
.business-hero {
    position: relative;
    height: 500px;
    background-color: var(--primary-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-dark);
    overflow: hidden;
}

.business-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.business-hero h1 {
    color: var(--background-dark);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.business-hero .hero-subtitle {
    color: #333;
}

.zach-hero .business-hero-background {
    background-image: url('./images/bg3.png');
}

.jacy-hero .business-hero-background {
    background-image: url('./images/bg2.png');
}

/* Desktop only - fixed parallax background */
@media (min-width: 1024px) {
    .business-hero-background {
        position: fixed;
        background-attachment: fixed;
    }
}

.about-business-section {
    padding: 5rem 0;
    background-color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

.business-intro strong {
    color: var(--primary-gold);
}

.detailed-services-section {
    padding: 5rem 0;
    background-color: var(--primary-off-white);
    position: relative;
    z-index: 1;
}

.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.detailed-service-card {
    background-color: var(--text-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.detailed-service-card .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detailed-service-card h3 {
    color: var(--background-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.benefits-section {
    padding: 5rem 0;
    background-color: var(--text-light);
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
}

.philosophy-section {
    padding: 5rem 0;
    background-color: var(--background-dark);
    position: relative;
    z-index: 1;
}

.philosophy-section h2 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 3rem;
}

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

.philosophy-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(145, 144, 95, 0.3);
    transition: all var(--transition-speed);
}

.philosophy-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold);
}

.philosophy-card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.philosophy-card p {
    color: var(--primary-off-white);
    line-height: 1.6;
}

.business-cta-section {
    padding: 5rem 0;
    background-color: var(--primary-gold);
    text-align: center;
    position: relative;
    z-index: 1;
}

.business-cta-section h2 {
    color: var(--background-dark);
    margin-bottom: 1rem;
}

.business-cta-section p {
    color: var(--background-dark);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Homepage Business Cards */
.business-cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.business-card-home {
    background-color: var(--text-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

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

.business-card-home h3 {
    color: var(--background-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.business-owner {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.business-card-home p {
    margin-bottom: 1.5rem;
    color: #555;
}

.business-card-home .btn {
    margin-top: 1rem;
}

/* Mustang Magic Page Styles */
.mustang-hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--background-dark) 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.mustang-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./images/Magic/IMG_5782.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.mustang-intro-section {
    padding: 5rem 0;
    background-color: var(--text-light);
}

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

.competitor-section {
    padding: 5rem 0;
    background-color: var(--primary-off-white);
}

.competitor-grid {
    max-width: 900px;
    margin: 2rem auto;
}

.competitor-card {
    background-color: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.competitor-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.competitor-info {
    padding: 2.5rem;
}

.competitor-info h3 {
    color: var(--background-dark);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.status.competing {
    background-color: #4CAF50;
    color: white;
}

.status.not-competing {
    background-color: #6495ED;
    color: white;
}

.not-competing-section {
    padding: 5rem 0;
    background-color: var(--text-light);
}

.legend-update {
    max-width: 900px;
    margin: 2rem auto;
    background-color: var(--primary-off-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.legend-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.legend-info {
    padding: 2.5rem;
}

.legend-info h3 {
    color: var(--background-dark);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.gallery-section {
    padding: 5rem 0;
    background-color: var(--background-dark);
}

.gallery-section h2 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 3rem;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-speed);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.support-section {
    padding: 5rem 0;
    background-color: var(--primary-gold);
    text-align: center;
}

.support-section h2 {
    color: var(--background-dark);
    margin-bottom: 1.5rem;
}

.support-content {
    max-width: 700px;
    margin: 0 auto;
}

.support-content p {
    font-size: 1.1rem;
    color: var(--background-dark);
    margin-bottom: 2rem;
}

.support-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blog / Training Updates Section */
.updates-section {
    padding: 4rem 0;
    background-color: var(--accent-cream);
}

.updates-grid {
    margin-top: 2rem;
}

.update-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-light);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.update-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.update-card-inner {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
}

.update-card-photos {
    flex-shrink: 0;
    width: 250px;
}

.update-card-photos img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.update-card-photos .update-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.update-card-photos .update-photo-grid img {
    height: 80px;
    border-radius: 6px;
}

.update-card-body {
    flex: 1;
    min-width: 0;
}

.update-card-body h3 {
    color: var(--background-dark);
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
}

.update-card-meta {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.update-card-body p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.no-updates-message {
    text-align: center;
    padding: 3rem;
    color: #888;
    font-size: 1.1rem;
    background: var(--text-light);
    border-radius: 15px;
}

/* Horse Cards - Horses for Sale Page */
.horse-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.horse-card {
    background-color: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
}

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

.horse-card.is-sold {
    opacity: 0.85;
}

.horse-card.is-sold:hover {
    transform: none;
}

.horse-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-off-white), #ccc);
}

.horse-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.horse-image-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-off-white), #c5c5b0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
    font-size: 1.1rem;
}

.horse-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), #a19f6f);
    color: var(--background-dark);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

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

.horse-card-body h3 {
    color: var(--background-dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.horse-posted-by {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.horse-details {
    list-style: none;
    margin: 0.75rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.horse-details li {
    font-size: 0.9rem;
    color: #555;
    padding: 0.2rem 0;
}

.horse-details li strong {
    color: var(--background-dark);
}

.horse-card-body > p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.75rem 0;
}

.horse-card-body .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* Sold Overlay */
.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.sold-banner {
    position: absolute;
    top: 30px;
    right: -45px;
    background: #c62828;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 3.5rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Horse hero background for rotating photos */
.horses-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.horses-hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.horses-hero-background img.active {
    opacity: 0.3;
}

.no-listings-message {
    text-align: center;
    padding: 3rem;
    color: #888;
    font-size: 1.1rem;
    background: var(--text-light);
    border-radius: 15px;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-dark);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-speed);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #333;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Mustang Magic Mobile Responsive */
    .mustang-hero {
        height: 400px;
    }

    .mustang-hero h1 {
        font-size: 2rem;
    }

    .mustang-hero .hero-subtitle {
        font-size: 1rem;
    }

    .competitor-image img,
    .legend-image img {
        height: auto;
        max-height: 400px;
    }

    .competitor-info,
    .legend-info {
        padding: 1.5rem;
    }

    .competitor-info h3,
    .legend-info h3 {
        font-size: 1.4rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: auto;
        max-height: 350px;
    }

    .intro-content,
    .support-content {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .mustang-intro-section,
    .competitor-section,
    .not-competing-section,
    .gallery-section,
    .support-section {
        padding: 3rem 0;
    }

    .support-buttons {
        flex-direction: column;
        align-items: center;
    }

    .competitor-card,
    .legend-update {
        margin: 1rem;
    }

    /* Update cards mobile */
    .update-card-inner {
        flex-direction: column;
    }

    .update-card-photos {
        width: 100%;
    }

    .update-card-photos img {
        height: 200px;
    }

    /* Horse cards mobile */
    .horse-listing-grid {
        grid-template-columns: 1fr;
    }

    .horse-image-container,
    .horse-image-placeholder {
        height: 220px;
    }

    .horse-details {
        grid-template-columns: 1fr;
    }

    /* Business pages mobile */
    .business-hero {
        height: 400px;
    }

    .business-hero h1 {
        font-size: 2rem;
    }

    .business-hero-background {
        position: absolute;
        background-attachment: scroll;
        opacity: 0.3;
    }

    .detailed-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .philosophy-content {
        grid-template-columns: 1fr;
    }

    .business-cards-section {
        grid-template-columns: 1fr;
    }

    .about-business-section,
    .detailed-services-section,
    .benefits-section,
    .philosophy-section,
    .business-cta-section {
        padding: 3rem 0;
    }

    .business-intro,
    .detailed-service-card,
    .philosophy-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

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

    .hero {
        height: 500px;
    }

    .service-card,
    .contact-card,
    .contact-form-container {
        padding: 1.5rem;
    }

    /* Mustang Magic Extra Small Screens */
    .mustang-hero {
        height: 350px;
    }

    .mustang-hero h1 {
        font-size: 1.75rem;
    }

    .mustang-hero .hero-subtitle {
        font-size: 0.95rem;
    }

    .competitor-image img,
    .legend-image img {
        height: auto;
        max-height: 300px;
    }

    .gallery-item img {
        height: auto;
        max-height: 250px;
    }

    .competitor-info h3,
    .legend-info h3 {
        font-size: 1.25rem;
    }

    .status {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .competitor-card,
    .legend-update {
        margin: 0.5rem;
    }

    .intro-content p,
    .support-content p {
        font-size: 0.95rem;
    }

    /* Business pages extra small */
    .business-hero h1 {
        font-size: 1.75rem;
    }

    .business-hero .hero-subtitle {
        font-size: 0.95rem;
    }

    .detailed-service-card h3 {
        font-size: 1.2rem;
    }

    .business-intro {
        font-size: 1rem;
    }
}
