/*
* Hoof and Paw Veterinary Clinic
* CSS Stylesheet
*/

/* --- General Styles --- */
*{
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
    overflow-x: hidden;
}
.header{
    width: 100%;
    position: relative;
    background-color: #5442f8; 
}
body {
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: auto;
}
section {
    scroll-margin-top: 110px;
}
button:hover {
    background-color: #ff6600;
    transform: scale(1.09);
}
nav{
    background-color: #5442f8;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    position: fixed; /* Keep navbar always visible */
    top: 0;
    width: 100%;
    z-index: 1000;
}
/* ---------- WHATSAPP "BOOK NOW" BUTTON ---------- */
.whatsapp-item {
    margin-left: auto; /* Pushes the button to the right */
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the button */
    height: 80px; /* Match navbar height */
    padding: 0; /* Ensures no extra space */
}
.whatsapp-button {
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    padding: 0px 20px; /* Adjust padding */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* Prevents button from stretching */
    height: 100%; /* Match navbar height */
    line-height: normal; /* Ensure text stays centered */
}
.whatsapp-button:hover {
    background-color: #1EBE5D;
    transform: scale(1.05);
}
/* ----------------------------------------------- */

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 120%;
}
nav li{
    height: 80px;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #fff;
}
nav a:hover{
    background-color: orange;
}
nav li:first-child{
    margin-right: auto;
}
.sidebar{
    display: none; /* Hide sidebar initially */
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(0, 0, 500, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar li{
    width: 100%;
    
}
.sidebar a{
    width: 100%;
}
.menu-button{
    display: none;
}

/* Offset section headings to prevent navbar overlap */
div[id]:not(#home) { 
    position: relative;
    top: -100px;
    visibility: visible;
}



/* ---------- WHATSAPP BOX STYLES ---------- */
.whatsapp-box {
    width: 90%; /* Allows flexibility for different screen sizes */
    max-width: 400px; /* Prevents it from becoming too large */
    background-color: #ADD8E6;
    border: 5px solid orange; /* Reduce border thickness */
    padding: 20px;
    margin: auto; /* Centers the box */
    border-radius: 10px; /* Adds rounded corners */
    box-sizing: border-box; /* Ensures padding doesn't expand width */
}


/* ---------- CONTACT FORM STYLES ---------- */
input[type="text"],
input[type="email"] {
    width: 100%; /* Make all input fields full width */
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: block;
    margin: 10px auto; /* Centering */
    box-sizing: border-box; /* Prevents width overflow issues */
}
/* Make the text area (message box) bigger */
textarea {
    width: calc(100% - 24px); /* Adjust width to fit inside the form */
    height: 200px; /* Increase height */
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: vertical;
    display: block;
    margin: 10px auto; /* Center horizontally */
    box-sizing: border-box; /* Prevents width issues */
}
.contact-form {
    width: 90%; /* Allows the form to be more flexible */
    max-width: 500px; /* Prevents it from being too wide */
    background-color: #ADD8E6;
    padding: 30px; /* Increased padding for more spacing */
    margin: auto; /* Centers the form itself */
    border-radius: 10px;
    border: 5px solid orange; /* Slightly reduce border thickness */
    text-align: center; /* Centers the form title */
    box-sizing: border-box; /* Ensures padding doesn't increase width */
}
.submit-button {
    display: block;
    margin: 20px auto; /* Center button */
    font-size: 18px;
    background-color: #EA4335;
    padding: 8px 15px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    border: none;
}
/*---------- REVIEWS -----------*/
.slider-container {
    position: relative;
    max-width: 80%;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}
.review-slide {
    width: 100%;
    flex: 0 0 100%;
    object-fit: contain;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}
.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/*---------- ABOUT US -----------*/
.about-us-content {
    border-radius: 10px;
    position: relative;
    text-align: center; /* Center the content inside */
}
.about-us-content img {
    border: 10px solid gold;
	max-width: 500px;
}

/* Combined Section Styles for Headings, Paragraphs, and Links */
#about h1, #reviews1 h1, #team h1, #services h1, #career h1, #gallery h1, #contact h1 {
    color: orange;
    font-size: 50px;
    font-weight: 600;
	text-align: center;
}

#about h2, #reviews1 h2, #team h2, #services h2, #career h2, #gallery h2, #contact h2 {
    color: yellow;
    font-size: 32px;
    font-weight: 600;
}

#about h3, #reviews1 h3, #team h3, #services h3, #career h3, #gallery h3, #contact h3 {
    color: orange;
    font-size: 30px;
    font-weight: 600;
}

#about h4, #reviews1 h4, #team h4, #services h4, #career h4, #gallery h4, #contact h4 {
	color: yellow;
    font-size: 20px;
    line-height: 1.6;
    padding: 10px;
}

