/* --- VARIABLES & GLOBAL STYLES --- */
:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-200: #e7e5e4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-700: #44403c;
    --color-stone-800: #292524;
    --color-stone-900: #1c1917;

    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-amber-700: #b45309;
    
    --color-white: #ffffff;
    --color-black: #000000;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-stone-50);
    color: var(--color-stone-800);
    line-height: 1.6;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--color-amber-700);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-amber-500);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* --- HEADER & NAVIGATION --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-stone-900);
    color: var(--color-stone-100);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-bottom: 4px solid var(--color-amber-700);
}

.top-bar {
    display: none; /* Hidden on mobile by default */
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--color-stone-700);
    color: var(--color-stone-400);
}

.top-bar-contact span, .top-bar-social a {
    margin-right: 1.5rem;
}

#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-amber-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    border: 2px solid var(--color-stone-200);
    transition: background-color 0.3s;
}
.logo:hover .logo-icon { background-color: var(--color-amber-600); }

.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-stone-50);
    transition: color 0.3s;
}
.logo:hover .logo-title { color: var(--color-amber-500); }
.logo-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-stone-400);
}

.nav-links {
    display: none;
    gap: 1.25rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-stone-300);
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--color-amber-500);
}

.nav-links a.active {
    color: var(--color-amber-500);
    border-bottom-color: var(--color-amber-500);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--color-stone-300);
    cursor: pointer;
    display: none;
    padding: 0.5rem;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
}

.mobile-menu {
    display: none;
    background-color: var(--color-stone-800);
    border-top: 1px solid var(--color-stone-700);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    z-index: 1001;
    overflow-y: auto;
    max-height: calc(100vh - 100%);
}
.mobile-menu.open { 
    display: block;
}
.mobile-menu ul { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-stone-300);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-height: 54px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--color-amber-500);
    background-color: rgba(245, 158, 11, 0.1);
}

/* Mobile Cart Icon Styles */
.mobile-cart-icon {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.3s ease;
}
.mobile-menu a:hover .mobile-cart-icon,
.mobile-menu a:active .mobile-cart-icon {
    transform: scale(1.1);
    stroke: var(--color-amber-500);
}
.mobile-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.4rem;
    background-color: var(--color-amber-500);
    color: var(--color-white);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* --- MAIN CONTENT --- */
main {
    padding-top: 8rem; /* Adjusted for mobile header */
}

.page-content {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    main {
        padding-top: 7rem; /* Slightly reduced for mobile */
    }
    
    .page-content {
        padding-top: 2rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.25rem;
    color: var(--color-stone-500);
    max-width: 40rem;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: transform 0.2s, background-color 0.3s, color 0.3s;
    cursor: pointer;
    border: none;
    text-decoration: none;
    min-height: 44px; /* Minimum touch target size for mobile */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.btn-primary { background-color: var(--color-amber-700); color: var(--color-white); border: 2px solid var(--color-amber-700); }
.btn.btn-primary:hover { background-color: var(--color-amber-600); }
.btn.btn-secondary { background-color: transparent; color: var(--color-white); border: 2px solid var(--color-white); }
.btn.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); }
.btn.btn-dark { background-color: var(--color-stone-800); color: var(--color-white); border: 2px solid var(--color-stone-800); }
.btn.btn-dark:hover { background-color: var(--color-stone-700); }
.btn.btn-light { background-color: var(--color-white); color: var(--color-stone-900); border: 2px solid var(--color-white); }
.btn.btn-light:hover { background-color: var(--color-amber-500); color: var(--color-white); border-color: var(--color-amber-500); }
.btn.btn-full { width: 100%; text-align: center; }

.link-styled {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-amber-700);
    padding-bottom: 0.25rem;
}
.link-styled:hover { color: var(--color-stone-800); }

/* --- HOME PAGE SPECIFIC --- */
.hero-slider {
    position: relative;
    height: 500px;
    background-color: var(--color-stone-900);
    overflow: hidden;
    color: var(--color-white);
}
.hero-slider .slides .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slider .slides .slide.active { opacity: 1; }
.hero-slider .slides .slide .slide-content { display: none; } /* Hide original text */

/* Optimized slider image loading */
.hero-slider .slides .slide.loaded {
    background-image: var(--slide-bg-image);
}

.hero-slider .slides .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    pointer-events: none;
}

