/*
Theme Name: 2025 Sibling
Theme URI: http://example.com/twenty-twenty-five-child
Description: A child theme for the Twenty Twenty-Five theme.
Author: oxyk
Author URI: http://example.com
Template: twentytwentyfive
Version: 1.0.0
Text Domain: twenty-twenty-five-child
*/

/* Importing parent theme styles */
@import url("../twentytwentyfive/style.css");

/* Mobile styles: Full width on small screens */
@media (max-width: 768px) {
            .page-container section, .page-container section .inner, main,  .header-container, .footer-container {
                width: 100%;
                
            }
            

}



*,
*::before,
*::after {
    box-sizing: border-box;
}


html, body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure the page takes full height */
    margin: 0; /* Remove default margin */


}

header, footer {
    flex-shrink: 0; /* Prevent them from shrinking */
    align-items: center;
    display: flex;
    flex-direction: column;
}

main {
	display: flex;
    flex-grow: 1; /* Ensure the main content takes up the remaining space */
}


a, a:hover, a:visited {text-decoration: none}


header .header-container, footer .footer-container{
  display: flex;
  align-items: center; /* Aligns the images vertically in the center */
  height: auto; /* Adjust as needed for your header height */
  flex-direction: column;
  padding: 0px 0px;
}


.left, .right {
  width:auto; /* Set width to the same size for both images */
  height: auto;
  align-self: center;
}

.left {
    display: flex;
    justify-content: flex-start; 
}

.right {
    display: flex;
    justify-content: flex-end;
}

.header-top-area,.add-html, .footer-top-area  {
width: 100%;
display: flex;
text-align: center;
justify-content: space-between; /* Pushes the elements to opposite corners */
  background: linear-gradient(to right, transparent, #ccc, transparent); /* Gradient for fading edges */
}


.header-title {
width: 100%;
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
padding: 10px 20px;
}

.add-html {
justify-content: center; 
padding: 5px 3px;
}



a[href^="tel:"]:before {
        content: "\260e";
        margin-right: 10px;
}

a[href^="https://wa.me/"]:before {
    content: "\1F4AC"; /* WhatsApp icon (speech balloon) */
    margin-right: 10px;
}



a.phone-link {
margin:0px 10px;
}

.header-title h1 {
text-align: center;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.plain-text h5, .header-title h1, .header-top-area h4 {
margin:0;
padding:5px 0px;
}

.plain-text h5:before {
    content: "\1F4CD"; /* WhatsApp icon (speech balloon) */
    margin-right: 10px;
}

.header-title h1 {
font-weight: 600;
}

h2.page-heading {
text-align: center;
margin:0;
padding:10px 0px 20px 0px;
text-transform: uppercase;
}

h2 {
text-transform: uppercase;
}


/* footer */

footer ul {
    list-style-type: none;  
    padding: 0;              
    margin:5px 0px;             
}


footer li {
    display: inline;        
    margin-right: 20px;      
}

footer li:last-of-type {
  
    margin-right: 0px;      
}

footer li a {
    text-decoration: none;   
      
}

.footer-top-area, .copyright {
justify-content:center;
text-align: center;
}

.copyright p {
font-size: 90%;
padding:20px;
}

@media (max-width: 768px) {
    header .header-top-area {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: flex-start; /* Align items to the start of the container */
        justify-content: flex-start; /* Ensure no space between items */
    }

    .left, .right {
        width: 100%; /* Ensure both blocks take the full width */
        justify-content: center;
        text-align: center;
         margin-top: 10px; /* Space between .left and .right blocks */
    }


    
}

main .page-container {
    display: flex; /* Make wrapper a flex container */
    flex-direction: column;
    flex-wrap: wrap; 
      align-items: center;
  justify-content: center;
  width: 100%;
}


section {
    display: flex;
  width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
 flex-wrap: wrap; 
   justify-content: center;
  align-items: center;
}



section:nth-child(odd) {
    /* Alternate background for better visibility */
}

.heading {
flex: 1;
text-align: center;
margin:0;
width: 100%;
}

section .inner {
padding: 30px;
 flex-wrap: wrap; 

}

section.center {text-align: center;}

.alignright {
    float: right; /* Ensure it floats to the right */
    margin-left: 15px; /* Space between the image and the text */
    margin-bottom: 10px; /* Space below the image */
}

.alignleft {
    float: left; /* Ensure it floats to the left */
    margin-right: 15px; /* Space between the image and the text */
    margin-bottom: 10px; /* Space below the image */
}

.aligncenter {
    display: block; /* Makes the image a block element */
    margin-left: auto; /* Automatically adds margin to the left */
    margin-right: auto; /* Automatically adds margin to the right */
    margin-bottom: 10px; /* Space below the image */
    max-width: 100%; /* Ensure the image does not exceed the width of its container */
}


/*contact section */

/* Style the section that contains the form */
.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Single column layout */
    gap: 20px; 
    padding: 20px; 
    text-align: left;
}

.contact-form-one {
padding-right: 20px;
}

/* Style the form (second row) */
.contact-form-two {
    display: grid;
    gap: 15px;
}

/* Optional: Style the form fields, if needed */
.contact-form-two input:not(.button-block):not([type="checkbox"]),
.contact-form-two textarea {
    width: 70%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 10px 0px;
}

.contact-form-two textarea {
    width: 100%;
}

.contact-form-two p {
margin:0px;
padding:0px;
}

.contact-form-two .button-block {
margin: 20px auto;
}

/* Button CSS */
.button-block {
  appearance: button;
  background-color: transparent;
  border: 0 solid #e5e7eb;
  border-radius: 1rem;
  font-size: 100%;
  box-sizing: border-box;
  color: #482307;
  column-gap: 1rem;
  cursor: pointer;
  display: flex;
  margin: 20px 0px;
  outline: 2px solid transparent;
  padding: 1rem 1em;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.2);
}


