* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.hero {
    height: 75vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../img/banner.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo {
    position: absolute;
    bottom: 10px;
    left: 10px;
    height: 60px;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(41, 30, 21, 0.9);
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin-right: 20px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-left: 30px;
}

.social-links a {
    opacity: 0.9;
    transition: opacity 0.2s;
    display: block;
    width: 35px;
    height: 30px;
    background-image: url('../img/socials.png');
    background-size: 75px auto;
}

.social-links a:hover {
    opacity: 1;
}

.social-links a.facebook {
    background-position: 296px 428px;
}

.social-links a.instagram {
    background-position: 335px 428px;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #2C1810;
}

.about-content, .dogs-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.dog-card {
    background: #F5F1EC;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
}

.dog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.dog-card img.flickr-image {
    object-position: center 12%;
}

.dog-card img.chewie-image {
    object-position: center 40%;
}

.dog-card img.roach-image {
    object-position: center 25%;
}

.dog-card h3 {
    margin-bottom: 15px;
    color: #2C1810;
    font-size: 22px;
    text-align: center;
}

.dog-card p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background: #4A3C2A;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #5C4B35;
}

#about {
    background: #FFFFFF;
}

#dogs {
    background: #EBE6E0;
}

#contact {
    background: #F8F6F3;
}

.photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 0 20px;
}

.about-text {
    padding: 0 20px 0 0;
    max-width: 650px;
}

.about-text h3 {
    margin-bottom: 25px;
    color: #2C1810;
    font-size: 28px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 0;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image .photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.about-text .contact-info {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #EBE6E0;
}

.about-text .contact-info p {
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.6;
}

.about-text .contact-info strong {
    font-size: 19px;
    color: #2C1810;
}

.about-text a {
    color: #4A3C2A;
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

footer {
    background-color: rgba(41, 30, 21, 0.9);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    font-size: 14px;
    opacity: 0.9;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;  /* Stack in single column on mobile */
        gap: 30px;
    }

    .about-text {
        padding: 0;  /* Remove right padding on mobile */
        order: 2;    /* Move text below image on mobile */
    }

    .about-image {
        order: 1;    /* Move image above text on mobile */
        height: 300px;  /* Slightly smaller height on mobile */
        margin: 0;   /* Remove any margins */
    }

    .about-text .contact-info {
        margin-top: 30px;  /* Adjust spacing for mobile */
        padding-top: 20px;
    }
}

.social-links-footer {
    margin-left: -5px;  /* Move links to the left */
    margin-top: 10px;    /* Add some space from the address */
    list-style: none;    /* Remove list bullet */
    display: flex;       /* Keep icons in a row */
    gap: 20px;          /* Space between icons */
}

.social-links-footer a {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-links-footer a:hover {
    opacity: 1;
}