/* assets/css/style.css */

/* =====================================================
   SERENITY PAWS RESCUE - MAIN STYLESHEET
   Animal Rescue Website Template
   ===================================================== */

/* ===== CSS Variables ===== */
:root {
    /* Color Palette - Warm & Inviting */
    --primary-color: #2d8a6e;
    --primary-dark: #236b55;
    --primary-light: #4ab896;
    --secondary-color: #e8945a;
    --secondary-dark: #d67a3a;
    --accent-color: #f4c85e;
    
    /* Neutrals */
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-warm: #fdf8f3;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Borders & Shadows */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 7% 16%, rgba(118, 143, 214, 0.76) 0%, rgba(118, 143, 214, 0.32) 20%, rgba(118, 143, 214, 0) 42%),
        radial-gradient(ellipse at 13% 84%, rgba(223, 111, 163, 0.80) 0%, rgba(223, 111, 163, 0.34) 21%, rgba(223, 111, 163, 0) 45%),
        radial-gradient(ellipse at 36% 10%, rgba(237, 176, 137, 0.68) 0%, rgba(237, 176, 137, 0.25) 22%, rgba(237, 176, 137, 0) 42%),
        radial-gradient(ellipse at 66% 72%, rgba(226, 153, 189, 0.46) 0%, rgba(226, 153, 189, 0.20) 22%, rgba(226, 153, 189, 0) 46%),
        radial-gradient(ellipse at 92% 12%, rgba(142, 171, 231, 0.74) 0%, rgba(142, 171, 231, 0.30) 22%, rgba(142, 171, 231, 0) 44%),
        radial-gradient(ellipse at 88% 92%, rgba(116, 135, 207, 0.42) 0%, rgba(116, 135, 207, 0.17) 24%, rgba(116, 135, 207, 0) 50%),
        radial-gradient(ellipse at 77% 100%, rgba(190, 113, 163, 0.46) 0%, rgba(190, 113, 163, 0.21) 25%, rgba(190, 113, 163, 0) 58%),
        linear-gradient(180deg, #fbf6f2 0%, #fff8f1 36%, #f8e8ec 76%, #eadde9 100%);
    box-shadow: 0 10px 28px rgba(24, 49, 79, 0.18);
    z-index: 1000;
}

.site-header::before {
    content: '';
    position: absolute;
    left: 44%;
    right: -12%;
    bottom: -52%;
    height: 92%;
    border-radius: 56% 44% 0 0 / 70% 76% 0 0;
    background:
        radial-gradient(ellipse at 80% 32%, rgba(99, 120, 195, 0.26) 0%, rgba(99, 120, 195, 0.12) 34%, rgba(99, 120, 195, 0) 66%),
        radial-gradient(ellipse at 45% 40%, rgba(218, 133, 174, 0.35) 0%, rgba(218, 133, 174, 0.15) 36%, rgba(218, 133, 174, 0) 68%),
        radial-gradient(ellipse at 62% 78%, rgba(112, 76, 132, 0.34) 0%, rgba(112, 76, 132, 0.18) 38%, rgba(112, 76, 132, 0) 72%),
        linear-gradient(90deg, rgba(255, 246, 241, 0) 0%, rgba(207, 153, 185, 0.20) 42%, rgba(134, 113, 178, 0.28) 100%);
    transform: rotate(-2deg);
    opacity: 0.94;
    filter: blur(0.4px);
    pointer-events: none;
    z-index: 1;
}

.site-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 68%),
        radial-gradient(ellipse at 80% 82%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 48%);
    pointer-events: none;
    z-index: 1;
}

.site-header .container {
    position: relative;
    z-index: 2;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    min-height: 104px;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 1 590px;
    min-width: 0;
}

.logo:hover {
    opacity: 0.92;
}

.site-logo-img {
    display: block;
    width: clamp(280px, 44vw, 590px);
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.28));
}

.logo-icon {
    font-size: 2rem;
}

.main-nav {
    flex: 0 0 auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, var(--spacing-md));
}

.main-nav a {
    font-weight: 700;
    color: #263244;
    padding: 8px 4px;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #284a78;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: #284a78;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 92px;
    }

    .site-logo-img {
        width: clamp(230px, 58vw, 430px);
        max-height: 64px;
    }

    .main-nav ul {
        gap: 14px;
    }

    .main-nav a {
        font-size: 0.95rem;
    }
}

