/* General Body Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FCFBF8;
    color: #4A4A4A;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: #4A2E2A;
}


.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 3rem;
    width: auto;
}

.logo h1 {
    color: #4A2E2A;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #EAEAEA;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    position: relative;
}

.logo img {
    height: 60px;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #4A2E2A;
    font-weight: 500;
    padding: 15px 10px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    min-height: 44px; /* Minimum touch target size */
}

nav ul li a:hover,
nav ul li a:focus {
    color: #8D6E63;
    background-color: rgba(141, 110, 99, 0.1);
    outline: none;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-switcher a {
    text-decoration: none;
    color: #6D5D4D;
    font-weight: 700;
    padding: 8px 10px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switcher a:hover,
.lang-switcher a:focus {
    background-color: rgba(141, 110, 99, 0.1);
    outline: none;
}

.lang-switcher a.active {
    color: #4A2E2A;
    text-decoration: underline;
    background-color: rgba(74, 46, 42, 0.1);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background-color: rgba(141, 110, 99, 0.1);
    outline: none;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #4A2E2A;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Main Content Sections */
main {
    padding-top: 80px;
}
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}
.gray-bg {
    background-color: #F4F2EF;
}

/* Hero Section */
#hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
#hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); }
.hero-text { position: relative; z-index: 2; }
.hero-text h1 { font-size: 3.5em; color: white; margin: 0; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.hero-text p { font-size: 1.5em; margin-top: 10px; font-family: 'Lora', serif; font-style: italic; text-shadow: 1px 1px 4px rgba(0,0,0,0.7); }

/* Hero Logos */
.hero-logos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    gap: 15px;
    align-items: center;
}

.certification-logo {
    height: 60px;
    width: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Dogs Section */
.dogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.dog-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 44px; /* Minimum touch target size */
    position: relative;
}

.dog-card:hover,
.dog-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    outline: 2px solid #8D6E63;
    outline-offset: 2px;
}

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

.dog-card h3 {
    margin: 15px 0 5px 0;
}

.dog-card p {
    font-size: 1em;
    padding: 0 15px 15px 15px;
    margin: 0;
}

.dog-title-card {
    font-style: italic;
    color: #8D6E63;
    margin-bottom: 10px !important;
}

/* Contact Section */
#contact {
    color: #4A2E2A;
    text-align: center;
}
#contact h2 {
    color: #4A2E2A;
}
#contact p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.contact-info {
    margin: 30px 0;
    font-size: 1.2em;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: #4A2E2A;
    text-align: center;
    padding: 20px;
}
.copyright {
    font-size: 0.9em;
    color: #FFFFFF;
    margin: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25D366; border-radius: 50px; box-shadow: 2px 2px 3px #999; z-index: 100; display: flex; justify-content: center; align-items: center; }
.whatsapp-float svg { width: 32px; height: 32px; }

/* --- MODAL STYLES --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 25px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    z-index: 1002;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.modal-text {
    width: 100%;
}

.dog-title-modal {
    font-style: italic;
    color: #8D6E63;
    font-weight: bold;
    margin-bottom: 15px;
}

#modalDogCertsContainer h4 {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

#modalDogCerts {
    list-style-type: none;
    padding-left: 0;
}

#modalDogCerts li {
    background-color: #F4F2EF;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 8px;
    font-size: 0.95em;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .content-section {
        max-width: 1000px;
        padding: 80px 20px;
    }

    .hero-text h1 {
        font-size: 4em;
    }

    .hero-text p {
        font-size: 1.8em;
    }
}

/* Medium screens (tablets) */
@media (min-width: 768px) and (max-width: 1199px) {
    .modal-content {
        flex-direction: row;
    }

    .modal-image {
        width: 40%;
    }

    .modal-text {
        width: 60%;
    }

    h2 {
        font-size: 2.2em;
    }

    .hero-text h1 {
        font-size: 3em;
    }

    .hero-text p {
        font-size: 1.3em;
    }

    .dogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    nav ul li a {
        padding: 15px 12px;
    }
}


/* Small tablets and large phones */
@media (min-width: 576px) and (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        padding: 10px 15px;
        flex-direction: row;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid #EAEAEA;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 300px;
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        padding: 15px;
        width: 100%;
        display: block;
        font-size: 0.9em;
    }

    .lang-switcher {
        justify-content: center;
        margin-top: 15px;
        font-size: 0.9em;
    }

    .logo img {
        height: 50px;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: 2.5em;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1.2em;
    }

    .content-section {
        padding: 40px 15px;
    }

    .dogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .dog-card img {
        height: 200px;
    }

    .contact-info {
        font-size: 1.1em;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 30px;
        right: 30px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }

    /* Hero logos responsive */
    .hero-logos {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .certification-logo {
        height: 50px;
        padding: 6px;
    }
}

/* Mobile phones */
@media (max-width: 575px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        padding: 10px;
        flex-direction: row;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid #EAEAEA;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 350px;
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        padding: 15px;
        width: 100%;
        display: block;
    }

    .lang-switcher {
        justify-content: center;
        margin-top: 15px;
    }

    .logo img {
        height: 45px;
    }

    main {
        padding-top: 80px;
    }

    #hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-text {
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 2em;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 1em;
        line-height: 1.4;
    }

    h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .content-section {
        padding: 30px 15px;
    }

    .dogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dog-card img {
        height: 250px;
    }

    .contact-info {
        font-size: 1em;
        line-height: 1.6;
    }

    .contact-info p {
        margin: 10px 0;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .modal-content {
        margin: 5% auto;
        padding: 15px;
        width: 95%;
        max-height: 95vh;
    }

    .close-button {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }

    .modal-image {
        max-height: 250px;
    }

    #modalDogCertsContainer h4 {
        font-size: 1.1em;
    }

    #modalDogCerts li {
        font-size: 0.9em;
        padding: 6px 10px;
    }

    footer {
        padding: 15px;
    }

    .copyright {
        font-size: 0.8em;
        line-height: 1.4;
    }

    /* Hero logos responsive for mobile */
    .hero-logos {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .certification-logo {
        height: 40px;
        padding: 5px;
    }
}

