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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #f5f2ed;
}

.hero {
    background: linear-gradient(rgba(245, 242, 237, 0.4), rgba(245, 242, 237, 0.4)),
                url('images/IMG-20250709-WA0019.jpg');
    background-size: cover;
    background-position: center 23%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: inherit;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

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

.hero-text {
    text-align: center;
    padding: 60px 0;
    background: #f5f2ed;
}

.hero-text h1 {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #8b4513;
}

.hero-text p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    color: #6b6b6b;
}

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

.services {
    padding: 80px 0;
    background: #ffffff;
}

.services h2 {
    font-family: 'Georgia', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #8b4513;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: #f5f2ed;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8ddd4;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.3s ease;
    font-size: 2.5rem;
}

.service-icon.boarding {
    background: #6b8e23;
}

.service-icon.riding {
    background: #6b8e23;
}

.service-icon.trauma {
    background: #6b8e23;
}

.service-card:hover .service-icon {
    background: #bc9a9a;
}

.service-card h3 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #8b4513;
}

.service-card p {
    color: #6b6b6b;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.expand-btn {
    background: #6b8e23;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: #87ceeb;
    transform: translateY(-2px);
}

.expand-btn.active {
    background: #bc9a9a;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #ffffff;
    border-radius: 10px;
    margin-top: 0;
}

.service-details.active {
    max-height: 500px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid #e8ddd4;
}

.details-content h4 {
    font-family: 'Georgia', serif;
    color: #8b4513;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.details-content ul {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px;
}

.details-content li {
    margin-bottom: 8px;
    color: #5a5a5a;
}

.details-content p {
    color: #6b6b6b;
    font-style: italic;
    text-align: left;
}

.gallery {
    padding: 80px 0;
    background: #f8f5f0;
}

.gallery h2 {
    font-family: 'Georgia', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #8b4513;
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.gallery-item {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 69, 19, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(139, 69, 19, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-left {
    left: 20px;
}

.gallery-nav-right {
    right: 20px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
    max-width: 1200px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #8b4513;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(139, 69, 19, 0.8);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(139, 69, 19, 1);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact {
    padding: 80px 0;
    background: #8b4513;
    color: #f5f2ed;
    text-align: center;
    margin-bottom: 30px;
}

.contact h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 1.1rem;
    padding: 15px 25px;
    background: rgba(245, 242, 237, 0.15);
    border-radius: 10px;
    min-width: 250px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(188, 154, 154, 0.3);
}

footer {
    background: #6b4423;
    color: #f5f2ed;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 20px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        max-width: 150px;
        max-height: 100px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-item {
        flex: 0 0 250px;
        height: 170px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-nav-left {
        left: 10px;
    }
    
    .gallery-nav-right {
        right: 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}