/* Importing Google Font */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
}

.navbar {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

.navbar-brand {
    transition: transform 0.3s;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    margin: 0;
}

.navbar-toggler {
    margin-left: auto;
}

.nav-item {
    font-size: larger;
    justify-content: space-evenly;
}

.carousel {
    margin-bottom: 60px;
}

.carousel-item {
    height: 90vh;
    background: #333;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

#about-us {
    background-color: #e9ecef;
}

.about-image {
    width: 50%;
    margin-left: 35px;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .about-image {
        width: 80%;
    }
}

#about-us .col-md-6:last-child {
    padding-left: 10px;
}

#products {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 40px;
    margin: 20px auto;
}

#products h2 {
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .card img {
        width: calc(100% - 20px);
        height: auto;
        display: block;
    }
}

/* Typography */
h2, h3 {
    color: #333;
    margin-bottom: 20px;
}

p {
    color: #555;
    line-height: 1.6;
}

.row {
    margin-bottom: 40px;
}

/* Link Styles */
.link {
    color: #007bff;
}

.link:hover {
    text-decoration: underline;
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Animation Styles */
.animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fadeInRight {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Social Media Icons */
.social-media h4 {
    margin-bottom: 10px;
}

.social-media a {
    color: white;
    font-size: 1.5rem;
}

.social-media a:hover {
    color: #007bff;
}

/* Contact Form Styles */
#contactForm .form-label {
    font-weight: bold;
}

#map {
    height: 300px;
    background: #cfd8dc;
}

/* Offcanvas */
.navbar {
    z-index: 1050;
    background-color: #ddd;
}

.offcanvas {
    background-color: #f8f9fa;
    width: 280px;
}

.offcanvas-header {
    background-color: #343a40;
    color: white;
    border-bottom: 1px solid #444;
}

.offcanvas-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.btn-close {
    font-size: 1.25rem;
    color: white;
}

.offcanvas-menu-item {
    font-size: 1.1rem;
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #ddd;
}

.offcanvas-menu-item:hover {
    background-color: #007bff;
    color: white;
}

.offcanvas-social-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.offcanvas-social-icon {
    font-size: 1.5rem;
    color: #007bff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.offcanvas-social-icon:hover {
    color: #0056b3;
    transform: scale(1.1);
}

.offcanvas-social-icon:active {
    color: #004085;
}

/* Zoom Styles */
.zoom-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-effect:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Adjust the Text Section */
.text-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Bookman Old Style', 'Georgia', serif;
    z-index: 10;
    color: white;
    text-align: center;
    padding: 20px;
}

#textMessage {
    font-size: 3vw;
    max-width: 80%;
    white-space: normal;
    line-height: 1.5;
    word-break: break-word;
}

@media (max-width: 768px) {
    #textMessage {
        font-size: 5vw;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    #textMessage {
        font-size: 10vw;
        max-width: 90%;
    }
}
