@import url('https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7/fonts/LINE%20Seed%20Sans%20TH/LINE%20Seed%20Sans%20TH.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF2/LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF/LINESeedSansTH_W_Th.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF2/LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF/LINESeedSansTH_W_Rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF2/LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF/LINESeedSansTH_W_Bd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF2/LINESeedSansTH_W_He.woff2') format('woff2'),
         url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF/LINESeedSansTH_W_He.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF2/LINESeedSansTH_W_XBd.woff2') format('woff2'),
         url('LINE_Seed_Sans_TH_V1.003/LINE_Seed_Sans_TH_V1.003/Web/WOFF/LINESeedSansTH_W_XBd.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype-variations'),
         url('Cormorant_Garamond/static/CormorantGaramond-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype-variations'),
         url('Cormorant_Garamond/static/CormorantGaramond-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype-variations'),
         url('Cormorant_Garamond/static/CormorantGaramond-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype-variations'),
         url('Cormorant_Garamond/static/CormorantGaramond-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype-variations'),
         url('Cormorant_Garamond/static/CormorantGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('Cormorant_Garamond/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype-variations'),
         url('Cormorant_Garamond/static/CormorantGaramond-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --bg-main: #f6f1eb; /* Primary light cream background */
    --bg-footer: #283323; /* Deep olive green for footer */
    --text-main: #211C18; /* High contrast dark charcoal for primary text */
    --text-light: #4A423A; /* High contrast warm brown for description texts */
    --accent: #EAE4DC; /* Light warm cream for layered offsets */
    --border-color: #7D6650; /* Rich warm bronze for borders and highlights */
    --white: #FFFFFF; /* Pure clean white for card backgrounds */
    
    --font-heading: 'Cormorant Garamond', 'LINE Seed Sans TH', serif;
    --font-body: 'Cormorant Garamond', 'LINE Seed Sans TH', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 114%; /* Enlarged font scale across entire site */
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B5A893;
}

/* Non-dropping Lining Figures for all numbers across the website */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, div, td, th,
.card-val, .quality-tag, .history-text, .footer-contact, .floor-info {
    font-variant-numeric: lining-nums tabular-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 1 !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 1.15rem;
    line-height: 1.7;
    overflow-x: hidden;
    /* Gentle load transition without transform */
    animation: fadeInPage 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 4.5rem;
    background-color: #283323;
    border-bottom: 1px solid rgba(220, 203, 179, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.logo-icon {
    height: 85px;
    width: auto;
    max-height: 95px;
    margin: 0;
    padding: 0;
    transition: transform 0.4s ease;
    object-fit: contain;
    display: block;
}

.logo:hover .logo-icon {
    transform: scale(1.03);
}

.logo-text {
    display: none;
}

.nav {
    display: flex;
    gap: 3.2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #FAF9F6;
    font-size: 1.25rem !important; /* Enlarged navbar link size */
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0.2rem;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #DCCBB3;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav a:hover {
    color: #DCCBB3;
}

.nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Main Content Layout (Vertical Scroll) */
.main-content {
    width: 100%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 82px); /* Full bleed viewport height on desktop */
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 10s ease;
}

.hero:hover .hero-bg {
    transform: scale(1.05);
}

.hero-glow-orb {
    position: absolute;
    top: 30%;
    left: 45%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 203, 179, 0.22) 0%, rgba(220, 203, 179, 0) 70%);
    pointer-events: none;
    z-index: 2;
    filter: blur(60px);
    animation: orbFloat 8s infinite alternate ease-in-out;
}

@keyframes orbFloat {
    0% { transform: translate(-10%, -10%) scale(1); opacity: 0.5; }
    100% { transform: translate(12%, 12%) scale(1.25); opacity: 0.85; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(37,35,33,0.35) 0%, rgba(37,35,33,0.55) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2.5rem;
    max-width: 850px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF9F6 45%, #DCCBB3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7));
    animation: heroTextGlow 6s infinite alternate ease-in-out;
    transition: transform 0.4s ease, filter 0.4s ease;
}

@keyframes heroTextGlow {
    0% { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(220, 203, 179, 0.2)); }
    100% { filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 40px rgba(220, 203, 179, 0.5)); }
}

