/* Google fonts import */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300&family=Oswald:wght@200;300;400;500;600;700&display=swap");

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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #3a3a3a;
    font-family: "Lato", sans-serif;
}

h1,
h2,
h3 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #252525;
}

.hidden-heading {
    display: none;
}

/* Header & Navigation */
header {
    background-color: #fff;
    padding: 0 1rem;
    position: fixed;
    z-index: 99;
    width: 100%;
    box-shadow: 0 2px 2px #3a3a3a;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

header a {
    text-decoration: none;
    color: inherit;
}

#menu {
    font-size: 110%;
    letter-spacing: 4px;
    list-style-type: none;
}

#menu > li {
    margin-bottom: 1em;
}

.active {
    border-bottom: 1px solid #3a3a3a;
}

nav {
    position: absolute;
    background-color: #fff;
    width: 100%;
    left: 0;
    padding: 0 1rem;
    box-shadow: 0 2px 2px #3a3a3a;
    display: none;
    top: 100%;
}

#nav-toggle {
    display: none;
}

#nav-toggle:checked ~ nav {
    display: block;
}

.nav-toggle-label {
    font-size: 2rem;
    cursor: pointer;
}

/* Main Content */
main {
    flex: 1 0 auto;
    margin-top: 47px;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
#hero {
    height: 600px;
    width: 100%;
    background: url("../images/dogwalking.jpg") no-repeat center center/cover;
    position: relative;
}

#cover-text {
    background-color: rgba(218, 112, 62, 0.7);
    font-size: 130%;
    position: absolute;
    bottom: 30px;
    width: 80%;
    min-height: 200px;
    padding: 40px 0 0 10px;
}

#cover-text > h2,
#cover-text > h3 {
    color: #fff;
}

/* About Section */
#about {
    width: 90%;
    margin: 60px auto;
}

#about h2 {
    text-align: center;
    font-size: 280%;
    margin-bottom: 40px;
}

#about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fdbf0f 0%, rgba(253, 191, 15, 0.1) 100%);
    padding: 40px;
    border-radius: 10px;
}

#about-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#about-intro p {
    line-height: 1.8;
    font-size: 1rem;
}

#about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fdbf0f;
    font-family: "Oswald", sans-serif;
}

.stat-label {
    font-size: 1rem;
    margin-top: 8px;
}

#about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.value-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #fdbf0f;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fdbf0f, #f5a623);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 2rem;
    color: #fff;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Reasons Section */
#reasons {
    width: 90%;
    margin: 20px auto;
}

#reasons h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 280%;
}

#benefits-physical > div,
#benefits-mental > div {
    line-height: 20px;
    margin-bottom: 20px;
}

#benefits p {
    padding: 0 20px;
}

#benefits hr {
    border-top: 1px solid #3a3a3a;
    margin: 5px 0;
}

#circle-cover-bg {
    background: url("../images/dogwalking2.jpg") no-repeat top center/cover;
    height: 90vw;
    width: 90vw;
    margin-bottom: 20px;
    border-radius: 50%;
    max-width: 300px;
    max-height: 300px;
}

#benefits-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Walking Schedule Section */
#times {
    background: url("../images/dogwalking.jpg") no-repeat center center/cover;
    display: flex;
    flex-wrap: wrap;
}

#times div {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    text-align: center;
    flex-basis: 200px;
    flex-grow: 1;
    border: 2px solid white;
}

#times h3 {
    color: #fff;
}

/* Gallery */
#gallery {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #ff9800 0%, #fdbf0f 40%, #ffe98a 75%, #fffaeb 100%);
    min-height: calc(100vh - 65px);
}

#photos {
    column-count: 1;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#photos a {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    break-inside: avoid;
}

#photos a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#photos img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

#photos a:hover img {
    transform: scale(1.05);
}

/* Responsive gallery layout */
@media screen and (min-width: 768px) {
    #photos {
        column-count: 2;
        column-gap: 25px;
    }

    #photos a {
        margin-bottom: 25px;
    }
}

@media screen and (min-width: 1024px) {
    #photos {
        column-count: 3;
        column-gap: 30px;
    }

    #photos a {
        margin-bottom: 30px;
    }
}

/* Footer */
footer {
    background-color: #252525;
    color: #fff;
    padding: 40px 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-section {
    padding: 20px 0;
}

.footer-section h3 {
    color: #fdbf0f;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-section p i {
    margin-right: 10px;
    color: #fdbf0f;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fdbf0f;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

#social-networks {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#social-networks li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #3a3a3a;
    border-radius: 50%;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

#social-networks li a:hover {
    background-color: #fdbf0f;
    transform: translateY(-3px);
}

#social-networks i {
    font-size: 1.3rem;
    color: #fff;
}

#social-networks li a:hover i {
    color: #252525;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #3a3a3a;
    font-size: 0.9rem;
    color: #999;
}

.footer-bottom a {
    color: #fdbf0f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive Design */
@media screen and (min-width: 768px) {
    nav {
        display: block;
        position: relative;
        box-shadow: none;
        width: fit-content;
        padding-right: 1rem;
    }

    #menu {
        display: flex;
    }

    #menu > li {
        padding-left: 1rem;
    }

    .nav-toggle-label {
        display: none;
    }

    #logo {
        font-size: 280%;
        line-height: 75px;
        margin: 0 0.5rem;
    }

    main {
        margin-top: 79px;
    }

    #cover-text {
        width: 300px;
        right: 50px;
    }

    #benefits-physical,
    #benefits-mental {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #benefits-physical > div,
    #benefits-mental > div {
        width: 75%;
    }

    #benefits-mental > div {
        text-align: end;
        align-self: flex-end;
    }

    #about-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    #about-stats {
        flex-direction: row;
        gap: 15px;
    }

    #about-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media screen and (min-width: 992px) {
    #menu a:hover {
        border-bottom: 1px solid #3a3a3a;
    }
}

@media screen and (min-width: 1200px) {
    #benefits {
        display: flex;
        flex-direction: row;
    }

    #benefits > div {
        flex: 1;
    }

    #benefits-image {
        order: 0;
    }

    #benefits-mental {
        order: 1;
    }

    #benefits-mental > div {
        align-self: flex-start;
    }

    #benefits-physical > div {
        align-self: flex-end;
    }

    #about {
        margin: 80px auto;
    }

    #about-values {
        grid-template-columns: repeat(4, 1fr);
    }

    .value-card {
        padding: 40px 25px;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}
