/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #222;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #111;
    transition: background 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #aaa;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #aaa;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 76vh;
    min-height: 450px;
    overflow: hidden;
    z-index: 1;
}

/* Hero slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Per-slide focus adjustments */
.hero-slide:nth-child(2) img {
    object-position: center 60%;
}

.hero-slide:nth-child(6) img {
    object-position: center 0%;
}

/* Hero slide labels */
.hero-slide__label {
    position: absolute;
    bottom: 40px;
    right: 24px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.hero-slide__name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
}


/* Gradient fade at bottom of hero into info section */
.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2%;
    background: linear-gradient(to bottom, transparent, #fff);
    z-index: 4;
    pointer-events: none;
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: #fff;
    border-color: #fff;
}

.hero-dot:hover {
    border-color: #fff;
}

/* ========== HERO INFO ========== */
.hero-info {
    background: #fff;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: 24vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-info__badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-info__badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-info__badge-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #222;
    border: 1px solid #ddd;
    padding: 10px 24px;
    transition: all 0.3s ease;
    cursor: default;
}

.hero-info__badge-label:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.hero-info__desc {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.9;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.3px;
}

/* ========== WHY PORCELAIN ========== */
.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 24px;
}

.why-porcelain {
    background: #f5f5f5;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.why-porcelain__intro {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px;
    letter-spacing: 0.3px;
}

.why-porcelain__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-porcelain__card {
    background: #fff;
    padding: 36px 28px;
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-porcelain__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.why-porcelain__card-icon {
    margin-bottom: 18px;
}

.why-porcelain__card-icon svg {
    width: 30px;
    height: 30px;
    stroke: #999;
}

.why-porcelain__card:hover .why-porcelain__card-icon svg {
    stroke: #222;
}

.why-porcelain__card-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 12px;
}

.why-porcelain__card-desc {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: #777;
    letter-spacing: 0.3px;
}

