/*
Theme Name: DWC Equestrian Therapy
Theme URI: https://dwccounselling.com
Author: DWC Counselling
Author URI: https://dwccounselling.com
Description: A beautiful, modern WordPress theme designed specifically for equestrian therapy services with integrated custom post types and shortcodes.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dwc-therapy
Tags: therapy, equestrian, counselling, health, wellness
*/

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1e3a2e;
    --primary-medium: #2d5a3d;
    --primary-light: #4a8a5a;
    --accent-green: #a8d8a8;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #666;
    --border-color: #e8f5e8;
    --shadow-light: rgba(30, 58, 46, 0.1);
    --shadow-medium: rgba(30, 58, 46, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: 0.5px;
}

a {
    color: var(--primary-medium);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo {
    font-size: 2rem;
    font-weight: 300;
    color: #e8f5e8;
    letter-spacing: 1px;
}

.site-logo a {
    color: #e8f5e8;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #e8f5e8;
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
}

.main-navigation a:hover {
    color: var(--accent-green);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, rgba(30, 58, 46, 0.15), rgba(45, 90, 61, 0.20));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 30vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 46, 0.2), rgba(45, 90, 61, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-medium));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(45, 90, 61, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.content-section {
    padding: 2rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-medium);
    margin: 3rem 0 1.5rem 0;
    letter-spacing: 0.3px;
}

.section-description {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    color: var(--text-medium);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ============================================
   CARD STYLES
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3.5rem 0;
}

.card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border-top: 4px solid var(--primary-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.card h3, .card h4 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    letter-spacing: 0.3px;
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card ul {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.card ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   HORSE CARDS
   ============================================ */

.horses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.horse-card {
    background: var(--background-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.horse-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.horse-image {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e8, #d4e7d4);
}

.horse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.horse-info {
    padding: 2rem;
}

.horse-info h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.horse-breed {
    color: var(--primary-medium);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.horse-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.horse-specialties span {
    background: linear-gradient(135deg, #e8f5e8, #d4e7d4);
    color: var(--primary-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #c4d7c4;
}

/* ============================================
   TESTIMONIAL STYLES
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-light);
    position: relative;
    border-left: 4px solid var(--primary-medium);
}

.testimonial-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8fbf8, var(--background-white));
    border-left: 4px solid var(--primary-dark);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-medium);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================================
   FEATURED HORSE SECTION
   ============================================ */

.featured-horse-section {
    background: linear-gradient(135deg, #f8fbf8, var(--background-white));
    padding: 3rem;
    border-radius: 16px;
    margin: 3rem 0;
    border: 2px solid var(--border-color);
    position: relative;
}

.featured-horse-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.featured-horse-image {
    position: sticky;
    top: 2rem;
}

.featured-horse-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-light);
    margin-top:30px;
}

.featured-horse-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.featured-horse-text p:last-child {
    border-left: 4px solid var(--primary-medium);
    padding-left: 2rem;
    font-weight: 400;
    color: var(--primary-medium);
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, #1a2f22 100%);
    color: white;
    margin-top: 5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 5rem 0 3rem 0;
    align-items: start;
}

.footer-cta h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #e8f5e8;
    margin-bottom: 1.5rem;
}

.footer-cta p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    color: #e8f5e8;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-contact-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.footer-contact-item h4 {
    color: #e8f5e8;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #e8f5e8;
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .main-navigation ul {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cards-grid,
    .horses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-horse-content {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }
}