.button-block:hover {
filter: brightness(1.5);
}


/* Flex container for the image grid */
.image-grid-menu {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    margin: 0px;
    padding:0px;
    justify-content: space-between; 
}

/* Flex item for each grid item */
.image-grid-item {
    position: relative;
    flex: 1;
    height: 300px; /* Adjust the height for each image block */
	background-size: contain; /* Ensure image fits the container without cropping */
    background-position: center; /* Center the image inside the container */
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 8px;
}

.grid-item-image {
    width: 100%;  /* Take up full width */
    height: 100%;  /* Take up full height */
    object-fit: cover; /* Ensures the image fits without cropping */
    object-position: center; /* Centers the image within the container */
}

/* Overlay for text */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3); 
    color: white;
    padding: 10px;
    text-align: center;
    width: 100%;
}

/* Title style */
.image-overlay h3 {
    margin: 0;
    font-size: 120%;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

/* Hover effect to scale the image */
.image-grid-item:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.grid-item-link {
    display: block;
    height: 100%;
}

/*nice-image */
.nice-image-wrapper {
  display: flex;                /* Enable Flexbox layout */
  flex-direction: column;       /* Stack the image and alt text vertically */
  align-items: center;          /* Center the image horizontally */
  justify-content: flex-end;    /* Push the alt text to the bottom */
  position: relative;           /* For absolute positioning of alt text */
  max-width: 100%;              /* Make the wrapper responsive */
  width: 100%;                  /* Ensure wrapper takes full width */
  background: black;
  padding: 20px 20px 0px 20px;
  border-radius: 5px;
}

.nice-image-container {
  display: flex;                /* Enable Flexbox layout */
  flex-direction: column;       /* Stack the image and alt text vertically */
  align-items: center; 
  width: 100%;  
}

/* Style the image itself */
.nice-image-container img {
  display: block;               /* Remove unwanted space below image */
  width: 100%;                  /* Make image responsive and fill container */
  height: auto;                 /* Maintain aspect ratio */
  object-fit: cover;            /* Optional: maintain good aspect ratio for different image sizes */
}

/* Footer container for the image and text */
.nice-image-footer {
           margin-top: -5%;
align-items: center;         /* Center content horizontally */

    width: 100%;                  /* Ensure it takes full width of the parent container */
    padding: 0px 20px;                /* Add padding around the footer */
   
    display: grid;
    grid-template-columns: 1.2fr 7.8fr;
grid-template-rows: fit-content(200px); 
    gap: 20px; 
    text-align: left;
}

/* Style the image in the footer */
.nice-image-footer img {
    height: auto;                 /* Maintain the aspect ratio */
    margin-bottom: 10px;          /* Space between the image and the alt text */
    flex-shrink: 0; 
}

.nice-image-logo {
width: 100%;
height: 100%;
background-size: contain;
background-repeat: no-repeat;
background-position: center center; 
padding: 20px 0px;
margin-top: 8%;
}

/* Style for the alt text section */
.nice-image-alt-text {
    color: white;                  
    text-align: center;            
    padding: 20px 0px;                 
    display: flex;
    justify-content: center;      
    align-items: center;            /* Center the text vertically */
	margin-top: 5%;
}

.nice-image-alt-text h3 {
line-height: 130%;
margin: 0px;
color: white;
text-align:left;
width: 100%;
text-transform: uppercase;
}

.nice-image-alt-text h3 span {
width: 100%;
display:block;
}

.nice-image-alt-text a, .nice-image-alt-text a:visited {
color: inherit;
white-space: nowrap;
font-size: 80%;
}

b {
font-weight: 800;
}

/* Make it responsive: When screen width is small, adjust to 2 or 1 column */
@media (max-width: 768px) {
    .image-grid-item {
        flex: 1 1 50%; /* Two items per row */
    }
    
    .contact-form-section {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout */
    padding: 10px; /* Optional: Add padding to the container */
	}
	
	section .inner {
            padding: 20px;
    }
}

@media (max-width: 480px) {
    .image-grid-item {
        flex: 1 1 100%; /* One item per row */
    }
    
    .contact-form-section {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout */
    padding: 5px; /* Optional: Add padding to the container */
	}
	
	.contact-form-two input:not(.button-block):not([type="checkbox"]) {
	width: 100%;
	}
	
	.nice-image-footer { grid-template-columns: 1fr 4fr; gap: 10px; padding:5px; margin-top: -5%;}
	.nice-image-alt-text h3 { font-size: 100%;}
	.nice-image-alt-text { padding: 5px; }
}


.header-title h1  {
margin-bottom: 10px;
}

section.top-image, section.top-section {
background: none !important;
padding: 0px;
}

section.top-image img {
  display: block;               /* Remove unwanted space below image */
  width: 100%;                  /* Make image responsive and fill container */
  height: inherit;                 /* Maintain aspect ratio */
  object-fit: cover;            /* Optional: maintain good aspect ratio for different image sizes */
  overflow:hidden;
}

section.top-image .inner {
padding: 2px;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.2);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 1px;
    top: 13px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}
