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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: #f8f9fa;
}

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

.site-header {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: white;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    margin: 5px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.95);
}

.header-contact a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.main-nav {
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.nav-menu > li > a:hover {
    background: rgba(255,255,255,0.15);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    list-style: none;
    z-index: 1000;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li a {
    color: #2c3e50;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 14px;
}

.submenu li a:hover {
    background: #d8f3dc;
    padding-left: 25px;
    color: #2d6a4f;
}

.hero-banner {
    position: relative;
    min-height: 75vh;
    background-image: url('/assets/images/hero-pony.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.93) 0%, 
        rgba(255, 255, 255, 0.88) 50%,
        rgba(216, 243, 220, 0.90) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    color: #1b4332;
    font-size: 2.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.15rem;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 2;
}

.hero-content strong {
    font-weight: 700;
    color: #2d6a4f;
}

.hero-button {
    margin-top: 45px;
}

.btn-join {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(45, 106, 79, 0.4);
    background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
}

.site-content {
    min-height: 60vh;
}

.page-content {
    padding: 60px 0;
    background: white;
}

.page-content h1 {
    color: #1b4332;
    margin-bottom: 40px;
}

.page-content h2 {
    color: #2d6a4f;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-content p {
    margin-bottom: 25px;
    line-height: 2;
    font-size: 1.05rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.btn-secondary {
    background: white;
    color: #2d6a4f;
    border: 2px solid #2d6a4f;
}

.btn-secondary:hover {
    background: #2d6a4f;
    color: white;
}

.site-footer {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: white;
    padding: 50px 0 30px;
    margin-top: 0;
}

.site-footer h3 {
    color: #95d5b2;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.site-footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s;
}

.site-footer a:hover {
    color: #95d5b2;
    padding-left: 5px;
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-contact {
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .submenu {
        position: static;
        display: none;
        box-shadow: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-join {
        padding: 15px 35px;
        font-size: 14px;
    }
}

/* Login Button */
.header-login {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* Admin Edit Buttons */
.admin-edit-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2d6a4f;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.4);
    z-index: 1000;
    transition: all 0.3s;
}

.admin-edit-btn:hover {
    background: #1b4332;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.5);
}

.admin-toolbar {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-toolbar a {
    background: #2d6a4f;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.admin-toolbar a:hover {
    background: #1b4332;
}

/* Login Icon */
.login-icon {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
}

.login-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Admin Edit Bar */
.admin-edit-bar {
    background: #fff3cd;
    border-bottom: 3px solid #ffc107;
    padding: 12px 0;
    font-size: 14px;
}

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

.admin-edit-bar strong {
    color: #856404;
}

/* Floating Edit Button */
.floating-edit-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2d6a4f;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-edit-btn:hover {
    background: #1b4332;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.5);
}

/* Header horse layout */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-horse svg path {
    transition: opacity 0.3s;
}

.header-horse:hover svg path {
    opacity: 0.9;
}

/* Header circle logo */
.header-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
}

.header-logo-circle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header-logo-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Make header slightly taller */
.site-header .header-top {
    padding: 18px 0;
}

/* Override header logo circle - bigger, no haze */
.header-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: transparent;
    border: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: visible;
    text-decoration: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.header-logo-circle:hover {
    background: transparent;
    border: none;
    transform: translateY(-50%) scale(1.05);
    box-shadow: none;
}

.header-logo-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Make header position relative so logo can span it */
.site-header {
    position: relative;
}

.site-header .container {
    position: relative;
    padding-left: 150px;
}

/* Bigger horse, shift left */
.header-logo-circle {
    width: 140px !important;
    height: 140px !important;
    left: 5px !important;
}

.header-logo-circle:hover {
    transform: translateY(-50%) scale(1.05) !important;
}

.header-logo-img {
    width: 140px !important;
    height: 140px !important;
}

.site-header .container {
    padding-left: 160px !important;
}

/* Even bigger horse, more left */
.header-logo-circle {
    width: 180px !important;
    height: 180px !important;
    left: 0px !important;
}

.header-logo-circle:hover {
    transform: translateY(-50%) scale(1.05) !important;
}

.header-logo-img {
    width: 180px !important;
    height: 180px !important;
}

.site-header .container {
    padding-left: 190px !important;
    padding-right: 10px !important;
    max-width: 100% !important;
}

.site-header {
    padding: 0 10px !important;
}

/* Big horse in footer */
.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 350px;
    height: 350px;
    background-image: url('/assets/images/horse-logo-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.08;
    pointer-events: none;
}

/* Bigger horse higher up in footer */
.site-footer::after {
    width: 500px !important;
    height: 500px !important;
    right: -30px !important;
    bottom: -30px !important;
    opacity: 0.12 !important;
}

/* Center horse vertically in footer */
.site-footer::after {
    width: 500px !important;
    height: 500px !important;
    right: -30px !important;
    bottom: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.12 !important;
}

/* Force center horse vertically in footer */
.site-footer {
    position: relative !important;
    overflow: hidden !important;
}

.site-footer::after {
    content: '' !important;
    position: absolute !important;
    right: -30px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 500px !important;
    height: 500px !important;
    background-image: url('/assets/images/horse-logo-white.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center right !important;
    opacity: 0.12 !important;
    pointer-events: none !important;
}

/* Even bigger footer horse */
.site-footer::after {
    width: 700px !important;
    height: 700px !important;
}

/* Shift footer horse more to the right */
.site-footer::after {
    right: -100px !important;
}