/* Responsive slider adjustments */
@media (min-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 600px;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 2;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    position: relative;
    z-index: 3;
    padding: 1rem;
}
.hero-content h1 {
    font-size: 3rem; /* Adjusted for mobile */
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.hero-content p {
    font-family: var(--font-serif);
    font-size: 1.5rem; /* Adjusted for mobile */
    font-weight: 700;
    color: var(--color-amber-500);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background-color: rgba(0,0,0,0.2);
    color: rgba(255,255,255,0.5);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}
.slider-control:hover { background-color: rgba(0,0,0,0.4); color: var(--color-white); }
.slider-control.prev { left: 1rem; }
.slider-control.next { right: 1rem; }

.info-grid { background-color: var(--color-stone-800); color: var(--color-stone-200); }
.info-grid .container { display: grid; grid-template-columns: 1fr; }
.info-grid .info-card {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-stone-700);
    transition: background-color 0.3s;
}
.info-grid .info-card:last-child { border-bottom: none; }
.info-grid .info-card:hover { background-color: var(--color-stone-700); }
.info-grid .info-card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--color-white); margin-bottom: 0.5rem; }
.info-grid .info-card p { color: var(--color-stone-400); font-size: 0.875rem; }

.welcome-section { padding: 5rem 0; background-color: var(--color-stone-50); }
.welcome-section .subtitle { color: var(--color-amber-700); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; }
.welcome-section h2 { font-size: 2.5rem; margin: 1rem 0 2rem; }
.welcome-section .lead { font-size: 1.15rem; color: var(--color-stone-500); max-width: 40rem; margin: 0 auto 2.5rem; }

.sponsors-preview { padding: 5rem 0; background-color: var(--color-stone-100); }
.sponsors-preview h2 { margin-bottom: 3rem; font-size: 2.5rem; }
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    opacity: 0.7;
    margin-bottom: 3rem;
}
.sponsors-grid .sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6rem;
    background-color: var(--color-white);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 1rem;
    font-weight: 700;
    color: var(--color-stone-400);
}

/* --- ABOUT PAGE --- */
.history-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}
.history-image img { border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); width: 100%;}
.history-text h2 { margin-bottom: 1rem; }
.history-text p { margin-bottom: 1rem; color: var(--color-stone-500); }

.directors-section {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--color-stone-200);
}
.directors-section h2 { text-align: center; margin-bottom: 2.5rem; }
.directors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.director-card {
    padding: 1rem;
    border-bottom: 1px solid var(--color-stone-100);
    text-align: center;
}
.director-card h3 {
    color: var(--color-amber-700);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.director-card p { font-family: var(--font-serif); font-size: 1.25rem; }
.directors-note {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    color: var(--color-stone-500);
    font-size: 0.875rem;
}

/* --- EVENTS PAGE --- */
.events-list { display: flex; flex-direction: column; gap: 1.5rem; }
.event-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 8px solid var(--color-amber-700);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.event-card:hover { box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.event-date-box {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-stone-100);
    padding: 1.5rem;
    text-align: center;
}
.event-type { color: var(--color-amber-700); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; }
.event-day { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; line-height: 1; margin: 0.5rem 0; }
.event-month { font-weight: 500; font-size: 0.75rem; text-transform: uppercase; color: var(--color-stone-500); }
.event-details { padding: 1.5rem; flex-grow: 1; }
.event-details h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-stone-500); margin-bottom: 1rem; }
.event-details p { color: var(--color-stone-500); }