.hero-content p {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    color: rgba(250, 249, 246, 0.95);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.95rem 2.4rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(220, 203, 179, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--border-color);
    color: var(--bg-main);
    border-color: var(--border-color);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 35px rgba(220, 203, 179, 0.45), 0 0 25px rgba(220, 203, 179, 0.3) !important;
}

/* Craftsmanship & Info-Top Layout */
.craftsmanship, .info-top {
    padding: 7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: 0.08em;
    color: var(--text-main);
    text-transform: uppercase;
}

.craft-content {
    display: flex;
    gap: 5rem;
    align-items: center;
}

/* Alternating layout for second text block on desktop */
.info-content {
    display: flex;
    flex-direction: row-reverse;
    gap: 5rem;
    align-items: center;
}

.craft-image-container, .info-image-container {
    width: 45%;
    position: relative;
}

.bg-offset {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background-color: var(--accent);
    z-index: 0;
    transition: transform 0.4s ease;
}

.craft-image-container:hover .bg-offset,
.info-image-container:hover .bg-offset {
    transform: translate(-6px, -6px);
}

.image-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(44, 38, 33, 0.07); /* Elegant soft shadow */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-wrapper:hover img {
    transform: scale(1.06);
}

.craft-text, .info-text {
    width: 55%;
}

.craft-text h3, .info-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: var(--text-main);
}

.craft-text .desc, .info-text .desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    font-weight: 300;
}

.craft-text .quality, .info-text .quality {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: #DCCBB3;
    letter-spacing: 0.02em;
}

/* Cards Section */
.cards-section {
    padding: 7rem 0;
}

.cards-section .section-container {
    max-width: 1320px; /* Allow wider container for cards */
}

.cards-wrapper {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.card {
    flex: 1;
    max-width: 600px;
    border: 1px solid var(--border-color);
    padding: 2.2rem 1.4rem;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(139, 123, 97, 0.04); /* Subtly defined depth */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(139, 123, 97, 0.12); /* Slightly stronger hover shadow */
}

.card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.card-header p {
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Laminate Wood Swatches Grid */
.swatches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.swatch {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.swatch::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('images/textures.png');
    background-size: 400% 200%;
    transition: transform 0.5s ease;
    z-index: 1;
}

.swatch:hover::before {
    transform: scale(1.15);
}

/* Assign crop coordinates for 8 textures */
.swatch-1::before { background-position: 0% 0%; }
.swatch-2::before { background-position: 33.33% 0%; }
.swatch-3::before { background-position: 66.66% 0%; }
.swatch-4::before { background-position: 100% 0%; }
.swatch-5::before { background-position: 0% 100%; }
.swatch-6::before { background-position: 33.33% 100%; }
.swatch-7::before { background-position: 66.66% 100%; }
.swatch-8::before { background-position: 100% 100%; }

.swatch-label {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-main);
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    padding: 0.35rem 0;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.03);
    transition: background 0.3s;
}

.swatch:hover .swatch-label {
    background: rgba(255, 255, 255, 1);
    color: #DCCBB3;
}

/* Stairs Gallery Grid */
.stairs-gallery {
    display: flex;
    gap: 0.8rem;
    width: 100%;
}

.stair-img-wrapper {
    flex: 1;
    overflow: hidden;
    aspect-ratio: 0.82;
    border: 1px solid rgba(0,0,0,0.03);
}

.stair-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stair-img-wrapper:hover img {
    transform: scale(1.08);
}

