/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    min-height: 100vh;  
    position: relative; /* Ensure pseudo-element is positioned relative to the body */
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 35px;
    
}

body::before {
    content: ""; /* Necessary for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/img2.jpeg'); /* Path to your background image */
    background-color: rgba(0, 0, 0, 0.3); /* Optional: adds an overlay */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5; /* Set opacity for the background image */
    z-index: -1; /* Ensure it stays behind the content */
    text-align: center;
  
   
}

#sections{
    align-items: center;
}
.head1{
    margin-top: 5px;
    margin-bottom: 50px;
   
}

.autoTyping{

    margin-top: 25px;
    margin-bottom: 25px;

}

.head2{
    margin-top: 30px;
    margin-bottom: 15px;
}

.head-little{
    text-align: center;
    margin-top: 30px;
}



span{
    color: #fff;
}


/* Navbar Styling */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 3px solid #010101;
    padding: 8px 30px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -18px;
   
   
    
}

#navbar .logo a {
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    
}


.navbar-links {
    list-style: none;
    display: flex;
    transition: all 0.7s ease-in-out; 
}

.navbar-links li {
    margin-left: 20px;

}

.navbar-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 5px;
    margin: 35px;
}

.navbar-links a:hover {
    background-color: rgba(115, 110, 110, 0.5);
    transform: scale(1.1);
    border-radius: 8px;
    
}


/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    background-color: #fff;
    height: 3px;
    width: 100%;
    border-radius: 3px;
}

/* Mobile Menu */

.navbar-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 0;
}



.navbar-links li {
    margin: 15px 0;
  
}

.navbar-links a {
    font-size: 24px;
    padding: 10px 0;
    text-align: center;
    transition: all 0.3s;
    
}

.navbar-links a:hover
.navbar-links a:focus{
    background-color: rgba(147, 143, 143, 0.5) ;
    transform: scale(1.1);
    font-size: 26px;
}

/* Home Section */

#home{
    margin-top: 100px;
}

#home h1{
    margin-bottom: 20px;
}

/* About Section */


/* Services Section */

#services ul li{
    list-style: none;
}

#services h1{
    margin: 20px;
}

/* Section Styling */
section {
    padding: 100px 20px;
    text-align: center;
}

section h1 {
    font-size: 36px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 1s ease-out;
}

section h2 {
    font-size: 28px;
    animation: fadeInLeft 1s ease-out;
    
}

section p {
    font-size: 20px;
    margin-top: 20px;
    animation: fadeUp 1s ease-out;
}

/* Gallery Section */

#gallery{
    margin-left: 100px;
}

#gallery h1{
    margin-bottom: 25px;
    margin-right: 80px;
}

.carousel{
    max-width: 1200px;
    position: relative;
    
    

}

.carousel i{
    background: #fff;
    height: 56px;
    width: 56px;
    text-align: center;
   line-height: 46px;
   border-radius: 50%;
   cursor: pointer;
   font-size: 1.2rem;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
}

.carousel i:first-child{
    left: -23px;
    
}

.carousel i:last-child{
    right: -23px;
    
}


.carousel .carousel-images {
    white-space: nowrap;
    font-size: 0px;
   cursor: pointer;
   overflow: hidden;
   scroll-behavior: smooth;
}

.carousel-images .dragging{
    cursor: grab;
    scroll-behavior: auto;

}

.carousel-images .dragging img{
pointer-events: none;
}

/* .carousel-images {
    display: flex;
    animation: scrollImages 15s linear infinite;
} */

.carousel-images img {
    height: 400px;
    object-fit: cover;
    width: calc(100% / 3);
    margin: 0 7px;
    
}

.carousel-images img:first-child{
    margin-left: 0px;
}



.footer-content{
    margin-top: 18px;
}

.social-instagram{
    font-size: 25px;
    color: purple;
    margin-top: 1px;
    transition: all 0.3s;
}

.social-instagram:hover{
    font-size:27px ;
}

.bottom-bar h1{
    margin-top: 35px;
}





@media screen and (max-width: 900px){
    .carousel-images img{
    width: calc(100%/2);  
    }
}

@media screen and (max-width: 550px){
    .carousel-images img{
    width: 100% 
    }
    #gallery{
        margin-left: 5px;
    }
    
    #gallery h1{
        
        margin-right: 10px;
    }
}

/* Form Styling */
#contact-form input,
#contact-form textarea {
    width: 80%;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #000000;
}

#contact-form button {
    padding: 12px 25px;
    background-color:  rgba(0, 0, 0, 0.9);
    border: none;
    color: #fff;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color:  rgba(66, 62, 62, 0.9);
}

.bar{
    height: 2px;
    width: 27px;
    background: #fff;
    margin: 5px 0;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.nav--open{
    transform: translate(0) !important;
}

.hamburger--open .bar:nth-child(1){
    transform: translateY(7px) rotate(45deg);

}

.hamburger--open .bar:nth-child(2){
    opacity: 0;
}

.hamburger--open .bar:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);

}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0 25px;
        text-align: center;
        margin-top: 55px;
        transform: translateX(-100%);
        
    }
    .navbar-links li{
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
        
    }

    .navbar-links li a{
        font-size: 16px;
    }

    .navbar-links li a:hover
    .navbar-links li a:focus{
        font-size: 18px;
    }

    .hamburger {
        display: block;
    }

    /* #navbar {
        justify-content: space-between;
    }

    .navbar-links.active {
        display: flex;
    } */
}

/* Animations */
@keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scrollImages {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}