/* =========================================================
   OLALOUIS VENTURES
   LABORATORY SOLUTIONS
   FULL WEBSITE CSS
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --dark: #182019;
    --dark-2: #222b23;

    --green: #536b50;
    --green-dark: #3e553c;
    --green-light: #74896f;

    --cream: #f5f3ed;
    --cream-2: #ebe9e1;

    --white: #ffffff;

    --grey: #70766f;
    --grey-light: #a1a69f;

    --border: rgba(24, 32, 25, 0.13);

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--cream);

    color: var(--dark);

    font-family: var(--sans);

    font-size: 14px;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;
}


::selection {
    background: var(--green);
    color: var(--white);
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(245, 243, 237, 0.94);

    border-bottom: 1px solid transparent;

    backdrop-filter: blur(14px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.navbar.scrolled {
    background: rgba(245, 243, 237, 0.97);

    border-color: var(--border);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);
}


.nav-container {
    width: min(1180px, calc(100% - 48px));

    height: 84px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;

    align-items: center;

    gap: 12px;
}


.brand-symbol {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--dark);

    color: var(--white);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}


.brand-name {
    display: flex;

    flex-direction: column;

    line-height: 1.05;
}


.brand-name strong {
    font-size: 14px;

    font-weight: 700;

    letter-spacing: -0.2px;
}


.brand-name span {
    margin-top: 4px;

    color: var(--grey);

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.desktop-nav {
    display: flex;

    align-items: center;

    gap: 31px;
}


.desktop-nav > a {
    position: relative;

    color: var(--dark);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.7px;

    transition:
        color 0.25s ease;
}


.desktop-nav > a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--green);

    transition: width 0.3s ease;
}


.desktop-nav > a:hover {
    color: var(--green);
}


.desktop-nav > a:hover::after {
    width: 100%;
}


.nav-cta {
    padding: 11px 18px;

    background: var(--dark);

    color: var(--white) !important;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.nav-cta:hover {
    background: var(--green);

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;
}


.menu-button span {
    width: 22px;
    height: 1px;

    background: var(--dark);

    display: block;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.menu-button.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}


.menu-button.active span:nth-child(2) {
    opacity: 0;
}


.menu-button.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
    display: none;

    padding: 10px 24px 25px;

    flex-direction: column;

    gap: 5px;

    border-top: 1px solid var(--border);
}


.mobile-nav.active {
    display: flex;
}


.mobile-nav > a {
    padding: 13px 0;

    font-size: 12px;

    font-weight: 600;

    border-bottom: 1px solid var(--border);
}


.mobile-cta {
    color: var(--green) !important;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--dark);
}


.hero-background {
    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;

    background-position: center;

    transform: scale(1.02);
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(14, 20, 15, 0.90) 0%,
            rgba(14, 20, 15, 0.72) 45%,
            rgba(14, 20, 15, 0.25) 100%
        );
}


.hero-content {
    position: relative;

    z-index: 2;

    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

    padding-top: 70px;

    color: var(--white);
}


.hero-tag {
    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2.5px;
}


.hero h1 {
    max-width: 800px;

    margin: 0 0 25px;

    font-family: var(--serif);

    font-size: clamp(56px, 8vw, 100px);

    font-weight: 400;

    line-height: 0.94;

    letter-spacing: -4px;
}


.hero h1 em {
    font-style: italic;

    color: #dfe7db;
}


.hero-content > p {
    max-width: 560px;

    margin-bottom: 34px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;

    line-height: 1.85;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
    display: flex;

    align-items: center;

    gap: 12px;
}


.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    min-height: 48px;

    padding: 0 22px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.8px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.primary-button {
    background: var(--white);

    color: var(--dark);
}


.primary-button:hover {
    transform: translateY(-3px);

    background: var(--green);

    color: var(--white);
}


.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.4);

    color: var(--white);
}


.secondary-button:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.1);

    border-color: var(--white);
}


/* =========================================================
   SMALL LABEL
========================================================= */

.small-label {
    display: block;

    color: var(--green);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


/* =========================================================
   INTRO SECTION
========================================================= */

.intro {
    padding: 130px 0;
}


.intro-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: start;
}


.intro-title h2 {
    margin-top: 15px;

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 65px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -2px;
}


.intro-title h2 em {
    font-style: italic;
}


.intro-text {
    max-width: 560px;

    padding-top: 35px;
}