@media (max-width: 720px) {
    .header-inner {
        min-height: 86px;
    }

    .site-logo-img {
        width: clamp(210px, 66vw, 360px);
        max-height: 58px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Main Content ===== */
main {
    margin-top: 128px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-fallback-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: var(--spacing-md);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: black;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
    background:
        radial-gradient(ellipse at 7% 16%, rgba(118, 143, 214, 0.76) 0%, rgba(118, 143, 214, 0.32) 20%, rgba(118, 143, 214, 0) 42%),
        radial-gradient(ellipse at 13% 84%, rgba(223, 111, 163, 0.80) 0%, rgba(223, 111, 163, 0.34) 21%, rgba(223, 111, 163, 0) 45%),
        radial-gradient(ellipse at 36% 10%, rgba(237, 176, 137, 0.68) 0%, rgba(237, 176, 137, 0.25) 22%, rgba(237, 176, 137, 0) 42%),
        radial-gradient(ellipse at 66% 72%, rgba(226, 153, 189, 0.46) 0%, rgba(226, 153, 189, 0.20) 22%, rgba(226, 153, 189, 0) 46%),
        radial-gradient(ellipse at 92% 12%, rgba(142, 171, 231, 0.74) 0%, rgba(142, 171, 231, 0.30) 22%, rgba(142, 171, 231, 0) 44%),
        radial-gradient(ellipse at 88% 92%, rgba(116, 135, 207, 0.42) 0%, rgba(116, 135, 207, 0.17) 24%, rgba(116, 135, 207, 0) 50%),
        radial-gradient(ellipse at 77% 100%, rgba(190, 113, 163, 0.46) 0%, rgba(190, 113, 163, 0.21) 25%, rgba(190, 113, 163, 0) 58%),
        linear-gradient(180deg, #fbf6f2 0%, #fff8f1 36%, #f8e8ec 76%, #eadde9 100%);
    color: black;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-sm);
}








.page-hero h1 {
    color: white;
    margin-bottom: var(--spacing-xs);
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: var(--spacing-xs);
}

.section-header .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===== Mission Section ===== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.mission-card {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.mission-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

/* ===== Featured Pets Section - UPDATED WITH FOOTER GRADIENTS ===== */
.featured-pets-section {
    background:
      radial-gradient(120% 90% at 12% 18%, rgba(246,180,199,.85) 0%, rgba(246,180,199,0) 60%),
      radial-gradient(110% 80% at 78% 22%, rgba(200,195,242,.75) 0%, rgba(200,195,242,0) 62%),
      radial-gradient(120% 90% at 30% 78%, rgba(185,216,245,.85) 0%, rgba(185,216,245,0) 62%),
      radial-gradient(130% 100% at 82% 80%, rgba(247,216,184,.75) 0%, rgba(247,216,184,0) 62%),
      linear-gradient(
        180deg,
        rgba(246,180,199,.55) 0%,
        rgba(247,216,184,.35) 22%,
        rgba(200,195,242,.35) 48%,
        rgba(185,216,245,.45) 72%,
        rgba(248,243,238,.85) 100%
      );
    color: purple;
}

.featured-pets-section h2, 
.featured-pets-section h3 {
    color: purple;
}

.featured-pets-section .subtitle {
    color: rgba(128, 0, 128, 0.8);
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.pet-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pet-image {
    position: relative;
    height: 200px;
    /* Updated Pet Image Placeholder to match footer blue/pink */
    background: linear-gradient(135deg, rgba(185,216,245,1) 0%, rgba(246,180,199,1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pet-placeholder {
    font-size: 5rem;
    color: white;
}

.pet-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: purple;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.pet-info {
    padding: var(--spacing-md);
}

.pet-info h3 {
    margin-bottom: 5px;
}

.pet-details {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

/* Rest of your existing CSS remains unchanged... */

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--bg-warm);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--spacing-sm);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-light);
}

.testimonial-author {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}

.author-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* (Other sections like About, Adopt, Donate removed for brevity but are intact in your full file) */

/* ===== Footer ===== */
.site-footer {
    background:
      radial-gradient(120% 90% at 12% 18%, rgba(246,180,199,.85) 0%, rgba(246,180,199,0) 60%),
      radial-gradient(110% 80% at 78% 22%, rgba(200,195,242,.75) 0%, rgba(200,195,242,0) 62%),
      radial-gradient(120% 90% at 30% 78%, rgba(185,216,245,.85) 0%, rgba(185,216,245,0) 62%),
      radial-gradient(130% 100% at 82% 80%, rgba(247,216,184,.75) 0%, rgba(247,216,184,0) 62%),
      linear-gradient(
        180deg,
        rgba(246,180,199,.55) 0%,
        rgba(247,216,184,.35) 22%,
        rgba(200,195,242,.35) 48%,
        rgba(185,216,245,.45) 72%,
        rgba(248,243,238,.85) 100%
      );
    color: purple;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-about h3 {
    color: purple;
    margin-bottom: var(--spacing-sm);
}

.footer-about .logo-icon {
    margin-right: 8px;
}

.site-footer h4 {
    color: purple;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(128, 0, 128, 1);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: purple;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(128, 0, 128, 1);
}

.footer-social .social-links {
    margin-bottom: var(--spacing-md);
}

.footer-social .social-links a {
    background: rgba(128, 0, 128, 1);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.footer-social .social-links a:hover {
    background: purple;
}

.newsletter h4 {
    margin-bottom: var(--spacing-sm);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(128, 0, 128, 1);
}

.footer-bottom p {
    color: rgba(128, 0, 128, 1);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Responsive queries follow... */