
:root {
    --primary: #583b5c;
    --secondary: #791643;
    --tertiary: #4a4e6a;
    --accent: #3b5998;
    --neutral: #636771;
    --text-dark: #a9cfce;
    --text-light: #a3bec0;
}

/* RESET & GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    cursor: url('images/paw.png'), auto;
    font-family: 'Didot', serif;
    background-color: var(--neutral);
    color: var(--text-dark);
    line-height: 1.6;
}

/* STRUCTURE */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    align-items: stretch;
}

/* HEADER */
header {
    color: #72989b;
    text-align: center;
    padding: 0rem 0;
}

.top-banner {
    padding: 0rem;
}

.top-banner h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 212px;
    padding: 0.1rem 1rem;
    background: linear-gradient(to right, #72989b, var(--secondary));
}

.logo-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    max-height: 80px;
    overflow: visible;
}

.logo {
    height: 300px;
    width: auto;
    display: block;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}
.nav-links a:hover {
    color: var(--accent);
}

/* HERO SECTION */
.hero {
    padding: 4rem 2rem;
    background-color: var(--neutral);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.main-image {
    grid-column: span 12;
    transform: translateX(20px);
}

.main-image img {
    width: 92%;
    height: auto;
    border-radius: 8px;
    margin: 15px;
}

.portrait-schedule {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    align-self: flex-start;
}

.image-button-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait-schedule img {
    max-width: 144%;
    height: auto;
    border-radius: 0px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    position: relative;
    left: 0;
    transform: none;
}

.hero-buttons .btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    line-height: 1.2;
    text-align: center;
    width: 200px;
    transition: background-color 0.3s ease-in-out;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
}
.hero-buttons .btn:hover {
    background-color: var(--tertiary);
}

/* SERVICES */
.our-services {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
    font-size: 28px;
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
}

/* CAROUSEL */
.carousel {
    padding: 2rem 0;
    background-color: var(--primary);
    color: var(--text-light);
    position: relative;
}

.carousel h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
    flex-wrap: nowrap;
    max-width: 100%;
    width: 100vw;
    box-sizing: border-box;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container img {
    width: 25%;
    max-height: 513px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    bottom: 10px;
    z-index: 10;
}

.carousel-btn.prev-btn {
    left: 10px;
}

.carousel-btn.next-btn {
    right: 10px;
}

.carousel-btn img.dog-icon {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

.carousel-btn img.dog-icon:hover {
    transform: scale(1.1);
}

/* ABOUT US */
.about {
    padding: 4rem 2rem;
    background-color: var(--neutral);
    color: var(--text-dark);
}

.about-images {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 2rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.about h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
}

.about-images img {
    width: calc(42.5% - 10px);
    height: auto;
    border-radius: 8px;
}

.about-text {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.about-text-mobile {
    display: none;
}

/* CONTACT */
.contact {
    text-align: center;
    padding: 2rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 1rem;
    background: var(--tertiary);
    color: var(--text-light);
}

#pricing {
    text-align: center;
    padding: 2rem;
}
#pricing ul {
    display: inline-block;
    text-align: left;
}

/* DESKTOP ONLY */
.desktop-only {
    display: none;
}
@media (min-width: 769px) {
    .desktop-only {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* MOBILE MEDIA QUERIES */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        width: 120%;
    }

    .main-image img {
        margin-left: 0;
        margin-right: auto;
        display: block;
    }

    .about-text {
        grid-template-columns: 1fr;
    }

    .about-images {
        flex-direction: column;
        align-items: center;
    }

    .about-images img {
        width: 100%;
    }

    .top-banner {
        padding: 0.5rem;
    }

    .top-banner h1 {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        padding: 0;
        background: transparent;
        margin-top: 1rem;
    }

    .logo-container {
        margin-top: 60px;
        justify-content: center;
        display: flex;
        width: 100%;
    }

    .logo {
        height: 260px;
        margin: 0 auto;
    }

    nav {
        display: none;
    }

    .hero {
        gap: 1rem;
    }

    .portrait-schedule img.portrait {
        display: none;
    }

    .portrait-schedule {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        margin: 0 auto;
        display: inline-block;
    }

    .main-image {
        order: 0;
        width: 100%;
        grid-column: span 12;
    }

    .hide-mobile {
        display: none;
    }
}