/* Footer */
.footer {
    background-color: #283323 !important;
    background: #283323 !important;
    color: #D3C9B8;
    padding: 4rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(220, 203, 179, 0.2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #A39785;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.footer-contact .icon {
    font-size: 1rem;
    color: var(--border-color);
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #4D463E;
    color: #A39785;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-social a:hover {
    background-color: #DCCBB3;
    border-color: #DCCBB3;
    color: var(--white);
    transform: translateY(-2px);
}

/* Hamburger Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #FAF9F6;
    transition: all 0.3s ease;
}

/* Mobile Navigation Drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 35, 33, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: #283323;
    z-index: 100000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    color: #FAF9F6;
    cursor: pointer;
    transition: color 0.3s;
}

.drawer-close:hover {
    color: #DCCBB3;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    flex-shrink: 0;
}

.drawer-nav a {
    text-decoration: none;
    color: #FAF9F6;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.drawer-nav a:hover {
    color: #DCCBB3;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .craft-content, .info-content {
        gap: 3rem;
    }
    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem 2rem;
    }
    .nav {
        display: none; /* Hide standard nav on mobile */
    }
    .menu-toggle {
        display: flex; /* Show hamburger toggle */
    }
    .hero {
        height: calc(100vh - 64px); /* Full bleed viewport height on mobile */
        min-height: calc(100vh - 64px);
    }
    .craftsmanship, .info-top, .cards-section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }
    .craft-content, .info-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    /* Disable alternating layout on mobile */
    .info-content {
        flex-direction: column;
    }
    .craft-image-container, .craft-text, .info-image-container, .info-text {
        width: 100%;
    }
    .bg-offset {
        top: 15px;
        left: 15px;
        right: -15px;
        bottom: -15px;
    }
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .card {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    .footer {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        padding: 3rem 2rem;
    }
    .footer-contact p {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
}

/* ==========================================================================
   Flooring Collections Page Styles (Vertical Stacked Layout)
   ========================================================================== */
.flooring-collections-section, .stairs-section, .carpentry-section, .maintenance-section {
    padding: 6rem 0;
}

.flooring-collections-section {
    background-color: var(--bg-main);
}

.flooring-collections-section .wide-container {
    max-width: 1320px; /* Wider wrapper to keep cards large and detailed */
}

.stairs-section {
    background-color: var(--white);
    border-top: 1px solid rgba(220, 203, 179, 0.15);
    border-bottom: 1px solid rgba(220, 203, 179, 0.15);
}

.carpentry-section {
    background-color: var(--bg-main);
    border-bottom: 1px solid rgba(220, 203, 179, 0.15);
}

.maintenance-section {
    background-color: var(--white);
}

/* Collections Banner/Hero (Full Width) */
.coll-hero {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.coll-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.coll-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}
.coll-hero-content h2 {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    padding: 2rem;
    font-weight: 300;
    line-height: 1.3;
}

.coll-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.coll-title h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.2;
}
.coll-title p {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.coll-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-light);
}
.control-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
}
.control-item:hover {
    color: #DCCBB3;
}

/* Flooring Grid */
.flooring-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}
.floor-item {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 123, 97, 0.02);
}
.floor-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(139, 123, 97, 0.08);
}
.floor-swatch {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0,0,0,0.03);
}
.floor-swatch-crop {
    background-image: url('images/textures.png');
    background-size: 400% 200%;
    width: 100%;
    height: 100%;
    transition: transform 0.4s;
}
.floor-item:hover .floor-swatch-crop {
    transform: scale(1.08);
}

.floor-swatch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.floor-item:hover .floor-swatch-img {
    transform: scale(1.08);
}
.floor-swatch-crop.sw-1 { background-position: 0% 0%; }
.floor-swatch-crop.sw-2 { background-position: 33.33% 0%; }
.floor-swatch-crop.sw-3 { background-position: 66.66% 0%; }
.floor-swatch-crop.sw-4 { background-position: 100% 0%; }
.floor-swatch-crop.sw-5 { background-position: 0% 100%; }
.floor-swatch-crop.sw-6 { background-position: 33.33% 100%; }
.floor-swatch-crop.sw-7 { background-position: 66.66% 100%; }
.floor-swatch-crop.sw-8 { background-position: 100% 100%; }

.floor-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}
.floor-info .quality-tag {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--border-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}
.floor-info .sample-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: #DCCBB3;
    text-decoration: none;
    font-style: italic;
    margin-bottom: 1rem;
    transition: color 0.3s;
}
.floor-info .sample-link:hover {
    color: var(--text-main);
}

.btn-see-details {
    width: 100%;
    background-color: transparent;
    color: #DCCBB3;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-see-details:hover {
    background-color: #DCCBB3;
    color: var(--white);
    border-color: #DCCBB3;
}