/* Extra small phones */
@media (max-width: 375px) {
    .hero-text h1 {
        font-size: 1.8em;
    }

    .hero-text p {
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.6em;
    }

    .content-section {
        padding: 25px 10px;
    }

    nav {
        padding: 8px;
    }

    .logo img {
        height: 40px;
    }

    nav ul li a {
        padding: 12px;
        font-size: 0.9em;
    }

    .modal-content {
        padding: 12px;
    }

    .close-button {
        font-size: 25px;
        top: 3px;
        right: 10px;
    }
}

/* Landscape orientation for mobile devices */
@media (max-width: 767px) and (orientation: landscape) {
    #hero {
        height: 80vh;
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .hero-text p {
        font-size: 1.1em;
    }

    main {
        padding-top: 100px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    header, .whatsapp-float, .modal {
        display: none !important;
    }

    main {
        padding-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .content-section {
        max-width: none;
        padding: 20px 0;
    }

    .dogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .dog-card {
        break-inside: avoid;
    }
}

/* Kennel Carousel Styles */
.kennel-carousel-container {
    margin-top: 50px;
}

.kennel-carousel-container h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #4A2E2A;
}

.kennel-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    background: #FFFFFF;
}


.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 900%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 11.11%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.slide-caption p {
    margin: 0;
    font-size: 1.1em;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    outline: none;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    color: #4A2E2A;
}

.carousel-btn-prev {
    left: 15px;
}

.carousel-btn-next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover,
.indicator:focus {
    border-color: rgba(255, 255, 255, 1);
    outline: none;
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
}