.intro-text p {
    margin-bottom: 25px;

    color: var(--grey);

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   DIVISIONS / SERVICES
========================================================= */

.divisions {
    padding: 120px 0;

    background: var(--cream-2);
}


.section-header {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 60px;
}


.section-header h2 {
    margin-top: 14px;

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 65px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -2px;
}


.section-header h2 em {
    font-style: italic;
}


.section-header > p {
    max-width: 420px;

    margin-left: auto;

    color: var(--grey);

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   SERVICE CARD GRID
========================================================= */

.division-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.division-card {
    position: relative;

    min-height: 330px;

    padding: 32px;

    background: var(--white);

    border: 1px solid var(--border);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.division-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.07);
}


.card-number {
    position: absolute;

    top: 24px;

    right: 25px;

    color: var(--grey-light);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.division-icon {
    width: 45px;
    height: 45px;

    margin-bottom: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--green);

    font-size: 21px;
}


.division-card h3 {
    margin-bottom: 14px;

    font-family: var(--serif);

    font-size: 27px;

    font-weight: 400;

    line-height: 1.1;
}


.division-card h5 {
    margin-bottom: 20px;

    color: var(--grey);

    font-size: 11px;

    font-weight: 400;

    line-height: 1.7;
}


.division-card > p:not(.check-text) {
    margin-bottom: 18px;

    color: var(--grey);

    font-size: 11px;

    line-height: 1.8;
}


/* =========================================================
   CHECK LIST
========================================================= */

.check-text {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 8px !important;

    color: var(--grey);

    font-size: 10px;

    line-height: 1.6;
}


.check {
    flex: 0 0 auto;

    color: var(--green);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   PRODUCTS SECTION
========================================================= */

.products-section {
    padding: 140px 0;

    background: var(--cream);
}


/* =========================================================
   PRODUCTS HEADER
========================================================= */

.products-header {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 85px;
}


.products-heading h2 {
    margin-top: 14px;

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 68px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -2px;
}


.products-heading h2 em {
    font-style: italic;
}


.products-intro {
    max-width: 440px;

    margin-left: auto;

    color: var(--grey);

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   PRODUCT CATEGORY
========================================================= */

.product-category {
    margin-top: 20px;
}


.glassware-category {
    margin-top: 120px;
}


/* =========================================================
   CATEGORY HEADER
========================================================= */

.product-category-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 35px;

    padding-bottom: 22px;

    border-bottom: 1px solid var(--border);
}


.category-heading {
    display: flex;

    align-items: center;

    gap: 22px;
}


.category-number {
    color: var(--green);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.category-label {
    display: block;

    margin-bottom: 7px;

    color: var(--green);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.category-heading h3 {
    margin: 0;

    font-family: var(--serif);

    font-size: 30px;

    font-weight: 400;

    line-height: 1.1;
}


.product-category-header > p {
    max-width: 390px;

    margin: 0;

    color: var(--grey);

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    position: relative;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.product-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.09);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image {
    position: relative;

    width: 100%;

    height: 280px;

    overflow: hidden;

    background: #e7e9e3;
}


.product-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.06);
}


/* =========================================================
   PRODUCT BADGE
========================================================= */

.product-badge {
    position: absolute;

    top: 16px;
    left: 16px;

    display: inline-flex;

    align-items: center;

    padding: 8px 11px;

    background: rgba(255, 255, 255, 0.92);

    color: var(--dark);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

    backdrop-filter: blur(8px);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-content {
    padding: 27px 27px 24px;
}


.product-label {
    display: block;

    margin-bottom: 11px;

    color: var(--green);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.product-content h4 {
    margin: 0 0 12px;

    font-family: var(--serif);

    font-size: 24px;

    font-weight: 400;

    line-height: 1.15;

    color: var(--dark);
}


.product-content p {
    min-height: 70px;

    margin: 0 0 24px;

    color: var(--grey);

    font-size: 11px;

    line-height: 1.8;
}


/* =========================================================
   PRODUCT FOOTER
========================================================= */

.product-footer {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    padding-top: 19px;

    border-top: 1px solid var(--border);
}


.price-label {
    display: block;

    margin-bottom: 5px;

    color: var(--grey);

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.product-price {
    display: block;

    color: var(--dark);

    font-size: 18px;

    font-weight: 600;
}


.product-arrow {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--dark);

    font-size: 15px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.product-card:hover .product-arrow {
    background: var(--green);

    border-color: var(--green);

    color: var(--white);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    padding: 120px 0;
}


.contact-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    padding: 70px;

    background: var(--dark);

    color: var(--white);
}


.contact-box .small-label {
    color: #aebeaa;
}


.contact-box h2 {
    margin-top: 15px;

    margin-bottom: 20px;

    font-family: var(--serif);

    font-size: clamp(40px, 5vw, 62px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -2px;
}


.contact-box h2 em {
    font-style: italic;

    color: #dfe7db;
}


.contact-box p {
    max-width: 520px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;

    line-height: 1.8;
}


.contact-button {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    min-height: 52px;

    padding: 0 24px;

    background: var(--white);

    color: var(--dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.8px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.contact-button:hover {
    transform: translateY(-3px);

    background: var(--green);

    color: var(--white);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 80px 0 25px;

    background: var(--dark);

    color: var(--white);
}


.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}


.footer-brand > p {
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;

    letter-spacing: 0.5px;
}


.footer-brand .brand-symbol {
    background: var(--white);

    color: var(--dark);
}


.footer-brand .brand-name strong {
    color: var(--white);
}


.footer-brand .brand-name span {
    color: rgba(255, 255, 255, 0.45);
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.footer-column h4 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.footer-column a,
.footer-column span {
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 10px;

    line-height: 1.5;

    transition:
        color 0.25s ease;
}


.footer-column a:hover {
    color: var(--white);
}


.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.4);

    font-size: 9px;

    letter-spacing: 0.4px;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 1;

    transform: translateY(0);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal.hidden {
    opacity: 0;

    transform: translateY(25px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {


    /* NAV */

    .desktop-nav {
        gap: 18px;
    }


    /* INTRO */

    .intro-grid {
        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }


    /* SERVICES */

    .section-header {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }


    .division-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* PRODUCTS */

    .products-header {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .products-intro {
        margin-left: 0;
    }


    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* CONTACT */

    .contact-box {
        padding: 55px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {


    /* CONTAINER */

    .container {
        width: min(100% - 34px, 1180px);
    }


    /* NAV */

    .nav-container {
        width: calc(100% - 34px);

        height: 72px;
    }


    .desktop-nav {
        display: none;
    }


    .menu-button {
        display: flex;
    }


    /* HERO */

    .hero {
        min-height: 620px !important;
    }


    .hero-content {
        width: calc(100% - 34px);

        padding-top: 60px;
    }


    .hero h1 {
        font-size: clamp(52px, 15vw, 78px);

        letter-spacing: -3px;
    }


    .hero-content > p {
        max-width: 100%;

        font-size: 13px;
    }


    .hero-actions {
        flex-wrap: wrap;
    }


    /* INTRO */

    .intro {
        padding: 90px 0;
    }


    .intro-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .intro-text {
        padding-top: 0;
    }


    .intro-title h2 {
        font-size: 46px;
    }


    /* SERVICES */

    .divisions {
        padding: 90px 0;
    }


    .section-header {
        display: block;

        margin-bottom: 45px;
    }


    .section-header > p {
        margin-top: 25px;

        margin-left: 0;
    }


    .division-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .division-card {
        min-height: auto;

        padding: 28px;
    }


    /* PRODUCTS */

    .products-section {
        padding: 90px 0;
    }


    .products-header {
        margin-bottom: 60px;
    }


    .products-heading h2 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }


    .product-category-header {
        display: block;
    }


    .product-category-header > p {
        margin-top: 20px;
    }


    .category-heading {
        gap: 15px;
    }


    .category-heading h3 {
        font-size: 25px;
    }


    .product-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .glassware-category {
        margin-top: 80px;
    }


    .product-image {
        height: 260px;
    }


    .product-content {
        padding: 24px;
    }


    .product-content h4 {
        font-size: 23px;
    }


    /* CONTACT */

    .contact {
        padding: 80px 0;
    }


    .contact-box {
        display: block;

        padding: 40px 28px;
    }


    .contact-button {
        margin-top: 30px;
    }


    /* FOOTER */

    footer {
        padding-top: 65px;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 40px 25px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {


    .brand-name strong {
        font-size: 13px;
    }


    .brand-symbol {
        width: 35px;
        height: 35px;
    }


    .hero h1 {
        font-size: 50px;

        letter-spacing: -2px;
    }


    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .primary-button,
    .secondary-button {
        width: 100%;
    }


    .products-heading h2 {
        font-size: 40px;
    }


    .product-image {
        height: 230px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }


    .footer-brand {
        grid-column: auto;
    }

}