/* --- MEMBERSHIP PAGE --- */
.pricing-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 5rem; }
.price-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border: 1px solid var(--color-stone-200);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}
.price-card.featured { border: 2px solid var(--color-amber-600); }
.featured-banner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-amber-600);
    color: var(--color-white);
    padding: 0.25rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    writing-mode: horizontal-tb;
    width: 100%;
    text-align: center;
}
.price-card-header {
    background-color: var(--color-stone-100);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-stone-200);
}
.price-card.featured .price-card-header { padding-top: 3rem; }
.price-card-header h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-stone-500); margin-bottom: 0.5rem; }
.price { font-family: var(--font-serif); font-size: 3.5rem; color: var(--color-amber-700); font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.price span { font-family: var(--font-sans); font-size: 1rem; color: var(--color-stone-500); font-weight: 400; }
.price-card-header p { color: var(--color-stone-500); font-size: 0.875rem; }

.price-card-body { padding: 2rem; flex-grow: 1; }
.price-card-body ul { display: flex; flex-direction: column; gap: 1rem; }
.price-card-body ul li { display: flex; align-items: flex-start; }
.price-card-body ul li::before {
    content: '✔';
    color: var(--color-amber-600);
    margin-right: 0.75rem;
}

.price-card-footer { background-color: var(--color-stone-50); padding: 1.5rem; border-top: 1px solid var(--color-stone-100); }

.membership-info-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.info-box { background-color: var(--color-white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.info-box h2 { margin-bottom: 1rem; }
.info-box p { color: var(--color-stone-500); margin-bottom: 1rem; }
.info-box ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.doc-link {
    display: block;
    background-color: var(--color-stone-50);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--color-stone-200);
    margin-bottom: 1rem;
    transition: background-color 0.3s;
}
.doc-link:hover { background-color: var(--color-stone-100); }
.doc-link h4 { font-weight: 700; }
.doc-link p { font-size: 0.75rem; color: var(--color-stone-500); margin: 0; }

/* --- SPONSORS PAGE --- */
.sponsor-level { margin-bottom: 5rem; }
.sponsor-level-title {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.sponsor-level-title::before, .sponsor-level-title::after {
    content: '';
    height: 2px;
    width: 6rem;
    background-color: var(--color-stone-300);
}
.sponsor-level-title.gold { color: var(--color-amber-600); }
.sponsor-level-title.gold::before, .sponsor-level-title.gold::after { background-color: var(--color-amber-500); opacity: 0.5; }
.sponsor-level-title.silver { color: var(--color-stone-500); }
.sponsor-level-title.bronze { color: #A1887F; font-size: 2rem; }
.sponsor-level-title.bronze::before, .sponsor-level-title.bronze::after { background-color: #D7CCC8; }

.sponsor-grid-gold { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.sponsor-grid-gold .sponsor-card-gold { background-color: var(--color-white); padding: 2rem; text-align: center; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-top: 4px solid var(--color-amber-500); }
.sponsor-logo-placeholder { width: 100%; height: 8rem; background-color: var(--color-stone-100); margin-bottom: 1.5rem; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--color-stone-400); font-weight: 700; }
.sponsor-card-gold h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.sponsor-card-gold p { color: var(--color-stone-500); margin-bottom: 1.5rem; }

.sponsor-grid-silver { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.sponsor-card-silver { background-color: var(--color-white); padding: 1.5rem; text-align: center; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border-top: 4px solid var(--color-stone-400); }
.sponsor-card-silver h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.sponsor-card-silver p { color: var(--color-stone-500); font-size: 0.875rem; margin-bottom: 1rem; }

.sponsor-grid-bronze { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sponsor-card-bronze { background-color: var(--color-white); padding: 1rem; text-align: center; border: 1px solid var(--color-stone-200); border-radius: 4px; }
.sponsor-card-bronze h3 { font-weight: 700; font-size: 0.875rem; }

/* --- GALLERY PAGE --- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--color-white); font-weight: 700; font-size: 0.875rem; }

.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--color-white);
    font-size: 3rem;
    background: none;
    border: none;
    cursor: pointer;
}
.lightbox-content { max-height: 80vh; max-width: 90vw; border-radius: 4px; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.lightbox-caption { color: var(--color-white); font-family: var(--font-serif); font-size: 1.25rem; margin-top: 1rem; text-align: center; }

/* --- CONTACT PAGE --- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-info { background-color: var(--color-white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info ul { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info h3 { font-weight: 700; margin-bottom: 0.25rem; }
.contact-info p { color: var(--color-stone-500); line-height: 1.5; word-break: break-word; }
.contact-form-container { background-color: var(--color-white); padding: 1.5rem; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-top: 4px solid var(--color-amber-700); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.875rem; color: var(--color-stone-700); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-stone-300);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-amber-500);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}
#form-status p { padding: 1rem; border-radius: 4px; margin-bottom: 1.5rem; }
#form-status .success { background-color: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
#form-status .error { background-color: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Form status messages */
.success-message {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.error-message {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.success-message ul,
.error-message ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.success-message li,
.error-message li {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.error-message li {
    color: #b91c1c;
}

.success-message li {
    color: #166534;
}

/* --- AVAILABLE HORSES & DETAIL --- */
.horses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.horse-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.horse-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.horse-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.horse-card-content {
    padding: 1.5rem;
}
.horse-card h3 {
    color: var(--color-amber-700);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.horse-card .breed {
    color: var(--color-stone-500);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}
.horse-card p {
    color: var(--color-stone-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.horse-card.sold-out img {
    filter: grayscale(100%);
    opacity: 0.8;
}
.sold-badge {
    color: #d32f2f;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 0.5rem;
    text-transform: uppercase;
    border: 1px solid #d32f2f;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Horse Detail Page */
.horse-detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.horse-detail-images {
    display: grid;
    gap: 1rem;
}
.horse-main-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.horse-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.horse-gallery img {
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
    height: 80px;
    width: 100%;
    object-fit: cover;
    opacity: 0.6;
}
.horse-gallery img:hover, .horse-gallery img.active {
    opacity: 1;
}
.horse-info h1 {
    margin-bottom: 0.5rem;
    color: var(--color-stone-900);
}
.horse-subtitle {
    color: var(--color-amber-700);
    font-size: 1.25rem;
    font-family: var(--font-serif);
    margin-bottom: 2rem;
    font-weight: 700;
}
.horse-specs {
    background: var(--color-stone-100);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-stone-200);
    padding: 0.75rem 0;
}
.spec-row:last-child {
    border-bottom: none;
}
.spec-label {
    font-weight: 700;
    color: var(--color-stone-600);
}
.spec-value {
    color: var(--color-stone-900);
}
.horse-description {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--color-stone-700);
}
.horse-video {
    margin-top: 3rem;
}
.horse-video h3 {
    margin-bottom: 1rem;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- SHIPPING PAGE --- */
.shipping-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-height: 500px;
    object-fit: cover;
}
.shipping-section {
    margin-bottom: 3rem;
}
.shipping-section h2 {
    color: var(--color-amber-700);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-stone-200);
}
.shipping-section p {
    margin-bottom: 1rem;
    color: var(--color-stone-700);
}
.business-info-card {
    background-color: var(--color-stone-100);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-amber-700);
    margin-top: 1.5rem;
}
.business-info-card h3 {
    margin-bottom: 1rem;
}
.info-row {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.info-row strong {
    min-width: 80px;
    color: var(--color-stone-900);
}
.bg-stone-100 {
    background-color: var(--color-stone-100);
    padding: 1.5rem;
    border-radius: 8px;
}

/* --- ADVANCED TESTIMONIALS SECTION --- */
.hors_testimonials_section {
    background: linear-gradient(135deg, var(--color-stone-50) 0%, var(--color-stone-100) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hors_testimonials_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-amber-500), transparent);
}

.hors_container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

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

.hors_section_subtitle {
    color: var(--color-amber-700);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
    animation: hors_fadeInUp 0.8s ease-out;
}

.hors_section_title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-stone-900);
    margin-bottom: 1.5rem;
    position: relative;
    animation: hors_fadeInUp 0.8s ease-out 0.2s both;
}

.hors_section_title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-amber-600), var(--color-amber-500));
    border-radius: 2px;
}

.hors_section_description {
    font-size: 1.125rem;
    color: var(--color-stone-600);
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.7;
    animation: hors_fadeInUp 0.8s ease-out 0.4s both;
}

.hors_testimonials_container {
    position: relative;
    margin-bottom: 4rem;
}

.hors_testimonials_slider {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hors_testimonial_card {
    position: absolute;
    width: 100%;
    max-width: 800px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    opacity: 0;
    transform: translateX(100px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hors_testimonial_card.hors_active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 10;
}

.hors_testimonial_card.hors_prev {
    transform: translateX(-100px) scale(0.95);
    opacity: 0;
    z-index: 5;
}

.hors_testimonial_content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.hors_quote_icon {
    grid-row: span 2;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-amber-600), var(--color-amber-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.hors_testimonial_text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-stone-700);
    font-style: italic;
    margin: 0;
    position: relative;
}

.hors_testimonial_text::before {
    content: '"';
    font-size: 3rem;
    color: var(--color-amber-200);
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: var(--font-serif);
}

.hors_testimonial_author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.hors_author_info {
    flex: 1;
}

.hors_author_name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-stone-900);
    margin: 0 0 0.25rem 0;
}

.hors_author_title {
    color: var(--color-amber-700);
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hors_author_avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-amber-500);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hors_avatar_placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-amber-600), var(--color-amber-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-sans);
}

.hors_testimonial_rating {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.hors_stars {
    display: flex;
    gap: 0.25rem;
}

.hors_star {
    font-size: 1.5rem;
    color: var(--color-stone-300);
    transition: all 0.3s ease;
}

.hors_star.hors_filled {
    color: var(--color-amber-500);
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    transform: scale(1.1);
}

.hors_testimonials_controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.hors_control_btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-amber-500);
    color: var(--color-amber-600);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hors_control_btn:hover {
    background: var(--color-amber-500);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.hors_control_btn:active {
    transform: translateY(0);
}

.hors_testimonials_indicators {
    display: flex;
    gap: 0.75rem;
}

.hors_indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-amber-500);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hors_indicator::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--color-amber-500);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.hors_indicator.hors_active {
    border-color: var(--color-amber-600);
}

.hors_indicator.hors_active::before {
    transform: scale(1);
}

.hors_indicator:hover {
    border-color: var(--color-amber-600);
    transform: scale(1.1);
}

.hors_testimonials_stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-stone-200);
}