/* Right Column Products & Collections */
.right-sec-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.right-sec-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-main);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.right-sec-header p {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.stairs-carpentry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.coll-prod-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 123, 97, 0.02);
}
.coll-prod-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(139, 123, 97, 0.08);
}
.coll-prod-img {
    position: relative;
    width: 100%;
    aspect-ratio: 0.9;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0,0,0,0.03);
}
.coll-prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.coll-prod-item:hover .coll-prod-img img {
    transform: scale(1.06);
}
.coll-prod-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.coll-prod-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    color: var(--text-main);
}
.coll-prod-info p {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.btn-enquire, .btn-quote {
    margin-top: auto;
    width: 100%;
    background-color: transparent;
    color: #DCCBB3;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-enquire:hover, .btn-quote:hover {
    background-color: #DCCBB3;
    color: var(--white);
    border-color: #DCCBB3;
}

/* Accessories & Maintenance Section */
.maintenance-container {
    display: flex;
    gap: 3rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(139, 123, 97, 0.02);
}
.maintenance-img-container {
    width: 40%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.maintenance-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.maintenance-list {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}
.maint-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(220, 203, 179, 0.15);
    padding-bottom: 1rem;
}
.maint-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.maint-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
}
.maint-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}
.btn-add-enquiry {
    background-color: transparent;
    color: #DCCBB3;
    border: 1px solid var(--border-color);
    padding: 0.45rem 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-add-enquiry:hover {
    background-color: #DCCBB3;
    color: var(--white);
    border-color: #DCCBB3;
}

/* Active Nav Underline Style */
.nav a.active {
    color: #DCCBB3;
}
.nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Responsive for Stacked Collections Page */
@media (max-width: 1024px) {
    .flooring-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .flooring-collections-section, .stairs-section, .carpentry-section, .maintenance-section {
        padding: 4rem 0;
    }
    .coll-hero {
        height: 250px;
    }
    .coll-hero-content h2 {
        font-size: 1.5rem;
    }
    .flooring-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .stairs-carpentry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .maintenance-container {
        flex-direction: column;
        padding: 1.5rem;
        gap: 2rem;
    }
    .maintenance-img-container, .maintenance-list {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .flooring-grid, .stairs-carpentry-grid {
        grid-template-columns: 1fr;
    }
    .coll-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==========================================================================
   Consultation & Contact Page Styles
   ========================================================================== */
.consultation-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    min-height: calc(100vh - 82px);
}

.consultation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-side h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(139, 123, 97, 0.03);
    transition: all 0.3s;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 123, 97, 0.08);
}

.contact-card .card-icon {
    font-size: 1.8rem;
    color: #DCCBB3;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.contact-card .card-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.contact-card .card-val a {
    color: var(--text-main);
    text-decoration: none;
}

.contact-card .card-note {
    font-size: 0.75rem;
    color: var(--text-light);
}

.contact-card.address-card {
    grid-column: span 2;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.contact-card.address-card .card-icon {
    align-self: flex-start;
}
.contact-card.address-card .map-thumb {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 140px;
}
.contact-card.address-card .map-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consultation Form */
.consultation-form-side .form-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(139, 123, 97, 0.05);
}

.consultation-form-side h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.consult-form .form-group {
    margin-bottom: 1.25rem;
}

.consult-form input, .consult-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.consult-form input:focus, .consult-form textarea:focus {
    outline: none;
    border-color: #DCCBB3;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(139, 123, 97, 0.05);
}

.btn-submit-consultation {
    width: 100%;
    background-color: transparent;
    color: #DCCBB3;
    border: 2px solid var(--border-color);
    padding: 1.1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}
.btn-submit-consultation:hover {
    background-color: #DCCBB3;
    color: var(--white);
    border-color: #DCCBB3;
}

@media (max-width: 1024px) {
    .consultation-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
@media (max-width: 768px) {
    .consultation-section {
        padding: 4rem 0;
    }
    .contact-info-side h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .consultation-form-side .form-card {
        padding: 2rem 1.5rem;
    }
}
@media (max-width: 480px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-card.address-card {
        grid-column: span 1;
    }
}

/* Dropdown Menu Styling */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #283323;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(220, 203, 179, 0.2);
    z-index: 1000;
    padding: 0.8rem 0;
    margin-top: 8px;
    border-radius: 4px;
    animation: dropdownFadeIn 0.3s ease;
}

/* Invisible bridge to keep hover active across the margin gap */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

