/* Basic CSS reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Flexbox setup to ensure footer stays at the bottom */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Top bar styles */
.top-bar {
    background-color: #e0e0e0; /* Grey background */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure it spans the full width */
    flex-wrap: wrap; /* Allow wrapping */
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping */
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow wrapping */
}

.social-media a {
    color: #333; /* Change color to a darker shade */
    text-decoration: none;
    font-size: 1.2em;
}

/* Header styles */
header {
    background-color: #fff; /* White background */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 130px; /* Adjust height */
}

/* Nav bar styles */
nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li {
    text-transform: uppercase;
}

nav ul li a {
    text-decoration: none;
    color: #808080;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s ease;
    border-radius: 5px;
    font-size: 16px; /* Adjust font size */
}

nav ul li a:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px; /* Adjust gap between items */
        width: 100%;
    }

    nav ul li {
        text-align: center; /* Center align items on smaller screens */
    }

    nav ul li a {
        padding: 8px 12px; /* Adjust padding for smaller touch areas */
        font-size: 14px; /* Reduce font size for smaller screens */
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info, .social-media {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

    .contact-info span, .social-media a {
        font-size: 14px; /* Reduce font size for smaller screens */
    }

    .social-media {
        align-items: flex-start;
        flex-direction: row;
    }

    .social-media a {
        margin-left: 0;
        margin-bottom: 0;
    }
}

/* Main content styles */
main {
    flex: 1;
    padding: 20px;
}

.hero {
    height: 300px; /* Adjust height for mobile */
    background: url('teyy.JPG') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Removed hero text styles */

.business-intro {
    text-align: center;
    padding: 20px;
    background-color: #ffffff; /* White background */
}

/* Styles for the icon block */
.icon-block {
    display: flex;
    flex-wrap: wrap; /* Ensure icons wrap on smaller screens */
    justify-content: space-around;
    padding: 20px 0;
    background-color: #ffffff; /* White background */
}

.icon-item {
    text-align: center;
    width: 100%; /* Full width on mobile */
    max-width: 300px; /* Limit width for larger screens */
    margin-bottom: 20px;
}

.icon-image {
    width: 300px;
    height: 400px;
}

/* Extra information section styles */
.extra-info-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.extra-info-section p {
    margin: 10px 0;
}

.icon-item h3 {
    margin: 20px 0 10px;
}

.icon-item p {
    margin-bottom: 20px;
}

.icon-item button {
    background-color: #455c3a;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.icon-item button:hover {
    background-color: #2a3a27;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333; /* Dark background */
    color: white; /* White text */
    font-size: 14px; /* Font size */
    margin-top: auto; /* Push footer to the bottom */
}

/* Dropdown styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

a {
    color: white;
    text-decoration: none;
}

/* Reviews section styles */
.reviews-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
}

.reviews-section h2 {
    margin-bottom: 30px;
}

.review {
    margin-bottom: 20px;
    font-size: 18px;
}

.review p:first-child {
    color: #f1c40f;
    font-size: 24px;
}

/* Pricing intro styles */
.pricing-intro {
    text-align: center;
    padding: 20px;
    color: black;
    background-color: #ffffff;
}

.pricing-intro h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.pricing-intro .intro-text {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Pricing section styles */
.pricing-section {
    display: flex;
    flex-wrap: wrap; /* Wrap items on smaller screens */
    justify-content: space-around;
    padding: 40px 20px;
    background-color: #ffffff;
}

.pricing-block {
    text-align: center;
    width: 100%; /* Full width on mobile */
    max-width: 350px; /* Limit width for larger screens */
    margin-bottom: 20px; /* Add margin between blocks on mobile */
}

.pricing-block img {
    width: 100%; /* Full width for images */
    height: auto;
    object-fit: cover; /* Ensure the image is fully contained */
    margin-bottom: 20px;
}

.pricing-block h3 {
    margin: 1px 0 10px;
    font-size: 24px;
}

.pricing-block p {
    margin-bottom: 20px;
    font-size: 16px; /* Optional: set a font size */
}

.pricing-block table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-block th,
.pricing-block td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.separator {
    border: none;
    border-top: 2px solid rgb(48, 45, 45); /* Thicker line and dark grey color */
    margin: -22px 0; /* Adjust the margin as needed */
}

/* House visits section styles */
.house-visits {
    padding: 20px;
    background-color: #fff;
}

.house-visits h1 {
    text-align: center;
    margin-bottom: 20px;
}

.house-visits p {
    text-align: center;
    margin-bottom: 20px;
}

.services-prices {
    text-align: center;
    margin-bottom: 20px;
}

.services-prices ul {
    list-style: none;
    padding: 0;
}

.services-prices li {
    margin-bottom: 10px;
    font-size: 18px;
}

.house-visit-images {
    display: flex;
    flex-wrap: wrap; /* Ensure images wrap on smaller screens */
    justify-content: space-around;
    gap: 20px; /* Adjust gap as needed */
    margin-bottom: 20px; /* Add some margin below the images */
}

.pet-sit-images {
    display: flex;
    flex-wrap: wrap; /* Ensure images wrap on smaller screens */
    justify-content: space-around;
    gap: 20px; /* Adjust gap as needed */
    margin-top: 20px; /* Adjust margin as needed */
}

.pet-sit-images img {
    width: calc(50% - 10px); /* Adjust width of images */
    height: auto;
}

.house-visit-images img {
    width: calc(50% - 10px); /* Adjust width of images */
    height: auto;
}

@media (min-width: 769px) {
    .pet-sit-images img,
    .house-visit-images img {
        width: calc(25% - 20px); /* Adjust width of images */
    }
}

/* Gallery styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    justify-content: center;
}

.gallery img {
    width: 400px; /* Default width */
    height: 300px; /* Default height */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1); /* Enlarge the image on hover */
}


/* About Me section */
.about-me {
    text-align: center;
    padding: 20px;
}

.about-me-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-me-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-me-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-me-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-me-image img {
    width: 60%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
}


.about-me-gallery img {
    width: 30%;
    max-width: 200px;
    height: auto;
}

.location {
    text-align: center;
    padding: 20px;
}

.location h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    font-size: 14px;
}

.dog-training-ul {
    list-style-position: inside;
    text-align: left;
    margin: 0 auto;
    display: inline-block;
    margin-bottom: 20px;
}