:root {
    --primary-color: #1a1e23;
    --secondary-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --accent-color: #d4af37;
    /* Subtle metallic gold for legacy feel */
    --accent-hover: #bda03c;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-sans);
}

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

.btn-primary:hover {
    background-color: #2a3138;
    border-color: #2a3138;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    background-color: transparent;
    padding: 30px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    flex: 1;
}

.nav-links.left-links {
    justify-content: flex-end;
}

.nav-links.right-links {
    justify-content: flex-start;
}

.nav-links a {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.logo {
    margin: 0 50px;
}

.header-logo {
    height: 180px;
    display: block;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/equine_hero_1772655435769.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 150px;
    /* offset for navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: #ffffff;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Split Layouts */
section {
    padding: 100px 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.image-wrapper {
    flex: 1;
}

.content-wrapper {
    flex: 1;
}

.rounded-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.content-wrapper p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--primary-color);
}

.check-list li svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    margin-right: 15px;
}

/* Testimonials */
.testimonials {
    background-color: #ffffff;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-card .author strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.testimonial-card .author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA */
.cta {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 100px 0;
}

.cta h2 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #111418;
    color: #ffffff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 25px;
}

.filter-invert {
    /* To make the black logo white on dark background */
    filter: invert(1);
    opacity: 0.9;
}

.footer-col p {
    color: #a0aab2;
    font-size: 0.95rem;
}

.footer-col h4 {
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0aab2;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6c7a87;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {

    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: 40px;
    }

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

@media (max-width: 768px) {

    .features-grid,
    .testimonials-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .header-logo {
        height: 120px;
    }

    .logo {
        margin: 0;
    }

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

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

    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 60px 0;
    }
}