/* CSS Variables for Easy Customization */
:root {
    --burgundy: #800020;
    --burgundy-dark: #5c0017;
    --burgundy-light: #a6002b;
    --cream: #f5f5dc;
    --gold: #d4af37;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #666666;
    --light-gray: #f8f8f8;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

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

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-cta-mobile {
    display: none;
}

/* Buttons */
.cta-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn.primary {
    background: var(--burgundy);
    color: var(--white);
}

.cta-btn.primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 0, 32, 0.3);
}

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

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

.cta-btn-nav {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--burgundy);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-nav:hover {
    background: var(--burgundy-light);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

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

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

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

.section-title {
    text-align: center;
    color: var(--burgundy);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

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

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Intro Section */
.intro {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.intro .container {
    max-width: 900px;
}

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

.intro-content h2 {
    color: var(--burgundy);
    margin-bottom: var(--spacing-md);
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
}

/* Social Links */
.social-links {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.social-links h4 {
    color: var(--burgundy);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--burgundy);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--burgundy);
    color: var(--white);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon span {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-member {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(128, 0, 32, 0.2);
}

.team-member-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gray) 100%);
}

/* Individual team member photo positions */
.team-sienna-moreau { object-position: center 20% !important; }
.team-vera-tjallingii { object-position: center 30% !important; }

.team-member-info {
    padding: var(--spacing-md);
}

.team-member-name {
    color: var(--burgundy);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.team-member-role {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.team-member-bio {
    color: var(--gray);
    line-height: 1.7;
}

/* Horses Section */
.horses {
    background: var(--white);
}

.horses-category {
    margin-bottom: var(--spacing-xl);
}

.horses-category h3 {
    color: var(--burgundy);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.category-intro {
    text-align: center;
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

.horses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.horse-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.horse-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 6px 25px rgba(128, 0, 32, 0.15);
}

.horse-image-container {
    position: relative;
    overflow: hidden;
}

.horse-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 50%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gray) 100%);
}

/* Individual horse photo positions */
.horse-kodak-moment { object-position: center 50%; }
.horse-royal-bliss-jr { object-position: center 1% !important; }
.horse-dc-love-affair { object-position: center 52%; }
.horse-diva { object-position: center 44%; }

.sold-banner {
    position: absolute;
    top: 30px;
    right: -40px;
    background: var(--burgundy);
    color: var(--white);
    padding: 10px 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.horse-info {
    padding: var(--spacing-md);
}

.horse-name {
    color: var(--burgundy);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.horse-breed {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.horse-description {
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
}

.horse-details {
    background: var(--light-gray);
    padding: var(--spacing-sm);
    border-radius: 6px;
    margin-top: var(--spacing-sm);
}

.horse-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
}

.horse-detail:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--black);
}

.detail-value {
    color: var(--gray);
}

/* Contact Section */
.contact {
    background: var(--light-gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--black);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: var(--spacing-sm);
    border-radius: 6px;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.sponsor-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--gold) 0%, #c9a227 100%);
    color: var(--black);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.sponsor-banner-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sponsor-banner-close:hover {
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    color: var(--burgundy);
    margin-bottom: var(--spacing-sm);
}

.info-card p {
    color: var(--gray);
    margin-bottom: var(--spacing-xs);
}

.sponsor-card {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: var(--white);
}

.sponsor-card h4 {
    color: var(--gold);
}

.sponsor-card p {
    color: var(--cream);
}

.sponsor-card .cta-btn.secondary {
    margin-top: var(--spacing-sm);
    width: 100%;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.footer p {
    margin-bottom: var(--spacing-xs);
    color: var(--cream);
}

.footer-links {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-divider {
    color: var(--gray);
    margin: 0 var(--spacing-sm);
    font-size: 0.75rem;
}

@media (max-width: 640px) {
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .footer-divider {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        gap: 1rem;
    }

    .cta-btn-nav {
        display: none;
    }

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

    .hero-content p {
        font-size: 1.25rem;
    }

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .nav-cta-mobile {
        display: block;
        margin-top: 1rem;
        border-bottom: none !important;
    }

    .nav-cta-mobile .nav-link {
        background: var(--burgundy);
        padding: 1rem;
        border-radius: 6px;
        text-align: center;
        font-weight: 600;
    }

    .nav-cta-mobile .nav-link:hover {
        background: var(--burgundy-light);
    }

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

    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    section {
        padding: var(--spacing-lg) 0;
    }
}
