/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1rem; /* Base font size */
}

h1 {
    font-weight: bold;
}

h2 {
    text-align: center;
    font-size: xx-large;
}

p {
    font-size: 1.2rem; /* Adjusted for readability */
    color: white;
}

p2 {
    font-size: 0.90rem; /* Adjusted for readability */
    color: black;
    text-align: center;
}

/* Header Styles */
header {
    background-color: #ffffff;
    background-image: url("/images/banner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 100px;
    text-align: center;
    font-weight: bold;
    font-size: xx-large;
}

/* Navigation Styles */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block; /* Inline items for desktop */
    margin-right: 15px;
}

nav ul li a {
    text-decoration: none;
    color: black; /* Default link color */
}

/* Button Styles */
.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF; /* Blue color */
    color: white;
    text-decoration: none;
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    font-weight: bold;
}

.contact-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Main Content Styles */
main {
    padding: 10px;
    background-image: url("/images/bg-img.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Portfolio Section Styles */
portfolio {

}

/* Gallery Styles */
figure {
    display: table; /* Center content horizontally */
    margin: auto;
    text-align: center;
    border-radius: 8px; /* Rounded corners */
    padding: 10px;
}

figcaption {
    margin-top: 10px; /* Optional margin for spacing */
    font-weight: bold;
    text-align: center;
}

.aboutpictures {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    gap: 10px; /* Space between images */
}

.gallery {
    background-image: url("/images/bannerbottom.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex; 
    flex-wrap: wrap; /* Wrap items to fit smaller screens */
    gap: 20px; /* Space between items */
}

.aboutpictures img {
    width: 200px; /* Full width of the container */
    height: 200px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures images fill the box while maintaining aspect ratio */
    border-radius: 5px; /* Optional: Add rounded corners */
}

.gallery img {
    width: 200px; /* Full width of the container */
    height: 200px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures images fill the box while maintaining aspect ratio */
    border-radius: 5px; /* Optional: Add rounded corners */
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 10px;
    background-color: black;
}

form {
    max-width: 500px;
    margin: auto;
    padding: 10px;
    border-radius: 5px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Responsive Design - Mobile First Approach */

/* For small screens (mobile devices) */
@media (max-width: 768px) {
    
    header {
        padding: 50px; /* Reduce padding for smaller screens */
        font-size: large; /* Adjust header text size */
        text-align:center
        }
    
  
   .gallery figure{
      width:auto%;
   }
   .aboutpictures figure{
      width:auto%;
    }
    
}
  #backToHomeBtn {
    position: true; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Ensure it doesn't overlap other elements */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #4CAF50; /* Button background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Padding for the button */
    border-radius: 10px; /* Rounded corners */
    font-size: 14px; /* Font size for the text */
}

#backToHomeBtn:hover {
    background-color: #45a049; /* Darker background on hover */
}
