/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #4a3429;
    background: linear-gradient(135deg, #fef7ed 0%, #f0fdf4 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #92400e;
}

.heart-icon {
    width: 2rem;
    height: 2rem;
    color: #dc2626;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #92400e;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #dc2626;
}

.donate-btn {
    background: #dc2626 !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    background: #b91c1c !important;
    transform: translateY(-2px);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow-left-icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}


/* Buttons */
.btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-donate.primary {
    background: #dc2626;
    color: white;
}

.btn-donate.primary:hover {
    background: #b91c1c;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.btn-donate.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-donate.secondary:hover {
    background: white;
    color: #92400e;
}

.btn-donate.large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-donate.full-width {
    width: 100%;
    justify-content: center;
}

.arrow-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef7ed 0%, #f0fdf4 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    color: #92400e;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #a78a5a;
    max-width: 600px;
    margin: 0 auto;
}

.horse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.horse-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.horse-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.horse-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.horse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.horse-card:hover .horse-image img {
    transform: scale(1.05);
}

.donate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.horse-card:hover .donate-overlay {
    opacity: 1;
}

.overlay-btn {
    background: #dc2626;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.overlay-btn:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.overlay-btn .heart-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.horse-info {
    padding: 1.5rem;
}

.horse-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.horse-info p {
    color: #a78a5a;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.help-btn {
    display: inline-block;
    background: #16a34a;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.help-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 3rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    color: #a78a5a;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Donate Page Styles */
.donate-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.donation-form-section {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    color: #92400e;
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.125rem;
    color: #a78a5a;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #92400e;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid #16a34a;
    background: transparent;
    color: #16a34a;
    border-radius: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #16a34a;
    color: white;
}

.custom-amount {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dollar-sign {
    font-size: 1.125rem;
    font-weight: 600;
    color: #92400e;
}

.custom-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: #16a34a;
}

.form-input {
    padding: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #16a34a;
}

/* Payment Methods */
.payment-methods {
    margin-top: 3rem;
}

.payment-methods h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #92400e;
    text-align: center;
    margin-bottom: 1.5rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-btn {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.payment-btn:hover {
    border-color: #16a34a;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Payment Logo Styles */
.paypal-logo {
    background: linear-gradient(45deg, #003087, #009cde);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: bold;
}

.stripe-logo {
    background: linear-gradient(45deg, #635bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: bold;
}

.visa-logo {
    background: linear-gradient(45deg, #1434cb, #3b7bbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.mc-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mc-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.mc-red {
    background: #eb001b;
}

.mc-yellow {
    background: #ff5f00;
    margin-left: -8px;
}

.gpay-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.gpay-g {
    background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: bold;
}

.gpay-text {
    color: #5f6368;
    font-weight: 500;
}

.apple-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.apple-logo svg {
    width: 20px;
    height: 20px;
    color: #000;
}

.apple-logo span {
    color: #000;
    font-weight: 500;
}

/* Horse Info Section */
.horse-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.horse-feature {
    position: relative;
}

.horse-feature .horse-image {
    height: 400px;
    border-radius: 1.5rem;
    overflow: hidden;
}

.horse-story {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: white;
}

.horse-story h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.horse-story p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.impact-stats {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    padding: 2rem;
    border-radius: 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.3);
}

.impact-stats h3 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.testimonial {
    background: #fbbf24;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.testimonial p {
    font-size: 1.125rem;
    color: #92400e;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #a78a5a;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .horse-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .donate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donation-form-section {
        padding: 2rem;
    }

    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-box {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .donation-form-section {
        padding: 1.5rem;
    }

    .amount-grid {
        grid-template-columns: 1fr;
    }

    .btn-donate {
        padding: 0.75rem 1.5rem;
    }

    .horse-card {
        margin: 0 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Button hover effects */
.btn-donate {
    position: relative;
    overflow: hidden;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-donate:hover::before {
    left: 100%;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}
