/* Base styles */
header {
    background: url('/background-MA.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #343a40;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}


body {
    padding-top: 150px;
    width: 100vw; /* Use full viewport width */
    overflow-x: hidden;
}

.carousel-inner {
    width: auto;
    height: auto;
}

.carousel-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* This will ensure the image covers the space without distortion */
}

.floating-icon {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-color: #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.floating-icon img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}


.hero-text {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.mt-3 {
    font-size: large;
    line-height: 1.5;
    margin: 5px 0;
    font-family: Arial, Helvetica, sans-serif
}

.mt-4 {
    font-size: large;
}

.container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.text-center2 {
    width: 45%;
    float: right;
}

.post {
    margin: 40px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.body1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

}

.body2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  
}

.fw-bold {
    font-size: 45px;
    font-family: Arial, Helvetica, sans-serif;
    color: rgba(0, 128, 128, 1)




}
.divider {
    height: 4px;
    background: linear-gradient(to right, #008080, transparent);
    margin: 40px 0;
}

.text-center1 
{ flex: 1; /* Allow the text to grow and shrink with the container */ 
    max-width: 600px; /* Limit the maximum width */ 
    margin: 0 20px; /* Add some margin to the sides */ 
    text-align: left;
}

.text-center2 {
    flex: 1;
    text-align: left;
    max-width: 600px;
    margin:0 20px;
}

.tanahabang {
    width: auto; /* Set specific width */
    height: 400px; /* Set specific height */
  
    margin: 0; /* Remove any extra margin */
    border: 5px solid rgba(0, 128, 128, 0.5); /* Teal border with 50% opacity */
}

.indoFactory {
    width: 600px; /* Set specific width */
    height: 350px; /* Set specific height */
    object-fit: cover; /* Ensure the image maintains its aspect ratio */
    margin: 0;
    border: 5px solid rgba(0, 128, 128, 0.5); /* Teal border with 50% opacity */
}

footer {
    height: auto;
    background-color: #333;
    color: whitesmoke;
}

.footer-content {
    flex: 1;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
   

}

.social-icons a {
    display: flex;
   
    text-decoration: none;
    color: white;
    margin: 0 5px;
    
}

.social-icons img {
    width: 30px;
    height: auto;
}

#contact {
    margin-top: 10px;
}

.new-arrival {
    
    text-align: center;
    padding: 40px 0;
}
.new-arrival1{
    color: #008080;
}

.product-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    width: 400px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.product img {
    width: auto;
    height: 600px;
    border-radius: 5px;
}

.product h3 {
    font-size: 16px;
    margin: 10px 0;
}

.product p {
    font-size: 14px;
    margin: 5px 0;
}

.old-price {
    text-decoration: line-through;
    color: red;
    font-size: 12px;
}

.new-price {
    font-weight: bold;
    font-size: 14px;
}

button {
    background: #6b4559;
    color: white;
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}


/* Animation for sliding up */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    opacity: 0;
    animation: slide-up 0.5s ease-out forwards;
}

.hidden {
    visibility: hidden;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .tanahabang{
        width: auto;
        height: 500px;
    }
     .indoFactory { 
        width: 100%; /* Make images full width on small screens */ 
        height: auto; /* Maintain aspect ratio */ }

    .text-center1,
    .text-center2 {
        margin: 0;
        width: 100%;
        
        
    }
    .brand-picture{
        height:auto;
        width: 300px;
        text-align: center;
    }

    .hide-on-mobile { 
        display: none; /* Hide the text on screens smaller than 768px */
     }

    h2.fw-bold {
        font-size: 30px; /* Adjust font size for small screens */
        text-align: center;
    }
   
    .carousel-item .container .row .col-md-6 { display: block; /* Ensure columns are displayed */ } .carousel-item .container .row .col-md-6 + .col-md-6 { display: none; /* Hide the second image column on small screens */ }



    .body1,
    .body2 {
        flex-direction: column;
        max-width: none;
        text-align: center;
        margin-left: 5px;
        margin-right: 5px;
    }
    .mt-3{
        text-align: center;
    }

    .social-icons {
        justify-content: center; /* Center icons on small screens */
        flex-direction:row;
     
    }   
    .social-icons h4{
        margin-bottom: 10px;
    }
}