/* ========== USE CASES ========== */
.use-cases {
    background: #fff;
    padding: 70px 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.use-cases__bento {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.7fr 1.2fr;
    grid-template-rows: 260px 260px;
    gap: 6px;
}

.use-cases__item {
    position: relative;
    overflow: hidden;
}

.use-cases__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.use-cases__item:hover img {
    transform: scale(1.04);
}

.use-cases__label {
    position: absolute;
    bottom: 16px;
    left: 18px;
    max-width: calc(100% - 36px);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 6px 14px;
}

.use-cases__hover-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px;
    font-size: 0.72rem;
    font-weight: 300;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.use-cases__item:hover .use-cases__hover-text {
    opacity: 1;
    transform: translateY(0);
}

.use-cases__item:hover .use-cases__label {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Bento placement */
.use-cases__item--bathroom {
    grid-column: 1 / 3;
    grid-row: 1;
}

.use-cases__item--cladding {
    grid-column: 3;
    grid-row: 1 / 3;
}

.use-cases__item--kitchen {
    grid-column: 1;
    grid-row: 2;
}

.use-cases__item--dining {
    grid-column: 2 / 3;
    grid-row: 2;
}

/* Tags strip */
.use-cases__tags {
    max-width: 1200px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.use-cases__tags span {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
}

/* ========== PARALLAX BANNERS ========== */
.parallax-banner {
    position: sticky;
    top: 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.parallax-banner.collection-banner:not(.collection-banner--reverse) {
    z-index: 3;
}

.parallax-banner.collection-banner--reverse {
    z-index: 4;
}

.parallax-banner.bemade-banner {
    z-index: 5;
}

/* ========== BEMADE BANNER ========== */
.bemade-banner {
    display: flex;
    width: 100%;
    height: 400px;
    margin: 0;
    position: sticky;
    top: 0;
}

.bemade-banner__image {
    width: 66.666%;
    height: 100%;
    overflow: hidden;
}

.bemade-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bemade-banner__content {
    width: 33.333%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 24px;
}

.bemade-banner__logo {
    height: 40px;
    width: auto;
}

.bemade-banner__text {
    font-size: 0.85rem;
    font-weight: 300;
    color: #aaa;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.6;
}

/* BeMade button - pill style with breathing animation */
.bemade-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid #fff;
    border-radius: 9999px;
    padding: 14px 14px 14px 24px;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
}

.bemade-btn__fill {
    position: absolute;
    inset: 5px;
    background: #fff;
    border-radius: 9999px;
    transition: inset 0.3s ease;
}

.bemade-btn:hover .bemade-btn__fill {
    inset: 0;
}

.bemade-btn__text {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
}

.bemade-btn__arrow {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #938E88;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bemade-btn__arrow svg {
    color: #fff;
    font-size: 1rem;
}

/* ========== COLLECTION BANNERS ========== */
.collection-banner {
    display: flex;
    width: 100%;
    height: 400px;
}

.collection-banner__image {
    width: 66.666%;
    height: 100%;
    overflow: hidden;
}

.collection-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-banner:not(.collection-banner--reverse) .collection-banner__image img {
    object-position: center 75%;
}

.collection-banner__content {
    width: 33.333%;
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
}

.collection-banner__logo {
    height: 78px;
    width: auto;
    padding-left: 10%;
}

.collection-banner__text {
    font-size: 0.85rem;
    font-weight: 300;
    color: #aaa;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.7;
}

/* Reverse layout: image left, content right */
.collection-banner--reverse {
    flex-direction: row-reverse;
}

/* ========== FABRICATORS DUO (Homepage) ========== */
.fabricators-duo-wrap {
    background: #f5f5f5;
    text-align: center;
    padding-top: 70px;
}

.fabricators-duo {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 70px;
    gap: 24px;
}

.fabricators-duo__col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fabricators-duo__label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 16px;
}

.fabricators-duo__card {
    position: relative;
    width: 447px;
    height: 338px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fabricators-duo__card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.fabricators-duo__card:hover::before {
    opacity: 0.1;
}

.fabricators-duo__card > * {
    position: relative;
    z-index: 1;
}

.fabricators-duo__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.fabricators-duo__card--bemade {
    background: url('../assets/webp/full/bemadeHero.webp') center / cover no-repeat;
}

.fabricators-duo__card--bemade::before {
    background: #000;
}

.fabricators-duo__card--granite {
    background: url('../assets/granite-preview.webp') center / cover no-repeat;
}

.fabricators-duo__card--granite::before {
    background: #32373c;
}

.fabricators-duo__logo {
    height: 40px;
    width: auto;
}

.fabricators-duo__logo--gtuk {
    height: 32px;
}

.fabricators-duo .btn-gtuk {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #32373c;
    background: #fff;
    border: 2px solid #fff;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.fabricators-duo__card--granite:hover .btn-gtuk {
    background: transparent;
    color: #fff;
}

/* ========== FOOTER ========== */
.footer {
    background: #111;
    color: #aaa;
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #888;
    max-width: 320px;
}

.footer h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.footer-nav {
    justify-self: end;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: #888;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 0.75rem;
    color: #555;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #222;
    color: #fff;
}

.btn-primary:hover {
    background: #444;
}

.btn-outline {
    background: transparent;
    color: #222;
    border: 1px solid #222;
}

.btn-outline:hover {
    background: #222;
    color: #fff;
}

.btn-collection {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.btn-collection:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-menu.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .nav-menu a {
        padding: 8px 0;
        display: block;
        text-align: center;
    }

    .nav-menu a::after {
        bottom: 4px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .hero-slide__label {
        bottom: 30px;
        right: 12px;
    }

    .hero-slide__name {
        font-size: 0.8rem;
        padding: 5px 10px;
        letter-spacing: 1.5px;
    }

    .hero-info {
        padding: 40px 20px;
    }

    .hero-info__badges {
        gap: 12px;
    }

    .hero-info__badge-label {
        font-size: 0.65rem;
        padding: 8px 16px;
    }

    .hero-info__desc {
        font-size: 0.82rem;
    }

    .why-porcelain {
        padding: 50px 20px;
    }

    .why-porcelain__intro {
        font-size: 0.85rem;
        margin-bottom: 36px;
    }

    .why-porcelain__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 400px;
    }

    .why-porcelain__card {
        padding: 28px 22px;
    }

    .use-cases {
        padding: 50px 20px;
    }

    .use-cases__bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
        gap: 4px;
    }

    .use-cases__item--bathroom {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .use-cases__item--cladding {
        grid-column: 1;
        grid-row: 2 / 4;
    }

    .use-cases__item--kitchen {
        grid-column: 2;
        grid-row: 2;
    }

    .use-cases__item--dining {
        grid-column: 2;
        grid-row: 3;
    }

    .use-cases__tags {
        gap: 16px;
    }

    .fabricators-duo {
        flex-direction: column;
        padding: 40px 20px;
        gap: 14px;
    }

    .fabricators-duo__card {
        width: 100%;
        max-width: 400px;
        height: 280px;
        padding: 40px 20px;
    }

    .collection-banner {
        flex-direction: column;
        height: auto;
    }

    .collection-banner--reverse {
        flex-direction: column;
    }

    .collection-banner__image {
        width: 100%;
        height: 250px;
    }

    .collection-banner__content {
        width: 100%;
        padding: 40px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-nav {
        justify-self: start;
    }

    .bemade-banner {
        flex-direction: column;
        height: auto;
    }

    .bemade-banner__image {
        width: 100%;
        height: 250px;
    }

    .bemade-banner__content {
        width: 100%;
        padding: 40px 20px;
    }
}
