/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-display: swap;
}



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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    background: white;
    color: var(--text-color);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/bg.svg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.logo {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.horse-image {
    max-width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.products {
    padding: 5rem 0;
    text-align: center;
}

.products h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.products p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
    padding: 5rem 0;
    background-color: var(--light-bg);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.contact h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

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

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 20px;
    line-height: 1.8;
}

/* Desktop logo alignment for legal pages */
@media (min-width: 769px) {
    /* Target the header that contains the logo */
    .container > header {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .container > header .nav-container {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 2rem;
    }
    
    .container > header .nav-container .logo-link {
        margin-right: 0;
    }
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    padding: 2rem 0;
    background-color: var(--white);
    text-align: center;
}

.legal-links {
    margin-bottom: 1rem;
}

.legal-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

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

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

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

    .hero-description {
        font-size: 1rem;
    }

    .social-icons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }

    /* Legal pages mobile styling */
    .legal-content {
        margin: 2rem auto;
        padding: 0 15px;
    }

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

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }
} 