/* =========================
   Global Styles
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
    background: url("../img/home-bkgnd.jpg") center center / cover no-repeat fixed;
}

/* =========================
   Layout
========================= */

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    min-height: calc(100vh - 120px);
    padding: 60px 0;
}

/* =========================
   Header
========================= */

.site-header {
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(3px);
    padding: 14px 0;
    width: 100%;
}

.site-header .container,
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 200px !important;
    max-height: 200px !important;
    width: auto !important;
    max-width: 350px !important;
}

.company-name {
    display: none;
}

/* =========================
   Navigation
========================= */

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding-bottom: 6px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #7dd3fc;
}

.main-nav a.active {
    border-bottom: 2px solid #2563eb;
}

/* =========================
   Hero Section
========================= */

.hero {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 90px 50px;
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 24px;
    color: #111827;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 30px auto;
    font-size: 18px;
}

/* =========================
   Buttons
========================= */

.btn {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

/* =========================
   Content Sections
========================= */

.content-section {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    background: rgba(255, 255, 255, 0.88);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
    text-align: center;
}

.content-section h2,
.content-section h3 {
    margin-bottom: 15px;
    color: #111827;
}

.content-section p {
    max-width: 760px;
    margin: 0 auto 18px auto;
    font-size: 17px;
    text-align: left;
}

.contact-info {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 6px;
    color: #111827;
}

.contact-info p {
    margin-bottom: 20px;
    text-align: left;
}

.content-section ul {
    display: block;
    max-width: 760px;
    width: 100%;
    text-align: left;
    margin: 10px auto 18px auto;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 8px;
    font-size: 17px;
}

/* =========================
   About Us Product List
========================= */

.content-section .about-product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin: 30px auto 10px auto;
    padding-left: 0;
    max-width: none;
}

.content-section .about-product-list li {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 16px;
    margin-bottom: 0;
    width: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.content-section .about-product-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.content-section .about-product-list .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content-section .about-product-list img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 8px;
    display: block;
}

.product-detail-image {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================
   Product Categories
========================= */

.product-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-category-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    background: white;
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.product-category-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 18px;
    color: #111827;
}

.product-category-card img {
    width: 100%;
    flex-grow: 1;
    object-fit: cover;
    display: block;
}

/* =========================
   Data Table
========================= */

.data-table {
    max-width: 760px;
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 16px;
}

.data-table th,
.data-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.data-table thead {
    background-color: #f2f2f2;
}

.data-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* =========================
   Footer
========================= */

.site-footer {
    background: rgba(17, 24, 39, 0.95);
    color: white;
    padding: 40px 0;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col-logo img {
    max-width: 148px;
    height: auto;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #7dd3fc;
}

.footer-contact p {
    color: #e5e7eb;
    margin-bottom: 8px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 700px) {
    .main-content {
        padding: 30px 0;
    }

    .site-header .container,
    .header-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .site-logo {
        height: 45px !important;
        max-height: 45px !important;
        max-width: 180px !important;
    }

    .main-nav ul {
        justify-content: center;
        gap: 14px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .hero {
        padding: 45px 24px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .content-section {
        padding: 28px;
    }

    .content-section .about-product-list {
        gap: 16px;
    }

    .product-category-grid {
        grid-template-columns: 1fr;
    }

    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}