.dropdown-content a {
    color: #FAF9F6;
    padding: 0.95rem 1.8rem;
    text-decoration: none;
    display: block;
    font-size: 1.05rem !important;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.dropdown-content a::after {
    display: none; /* Hide hover underline for dropdown links */
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #DCCBB3;
    padding-left: 1.8rem;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Swatch circles on homepage */
.swatch-circle {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, border-color 0.35s ease !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(220, 203, 179, 0.15) !important;
}
.swatch-circle:hover {
    transform: scale(1.22) translateY(-3px) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(220, 203, 179, 0.4) !important;
}
.swatch-circle.active-finish {
    transform: scale(1.22) translateY(-3px) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 25px rgba(220, 203, 179, 0.55), 0 0 2px 2px var(--border-color) !important;
}

/* Dynamic Project Cards & Shadow System */
.project-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.35s ease !important;
    will-change: transform;
}

.project-card:hover {
    opacity: 1 !important;
    transform: translateY(-8px);
}

.project-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2.5px solid transparent;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, transform 0.4s ease;
}

.project-card:hover .project-img-wrapper, 
.project-img-wrapper.active-border {
    border-color: var(--border-color) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(220, 203, 179, 0.35), 0 0 50px rgba(220, 203, 179, 0.15) !important;
}

.project-card:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.project-info h4 {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.project-card:hover .project-info h4 {
    color: #FFFFFF !important;
    text-shadow: 0 0 12px rgba(220, 203, 179, 0.4);
}

/* Dynamic Button Shadows */
.btn-primary {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(220, 203, 179, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 14px 35px rgba(220, 203, 179, 0.35), 0 0 20px rgba(220, 203, 179, 0.25) !important;
    transform: translateY(-3px) scale(1.02);
}

.craftsmanship button {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.craftsmanship button:hover {
    background: var(--border-color) !important;
    color: var(--bg-main) !important;
    border-color: var(--border-color) !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 30px rgba(220, 203, 179, 0.35), 0 0 20px rgba(220, 203, 179, 0.25) !important;
}

/* Dynamic Info-Top Section Shadows */
.info-image-container .image-wrapper {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(220, 203, 179, 0.15) !important;
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.info-image-container:hover .image-wrapper {
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(220, 203, 179, 0.3) !important;
    transform: translateY(-5px);
}

.info-image-container .bg-offset {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Certificate Card Styles on About Page (Static Display) */
.cert-card {
    transition: none !important;
}

/* Global Universal Dynamic Shadows & Elevate System for Products & Forms */
.floor-item, 
.coll-prod-item, 
.contact-card, 
.form-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.floor-item:hover, 
.coll-prod-item:hover, 
.contact-card:hover, 
.form-card:hover {
    transform: translateY(-7px) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 25px rgba(220, 203, 179, 0.28), 0 0 45px rgba(220, 203, 179, 0.12) !important;
}

.floor-item:hover img, 
.coll-prod-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.04);
}

/* About Page Static Cards Override (No hover elevation or metallic glow) */
.work-card, 
.history-photo-card, 
.cert-card {
    transform: none !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border-color: rgba(220, 203, 179, 0.15) !important;
}

.work-card:hover, 
.history-photo-card:hover, 
.cert-card:hover {
    transform: none !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border-color: rgba(220, 203, 179, 0.15) !important;
}

.work-card:hover img, 
.history-photo-card:hover img, 
.cert-card:hover img {
    transform: none !important;
    filter: none !important;
}


/* Global Form & Input Dynamic Glow Shadows */
input[type="text"]:focus, 
input[type="tel"]:focus, 
input[type="email"]:focus, 
select:focus, 
textarea:focus, 
#projectSearch:focus {
    outline: none !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 0 25px rgba(220, 203, 179, 0.35), 0 8px 25px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-2px) !important;
    transition: all 0.35s ease !important;
}

/* Global Button Dynamic Lift & Glow */
.btn-see-details, 
.btn-enquire, 
.btn-quote, 
.btn-submit-consultation, 
.btn-add-enquiry, 
.sample-link {
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

.btn-see-details:hover, 
.btn-enquire:hover, 
.btn-quote:hover, 
.btn-submit-consultation:hover, 
.btn-add-enquiry:hover, 
.sample-link:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 28px rgba(220, 203, 179, 0.35), 0 0 18px rgba(220, 203, 179, 0.2) !important;
}

/* Card Image Slider Arrows & Dots */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(28, 25, 22, 0.7);
    color: var(--border-color);
    border: 1px solid rgba(220, 203, 179, 0.4);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 5;
    opacity: 0.85;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    user-select: none;
    line-height: 1;
    padding-bottom: 2px;
}

