/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #f8f9fa;
}

/* Container Queries Support */
@supports (container-type: inline-size) {
    .page-container {
        container-type: inline-size;
        container-name: page;
    }

    .header-container,
    .hero-container,
    .featured-container,
    .author-container,
    .posts-outer-container,
    .products-container,
    .conclusion-container,
    .footer-container {
        container-type: inline-size;
        margin: 0 auto;
        max-width: 1200px;
        width: 100%;
        padding: 0 1rem;
    }
}

/* Header and Navigation */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.logo h1:hover {
    color: #ff6f61;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ff6f61;
}

.nav-links a.active {
    font-weight: 600;
    color: #ff6f61;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6f61;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6f61;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Dropdown styling */
.dropdown {
    position: relative;
}

.dropbtn {
    background-color: transparent;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    color: #ff6f61;
}

.dropbtn::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown-content.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #ff6f61;
    padding-left: 20px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .dropdown {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .dropbtn {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
        width: 100%;
        max-height: 0;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-content.show {
        max-height: 300px;
    }
}

@media (max-width: 600px) {
    .author-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

    .author-image {
        width: 100%;
    }
}

/* Media Queries - Replacing container queries for better iOS compatibility */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .author-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

    .author-image {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .feature-card,
    .product-card {
        flex: 1 1 100%;
        margin: 0.5rem 0;
    }

    .posts-container {
        gap: 0.5rem;
    }

    .post-card {
        flex: 0 0 280px;
        margin: 0.5rem;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    background: url('https://furryfriendshaven.me/wp-content/uploads/2024/09/animals-300x134.webp') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    background: #ff6f61;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

/* Intro Section */
.intro-section {
    padding: 2rem;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.image-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    border: 10px double #ccc;  /* Replicates a frame-like border */
    padding: 1rem;
    background: #fff;
    display: inline-block;
    position: relative;
}

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

.text-column {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.text-column h2 {
    margin-top: 0;
    font-weight: normal;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.text-column h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-column p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
    max-width: 90%;
}

/* Featured Pets Section */
.featured-pets, .why-adopt, .info-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-pets h2, .why-adopt h2, .info-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pet-grid, .reasons-grid, .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.pet-card, .reason-card, .column {
    background: #fff;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    flex: 1 1 calc(300px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pet-card img, .column img {
    max-width: 100%;
    border-radius: 6px;
}

/* Why Adopt Section */
.why-adopt {
    background-color: #f5f5f5;
}

/* Info Section */
.info-section {
    background-color: #fff;
}

/* Guide Principles Section */
.guide-principles {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
}

.guide-content, .about-content, .guidance-content, .conclusion-content {
    max-width: 1200px;
    margin: 0 auto;
}

.principles-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-card, .feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.principle-card h3, .feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.principle-card p, .feature-card p {
    color: #666;
    line-height: 1.6;
}

/* About Guide Section */
.about-guide {
    padding: 4rem 2rem;
}

.mission-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.mission-statement h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.mission-statement p {
    line-height: 1.8;
    color: #666;
}

/* Species Guidance Section */
.species-guidance {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
    text-align: center;
}

.species-guidance > p {
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    color: #666;
    line-height: 1.8;
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.species-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.species-card:hover {
    transform: translateY(-5px);
}

.species-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.species-card h3 {
    padding: 1.5rem;
    margin: 0;
    color: #333;
}

/* Recent Posts Section */
.recent-posts-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recent-posts-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.recent-posts-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.posts-container {
    display: flex;
    gap: 1rem;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 1rem;
    cursor: grab;
    scroll-behavior: smooth;
    /* Using standard properties for better cross-browser compatibility */
    -webkit-user-select: none;
    user-select: none;
}

.posts-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for cleaner look */
}

.posts-container.active {
    cursor: grabbing;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 0 0 300px; /* Fixed width for each card */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
    text-align: left;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1rem;
    object-fit: cover;
    height: 150px;
}

.post-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.post-card p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
    margin-bottom: 1rem;
}

.read-more {
    color: #ff6f61;
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
    display: inline-block;
    margin-right: auto;
    margin-top: auto;
    padding-top: 0.5rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Product Recommendations */
.product-recommendations {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.product-recommendations h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.product-card p {
    padding: 0 1rem;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.4;
}

.product-link {
    display: inline-block;
    margin: 1rem;
    padding: 0.75rem 1.5rem;
    background: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.product-link:hover {
    background: #e65a4d;
}

/* Author Section */
.author-section {
    padding: 4rem 2rem;
    background: linear-gradient(to right, #f8f9fa 50%, #fff 50%);
}

.author-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.author-image {
    flex: 0 0 350px;
}

.author-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.author-content {
    flex: 1;
    padding: 2rem;
}

.author-content h2 {
    color: #ff6f61;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.author-credentials {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author-bio {
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

.author-credentials-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #555;
}

.credential-icon {
    font-size: 1.5rem;
}

@media (max-width: 968px) {
    .author-section {
        background: #f8f9fa;
    }
    
    .author-container {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .author-image img {
        height: 350px;
    }

    .credential {
        justify-content: center;
    }
}

/* Author Section Media Queries */
@media (min-width: 768px) {
    .author-container {
        display: flex;
        gap: 3rem;
        align-items: center;
        padding: 2rem;
    }

    .author-image {
        flex: 0 0 350px;
    }

    .author-content {
        flex: 1;
    }
}

/* Product Grid Media Queries */
@media (min-width: 768px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* Posts Media Queries */
@media (min-width: 768px) {
    .posts-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

/* Conclusion Section */
.conclusion {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                url('https://furryfriendshaven.me/wp-content/uploads/2024/09/animals-300x134.webp') center/cover;
}

.conclusion-content {
    max-width: 800px;
}

.conclusion h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.conclusion p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #666;
}

/* Pulsing Cone */
.pulsing-cone {
    position: fixed;
    top: 50%;
    left: 25%; /* Moved to left side to balance with steak */
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background-image: url('https://furryfriendshaven.me/wp-content/uploads/2024/12/Cone.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0.15;
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
}

/* Floating Shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s linear infinite;
}

.circle {
    width: 100px;
    height: 100px;
    background: #ff6f61;
    border-radius: 50%;
}

.square {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #4a90e2;
}

.blob {
    width: 120px;
    height: 120px;
    background: #50c878;
    border-radius: 40% 60% 70% 30% / 30% 50% 50% 70%;
}

.shape:nth-child(1) { top: 10%; left: 10%; animation-duration: 12s; }
.shape:nth-child(2) { top: 40%; left: 80%; animation-duration: 15s; }
.shape:nth-child(3) { top: 70%; left: 20%; animation-duration: 18s; }
.shape:nth-child(4) { top: 30%; left: 60%; animation-duration: 20s; }
.shape:nth-child(5) { top: 60%; left: 40%; animation-duration: 16s; }
.shape:nth-child(6) { top: 20%; left: 90%; animation-duration: 14s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 30px) rotate(180deg); }
    75% { transform: translate(30px, 10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Floating Steak */
.floating-steak {
    position: fixed;
    width: 150px;
    height: 150px;
    background-image: url('https://furryfriendshaven.me/wp-content/uploads/2024/12/Untitled-design.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: float-steak 8s ease-in-out infinite;
    right: 15%;
    top: 30%;
}

@keyframes float-steak {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.15;
    }
    25% {
        transform: translate(-15px, -15px) rotate(5deg);
        opacity: 0.2;
    }
    50% {
        transform: translate(15px, 15px) rotate(-5deg);
        opacity: 0.15;
    }
    75% {
        transform: translate(15px, -15px) rotate(5deg);
        opacity: 0.2;
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.15;
    }
}

/* Adopt Page Styles */
.adopt-hero {
    background-color: #f4f4f4;
    text-align: center;
    padding: 4rem 2rem;
}

.adoption-process {
    padding: 3rem 2rem;
    background-color: #ffffff;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.process-steps .step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.available-pets {
    padding: 3rem 2rem;
    background-color: #f4f4f4;
}

.pet-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.pet-card {
    flex: 1;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pet-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.adoption-requirements {
    padding: 3rem 2rem;
    background-color: #ffffff;
}

.contact-adoption {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f4f4f4;
}

.contact-adoption .cta-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

/* Contact Page Styles */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.contact-form {
    flex: 1;
    background-color: #f4f4f4;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.contact-info {
    flex: 1;
    background-color: #f4f4f4;
    padding: 2rem;
    border-radius: 8px;
}

.contact-details {
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 0;
    margin-top: 3rem;
    position: relative;
}

.footer-wave {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -5px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ff6f61;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff6f61;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ff6f61;
    transform: translateX(5px);
}

/* Social media icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #444;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #ff6f61;
    transform: translateY(-5px);
}

/* Newsletter form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input[type="email"] {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: #fff;
    font-family: inherit;
}

.newsletter-form input[type="email"]::placeholder {
    color: #aaa;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: #ff6f61;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e55a4d;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: #222;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

/* Footer responsiveness */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links a {
    margin-right: 0.5rem;
    text-decoration: none;
    color: #333;
}

.footer-bottom {
    background: #ddd;
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .text-column {
        max-width: 100%;
    }
    
    .text-column p {
        max-width: 100%;
    }
    
    .nav-links {
        display: none;
    }
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .principles-grid, .features-grid, .species-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-statement, .conclusion-content {
        padding: 0 1rem;
    }
    
    .principle-card, .feature-card {
        padding: 1.5rem;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@container page (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
}

/* Video and Games Page Styles */
.video-section, .games-section {
    padding: 2rem;
    margin: 2rem 0;
}

.video-grid, .game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card, .game-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: transform 0.3s ease;
}

.video-card:hover, .game-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.game-container {
    min-height: 300px;
    background: #f5f5f5;
    border-radius: 8px;
    margin: 1rem 0;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    width: 100%;
}

.play-button:hover {
    background: #45a049;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.legal-content h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.policy-section, .terms-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.policy-section h2, .terms-section h2 {
    color: #444;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.policy-section h3 {
    color: #555;
    margin: 1rem 0;
    font-size: 1.4rem;
}

.policy-section ul, .terms-section ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li, .terms-section li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.policy-section p, .terms-section p {
    margin: 1rem 0;
    line-height: 1.8;
    color: #666;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }
    
    .policy-section, .terms-section {
        padding: 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .policy-section h2, .terms-section h2 {
        font-size: 1.5rem;
    }
}

/* Cheerble page specific styles */
.nav-brand {
    font-weight: bold;
    font-size: 1.5rem;
}