/* Responsive Design for Carousel */
@media (min-width: 768px) and (max-width: 1199px) {
    .carousel-wrapper {
        height: 450px;
    }

    .kennel-carousel-container h3 {
        font-size: 1.8em;
    }

    .slide-caption p {
        font-size: 1em;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .carousel-wrapper {
        height: 380px;
    }

    .kennel-carousel-container h3 {
        font-size: 1.6em;
        margin-bottom: 25px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .slide-caption {
        padding: 25px 15px 15px;
    }

    .slide-caption p {
        font-size: 0.95em;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 575px) {
    .kennel-carousel-container {
        margin-top: 40px;
    }

    .carousel-wrapper {
        height: 300px;
    }

    .kennel-carousel-container h3 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-btn-prev {
        left: 8px;
    }

    .carousel-btn-next {
        right: 8px;
    }

    .slide-caption {
        padding: 20px 12px 12px;
    }

    .slide-caption p {
        font-size: 0.9em;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .carousel-indicators {
        gap: 8px;
        bottom: 15px;
    }
}

@media (max-width: 375px) {
    .carousel-wrapper {
        height: 260px;
    }

    .kennel-carousel-container h3 {
        font-size: 1.3em;
    }

    .slide-caption p {
        font-size: 0.85em;
    }
}

/* Touch and swipe support */
.carousel-track {
    touch-action: pan-y;
}

/* Accessibility improvements */
.carousel-btn:focus-visible {
    outline: 2px solid #8D6E63;
    outline-offset: 2px;
}

.indicator:focus-visible {
    outline: 2px solid #8D6E63;
    outline-offset: 2px;
}

/* Animation for smooth transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-slide.active .slide-caption {
    animation: slideIn 0.6s ease-out 0.3s both;
}

/* Litter Section Styles */
.litter-calendar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .litter-calendar {
        flex-direction: row;
    }

    .litter-timeline {
        flex: 2;
    }

    .litter-info-box {
        flex: 1;
    }
}

.litter-timeline {
    position: relative;
    border-left: 3px solid #8D6E63;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #FCFBF8;
    border: 3px solid #8D6E63;
    left: -30px;
    top: 0;
}

.timeline-item.active::before {
    background-color: #8D6E63;
}

.timeline-date {
    font-weight: bold;
    color: #4A2E2A;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #4A2E2A;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #8D6E63;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.status-badge.upcoming {
    background-color: #A9A9A9;
}

.litter-info-box {
    background-color: #F4F2EF;
    padding: 1.5rem;
    border-radius: 8px;
}

.litter-info-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #4A2E2A;
}

.litter-info-box ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.litter-info-box li {
    margin-bottom: 0.8rem;
}

.contact-button {
    display: inline-block;
    background-color: #4A2E2A;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #8D6E63;
}

/* For Option 1 */
.litter-info {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.litter-details {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #F4F2EF;
    border-radius: 8px;
    display: inline-block;
}

.litter-parents, .litter-date, .litter-availability {
    margin: 0.8rem 0;
}

/* Status Badge Button */
.status-badge-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #8D6E63;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.status-badge-button:hover {
    background-color: #4A2E2A;
    transform: translateY(-2px);
}

.status-badge-button:active {
    transform: translateY(0);
}

/* Keep the non-button badge styling */
.status-badge.upcoming {
    background-color: #A9A9A9;
    cursor: default;
}

/* Section Spacing and Borders */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    border-bottom: 1px solid rgba(141, 110, 99, 0.1);
}

.content-section:last-child {
    border-bottom: none;
}

/* Timeline Image - Smaller Size */
.timeline-image {
    margin-bottom: 1.2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 250px; /* Set a maximum width */
    margin-left: auto;
    margin-right: auto;
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.timeline-image:hover img {
    transform: scale(1.05);
}

/* For the inactive/upcoming litter, make the image more subdued */
.timeline-item:not(.active) .timeline-image img {
    filter: grayscale(70%) brightness(0.9);
}

/* Make the image even smaller on mobile devices */
@media (max-width: 576px) {
    .timeline-image {
        max-width: 180px;
    }
}

/* Partners Section Styles */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.partner-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-card:hover,
.partner-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.partner-logo {
    height: 160px;
    background-color: #F4F2EF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Remove padding */
    overflow: hidden; /* Hide overflow */
    position: relative; /* For absolute positioning of the image */
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    position: absolute; /* Position absolutely within the container */
    top: 0;
    left: 0;
}
.partner-logo.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo.no-image .placeholder {
    font-size: 1.2rem;
    color: #8D6E63;
    text-align: center;
}

.partner-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.partner-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.partner-type {
    color: #8D6E63;
    font-style: italic;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.partner-description {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.partner-link {
    margin-top: auto;
    color: #4A2E2A;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    font-size: 0.9rem;
}

.partner-link:hover {
    text-decoration: underline;
}

/* Responsive styles for partners section */
@media (min-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-logo {
        height: 140px;
    }

    .partner-logo img {
        max-height: 110px;
    }
}

@media (max-width: 575px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partner-logo {
        height: 120px;
    }

    .partner-logo img {
        max-height: 90px;
    }

    .partner-content {
        padding: 12px;
    }

    .partner-content h3 {
        font-size: 1.1rem;
    }

    .partner-type {
        font-size: 0.8rem;
    }

    .partner-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 375px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        height: 140px;
    }
}
/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #4A2E2A;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover,
.social-link:focus {
    transform: translateY(-3px);
    background-color: #8D6E63;
    outline: none;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Facebook specific styling */
.facebook-link {
    background-color: #4267B2;
}

.facebook-link:hover,
.facebook-link:focus {
    background-color: #5B7BD5;
}

/* Instagram specific styling */
.instagram-link {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-link:hover,
.instagram-link:focus {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}
