/* Header Styling */
body {
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--space-cadet);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    position: fixed;  /* Makes header stick */
    top: 0;          /* Positions at top */
    z-index: 1000;   /* Keeps header above other content */
}

/* Adjust main content to prevent hiding under fixed header */
main {
    padding-top: 100px; /* Should match header height */
}
.logo-container {
    height: 100%;
    flex: 1;
    overflow: hidden;
    padding-left: 2.5rem;
}
.logo-container img {
    height: 125px;
    width: auto;
}
nav {
    padding-right: 2rem;
    flex-shrink: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav li {
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
}

nav a:hover {
    color: var(--orange-wheel);
}

nav a.active {
    color: var(--orange-wheel);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--space-cadet);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    font-size: 1.0rem;
}

/* Hero Section Styling */

.hero {
    height: calc(100vh - 100px);
    width: 100%;
    background-image: url('../images/puppy_steth.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: left;
    max-width: 600px;
    padding: 2rem;
    margin-right: 2rem;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: left;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--orange-wheel);
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: white;
    text-align: left;
}

/* Welcome Section Styling */
.welcome {
    padding: 5rem 0;
    background-color: white;
}

/* Welcome Section Width Control */
.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Welcome Section Heading */
.welcome h2 {
    color: var(--space-cadet);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Welcome Content Area */
.welcome-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Welcome Section Paragraph Styling */
.welcome-content p {
    color: var(--english-violet);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Call to Action Button Styling */
.cta-button {
    display: inline-block;
    background-color: var(--orange-wheel);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

/* Button Hover Effect */
.cta-button:hover {
    background-color: var(--space-cadet);
}

/* Services-overview Section Styling */
.services-overview {
    background-image: url('../images/service_section.jpeg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.services-overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.services-overview-content {
    max-width: 600px;
    color: white;
}

.services-overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--orange-wheel);
}

.services-overview-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services-overview-features {
    list-style: none;
    padding: 0;
}

.services-overview-features li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.services-overview-features li::before {
    content: '•';
    color: var(--orange-wheel);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

/* offer Section Styling */
.offer {
    padding: 5rem 0;
    background-color: white;
}

.offer h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--space-cadet);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.offer-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card:hover {
    transform: translateY(-5px);
    background-color: rgba(235, 235, 235, 0.524);
}

.offer-card i {
    font-size: 3rem;
    color: var(--orange-wheel);
    margin-bottom: 1rem;
}

.offer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--space-cadet);
}

.offer-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--english-violet);
}

.offer-btn {
    display: inline-block;
    background-color: var(--orange-wheel);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.offer-btn:hover {
    background-color: var(--space-cadet);
}
/* Responsive Design */
/* Tablets and smaller desktops */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .new-pets {
        grid-template-columns: 1fr;
        height: auto;
    }

    .new-pets-image {
        height: 400px;
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .hero-content {
        margin-right: 1rem;
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .welcome-container,
    .emergency-container {
        padding: 0 1.5rem;
    }

    /* Mobile Navigation */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--space-cadet);
        padding: 1rem;
    }

    nav ul.active {
        display: block;
    }

    nav li {
        margin: 1rem 0;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .welcome h2,
    .emergency h2 {
        font-size: 2rem;
    }
}

/* New-Pets Section Styling */
.new-pets {
    height: 500px;  /* Increased height for better visibility */
    display: grid;
    grid-template-columns: 65% 35%;  /* Image takes 65% of width, text 35% */
}

.new-pets-image {
    background-image: url('../images/kitten_puppy.jpeg');
    background-size: cover;
    background-position: center;
}

.new-pets-content {
    background: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.new-pets-content h2 {
    color: var(--space-cadet);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.new-pets-content p {
    color: var(--english-violet);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.coming-soon {
    color: var(--orange-wheel);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

/* Footer Styling */
footer {
    background-color: var(--space-cadet);
    color: white;
    padding: 2rem 0;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding: 0 2rem;
    align-items: start;
}
.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-hours h3,
.footer-location h3 {
    color: var(--orange-wheel);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.hours-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.clinic-hours h4,
.shop-hours h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.clinic-hours li,
.shop-hours li,
.footer-location p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.time-blocks span {
    margin: 0;
}

.emergency-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
    .hours-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
    }
    
    .welcome-container,
    .services-overview-container {
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 992px) {
    .hero-content {
        max-width: 500px;
    }

    .new-pets {
        grid-template-columns: 1fr;
        height: auto;
    }

    .new-pets-image {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 0.8rem;
    }

    .logo-container img {
        height: 60px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--space-cadet);
        flex-direction: column;
        padding: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .welcome h2,
    .services-overview h2,
    .offer h2 {
        font-size: 2rem;
    }

    .welcome-content p,
    .services-overview-content p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 2rem;
    }
}

.clinic-hours .day {
    font-weight: bold;
    display: inline-block;
    min-width: 120px;
}

.shop-hours .day {
    font-weight: bold;
    display: inline-block;
    min-width: 120px;
}

.time-blocks {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.time-blocks span {
    margin: 2px 0;
}

.emergency-note {
    color: var(--orange-wheel);
    margin-top: 10px;
    font-weight: bold;
}

.clinic-hours ul,
.shop-hours ul,
.footer-location ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.emergency-contact {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--orange-wheel);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emergency-label {
    color: white;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.emergency-number {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}
