/* Basic Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: none;
    color: #c62828;
}

ul {
    list-style: none;
    padding: 0;
}

/* Header and Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Anchor for the absolute positioned nav-links */
}

nav .logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Space between logo and text */
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav .logo img {
    max-height: 50px;
}

.logo-text {
    font-size: 1.25rem;
    line-height: 1.2;
}

/* Mobile Navigation */
.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none; /* Hidden by default */
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    padding: 1rem 0;
    width: 100%;
    text-align: center;
}

.nav-links li:not(:last-child) {
    border-bottom: 1px solid #f4f4f4;
}

.nav-links li a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #c62828;
}

/* Hamburger Menu */
.nav-toggle {
    display: block; /* Show on mobile */
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Hamburger animation when active */
.nav-toggle.active .hamburger {
    transform: rotate(45deg);
}
.nav-toggle.active .hamburger::before {
    transform: rotate(90deg) translate(0px, 0px);
}
.nav-toggle.active .hamburger::after {
    transform: rotate(90deg) translate(0px, 0px);
    opacity: 0;
}


/* Main Content */
main {
    padding: 2rem 5%;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem; /* Adjusted padding for mobile */
    border-radius: 8px;
}

.hero-text h1 {
    font-size: 2.5rem; /* Adjusted for mobile */
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem; /* Adjusted for mobile */
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #c62828;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ad2424;
}

/* About Preview Section */
.about-preview {
    background-color: #fff;
    padding: 2rem; /* Adjusted padding for mobile */
    margin-top: 2rem;
    border-radius: 8px;
    text-align: center;
}

.about-preview h2 {
    color: #1565c0; /* Blue accent */
    margin-bottom: 1rem;
}

/* Page Content */
.page-content {
    background-color: #fff;
    padding: 2rem; /* Adjusted padding for mobile */
    border-radius: 8px;
    max-width: 900px;
    margin: 2rem auto;
}

.page-content h1 {
    color: #1565c0; /* Blue accent */
    text-align: center;
    margin-bottom: 2rem;
}

/* About Full Page */
.about-full p {
    margin-bottom: 1.5rem;
}

.locations {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.location h3 {
    color: #c62828;
}

/* Product Placeholder Page */
.product-placeholder {
    text-align: center;
}

.coming-soon {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f4f4f4;
    border-radius: 8px;
    border: 2px dashed #1565c0;
}

.coming-soon h2 {
    color: #1565c0;
}

/* Contact Page */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
}

.contact-item i {
    font-size: 2.5rem; /* Larger icons */
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.contact-item .fa-whatsapp {
    color: #25D366; /* WhatsApp Green */
}

.contact-item .fa-instagram {
    color: #E4405F; /* Instagram Pink/Red */
}

.contact-item .fa-facebook {
    color: #1877F2; /* Facebook Blue */
}

/* Features Section */
.features {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 2rem;
    text-align: center;
    padding: 3rem 1rem;
    background-color: #fff;
    margin-top: 2rem;
    border-radius: 8px;
}

.feature {
    max-width: 100%; /* Full width on mobile */
}

.feature .icon {
    font-size: 3rem;
    color: #c62828; /* Red */
}

.feature h3 {
    color: #1565c0; /* Blue accent */
    margin-top: 1rem;
}

/* WhatsApp CTA Section */
.whatsapp-cta {
    background-color: #1565c0; /* Blue */
    color: #fff;
    text-align: center;
    padding: 2rem 1rem; /* Adjusted padding */
    margin-top: 2rem;
    border-radius: 8px;
}

.whatsapp-cta h2 {
    margin-bottom: 1rem;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366; /* WhatsApp Green */
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 1rem;
    background-color: #fff;
    margin-top: 2rem;
    border-radius: 8px;
    text-align: center;
}

.testimonials h2 {
    color: #1565c0; /* Blue accent */
    margin-bottom: 2rem;
}

.testimonial {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border-left: 5px solid #c62828;
    background-color: #f9f9f9;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-weight: bold;
}


/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: #333;
    color: #fff;
}

/* Gallery Page */
#gallery h1 {
    color: #1565c0; /* Blue accent */
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* =================================
   Media Queries (Tablet & Desktop)
   ================================= */
@media (min-width: 768px) {
    /* Header and Navigation */
    .nav-toggle {
        display: none; /* Hide hamburger on larger screens */
    }

    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        background-color: transparent;
        box-shadow: none;
    }

    .nav-links li {
        margin-left: 2rem;
        padding: 0;
        width: auto;
        border: none;
    }

    /* Hero Section */
    .hero {
        padding: 6rem 1rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    /* About Preview */
    .about-preview {
        padding: 3rem;
    }

    /* Page Content */
    .page-content {
        padding: 3rem;
    }

    /* About Full Page */
    .locations {
        flex-direction: row; /* Side-by-side on larger screens */
        justify-content: space-around;
    }

    /* Contact Page */
    .contact-methods {
        flex-direction: row; /* Side-by-side on larger screens */
        justify-content: space-around;
    }

    /* Features Section */
    .features {
        flex-direction: row; /* Side-by-side on larger screens */
        justify-content: space-around;
        padding: 3rem 0;
    }

    .feature {
        max-width: 22%;
    }
}
