/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    min-width: 400px; /* Prevents window from shrinking below 500px */
    color: #676767; /* Dim Gray for text */    
    font-family: Arial, sans-serif;
}

main {
    margin-top: 20px;
}
/* Header & Banner Styling */

/* Banner Container */
.banner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #003B6D; /* Midnight Blue */
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    margin-bottom: 1px; /* Adjust if needed */
}

/* Banner Top and Bottom Sections */
#banner-top,
#banner-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /*gap: 10px; /* Adds spacing between items */
    width: 100%; /* Ensures the container takes full width */
}

/* Individual Image Containers */
#banner-top > div,
#banner-bottom > div {
    flex: 0 0 auto; /* Prevents flex items from growing or shrinking */
    display: inline-block; /* Ensures the divs behave like inline elements */
}

/* Image Styling */
#banner-top img,
#banner-bottom img {
    max-width: 100%; /* Ensures images don't overflow their containers */
    height: auto; /* Maintains aspect ratio */
}

/* Headings */
h1, h2 {
    color: #003B6D; /* Midnight Blue */
}

/* Line Breaks */
hr {
    border: 1px solid #6699CC; /* Blue Sky */
}

/* Navbar Styling */
.navbar {
    position: relative;
    width: 100%;
    background-color: #6699CC !important; /* Blue Sky */
    color: white;
    padding: 10px;
    margin-top: 10px; /* Adjust spacing below the banner */
}

.navbar a {
    color: #BDBDBD !important; /* Silver */
}

.navbar a:hover {
    color: white !important;
}

.navbar .nav-link.active {
    color: #003B6D !important; /* Midnight Blue */
    font-weight: bold;
    border-bottom: 2px solid #BDBDBD; /* Silver */
}


.page-title {
    font-size: 1.8rem;
    color: #003B6D; /* Midnight Blue */
    text-align: center;
    border-bottom: 2px solid #BDBDBD; /* Silver */
    padding-bottom: 5px;
    margin-bottom: 20px;
}


/* Footer Stick to Bottom */
.footer {
    background-color: #676767; /* Dim Gray */
    color: white;
    text-align: center;
    /*position: fixed;*/ /*--stick the footer to the bottom of the page*/
    bottom: 0;
    width: 100%;
    padding: 10px 0;
}

/* change the background every 5 sec to attract attention, didnt like it really. */

@keyframes btnColorChange {
    0% {
      background-color: #6699CC; 
    }
    25% {
      background-color: #003B6D;
    }
    75% {
      background-color: #6699CC;
    }
    100% {
      background-color: #6699CC;
    }
  }


#btn-search, #btn-consultation {   
    --bs-btn-color: #BDBDBD;
    --bs-btn-border-color: #003B6D;
    --bs-btn-hover-color: #BDBDBD;
    --bs-btn-hover-bg: #003B6D;
    --bs-btn-hover-border-color: #003B6D;
    --bs-btn-focus-shadow-rgb: 25,135,84;
    --bs-btn-active-color: #BDBDBD;
    --bs-btn-active-bg: #003B6D;
    --bs-btn-active-border-color: #003B6D;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #003B6D;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #003B6D;
    --bs-gradient: none;
    --bs-btn-bg: #6699CC;
}

#btn-consultation {
    /*animation: btnColorChange 5s infinite alternate;*/
    --bs-btn-bg: #003B6D;
    /*--bs-btn-hover-color: #676767;*/
    /*--bs-btn-active-bg: #676767;*/
    --bs-btn-hover-bg: #676767;
}



@media (max-width: 800px) {
    #pet-img-3, #pet-img-4, #pet-img-5 {
        display: none;
    }
    #pet-img-11, #pet-img-12, #pet-img-13 {
        display: none;
    }
}

@media (max-width: 900px) {
    #pet-img-3, #pet-img-4 {
        display: none;
    }
    #pet-img-11, #pet-img-12 {
        display: none;
    }
}

@media (max-width: 1100px) {
    #pet-img-3  {
        display: none;
    }
    #pet-img-11 {
        display: none;
    }
}


/* styles for consultation.html -contact form- */

body {
    
    /*background-color: #BDBDBD;*/
    /*margin: 0;*/
    padding: 0;
    /*display: flex;
    /*justify-content: center;*/
    align-items: center;
    /*height: 100vh;*/
    background-color: #f8f9fa;
}

.contact-form-container {
    display: flex;
    background-color: #BDBDBD;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 800px;
    color: #003B6D;
}

.contact-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slideshow {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: changeImage 20s infinite; /* Cambia cada 3 segundos (3 imágenes x 3s) */
}

@keyframes changeImage {
    0%, 33% {
        background-image: url('../img/contact/cat_holding_letetr.jpeg'); /* Imagen 1 */
    }
    34%, 66% {
        background-image: url('../img/contact/dog_holding_letter.png'); /* Imagen 2 */
    }
    67%, 100% {
        background-image: url('../img/contact/pigeon-carring-letter.jpeg'); /* Imagen 3 */
    }
    /*
    100% {
        background-image: url('../img/contact/cat_holding_letetr.jpeg'); /* Vuelve a la Imagen 1 
    }
        */

}

.form-container {
    flex: 1;
    padding: 10px;
}

.form-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #003B6D;
    text-align: center;    
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #003B6D;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #676767;
    border-radius: 4px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #6699CC;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #6699CC;
}

#sm-screens-contact-img {
    padding-bottom: 20px;
}


@media (max-width:550px){
    #black-cat-img {
        display: none;
    }
}

.photo-references a{
    color: #003B6D;
}

.home-card {
    min-height: 796px;
}

.accordion-img {
    height: 400px;
    width: auto;
}

footer p a {
    color : #6699CC;
}

footer div p {
    text-align: center;
}

.social-links {
    margin-top: 10px; /* Add some spacing above the icons */
}

.social-links:hover {
    cursor: pointer;
}
.social-links a {
    margin: 0 5px; /* Add spacing between icons */
    display: inline-block; /* Prevent icons from stacking vertically */
}
.social-links a {
    transition: transform 0.2s ease-in-out; /* Add a transition for smooth effect */
}

.social-links a:hover {
    transform: scale(1.5); /* Scale up slightly on hover */
}

.social-links img {
    /* Add any other styling for the icons (e.g., border radius) */
    width: 25px;
    height: 25px;
}

/* Hover Effect for Images */
.banner-container div > a > img {
    transition: transform 0.2s ease-in-out;
}

.banner-container div > a > img:hover {
    /*transform: scale(1.1); /* Example: Scale up on hover */
    transform: rotate(5deg); /* Rotate the image by 5 degrees */
    /*transform: translateY(-5px); /* Move the image up by 5 pixels */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow */
    /*transform: scale(1.1) rotate(5deg); /* Scale and rotate */
}
/* Mobile Adjustments */
@media (max-width: 849px) {
    #pet-img-3, #pet-img-4, #pet-img-5, #pet-img-6 {
        display: none;
    }
    #pet-img-11, #pet-img-12, #pet-img-13, #pet-img-14 {
        display: none;
    }

    .banner-container img {
        width: 80px;
        height: 80px;
    }

    .slideshow {
        display:none;
    }
    .contact-form-container{
        width:auto;
    }
    .contact-image-container{
        flex:0;
    }
}

@media (min-width: 850px){
    #sm-screens-contact-img {
        display:none;
    }
    
}