#about h5, #reviews1 h5, #team h5, #services h5, #career h5, #gallery h5, #contact h5 {
	color: yellow;
    font-size: 20px;
    font-weight: 300;
    padding: 10px;
}

#about h6, #reviews1 h6, #team h6, #services h6, #career h6, #gallery h6, #contact h6 {
	color: #fff;
    font-size: 20px;
    font-weight: 300;
}

#about p, #reviews1 p, #team p, #services p, #career p, #gallery p, #contact p {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    padding: 10px;
}

#about ul, #reviews1 ul, #team ul, #services ul, #career ul, #gallery ul, #contact ul {
	color: yellow;
    font-size: 20px;
	line-height: 1.6;
    padding: 10px;
	list-style-type:none;
}

#about li, #reviews1 li, #team li, #services li, #career li, #gallery li, #contact li {
	color: white;
    font-size: 20px;
	line-height: 1.6;
    padding: 10px;
}

#about a, #reviews1 a, #team a, #services a, #career a, #gallery a, #contact a {
    color: orange;
}

/*---------- OUR TEAM -----------*/
.team-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
	color: white;
}
.team-member {
    flex-basis: 24%; /* Adjust to fit 4 members in a row */
    text-align: center;
    margin-bottom: 30px;
}
.team-member img {
    width: 40%; /* Keep this, or a similar percentage */
    border-radius: 100px;
}
/*---------- GALLERY -----------*/
.gallery-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.gallery-item {
    flex-basis: 32%;
    margin-bottom: 30px;
    text-align: center;
}
.gallery-item img {
    border: 10px solid gold;
    width: 85%;
}
/*---------- SERVICES -----------*/
/* New Services Section Styling */
.services-content-block {
    display: block; /* Ensures each block stacks vertically */
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
}

.services-content-block img {
    width: 100%;
    max-width: 500px; /* Standardize image size */
    height: auto;
    border: 5px solid white;
}

.services-content-block ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.services-content-block li {
    font-size: 20px;
    color: white;
    padding: 5px 0;
}
}
/* New General Section Styling */
.section-container {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box;
}
/* New Background Colors */
.about-us-bg,
.our-team-bg,
.career-bg,
.contact-bg,
.footer-bg {
    background-color: #5442f8;
}

.light-blue-bg {
    background-color: #6e5cf3; 
}

.white-bg {
    background-color: white;
}

/* New Alignment Rules */
#contact, #footer, #reviews1, #services, #career {
    text-align: center;
}

/* NEW: Team and Services text color */
#team, #services {
    color: white;
}

#footer h4,
#footer p,
#footer .icons a {
    color: #5442f8;
}

/* Flexbox Styling for all main content sections */
.about-us-content,
.team-member,
.services-text,
.services-image,
.gallery-item {
    width: 100%; /* Ensure all items take up full width on mobile */
    max-width: 100%;
}


/* --- Media Queries (for mobile) --- */
@media(max-width: 800px){
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
    .whatsapp-item {
        height: auto; /* Allow natural height */
        text-align: center;
    }
    .whatsapp-button {
        font-size: 14px;
        padding: 8px 12px;
        height: auto;
        line-height: normal;
        display: block;
        margin: 10px auto;
    }
    .contact-form {
        width: 100%; /* Make it fill the screen */
        max-width: 400px; /* Slightly smaller form on mobile */
        padding: 20px; /* Adjust padding for smaller screens */
    }
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 14px;
        padding: 10px;
        margin: 10px 0;
    }
    .whatsapp-box {
        width: 100%; /* Full width for small screens */
        max-width: 350px; /* Slightly smaller on mobile */
        padding: 15px; /* Adjust padding */
    }
    
    /* Media query to fix the about us images on mobile */
    .about-us-content img {
        width: 80%; /* Adjust image size for mobile */
    }
    
    /* New media query to fix mobile layout */
    .team-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }
    .team-member {
        flex-basis: 100%; /* Take up full width */
        max-width: 300px; /* Optional: limit width on larger phones */
    }
    .team-member img {
        width: 50%; /* Adjust image size for mobile */
    }
   /* Mobile-specific adjustments to ensure full width */
.gallery-container,
.team-container,
.services-content {
    flex-direction: column;
    align-items: center;
}

.gallery-item,
.team-member,
.services-text,
.services-image {
    flex-basis: 100%; /* Ensure all items take up full width */
    width: 100%;
    max-width: 100%;
    margin: 10px 0; /* Add some vertical spacing */
}

    /* New media query for mobile services */
    .services-content {
        flex-direction: column;
        align-items: center;
    }
    
    .services-image img {
        width: 80%; /* Adjust image size for mobile */
    }
}
@media(max-width:400px){
    .sidebar{
        width: 100%;
    }
}
@media (max-width: 600px) {
    #home video {
        height: 300px; /* Adjust height for smaller screens */
    }
}