/* === GLOBAL STYLES & MOBILE-FIRST DEFAULT === */
:root {
    --primary-color: #D32F2F;
    --dark-color: #1a1a1a;
    --light-text: #555;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--light-text);
    background-color: #fdfdfd;
}
section {
    padding: 3rem 1.5rem;
}
h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--dark-color);
}

/* === HEADER & NAVIGATION (MOBILE) === */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 1rem;
}
nav .logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.2;
}
.hamburger {
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}
.nav-links {
    list-style: none;
    position: fixed;
    top: 0; left: 100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 0; padding: 0;
    transition: left 0.4s ease-in-out;
}
.nav-links.active {
    left: 0;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}
.shop-now-btn {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    margin-left: auto;
}

/* === HERO SECTION === */
.hero-section {
    background: url('images/hero_background.jpg') no-repeat center center/cover;
    height: 100vh; /* CHANGE 1: Set to 100% of viewport height */
    padding: 6rem 1rem;
    text-align: center;
    color: #fff;
    position: relative;
    display: flex; /* Added for vertical centering */
    align-items: center; /* Added for vertical centering */
    justify-content: center; /* Added for horizontal centering */
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-text {
    position: relative;
    z-index: 2;
}
.hero-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-text p {
    font-size: 1rem;
    margin-top: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* === ABOUT SECTION === */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.about-image img {
    width: 100%;
    border-radius: 12px;
}
.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* === PRODUCTS & SERVICES === */
.products-container, .service-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.product-card, .service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.product-card img, .service-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: inline-block;
}
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.features span {
    background-color: #f1f1f1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.service-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}
.product-book-btn {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: background-color 0.3s;
}
.product-book-btn:hover {
    background-color: #B71C1C;
}

/* === CONTACT & FOOTER === */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}
footer {
    background-color: #212121;
    color: #f0f0f0;
    text-align: center;
    padding: 1.5rem;
}

/* === PRODUCT SPECIFICATIONS === */
.specs-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}
.specs-container h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid #f5f5f5;
}
.spec-item:last-child {
    border-bottom: none;
}
.spec-title {
    font-weight: 600;
    flex-basis: 40%;
}
.spec-value {
    text-align: right;
    flex-basis: 60%;
}

/* === TABLET STYLES (min-width: 768px) === */
@media (min-width: 768px) {
    section {
        padding: 4rem 2rem;
    }
    .hamburger {
        display: none;
    }
    nav .logo {
        font-size: 1.5rem;
    }
    .logo span {
        display: inline;
    }
    .nav-links {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: none;
        gap: 2rem;
    }
    .nav-links a {
        color: var(--dark-color);
        font-size: 1rem;
    }
    .shop-now-btn {
        display: block;
        margin-left: 0;
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .about-container {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    .about-image {
        order: 2; flex: 1;
    }
    .about-text {
        order: 1; flex: 1.2;
    }
    .products-container, .service-container {
        grid-template-columns: 1fr 1fr;
    }
    .contact-container {
        flex-direction: row;
        gap: 3rem;
    }
}

/* === DESKTOP STYLES (min-width: 1024px) === */
@media (min-width: 1024px) {
    section {
        padding: 5rem 4%; /* CHANGE 2: Reduced side padding to make content wider */
    }
    .hero-text h1 {
        font-size: 4rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
    .service-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* === START: NEW STYLES FOR PRODUCT IMAGE ALIGNMENT === */

.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px; /* This creates the uniform area */
    margin-bottom: 1rem;
}

.product-image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

/* === END: NEW STYLES FOR PRODUCT IMAGE ALIGNMENT === */