/* DESIGN SYSTEM: GALIARA360 - MODERN HERITAGE */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-light: #F8F9FA;
    --bg-dark: #1A1C20;
    --accent: #D81159;
    --text-dark: #1A1C20;
    --text-light: #F8F9FA;
    --gray-medium: #6c757d;
    --white: #ffffff;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1200px;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* TOP BAR */
.top-bar {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar-links a {
    margin-left: 1.5rem;
}

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

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-dark);
    line-height: 1;
}

.logo-text span {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* LANGUAGE SELECTOR */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    opacity: 0.6;
    transition: var(--transition);
}

.lang-btn:hover {
    opacity: 1;
    color: var(--accent);
}

.lang-btn.active {
    opacity: 1;
    color: var(--white);
    background-color: var(--accent);
}

.lang-divider {
    color: var(--gray-medium);
    font-size: 0.8rem;
    user-select: none;
    opacity: 0.5;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

/* HERO SECTION */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('assets/hero_rider_horse.jpg');
    background-size: cover;
    background-position: center 15%;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #b00e49;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(216, 17, 89, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--bg-dark);
}

/* SERVICES GRID */
.services {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

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

.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-img.elite-img {
    height: auto;
    aspect-ratio: 1024 / 564;
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* FACILITIES TEASER */
.facilities-teaser {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.facilities-content {
    max-width: 600px;
}

.facilities-teaser h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.facilities-teaser p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* PRICING TABLE */
.pricing-section {
    padding: 8rem 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    border: 1px solid #eee;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--accent);
}

.pricing-card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

.price span {
    font-size: 1rem;
    color: var(--gray-medium);
    font-weight: 400;
}

.pricing-features {
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
}

.pricing-notice {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(216, 17, 89, 0.05);
    border-left: 4px solid var(--accent);
    font-weight: 600;
    text-align: center;
}

/* DISCIPLINES ZIG-ZAG */
.disciplines-section {
    padding: 8rem 0;
}

.zigzag-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.zigzag-item:nth-child(even) .zigzag-img {
    order: 2;
}

.zigzag-img {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.zigzag-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zigzag-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* EVENTS SECTION */
.events-section {
    padding: 8rem 0;
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: rgba(216, 17, 89, 0.1);
}

.event-img-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-img {
    transform: scale(1.06);
}

.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(216, 17, 89, 0.25);
    text-transform: uppercase;
    z-index: 2;
}

.event-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.event-desc {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.event-meta {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.2rem;
    margin-bottom: 1.5rem;
}

.event-detail {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-detail::before {
    content: '•';
    color: var(--accent);
    font-size: 1.2rem;
}

.event-btn {
    text-align: center;
    width: 100%;
    font-size: 0.85rem;
    padding: 0.9rem 1.5rem;
    border-radius: 4px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* FOOTER */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 6rem 0 2rem;
    text-align: center;
}

.footer-main h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.contact-item h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.contact-item a {
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .nav-links {
        gap: 0.8rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .logo-text {
        font-size: 1.6rem;
    }
    .logo img {
        height: 50px;
    }
}

@media (max-width: 992px) {
    .zigzag-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .zigzag-item:nth-child(even) .zigzag-img {
        order: 0;
    }
    .zigzag-img {
        height: 350px;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
}
