@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Rouge+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Delius', cursive;
    color: #5a4634;
}

html, body {
    background-color: #fffaf5;
    min-height: 100vh;
}

.main-header {
    background-image: url("SnoutSI/bannernew.jpg");
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 2em 0 3em 0;
    text-align: center;
}

.main-nav {
    background-color: rgba(226, 125, 96, 0.4);
    backdrop-filter: blur(4px);
    padding: 1em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    margin-bottom: 30px;
    display: flow-root;
}

    .main-nav ul {
        list-style: none;
    }

    .main-nav li {
        display: inline-block;
        margin: 0 1em;
    }

    .main-nav a {
        font-family: "Red Hat Text", sans-serif;
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        text-decoration: none;
        font-size: 1.1em;
        padding: 0.5em;
        transition: background-color 0.3s;
    }

        .main-nav a:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

.snout-name {
    font-family: 'Pacifico', cursive;
    font-size: 4em;
    color: white;
    margin-top: 0.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.snout-name-large {
    color: white;
    font-size: 5em;
    line-height: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2em 1.5em;
}

.section-header {
    font-family: 'Red Hat Text', sans-serif;
    color: #a0522d;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 1em;
}

.about-image {
    float: left;
    width: 200px;
    height: 200px;
    margin: 0 1.5em 1em 0;
    border-radius: 50%;
    object-fit: cover;
}

.content-section p {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1em;
}

/* Hero Section Styles */
.picture-buttons.pet-types {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 2em; 
    margin-top: 3em;
}

.picture-buttons .pet-type {
    display: block;
    margin: 0 auto;
    max-width: 800px;
}

.picture-buttons .pet-type-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.picture-buttons .pic-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    margin: 0;
    text-decoration: none;
    transition: transform 0.3s;
}

.picture-buttons .pic-button-text {
    margin: 15px auto 0;
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 600;
    width: fit-content;
}

/* Regular Pet Types Grid */
.pet-types:not(.picture-buttons) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

    .pet-types:not(.picture-buttons) .pet-type {
        display: inline-block;
        margin: 30px;
    }

.pet-type-image {
    height: 200px;
}

.type-text-link {
    display: flex;
    align-items: center;
    padding: 5px;
}

.pic-button:hover {
    transform: scale(1.05);
}

    .pic-button:hover img {
        opacity: 0.9;
    }

/* Why Adopt Section */
.why-adopt {
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
}

.custom-list {
    text-align: center;
    margin: 0 auto;
}

    .custom-list ul {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
        padding: 0;
        font-family: 'Red Hat Text', sans-serif;
    }

    .custom-list li {
        position: relative;
        padding-left: 30px;
        margin: 20px 0;
        list-style: none;
        font-size: 1.1em;
        font-weight: 600;
    }

    .custom-list ol {
        list-style-type: decimal;
        padding-left: 15px; 
        font-family: 'Red Hat Text', sans-serif;
        font-weight: 600;
    }

        .custom-list ol li {
            margin: 20px 0; 
            padding-left: 10px; 
            list-style: decimal;
            list-style-position: inside;
        }
.icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

    .icon:hover {
        transform: translateY(-50%) scale(1.3);
    }

.stats-banner {
    background-color: #f4a261;
    color: white;
    padding: 3em 0;
    text-align: center;
    margin: 2em 0;
}

.stats-banner .container {
    max-width: 900px;
    margin: 0 auto;
}

.stats-banner h2 {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 1em;
}

.stats {
    display: flex;
    justify-content: space-around;
    gap: 1.5em;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

stat-item h3 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.stat-item p {
    font-size: 1.2em;
    font-weight: 400;
}

/*HELP*/

.faq-section {
    background-color: #fdf4ef;
    padding: 4em 1.5em;
}

.faq-item {
    margin-bottom: 2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #e7c4aa;
    padding-bottom: 1em;
}

    .faq-item h3 {
        font-family: 'Red Hat Text', sans-serif;
        font-size: 1.2em;
        color: #a0522d;
        margin-bottom: 0.5em;
        cursor: pointer;
    }

.faq-answer {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1em;
    color: #5a4634;
    line-height: 1.6;
}

.essential-resources {
    background-color: #fff2ea;
    padding: 4em 1em;
}

.resource-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2em;
    max-width: 1000px;
    margin: 0 auto;
}

