/* GLOBAL RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #333;
    background: #ffffff;
    line-height: 1.5;
}
.hero {
    max-width: 1200px;
    margin: auto;
    padding: 24px 16px;
    position: relative;

    /* Your background hero image */
    background-image: url("animal1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;

    /* Ensures enough height for portrait mode */
    min-height: 600px;

    /* Centers everything on top of the image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* TOP BAR */
 .top-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.85rem;
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap; /* 👈 allows wrapping */
}
.top-bar-inner a {
    color: #555;
    text-decoration: none;
    word-break: break-word;
}
.top-bar-inner a:hover {
    text-decoration: underline;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.header-center {
    flex: 1;
}

.search-form {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.search-form input {
    flex: 1;
    min-width: 0;      /* 🔥 prevents flex overflow */
    width: 100%;
}

.search-form button {
    padding: 8px 14px;
    border-radius: 4px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

.search-form button:hover {
    background: #111;
}

.header-right {
    display: flex;
    gap: 12px;
}

.header-link {
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: underline;
}

/* MAIN NAV */
.main-nav {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    background: #ffffff;
}

.nav-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #0077cc;
}

/* HERO */
.hero {
    max-width: 1200px;
    margin: auto;
    padding: 24px 16px;
    position: relative;
    min-height: 600px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}




.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center;
    text-shadow: 5px 5px 5px black;
    flex: 1;
    margin-top: 150px;
    color: #87CEEB;
}



    


.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color:#87CEEB ;
}

.hero-text p {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color:#ffffff;
    
   
   
}

.hero-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #87CEEB;
    color: black;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    border: 2px solid white;
    text-shadow: 5px 5px 5px white;
}

.hero-btn:hover {
    background: #ffffff;
}

.hero-note {
    font-size: 0.8rem;
    color: #87CEEB;
    margin-top: 6px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


.hero-image-placeholder {
    width: 100%;
    max-width: 420px;
    height: 220px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f5f5, #e6e6e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
}

/* COUPON BADGE */
.coupon-badge {
    position: absolute;
    right: 32px;
    bottom: 10px;
    background: #cce6ff;
    color: black;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    font-size: 0.8rem;
    text-shadow: 5px 5px 5px white;
    
}

.badge-top {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.badge-middle {
    font-size: 1rem;
    font-weight: 700;
}

.badge-bottom {
    font-size: 0.75rem;
}

/* SECTIONS */
.section-title {
    max-width: 1200px;
    margin: 0 auto 12px;
    padding: 0 16px;
    font-size: 1.4rem;
}

.section-subtitle {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 0 16px;
    font-size: 1rem;
    color: #555;
}

/* CATEGORIES */
.categories-section {
    padding: 24px 0 16px;
    background: #f9f9f9;
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 8px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.category {
    text-align: center;
}

.category-img {
    width: 70px;
    height: 70px;
    margin: 0 auto 6px;
    object-fit: contain;
}

.category p {
    font-size: 0.9rem;
}

/* DEALS */
.deals-section {
    padding: 32px 0;
    background: #ffffff;
}

.deals-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.deal-card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 12px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deal-card h4 {
    font-size: 1rem;
}

.deal-card p {
    font-size: 0.9rem;
    color: #555;
}

.deal-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 4px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
}

.deal-btn:hover {
    background: #111;
}

/* SERVICES */
.services-section {
    padding: 32px 0;
    background: #f9f9f9;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 16px;
    background: #ffffff;
}

.service-card h3 {
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.text-link {
    font-size: 0.9rem;
    color: #0077cc;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* ADOPTION / COMMUNITY */
.adoption-section {
    padding: 32px 0;
    background: #ffffff;
}

.adoption-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.adoption-text {
    flex: 1;
}

.adoption-text h2 {
    margin-bottom: 8px;
}

.adoption-text p {
    margin-bottom: 10px;
    color: #555;
}

.adoption-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.adoption-placeholder {
    width: 100%;
    max-width: 380px;
    height: 200px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f5f5, #e6e6e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
}

/* APP / SHOP ANY WAY */
.app-section {
    padding: 32px 0 40px;
    background: #f9f9f9;
}

.app-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.app-card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 16px;
    background: #ffffff;
}

.app-card h3 {
    margin-bottom: 6px;
}

.app-card p {
    font-size: 0.9rem;
    color: #555;
}

/* FOOTER */
.footer {
    background: #cce6ff;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* TOP ROW */
.footer-top {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-top: 10px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #222;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 6px 0;
}

.footer-col ul li a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

/* SOCIAL ICONS */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 25px 0;
    padding: 10px 0;
    align-items: center;
}

.footer-certifications,
.footer-social {
    flex-wrap: wrap;
}
.footer-certifications img {
    height: 40px;
}

/* LEGAL LINKS */
.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.footer-legal a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* COPYRIGHT */
.footer-copy {
    font-size: 0.85rem;
    color: #555;
}

  @media (max-width: 600px) {
      
      html, body {
    max-width: 100%;
    overflow-x: hidden;
}

    .top-bar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

 .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;   /* cleaner on mobile */
        gap: 10px;
        font-size: 0.8rem;
    }



    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        background-size: cover;
        background-position: center;

        min-height: 600px;
        padding-top: 0;
    }

    .hero-text {
        margin-top: 0;
        text-align: center;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1.3rem;
    }

    .hero-btn {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .hero-image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .coupon-badge {
        position: static;
        margin-top: 16px;
        align-self: center;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deals-grid,
    .services-grid,
    .app-grid {
        grid-template-columns: 1fr;
    }
}