.slider-wrapper:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--border-color) !important;
    color: var(--bg-main) !important;
    border-color: var(--border-color) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.slider-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: var(--border-color);
    width: 18px;
    border-radius: 10px;
}

/* Partner Marquee Dual-Row Infinite Slider */
.partner-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.partner-marquee-wrapper::before,
.partner-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partner-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main, #283323), transparent);
}

.partner-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main, #283323), transparent);
}

.partner-marquee-row {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
}

.partner-marquee-track {
    display: flex;
    gap: 0.8rem;
    width: max-content;
    will-change: transform;
}

.marquee-track-right {
    animation: marqueeRight 120s linear infinite;
}

.marquee-track-left {
    animation: marqueeLeft 120s linear infinite;
}

.partner-marquee-row:hover .partner-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partner-img-card {
    flex: 0 0 auto;
    width: 175px;
    height: 85px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(220, 203, 179, 0.2);
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    background: #283323;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-img-card:hover {
    transform: scale(1.04);
    border-color: var(--border-color, #DCCBB3);
}

.partner-img-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   Ultra-Deluxe Mobile & Tablet Responsive Optimization System (<= 768px & <= 480px)
   ========================================================================== */

@media (max-width: 768px) {
    /* Global Padding & Spacing Adjustments */
    .section-container {
        padding: 0 1.2rem !important;
    }
    
    .craftsmanship, 
    .info-top, 
    .cards-section, 
    .flooring-collections-section, 
    .stairs-section, 
    .carpentry-section, 
    .maintenance-section,
    .about-history-section,
    .about-work-showcase,
    .quality-section {
        padding: 3.5rem 0 !important;
    }

    /* Header & Mobile Navigation Toggle */
    .header {
        padding: 0.5rem 1.2rem !important;
    }
    .logo-icon {
        height: 60px !important;
        max-height: 65px !important;
    }
    
    /* Hero Section Adjustments */
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
        letter-spacing: 0.04em !important;
    }
    .hero-content p {
        font-size: 0.95rem !important;
        margin-bottom: 1.8rem !important;
    }

    /* About Page History Grid & CEO Slider */
    .history-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        margin-bottom: 3rem !important;
    }
    .ceo-slider-wrapper {
        height: 380px !important;
    }
    .history-text h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.2rem !important;
    }
    .history-text {
        font-size: 0.98rem !important;
        line-height: 1.75 !important;
    }

    /* Collections Page Cleaner Showcase */
    .cleaner-redesign-container {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
        gap: 1.8rem !important;
    }
    .cleaner-slider-showcase {
        height: 280px !important;
    }

    /* Matching Wood Profiles & Product Grids */
    .stairs-carpentry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Project Page Search & Real Estate Grid */
    #projectSearch {
        padding: 0.95rem !important;
        font-size: 0.88rem !important;
    }
    #projectList {
        padding: 1rem !important;
        max-height: 320px !important;
        gap: 0.5rem !important;
    }
    .project-tag {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.78rem !important;
    }

    /* Footer Mobile Optimization */
    .footer {
        padding: 2.5rem 1.5rem !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screen Mobile Enhancements */
    .hero-content h1 {
        font-size: 1.85rem !important;
    }
    .stairs-carpentry-grid {
        grid-template-columns: 1fr !important;
    }
    .flooring-grid {
        grid-template-columns: 1fr !important;
    }
    .ceo-slider-wrapper {
        height: 300px !important;
    }
    .cleaner-slider-showcase {
        height: 240px !important;
    }
    .coll-hero {
        height: 200px !important;
    }
    .coll-hero-content h2 {
        font-size: 1.3rem !important;
    }
    .btn-primary, .btn-see-details, .btn-enquire, .btn-quote, .btn-submit-consultation {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}