.resource-card {
    background-color: white;
    border: 1px solid #f4a261;
    border-radius: 8px;
    padding: 2em;
    width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .resource-card h3 {
        font-size: 1.4em;
        margin-bottom: 0.5em;
    }

    .resource-card p {
        font-family: 'Red Hat Text', sans-serif;
        font-size: 1em;
        margin-bottom: 1em;
    }

    .resource-card .btn {
        font-size: 0.95em;
        padding: 0.6em 1.2em;
    }

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/*Success*/

.success-stories {
    background-color: #fffaf5;
    padding: 4em 1em;
}

.stories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.story-card {
    background-color: white;
    border: 1px solid #e6cfc2;
    border-radius: 8px;
    width: 300px;
    padding: 1.5em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

    .story-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 1em;
    }

    .story-card h3 {
        font-size: 1.3em;
        margin-bottom: 0.5em;
        color: #a0522d;
        font-family: 'Red Hat Text', sans-serif;
    }

    .story-card p {
        font-family: 'Red Hat Text', sans-serif;
        font-size: 1em;
        color: #5a4634;
        line-height: 1.5;
    }

/*pet adoption*/
.pet-adoption {
    background-color: #fffefc;
    padding: 4em 1em;
}

    .pet-adoption .intro-text {
        max-width: 700px;
        margin: 0 auto 2em;
        text-align: center;
        font-family: 'Red Hat Text', sans-serif;
        color: #5a4634;
        font-size: 1.1em;
    }

.pet-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.pet-card {
    background-color: white;
    border: 1px solid #e7cfc2;
    border-radius: 8px;
    padding: 1.5em;
    width: 260px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

    .pet-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 1em;
    }

    .pet-card h3 {
        font-family: 'Pacifico', cursive;
        font-size: 1.5em;
        color: #a0522d;
        margin-bottom: 0.5em;
    }

    .pet-card p {
        font-family: 'Red Hat Text', sans-serif;
        font-size: 0.95em;
        margin-bottom: 1em;
        color: #5a4634;
    }


/* Footer Styles */
.main-footer {
    background-color: #e29578;
    color: white;
    padding: 2em 1em 1em;
    margin-top: 3em;
}

.main-footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}

.footer-links,
.footer-social {
    list-style: none;
    display: flex;
    gap: 1.5em;
    padding: 0;
    margin: 0;
}

    .footer-links a {
        text-decoration: none; 
        color: white;
        font-family: 'Red Hat Text', sans-serif;
        font-weight: 600;
        font-size: 1em;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: #fcd5ce; 
        }

    .footer-social img {
        filter: brightness(0) invert(1); 
        transition: transform 0.3s ease;
    }

        .footer-social img:hover {
            transform: scale(1.1);
        }


/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.67em 1.5em;
    text-align: center;
    cursor: pointer;
    border-radius: 0.3em;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-header {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #f4a261;
    color: white;
    font-size: 1.5em;
    margin: 1em auto;
    padding: 0.5em 2em;
}

    .btn-header:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.btn-primary {
    background-color: #e76f51;
    color: white;
    border: none;
    font-weight: bold;
}

    .btn-primary:hover {
        background-color: #c94c34;
    }

/*Contact page*/

.form-title {
    text-align: center;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1.9em;
    color: #a0522d;
    margin-bottom: 1em;
}

.title-divider {
    width: 300px;
    height: 3px;
    background-color: #f4c6ab;
    margin: 0.5em auto 2em;
    border-radius: 3px;
}

