/*
Theme Name: Rescue Website
Description: Custom WordPress theme for dog rescue and boarding facility
Version: 1.0
Author: Your Name
Text Domain: rescue-website

Color Palette:
- #120C0C - Near-Black (Primary text)
- #FFFDFA - Soft off-white (Main background)
- #FBF4DC - Warm Cream (Section background)
- #FDF9ED - Light Cream (Accent background - lighter than Warm Cream)
- #3364D4 - Brand Blue (Primary CTA)
- #274FB0 - Darker Blue (Hover state)
- #BB9C4C - Warm Gold (Secondary button)
- #9E843F - Dark Gold (Accent)
- #6F6A66 - Warm Gray (Muted text)
- #E6E0CC - Light Neutral (Border)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    color: #120C0C;
    background: #FFFDFA;
    font-weight: 400;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #120C0C;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #FFFDFA 0%, #FBF4DC 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #3364D4;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #120C0C;
    white-space: nowrap;
}

.site-logo {
    flex-shrink: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-logo a {
    display: block;
    text-decoration: none;
    padding: 0.5rem;
    border: 3px solid #3364D4;
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
}

.site-logo a:hover {
    border-color: #274FB0;
    box-shadow: 0 4px 12px rgba(51, 100, 212, 0.3);
}

.logo-image {
    height: 80px;
    width: 80px;
    display: block;
    border-radius: 50%;
}

.logo-text {
    display: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #120C0C;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    position: relative;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    background: rgba(51, 100, 212, 0.08);
    border: 2px solid transparent;
}

.main-navigation a::after {
    display: none;
}

.main-navigation a:hover {
    color: #3364D4;
    background: rgba(51, 100, 212, 0.15);
    border-color: #3364D4;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(51, 100, 212, 0.2);
}

.donate-btn {
    background: #BB9C4C;
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(187, 156, 76, 0.3);
    border: 2px solid transparent;
}

.donate-btn:hover {
    background: #9E843F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 156, 76, 0.4);
    border-color: #9E843F;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 110px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide:first-child {
    background-position: center 30% !important;
}

.hero-slide:nth-child(2) {
    background-position: center center !important;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    color: #FFFFFF;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Cards Section */
.services-section {
    padding: 4rem 2rem;
    background: #FDF9ED;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #FFFDFA;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #E6E0CC;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #120C0C;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.service-subtitle {
    color: #6F6A66;
    margin-bottom: 1.5rem;
    font-family: 'Source Sans 3', sans-serif;
}

.learn-more-btn {
    background: #3364D4;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
}

.learn-more-btn:hover {
    background: #274FB0;
}

/* Featured Pets Section */
.featured-pets-section {
    padding: 4rem 2rem;
    background: #FFFDFA;
}

.featured-pets-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #120C0C;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #BB9C4C;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pet-card {
    background: #FFFDFA;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #E6E0CC;
}

.pet-card:hover {
    transform: translateY(-5px);
}

.pet-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.pet-info {
    padding: 1rem;
}

.pet-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #120C0C;
    font-family: 'Playfair Display', serif;
}

.pet-description {
    color: #6F6A66;
    font-size: 0.9rem;
    font-family: 'Source Sans 3', sans-serif;
}

.view-all-pets {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    background: #3364D4;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    transition: background 0.3s;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
}

.view-all-btn:hover {
    background: #274FB0;
}

/* Social Media Section */
.social-section {
    padding: 3rem 2rem;
    background: #E9EFFF;
    color: #120C0C;
    text-align: center;
}

.social-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.facebook-link {
    display: inline-block;
    background: #3364D4;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-bottom: 2rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
}

.facebook-link:hover {
    background: #274FB0;
}

/* Facebook Posts */
.facebook-posts-section {
    padding: 4rem 2rem;
    background: #FBF4DC;
}

.facebook-posts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.facebook-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.facebook-post-card {
    background: #FFFDFA;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #E6E0CC;
}

.facebook-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.facebook-post-card .post-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.facebook-post-card .post-content {
    padding: 1.5rem;
}

.facebook-post-card .post-message {
    color: #120C0C;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.facebook-post-card .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #E6E0CC;
    padding-top: 1rem;
}

.facebook-post-card .post-date {
    color: #6F6A66;
    font-size: 0.9rem;
}

.facebook-post-card .read-more {
    color: #3364D4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.facebook-post-card .read-more:hover {
    color: #274FB0;
}

/* Footer */
.site-footer {
    background: #1E1B1B;
    color: #FBF4DC;
    padding: 2rem;
    text-align: center;
}

.site-footer a {
    color: #BB9C4C;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #9E843F;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .main-navigation ul {
        gap: 1rem;
    }
    
    .main-navigation a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .site-logo {
        font-size: 1.3rem;
    }
    
    .main-navigation {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .donate-btn {
        align-self: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pets-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
