/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f5f5f7;
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    padding-top: 60px; /* Prevents content from hiding under navbar */
}

/* NAVIGATION BAR - FIXED SIZE */
nav {
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px; /* Keep horizontal padding consistent */
    position: fixed;
    top: 0;
    width: 100%;
    height: auto; /* Locks navbar height across all pages */
    line-height: 60px; /* Aligns text properly */
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* NAVBAR LINKS */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s ease-in-out;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* LOGO FIX */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    line-height: 60px; /* Ensures logo is aligned */
}

/* HERO SECTION */
header {
    height: 100vh;
    background: url('assets/3006.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}



header h1 {
    font-size: 48px;
    z-index: 1;
}

header p {
    font-size: 22px;
    z-index: 1;
    margin-top: 10px;
}

header .cta {
    background: #0071e3;
    color: white;
    padding: 15px 30px;
    font-size: 20px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
    z-index: 1;
    transition: 0.3s;
}

header .cta:hover {
    background: #005bb5;
}

/* ABOUT SECTION */
#intro {
    padding: 30px 10%;
    text-align: center;
}

#intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.intro-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.intro-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: 0.3s;
}

.intro-item:hover {
    transform: translateY(-5px);
}

/* PRODUCTS SECTION */
#products {
    text-align: center;
    padding: 50px 5%;
}

#products h1 {
    font-size: 32px;
    color: #000; /* Matches navbar */
    margin-bottom: 30px;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 layout */
    gap: 15px;
    justify-content: center;
    max-width: 600px; /* Limits the width of the grid */
    margin: auto;
}

.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    height: 180px; /* Smaller box */
    width: 100%; /* Responsive */
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fit well */
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

/* CENTERED TEXT OVERLAY */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* HOVER EFFECT */
.product-item:hover {
    transform: scale(1.05);
}

.product-item:hover img {
    transform: scale(1.1);
}

/* CONTACT & LOCATION */
#location {
    padding: 20px 10%;
    text-align: center;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    margin-top: 20px;
}

/* Contact & Location Section */
#contact-info {
    padding: 20px 10%;
    text-align: center;
}

/* Style Heading to Match Navbar */
#contact-info h2 {
    color: #000; /* Matches the navbar color */
    font-size: 32px;
    margin-bottom: 20px;
}

/* Grid Layout for Info Boxes */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Contact Info Box */
.info-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: 0.3s;
}

.info-box h3 {
    color: #000; /* Matches navbar */
    font-size: 24px;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 16px;
    color: #333;
}

/* Table Styling */
.table-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.table-container table {
    width: 80%;
    max-width: 600px;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Table Header */
.table-container th {
    background: #000; /* Matches navbar */
    color: white;
    padding: 15px;
    font-size: 18px;
}

/* Table Rows */
.table-container td {
    padding: 12px;
    text-align: center;
    font-size: 16px;
}

/* Alternate Row Background */
.table-container tr:nth-child(even) {
    background: #f2f2f2;
}

/* Hover Effect */
.table-container tr:hover {
    background: #e0e0e0;
    transition: 0.3s;
}

/* Responsive Table */
@media (max-width: 600px) {
    .table-container table {
        width: 95%;
    }
}

/* BUTTON SECTION */
#buttons {
    text-align: center;
    margin: 10px 0;
}

#buttons h2 {
    font-size: 28px;
    color: #000; /* Matches navbar */
    margin-bottom: 20px;
}

/* BUTTON STYLING */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    background: #0071e3; /* Primary color */
    border-radius: 8px;
    transition: 0.3s ease-in-out;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: #005bb5; /* Darker hover effect */
}

/* Alternate Button */
.btn-alt {
    background: #ff6600; /* Standout orange for contrast */
}

.btn-alt:hover {
    background: #cc5200;
}

#social-media {
    text-align: center;
    padding: 40px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}


.product-category {
    text-align: center;
    padding: 50px 5%;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}


/* Back Button */
.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 20px;
    background: #000; /* Matches navbar */
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.back-button:hover {
    background: #333; /* Slightly lighter hover effect */
}