.contact-box {
    background: linear-gradient(to right, #ffe5d4, #ffe9db);
    display: flex;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-left {
    flex-basis: 60%;
    padding: 40px 60px;
    background-color: #fff8f4;
    border-right: 1px solid #f4c6ab; 

}

.contact-right {
    flex-basis: 40%;
    padding: 40px;
    background: #ffcdb2; 
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2em 0;
}

.info-section {
    text-align: center; 
    padding: 1em 0;
}

.info-section h4 {
    margin-bottom: 0.5em;
    color: #a0522d;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1.3em;
}

.info-section p {
    font-family: 'Red Hat Text', sans-serif;
    color: #5a4634;
    font-size: 1em;
}

.info-divider {
    border: none;
    border-top: 1px solid #f4c6ab;
    margin: 0 auto;
    width: 60%;
}

.input-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .input-row .input-group {
        flex-basis: 45%;
    }

.input-group {
    margin-bottom: 20px;
}

.input-double {
    display: flex;
    gap: 1em;
}

.input-double input {
    flex: 1;
}

input, textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d9b8a7;
    outline: none;
    padding-bottom: 5px;
    background: transparent;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1em;
    color: #5a4634;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
}

textarea {
    min-height: 120px;
    resize: vertical;
}
input:focus, textarea:focus {
        border-color: #e29578;
        box-shadow: 0 0 8px rgba(226, 149, 120, 0.5);
        background: #ffffff;

}
    input::placeholder,
    textarea::placeholder {
        color: #e29578;
        box-shadow: 0 0 5px rgba(226, 149, 120, 0.5);
        background: #fff;
    }


button.btn {
    background-color: #e29578;
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.7em 1.5em;
    border-radius: 6px;
    margin-top: 1em;
    transition: background-color 0.3s ease;
}

    button.btn:hover {
        background-color: #d07e62;
    }


/*confirmation*/

.confirmation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: #fffaf5;
    animation: fadeIn 1s ease-in-out;
}

.confirmation-message {
    background-color: #fff8f4;
    border: 1px solid #f4c6ab;
    border-radius: 12px;
    padding: 3em 2em;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    max-width: 500px;
    width: 90%;
}

.confirmation-message h2 {
    font-family: 'Pacifico', cursive;
    color: #e29578;
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.confirmation-message p {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1.1em;
    margin-bottom: 1.5em;
    color: #5a4634;
}

.confirmation-message .icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to {opacity: 1; transform: translate()Y(0;) }
} 

.btn-home {
    display: inline-block;
    margin-top: 1em;
    padding: 0.7em 1.5em;
    background-color: #e29578;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-home:hover {
    background-color: #d07e62;
}

/*individual adoption pages*/

.pet-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 2em;
    align-items: flex-start;
}

.pet-gallery {
    flex: 1;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.pet-gallery img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.pet-details {
    background-color: #fff8f4;
    border: 1px solid #f4c6ab;
    border-radius: 12px;
    padding: 1.5em;
    margin-top: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1em;
    color: #5a4634;
}

.pet-details h3 {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1.5em;
    color: #a0522d;
    margin-bottom: 1em;
}

.pet-details p {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1em;
    margin-bottom: 1em;
    color: #5a4634;
}

/*carousel*/

.carousel-container {
    position: relative;
    max-width: 400px;
    margin: 2em auto;
    overflow: hidden;
    border: 2px solid #f4c6ab;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-slide {
    display: flex;
    width: max-content;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(226, 149, 120, 0.7);
    color: white;
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.carousel-button.left {
    left: 10px;
}

.carousel-button.right {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(208, 126, 98, 0.9); 
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1em;
    gap: 0.5em;
}

.carousel-dots span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #f4c6ab;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer;
}

.carousel-dots .active {
    opacity: 1;
    background-color: #e29578;
}

/*animal aid*/

.aid-header {
    text-align: center;
    margin-bottom: 3em;
}

.aid-quote {
    font-family: 'Red Hat Text', sans-serif;
    color: #a87c65;
    font-style: italic;
    margin-top: 1em;
    text-align: center;
}

/*Swiper*/

.swiper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2em 0;
    position: relative;
    overflow: hidden; 
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

    .swiper-slide img {
        width: 90%;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
        display: block; 
    }

.swiper-button-next,
.swiper-button-prev {
    color: #e29578;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

@media (max-width: 768px) {
    .swiper {
        max-width: 90%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none; 
    }
}

.slide-title {
    text-align: center;
    margin-top: 10px;
    font-family: 'Pacifico', cursive;
    font-size: 1.1rem;
    color: #6b4c3b; 
    text-shadow: 1px 1px #fdf3e7;
}

.swiper-slide a {
    text-decoration: none;
}