.hors_stat_item {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hors_stat_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-amber-600), var(--color-amber-500));
}

.hors_stat_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.hors_stat_number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-amber-600);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-amber-600), var(--color-amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hors_stat_label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-stone-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

@keyframes hors_pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .page-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .hors_testimonials_section {
        padding: 3rem 0;
    }

    .hors_section_title {
        font-size: 2rem;
    }

    .hors_testimonial_card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .hors_testimonial_content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hors_quote_icon {
        grid-row: auto;
        margin: 0 auto;
    }

    .hors_testimonial_author {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hors_testimonials_controls {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hors_testimonials_stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hors_stat_item {
        padding: 1.5rem;
    }

    .hors_stat_number {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hors_testimonial_card {
        max-width: 600px;
        padding: 2.5rem;
    }

    .hors_testimonials_stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
    .hors_testimonial_card,
    .hors_control_btn,
    .hors_indicator,
    .hors_stat_item {
        transition: none;
    }

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hors_testimonial_card {
        border: 2px solid var(--color-stone-900);
    }

    .hors_control_btn {
        border-width: 3px;
    }

    .hors_indicator {
        border-width: 3px;
    }
}

/* --- ADVANCED FEATURED HORSES SECTION --- */
.hors_featured_horses_section {
    background: linear-gradient(135deg, var(--color-stone-50) 0%, var(--color-stone-100) 50%, var(--color-stone-50) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hors_featured_horses_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-amber-500), transparent);
}

.hors_horses_controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hors_search_container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.hors_search_input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--color-stone-200);
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--color-white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hors_search_input:focus {
    outline: none;
    border-color: var(--color-amber-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1), 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.hors_search_btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-amber-500);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.hors_search_btn:hover {
    background: var(--color-amber-600);
    transform: translateY(-50%) scale(1.1);
}

.hors_filter_buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hors_filter_btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-stone-300);
    background: var(--color-white);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-stone-600);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hors_filter_btn:hover {
    border-color: var(--color-amber-500);
    color: var(--color-amber-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hors_filter_btn.hors_active {
    background: var(--color-amber-500);
    color: var(--color-white);
    border-color: var(--color-amber-500);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.hors_horses_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    animation: hors_fadeInUp 0.8s ease-out;
}

.hors_horse_card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hors_horse_card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.hors_horse_badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--color-amber-600), var(--color-amber-500));
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.hors_horse_badge.hors_popular {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.hors_horse_badge.hors_family {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.hors_horse_badge.hors_exotic {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.hors_horse_badge.hors_advanced {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.hors_horse_image_container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hors_horse_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hors_horse_card:hover .hors_horse_image {
    transform: scale(1.1);
}

.hors_horse_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.hors_horse_card:hover .hors_horse_overlay {
    opacity: 1;
}

.hors_horse_quick_info {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hors_price_tag {
    background: var(--color-amber-500);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.hors_age_tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-stone-800);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
}

.hors_horse_content {
    padding: 2rem;
}

.hors_horse_header {
    margin-bottom: 1rem;
}

.hors_horse_name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-stone-900);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hors_horse_details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hors_horse_breed {
    color: var(--color-amber-700);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hors_horse_gender {
    color: var(--color-stone-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.hors_horse_description {
    color: var(--color-stone-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.hors_horse_features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hors_feature_tag {
    background: var(--color-stone-100);
    color: var(--color-stone-700);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-stone-200);
}

.hors_horse_actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hors_btn_primary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: var(--color-amber-500);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.hors_btn_primary:hover {
    background: var(--color-amber-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.hors_btn_secondary {
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--color-amber-700);
    border: 2px solid var(--color-amber-500);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hors_btn_secondary:hover {
    background: var(--color-amber-500);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.hors_btn_large {
    padding: 1rem 3rem;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
}

.hors_no_results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px dashed var(--color-stone-300);
}

.hors_no_results_icon {
    margin-bottom: 2rem;
    opacity: 0.5;
}

.hors_no_results h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-stone-800);
    margin-bottom: 1rem;
}

.hors_no_results p {
    color: var(--color-stone-500);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hors_view_all_container {
    text-align: center;
    margin-top: 3rem;
}

.hors_reset_filters {
    background: var(--color-stone-600);
    color: var(--color-white);
}

.hors_reset_filters:hover {
    background: var(--color-stone-700);
}

/* Quick View Modal */
.hors_quick_view_modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.hors_quick_view_modal.hors_open {
    opacity: 1;
    visibility: visible;
}

.hors_modal_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.hors_modal_content {
    background: var(--color-white);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hors_quick_view_modal.hors_open .hors_modal_content {
    transform: scale(1);
}

.hors_modal_close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-stone-100);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-stone-600);
    transition: all 0.3s ease;
    z-index: 10;
}

.hors_modal_close:hover {
    background: var(--color-amber-500);
    color: var(--color-white);
    transform: rotate(90deg);
}

.hors_modal_body {
    padding: 2.5rem 2rem 2rem;
}

/* Modal Content Styling */
.hors_modal_horse {
    display: grid;
    gap: 2rem;
}

.hors_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-stone-200);
}

.hors_modal_header h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-stone-900);
    margin: 0;
}

.hors_modal_badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.hors_modal_badge.hors_popular {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.hors_modal_badge.hors_family {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.hors_modal_badge.hors_exotic {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.hors_modal_badge.hors_advanced {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.hors_modal_image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.hors_modal_image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.hors_modal_price_tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--color-amber-500);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.hors_modal_info {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hors_modal_specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hors_modal_spec {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--color-stone-50);
    border-radius: 8px;
    border: 1px solid var(--color-stone-200);
}

.hors_spec_label {
    font-weight: 600;
    color: var(--color-stone-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hors_spec_value {
    font-weight: 700;
    color: var(--color-stone-900);
    font-size: 0.875rem;
}

.hors_modal_description h4,
.hors_modal_features h4,
.hors_modal_details h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-stone-900);
    margin-bottom: 1rem;
}

.hors_modal_description p {
    color: var(--color-stone-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.hors_modal_feature_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hors_modal_actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-stone-200);
}

.hors_modal_actions .hors_btn_primary,
.hors_modal_actions .hors_btn_secondary {
    flex: 1;
    text-align: center;
}

/* Responsive Modal Design */
@media (max-width: 768px) {
    .hors_modal_horse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hors_modal_image img {
        height: 200px;
    }

    .hors_modal_info {
        gap: 1rem;
    }

    .hors_modal_spec {
        padding: 0.75rem;
    }

    .hors_modal_actions {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Responsive Design for Horses Section */
@media (max-width: 768px) {
    .hors_featured_horses_section {
        padding: 3rem 0;
    }

    .hors_horses_controls {
        gap: 1.5rem;
    }

    .hors_search_input {
        padding: 1rem 3rem 1rem 1rem;
        font-size: 0.9rem;
    }

    .hors_filter_buttons {
        gap: 0.75rem;
    }

    .hors_filter_btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }

    .hors_horses_grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hors_horse_image_container {
        height: 200px;
    }

    .hors_horse_content {
        padding: 1.5rem;
    }

    .hors_horse_name {
        font-size: 1.25rem;
    }

    .hors_horse_actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hors_btn_secondary {
        text-align: center;
    }

    .hors_modal_content {
        margin: 1rem;
        max-height: 95vh;
    }

    .hors_modal_body {
        padding: 2rem 1.5rem 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hors_horses_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hors_horse_image_container {
        height: 220px;
    }
}

@media (min-width: 1025px) {
    .hors_horses_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA BOX (used on several pages) --- */
.cta-box {
    margin-top: 5rem;
    background-color: var(--color-stone-900);
    color: var(--color-stone-300);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
}
.cta-box h3 { color: var(--color-white); font-size: 1.75rem; margin-bottom: 1rem; }
.cta-box p { margin-bottom: 1.5rem; }


/* --- FOOTER --- */
#main-footer {
    background-color: var(--color-stone-900);
    color: var(--color-stone-400);
    padding: 3rem 0;
    border-top: 8px solid var(--color-stone-800);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.footer-col h3 {
    color: var(--color-stone-100);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.footer-col p, .footer-col li { font-size: 0.875rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom {
    border-top: 1px solid var(--color-stone-800);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 768px) {
    main { padding-top: 9rem; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 4.5rem; }
    .hero-content p { font-size: 2rem; }
    
    .top-bar { display: flex; }

    .menu-toggle { display: none; }
    .mobile-menu { display: none !important; }
    .nav-links { display: flex; }

    .hero-slider { height: 800px; }
    .info-grid .container { grid-template-columns: repeat(3, 1fr); }
    .info-grid .info-card { border-bottom: none; border-right: 1px solid var(--color-stone-700); }
    .info-grid .info-card:last-child { border-right: none; }
    .sponsors-grid { grid-template-columns: repeat(4, 1fr); }

    .history-section { grid-template-columns: 1fr 1fr; }
    .directors-grid { grid-template-columns: repeat(2, 1fr); }

    .event-card { flex-direction: row; }
    .event-date-box { width: 8rem; }
    
    .pricing-cards { grid-template-columns: repeat(3, 1fr); }
    .price-card.featured { transform: translateY(-1rem); }
    .membership-info-grid { grid-template-columns: 1fr 1fr; }

    .sponsor-grid-gold { grid-template-columns: 1fr 1fr; }
    .sponsor-grid-silver { grid-template-columns: repeat(3, 1fr); }
    .sponsor-grid-bronze { grid-template-columns: repeat(4, 1fr); }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1.5fr; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* Detail Page Responsive */
    .horse-detail-container {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (min-width: 1024px) {
    main { padding-top: 7rem; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .directors-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   SHOPPING CART STYLES
   ============================================ */

/* Cart Icon in Header */
.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #2C3E50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #D4A574;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #D4A574;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cart-count.hidden {
    display: none;
}

/* Cart Notification Popup */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    max-width: calc(100vw - 40px); /* Prevent overflow on small screens */
    animation: slideInRight 0.3s ease;
    pointer-events: none; /* Allow clicks through notification */
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-notification.success {
    border-left: 4px solid #4CAF50;
}

.cart-notification.warning {
    border-left: 4px solid #FFC107;
}

.cart-notification.info {
    border-left: 4px solid #2196F3;
}

.cart-notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cart-notification.success .cart-notification-icon {
    fill: #4CAF50;
}

.cart-notification.warning .cart-notification-icon {
    fill: #FFC107;
}

.cart-notification.info .cart-notification-icon {
    fill: #2196F3;
}

.cart-notification-message {
    flex: 1;
    color: #2C3E50;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Buy Button Styling */
.btn-buy {
    background: #D4A574;
    color: white;
    border: none;
    padding: 1rem 2rem;
    min-height: 44px; /* Minimum touch target size for mobile */
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    touch-action: manipulation; /* Improve touch responsiveness */
    user-select: none; /* Prevent text selection on double tap */
}

.btn-buy:hover {
    background: #C49563;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 165, 116, 0.3);
}

.btn-buy:active {
    transform: translateY(0);
    background: #B38552; /* Darker feedback on tap */
}

/* Cart Page Styles */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-header h1 {
    color: #2C3E50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    fill: #BDC3C7;
    margin-bottom: 1.5rem;
}

.cart-empty h2 {
    color: #2C3E50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cart-empty p {
    color: #7F8C8D;
    margin-bottom: 2rem;
}

.cart-items {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #ECF0F1;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details h3 {
    color: #2C3E50;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cart-item-type {
    color: #7F8C8D;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.cart-item-price {
    color: #D4A574;
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-item-remove {
    background: #E74C3C;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.cart-item-remove:hover {
    background: #C0392B;
}

.cart-summary {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2rem;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.cart-summary-row.total {
    font-size: 1.5rem;
    font-weight: 700;
    padding-top: 1rem;
    border-top: 2px solid #ECF0F1;
    margin-top: 1rem;
}

.cart-summary-row.total .amount {
    color: #D4A574;
}

.btn-checkout {
    width: 100%;
    background: #27AE60;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background 0.3s ease;
}

.btn-checkout:hover {
    background: #229954;
}

.btn-continue-shopping {
    width: 100%;
    background: transparent;
    color: #2C3E50;
    border: 2px solid #2C3E50;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-continue-shopping:hover {
    background: #2C3E50;
    color: white;
}

/* Responsive Cart Styles */
@media (max-width: 768px) {
    .cart-notification {
        top: 80px; /* Adjust for mobile header */
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        width: calc(100% - 20px);
    }
    
    .btn-buy {
        width: 100%; /* Full width on mobile for easier tapping */
        padding: 1.25rem 2rem; /* Slightly larger padding */
        font-size: 1.1rem;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-price {
        grid-column: 2;
        font-size: 1.25rem;
    }
    
    .cart-item-remove {
        grid-column: 2;
        justify-self: start;
    }
    
    .cart-summary {
        max-width: 100%;
    }
}

/* Additional Mobile Responsive Improvements */
@media (max-width: 767px) {
    /* Ensure all images scale properly */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better heading sizes on mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    /* Improved card layouts for mobile */
    .horse-card img {
        height: 200px;
    }
    
    /* Better spacing on mobile */
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Ensure buttons are full width on very small screens */
    @media (max-width: 480px) {
        .btn:not(.btn-inline) {
            width: 100%;
            display: block;
        }
    }
    
    /* Improve table responsiveness if any */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better form spacing on mobile */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Ensure proper tap targets */
    a, button, input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Additional improvements for small mobile devices */
@media (max-width: 480px) {
    /* Reduce container padding on very small screens */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Adjust hero text for very small screens */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Footer adjustments */
    .footer-col h3 {
        font-size: 1.125rem;
    }
    
    .footer-col ul li {
        margin-bottom: 0.5rem;
    }
}
/* =============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
   ============================================= */

/* Prevent horizontal scroll on all devices */
* {
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    position: relative;
}

/* Improved container responsiveness */
.container {
    width: 100%;
    max-width: 1280px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Enhanced Mobile Navigation (320px - 767px) */
@media (max-width: 767px) {
    /* Navigation improvements */
    #main-header {
        padding: 0.75rem 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        z-index: 1000;
    }
    
    .mobile-menu.open {
        display: block;
    }
    
    .mobile-menu ul {
        padding: 0;
    }
    
    .mobile-menu ul li {
        border-bottom: 1px solid var(--color-stone-700);
    }
    
    .mobile-menu ul li a {
        padding: 1rem 1.5rem;
        display: block;
        font-size: 1rem;
    }
    
    /* Logo sizing */
    .logo {
        font-size: 0.9rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    /* Text and typography */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    h4 {
        font-size: 1.15rem;
    }
    
    p, li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Page headers */
    .page-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Buttons - ensure minimum touch target of 44px */
    .btn,
    button,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: auto;
        display: inline-block;
    }
    
    .btn-full {
        width: 100%;
        display: block;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents iOS zoom */
        min-height: 44px;
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Grid layouts */
    .info-grid .container,
    .features-grid,
    .testimonials-grid,
    .directors-grid,
    .sponsor-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .footer-col ul li {
        margin-bottom: 0.75rem;
    }
    
    #main-footer {
        padding: 2rem 0;
    }
    
    /* Hero section */
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Cards and sections */
    .card,
    .info-card,
    .feature-card,
    .testimonial-card,
    .price-card {
        margin-bottom: 1.5rem;
    }
    
    /* Tables */
    table {
        font-size: 0.85rem;
    }
    
    table td,
    table th {
        padding: 0.5rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: 2.5rem 0;
    }
    
    .welcome-section,
    .features-section,
    .testimonials-section {
        padding: 2.5rem 0;
    }
}

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    /* Further reduce text sizes */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    /* Container padding */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Reduce spacing */
    section {
        padding: 2rem 0;
    }
    
    /* Hero adjustments */
    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Card spacing */
    .card,
    .info-card {
        padding: 1.25rem;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    /* Two column grids for medium screens */
    .info-grid .container,
    .features-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    a,
    button,
    .btn,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .btn:hover,
    .card:hover,
    a:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .mobile-menu,
    .menu-toggle,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}