* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #f0e8e0 0%, #e8dccf 100%);
    color: #222;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: #faf7f3;
    box-shadow: 0 2px 16px rgba(80,60,40,0.06);
    padding: 2.2rem 0 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    position: relative;
  }
  
.header-paw-print {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 3rem;
    width: auto;
    opacity: 0.6;
    z-index: 1;
}
  
.logo {
    display: flex;
    align-items: center;
}
  
.logo-img {
    height: 5em;
    width: 4.5em;
    vertical-align: middle;
}
  
.logo-name {
    height: 3.5em;
    width: 18em;
    vertical-align: middle;
}
  
.social-links {
    display: flex;
    margin-top: -1em;
    gap: 1rem;
    margin-right: 1em;
}
  
.social-links a{
      font-size: 1.5em;
}
  
.social-link {
    color: #bfa07a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.5rem;
}
  
.social-link:hover {
    color: #8b6f4d;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(139,111,77,0.2);
}

.nav-link {
    color: #bfa07a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: -0.5em;
  }
  
  .nav-link:hover {
    color: #8b6f4d;
    background: rgba(191,160,122,0.1);
    transform: translateY(-2px);
  }
  
  .breadcrumb {
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.8);
    margin: 1rem 2rem 0 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .breadcrumb a {
    color: #bfa07a;
    text-decoration: none;
    font-weight: 500;
  }
  
  .breadcrumb a:hover {
    color: #8b6f4d;
  }
  
  .breadcrumb span {
    color: #6d5c4a;
    font-weight: 600;
  }

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-intro {
    background: linear-gradient(135deg, #fbeee6 0%, #fff 100%);
    border-radius: 32px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(80,60,40,0.08);
    position: relative;
}

.about-intro::before {
    content: "🐾";
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #a98c6d;
    opacity: 0.7;
    transform: rotate(15deg);
}

.about-intro h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #4e3c2a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-intro p {
    font-size: 1.2rem;
    color: #6d5c4a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-story {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 24px rgba(80,60,40,0.07);
}

.about-story h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4e3c2a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-story h2::before {
    content: "📖";
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.about-story p {
    font-size: 1.1rem;
    color: #6d5c4a;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-mission {
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 24px rgba(80,60,40,0.07);
}

.about-mission h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4e3c2a;
    margin-bottom: 2rem;
    text-align: center;
}

.about-mission h2::before {
    content: "🎯";
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.about-mission ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.about-mission li {
    font-size: 1.1rem;
    color: #6d5c4a;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(191,160,122,0.2);
    position: relative;
    padding-left: 3rem;
}

.about-mission li:last-child {
    border-bottom: none;
}

.about-mission li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1rem;
    color: #a98c6d;
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(191,160,122,0.1);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-cats {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(80,60,40,0.07);
}

.about-cats h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4e3c2a;
    margin-bottom: 2rem;
    text-align: center;
}

.about-cats h2::before {
    content: "🐱";
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

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

.cat-gallery figure {
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(80,60,40,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cat-gallery figure:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(80,60,40,0.15);
}

.cat-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cat-gallery figure:hover img {
    transform: scale(1.05);
}

.cat-gallery figcaption {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4e3c2a;
    margin-top: 0.5rem;
}

.adopt-info {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 2px solid #a98c6d;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    color: #4e3c2a;
    font-weight: 500;
    margin-top: 2rem;
}

.adopt-info::before {
    content: "🏠";
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

footer {
    background: #faf7f3;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    box-shadow: 0 -2px 16px rgba(80,60,40,0.06);
}

footer p {
    color: #6d5c4a;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cat-modal-content {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 95vw;
    }
    #cat-modal-img {
        width: 110px;
        height: 110px;
    }
    #cat-modal-name {
        font-size: 1.2rem;
    }
    #cat-modal-details {
        font-size: 0.98rem;
    }

    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    main {
        padding: 1rem;
    }

    .about-intro,
    .about-story,
    .about-mission,
    .about-cats {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .about-intro h1,
    .about-story h2,
    .about-mission h2,
    .about-cats h2 {
        font-size: 2rem;
    }

    .about-intro p,
    .about-story p,
    .about-mission li {
        font-size: 1rem;
    }

    .cat-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .cat-gallery img {
        height: 150px;
    }

    .header-paw-print,
    #paw {
        display: none;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1.5rem;
    gap: 1.2rem;
  }
  .logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
  }
  .social-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 1.5rem;
    margin: 0;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }
    header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1.5rem;
    gap: 1.2rem;
  }
  .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
  }
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
  }
  .logo-img {
    height: 5em;
    width: 4.5em;
  }
  .logo-name {
    height: 2.8em;
    width: 13em;
  }
    .social-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0rem;
        margin-top: -1.5em;
        margin-right: 1.5em;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        width: auto;
    }
    .nav-link {
        font-size: 1.15rem;
        padding: 0.5rem 1.1rem;
    }

    #paw{
        display: none;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.2rem 0.5rem;
        gap: 0.7rem;
    }
    .logo {
        justify-content: center;
        width: 100%;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger span {
        display: block;
        width: 28px;
        height: 4px;
        margin: 4px 0;
        background: #bfa07a;
        border-radius: 2px;
        transition: all 0.3s;
    }
    .social-links {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #faf7f3;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        box-shadow: 0 8px 24px rgba(80,60,40,0.08);
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
        padding: 1rem 0 1.5rem 0;
        gap: 0.5rem;
        z-index: 1000;
        transition: all 0.3s;
    }
    .social-links.open {
        display: flex;
    }
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0.8rem;
    }
    .about-intro h1,
    .about-story h2,
    .about-mission h2,
    .about-cats h2 {
        font-size: 1.8rem;
    }
    .cat-gallery {
        grid-template-columns: 1fr;
    }
    .about-mission li {
        padding-left: 2.5rem;
    }
    .about-mission li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1rem;
    }
    .header-paw-print,
    #paw {
        display: none;
    }

    .logo-img {
        height: 3em;
        width: 4em;
        vertical-align: middle;
    }
    
    .logo-name {
        height: 3.5em;
        width: 15em;
        vertical-align: middle;

    }

    .about-intro::before{
        margin-top: 0.7em;
    }
}

.cat-modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(34, 24, 10, 0.45);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
}
.cat-modal.show {
    display: flex;
}
.cat-modal-content {
    background: #fff;
    margin: auto;
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 8px 32px rgba(80,60,40,0.18);
    max-width: 400px;
    width: 90vw;
    text-align: center;
    position: relative;
    animation: modalIn 0.2s ease;
}
@keyframes modalIn {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.cat-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #a98c6d;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
    z-index: 2;
}
.cat-modal-close:hover {
    color: #6d5c4a;
}
#cat-modal-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(80,60,40,0.10);
}
#cat-modal-name {
    font-size: 1.7rem;
    color: #4e3c2a;
    margin-bottom: 1rem;
    font-weight: 700;
}
#cat-modal-details {
    list-style: none;
    padding: 0;
    text-align: left;
    color: #6d5c4a;
    font-size: 1.08rem;
    margin: 0 auto;
    max-width: 320px;
}
#cat-modal-details li {
    margin-bottom: 0.7rem;
    padding-left: 1.2rem;
    position: relative;
}
#cat-modal-details li::before {
    content: "•";
    color: #a98c6d;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: 0;
}