/* ============================================= */
/* BRENTCO INDUSTRIES – FINAL & PIXEL-PERFECT    */
/* Email icon + text SIDE BY SIDE (fixed)        */
/* No hover effects anywhere                     */
/* Everything else untouched                     */
/* ============================================= */

* { box-sizing: border-box; }
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* HIDE CATEGORIES TITLE ON DESKTOP */
nav .menu-title { display: none !important; }

/* Top welcome bar */
.flex-header {
    background: #121212;
    color: white;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 15px;
    position: relative;
    z-index: 1000;
}
.flex-header-left { flex: 1; }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* LOGO + SEARCH – Desktop: side by side | Mobile: stacked */
.subheader {
    background: white;
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.subheader-logo {
    flex: 0 0 auto;
}
.subheader-logo img {
    max-width: 320px;
    height: auto;
}
.subheader-searchbar {
    flex: 1;
    max-width: 600px;
    min-width: 300px;
}
.subheader-searchbar-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #121212;
    border-radius: 50px;
    font-size: 18px;
    background: url('img/search-icon.svg') no-repeat 18px center;
    background-size: 20px;
    outline: none;
}

/* Navigation */
nav {
    background: #121212;
    padding: 20px 0;
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 20px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
nav a:hover, nav a.active {
    color: #00ccff;
    border-bottom: 3px solid #00ccff;
}

/* Grid & Cards */
.main-grid {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}
.main-grid-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid #000; /* Professional black border */
    transition: transform 0.3s, box-shadow 0.3s;
}
.main-grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.main-grid-item img {
    width: 100%;
    height: 220px;
    object-fit: contain; /* Shows full image, maintains aspect ratio */
    background: #ffffff;
    padding: 10px; /* Small padding so image doesn't touch card edges */
}
.main-grid-item p {
    padding: 15px;
    margin: 0;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
}

/* Product page */
.product-wrapper {
    max-width: 100%;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.main-image {
    width: 100%;
    max-height: 560px;
    object-fit: contain; /* Shows full image, maintains aspect ratio */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}
.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }
.back-link { color: #00ccff; font-weight: bold; font-size: 18px; text-decoration: none; }

/* Inquiry box */
.inquiry-box {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}
.inquiry-box input, .inquiry-box textarea {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}
.inquiry-box button {
    background: #121212;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
}
.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    margin-top: 15px;
}

/* FOOTER – EMAIL ICON + TEXT SIDE BY SIDE + NO HOVER EFFECTS */
.site-footer {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: #e0e0e0;
    padding: 60px 40px 20px;
    margin-top: 100px;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.footer-section-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}
.footer-section-about img { width: 200px; height: auto; margin-bottom: 20px; filter: brightness(1.1); }
.footer-section-about p { font-size: 15px; line-height: 1.7; color: #bbbbbb; max-width: 400px; }
.footer-section-contact h3, .footer-section-address h3, .footer-section-social h3 {
    color: #00ccff;
    font-size: 20px;
    margin-bottom: 20px;
}

/* EMAIL ICON + TEXT – FINALLY FIXED & SIDE BY SIDE */
.footer-section-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-section-contact a {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    color: #bbbbbb;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.6;
}
.footer-section-contact img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.footer-section-address p { color: #bbbbbb; font-size: 15px; line-height: 1.8; }
.footer-section-social a { display: inline-block; margin: 0 12px; transition: transform 0.3s; }
.footer-section-social a:hover { transform: translateY(-5px); }
.footer-section-social img { width: 40px; height: 40px; filter: grayscale(30%) brightness(1.3); transition: all 0.3s; }
.footer-section-social img:hover { filter: grayscale(0%) brightness(1.5); transform: scale(1.1); }
.footer-bottom { text-align: center; padding: 25px 0; background: #0a0a0a; color: #777; font-size: 14px; }

/* MOBILE ONLY */
@media (max-width: 640px) {
    .hamburger { display: block; }
    .flex-header { padding: 0 15px; justify-content: space-between; }

    nav .menu-title {
        display: block !important;
        color: #00ccff;
        font-size: 26px;
        font-weight: bold;
        text-align: center;
        padding: 20px 0;
        border-bottom: 2px solid #333;
        margin: 0 20px 30px;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 78%;
        max-width: 300px;
        height: 100vh;
        background: #0a0a0a;
        z-index: 9999;
        transition: left 0.35s ease;
        padding-top: 20px;
        overflow-y: auto;
        box-shadow: 5px 0 20px rgba(0,0,0,0.6);
    }
    nav.active { left: 0; }
    nav ul { flex-direction: column; gap: 0; }
    nav a { display: block; padding: 20px 30px; font-size: 19px; border-bottom: 1px solid #222; }
    nav a:hover, nav a.active { background: #00ccff; color: #121212 !important; }

    .subheader {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    .subheader-searchbar { max-width: 100%; margin-top: 20px; }

    .main-grid { grid-template-columns: 1fr; padding: 0 15px; gap: 25px; }
    .product-wrapper { grid-template-columns: 1fr; gap: 30px; padding: 15px; }
    .main-image { max-height: 420px; }
    .nav-arrow { width: 44px; height: 44px; font-size: 24px; }

    /* Keep email icon + text side by side on mobile too */
    .footer-section-contact {
        align-items: center;
    }
    .footer-section-contact a {
        justify-content: center;
    }
}
.email-link {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    color: #bbbbbb;
    text-decoration: none;
    font-size: 15px;
}
.email-link img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Footer responsive */
@media (max-width: 1024px) {
    .footer-section-container { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-section-about { grid-column: 1 / -1; text-align: center; }
    .footer-section-about img, .footer-section-about p { margin: 0 auto 20px; }
}
@media (max-width: 640px) {
    .site-footer { padding: 50px 20px 20px; }
    .footer-section-container { grid-template-columns: 1fr; text-align: center; }
}