
/* =====================================
   ETSANG DIETA - WEBSITE STYLES
   Corporate blue, white and light grey
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #263746;
    line-height: 1.6;
}

/* HEADER */

header {
    background: #123B66;
    color: #ffffff;
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.logo img {
    display: block !important;
    width: 65px !important;
    height: 65px !important;
    max-width: 65px !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
}

header h1 {
    color: #ffffff;
    font-size: 25px;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #9ed5ff;
}

/* GENERAL SECTIONS */

section {
    padding: 75px 9%;
    scroll-margin-top: 20px;
}

section h2 {
    color: #123B66;
    font-size: 32px;
    margin-bottom: 20px;
}

section h3 {
    color: #2478B9;
    margin: 22px 0 10px;
}

section p {
    max-width: 850px;
    margin-bottom: 15px;
    font-size: 17px;
}

/* HOME BANNER */

#home {
    min-height: 540px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            rgba(18, 59, 102, 0.88),
            rgba(18, 59, 102, 0.88)
        ),
        url("images/factory.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-content {
    max-width: 800px;
}

#home .tagline {
    color: #b9e0ff;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#home h2 {
    color: #ffffff;
    font-size: 48px;
    line-height: 1.2;
    margin: 15px 0 20px;
}

#home p {
    color: #ffffff;
}

.hero-button {
    display: inline-block;
    background: #ffffff;
    color: #123B66;
    padding: 14px 28px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.hero-button:hover {
    background: #b9e0ff;
}

/* LEADERSHIP */

.leadership-section {
    background: #F1F5F9;
    text-align: center;
}

.leadership-intro {
    margin: 0 auto 35px;
    color: #566575;
}

.director-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.director-card {
    width: 260px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.director-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #2478B9;
}

.director-card h3 {
    color: #123B66;
    margin-top: 15px;
}

.director-card p {
    color: #2478B9;
    font-weight: bold;
    margin: 0 auto;
}

/* ABOUT */

#about {
    background: #ffffff;
}

/* PRODUCTS */

#products {
    background: #F1F5F9;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border-bottom: 4px solid #2478B9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 7px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #123B66;
    margin-top: 5px;
}

.image-note {
    color: #718096;
    font-size: 14px;
    font-style: italic;
}

/* MANUFACTURING PROCESS */

#process {
    background: #ffffff;
}

.process-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.process-step {
    background: #F1F5F9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #2478B9;
}

.process-step h3 {
    color: #123B66;
    margin-top: 0;
}

/* CONTACT */

#contact {
    background: #F1F5F9;
}

#contact-form {
    max-width: 600px;
    margin-top: 25px;
}

#contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #123B66;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    background: #ffffff;
}

#contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 2px solid #2478B9;
    border-color: #2478B9;
}

#contact-form button,
.whatsapp-button {
    display: inline-block;
    padding: 14px 25px;
    margin-top: 20px;
    background: #123B66;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

#contact-form button:hover,
.whatsapp-button:hover {
    background: #2478B9;
}

#form-response {
    margin-top: 15px;
    color: #123B66;
    font-weight: bold;
}

/* FOOTER */

.site-footer {
    background: #123B66;
    color: #ffffff;
    padding: 50px 8% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 35px;
}

.footer-content h2,
.footer-content h3 {
    color: #b9e0ff;
    margin-bottom: 15px;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-content a:hover {
    color: #b9e0ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    text-align: center;
}

/* TABLET */

@media (max-width: 900px) {
    .product-container,
    .process-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    header {
        justify-content: center;
        text-align: center;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    header h1 {
        font-size: 22px;
    }

    .site-logo {
        width: 75px;
        height: 65px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    section {
        padding: 45px 20px;
    }

    section h2 {
        font-size: 27px;
    }

    section p {
        font-size: 16px;
    }

    #home {
        min-height: 430px;
        padding: 60px 20px;
    }

    #home h2 {
        font-size: 34px;
    }

    .product-container,
    .process-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .director-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-button,
    .whatsapp-button {
        width: 100%;
        text-align: center;
    }
}


/* 15-PHOTO MANUFACTURING GALLERY */

.gallery-section {
    background: #F1F5F9;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 35px;
}

.gallery-card {
    background: #ffffff;
    padding: 8px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .gallery-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 240px;
    }
}

/* ETSANG DIETA HEADER FIX */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    object-fit: contain !important;
    display: block !important;
}

.header-brand h1 {
    margin: 0;
    font-size: 24px;
}

/* FIX IMAGE SIZES */

.company-logo {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

.director-card img {
    width: 180px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

img {
    max-width: 100%;
}

/* DIRECTORS SECTION */

.directors-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px auto;
}

.director-card {
    width: 250px;
    padding: 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.director-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
}
.company-logo {
    width: 100px;
    height: 60px;
    object-fit: contain;
}

