/* Import Google Font for headings */
@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&family=Merriweather:wght@300;400&display=swap');

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

/* Body Styling */
body {
    font-family: 'Merriweather', serif;
    background-color: #f0f8ff;
    background-image: url("images/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Custom Font for Headings */
h1, h2, h3 {
    font-family: 'Arvo', serif;
}
/* Main Content Wrapper */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    padding: 20px;
}

/* Full-width Navigation Styling */
nav {
    width: 100%;
    background-color: #444;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    margin: 0;
}

nav ul li a {
    color: #f0f8ff;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: bold;
}

nav ul li a:hover {
    background-color: #f0f8ff;
    color: #444;
    border-radius: 4px;
}

/* Hero Text Styling */
header h1 {
    font-size: 3.5em;
    color: #49e0e0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

/* Intro Section Styling */
.intro {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.6;
}

.intro-content {
    background-color: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.intro h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.intro h2 {
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #2f4f4f;
}

.intro p {
    margin: 15px 0;
    font-size: 1.1em;
}

.intro ul {
    list-style-type: disc;
    margin: 10px auto;
    padding-left: 20px;
    text-align: left;
    max-width: 400px;
}

.intro ul li {
    margin: 5px 0;
    font-size: 1.1em;
}

/* Flexbox Columns on Home Page */
.columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.column {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    flex: 1 1 300px;
    margin: 10px;
    max-width: 300px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.column:hover {
    transform: scale(1.05);
}

/* Adoption Info Text Styling */
.adoption-info p {
    font-size: 1.2em;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0 auto 20px auto;
    max-width: 80%;
}

/* Adoption Gallery Flexbox Layout */
.dog-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.dog-profile {
    background-color: #60bcd3;
    border: 1px solid #c4d8e2;
    border-radius: 8px;
    padding: 15px;
    width: 45%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.dog-profile img {
    width: 100%;
    border-radius: 8px;
}

.dog-profile h2 {
    color: #2b3a42;
    margin-top: 10px;
    font-size: 1.5em;
}

.dog-profile p {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    color: #2b3a42;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.dog-profile:hover {
    transform: scale(1.05);
}

/* About Page Breed Section */
.about-info {
    text-align: center;
    margin-bottom: 30px;
}

.about-info .highlight-box {
    background-color: rgba(255, 255, 255, 0.85); /* Slightly opaque background */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    margin: 20px auto;
    max-width: 750px; /* Limit width for better readability */
    text-align: center;
}

.about-info h2 {
    font-size: 2em;
    color: #2f4f4f;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase; /* Makes it pop more */
    letter-spacing: 1px; /* Adds spacing between letters */
}

.about-info p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    margin: 10px 0;
}

.breed-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.breed-box {
    background: linear-gradient(135deg, #d3e4eb, #ffffff);
    border: 1px solid #c4d8e2;
    border-radius: 15px;
    padding: 20px;
    width: 30%;
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.breed-box::before {
    content: "🐾";
    font-size: 2em;
    color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 10px;
    left: 10px;
}

.breed-box h3 {
    color: #2f4f4f;
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.breed-box p {
    color: #333;
    font-size: 1em;
    line-height: 1.6;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breed-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Styling */
footer {
    background-color: #444;
    color: #f0f8ff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #f0f8ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Breed Label Styling in Gallery */
.breed-label {
    font-size: 0.9em;
    color: #2b3a42;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Caring Info Section */
.caring-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 20px auto;
}

.caring-section {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly opaque background */
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    width: 45%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
    transition: transform 0.3s;
}

.caring-section h2 {
    font-size: 1.8em;
    color: #2f4f4f;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.caring-section p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    margin: 10px 0;
}

.caring-section:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
}

/* Footer Styling */
footer {
    background-color: #444;
    color: #f0f8ff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #f0f8ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Styling for Owner Photo in Intro Section */
.owner-photo {
    width: 150px; /* Adjust as needed */
    height: auto;
    border-radius: 50%; /* Makes the image circular */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds subtle shadow for depth */
    margin: 0 auto 10px auto; /* Centers the image and adds space below */
    display: block;
}

.intro-content figcaption {
    font-size: 0.9em;
    color: #555;
    text-align: center;
    margin-bottom: 20px; /* Space between caption and next content */
}

/* Snowflake container */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1000; /* Make sure snowflakes appear above all other content */
}

/* Snowflake style */
.snowflake {
    position: absolute;
    top: -2em;
    color: #FFFFFF;
    font-size: 1.5em;
    opacity: 0.8;
    user-select: none;
    animation: fall linear infinite;
}

/* Snowflake animation */
@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* Randomized animation duration, delay, and position */
.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 8s;
    animation-delay: 4s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 14s;
    animation-delay: 1s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 11s;
    animation-delay: 5s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 13s;
    animation-delay: 0s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.snowflake:nth-child(10) {
    left: 95%;
    animation-duration: 15s;
    animation-delay: 1s;
}