/* =========================================================
   Bajaj Paints — brand stylesheet
   Palette inspired by the reference: warm cream + deep navy
   with soft pastel paint accents.
   ========================================================= */

:root {
    --cream:        #f5efe3;
    --cream-soft:   #fbf7ef;
    --surface:      #ffffff;
    --navy:         #16233f;
    --navy-deep:    #101a30;
    --navy-600:     #22345a;
    --pastel-blue:  #a7c4d6;
    --pastel-peach: #e8c7b2;
    --pastel-mint:  #cfe0d3;
    --ink:          #1a2130;
    --muted:        #5b6472;
    --line:         #e7ddc9;
    --gold:         #e0b357;

    --shadow-sm: 0 2px 10px rgba(22, 35, 63, .06);
    --shadow-md: 0 12px 34px rgba(22, 35, 63, .12);
    --shadow-lg: 0 26px 60px rgba(22, 35, 63, .18);
    --radius:    18px;
    --radius-sm: 12px;
    --maxw:      1200px;
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;            /* guard against accidental horizontal scroll */
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--navy-600);
    background: var(--pastel-peach);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px;
    padding: 13px 26px; border-radius: 999px; cursor: pointer;
    border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--navy-deep); }
.btn--light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--call { background: var(--navy); color: #fff; }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1eb457; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ---------------- Header ---------------- */
.topbar {
    background: var(--navy-deep); color: #dfe6f2; font-size: 13.5px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 40px; }
.topbar a { color: #dfe6f2; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; gap: 22px; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 239, 227, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--navy-600));
    color: #fff; display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -1px;
    box-shadow: var(--shadow-sm);
}
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1; }
.brand__name span { display: block; font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--navy); position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--navy); transition: width .2s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(120% 90% at 80% 0%, var(--pastel-blue) 0%, transparent 45%),
    radial-gradient(90% 80% at 0% 100%, var(--pastel-peach) 0%, transparent 40%),
    var(--cream);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: 72px; position: relative; z-index: 2; }
.hero__title { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -1.5px; }
.hero__title em { font-style: normal; color: var(--navy-600); position: relative; }
.hero__lead { color: var(--muted); font-size: 18px; margin: 22px 0 30px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 34px; margin-top: 40px; }
.hero__stats b { font-family: var(--font-head); font-size: 28px; color: var(--navy); display: block; }
.hero__stats span { font-size: 13px; color: var(--muted); }

.hero__copy { min-width: 0; }
.hero__art { position: relative; min-width: 0; }
.hero__art-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero__swatch { border-radius: var(--radius); aspect-ratio: 3/4; box-shadow: var(--shadow-md); overflow: hidden; position: relative; min-width: 0; }
.hero__swatch img { width: 100%; height: 100%; object-fit: cover; }
.hero__swatch:nth-child(1) { transform: translateY(18px); }
.hero__swatch:nth-child(4) { transform: translateY(18px); }
.hero__swatch--color { display: grid; place-items: end start; padding: 16px; color: #fff; font-family: var(--font-head); font-weight: 600; }

/* ---------------- Services / features strip ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
    background: var(--surface); border-radius: var(--radius); padding: 26px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--pastel-blue); color: var(--navy); margin-bottom: 16px; }
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------------- Rooms gallery ---------------- */
.rooms { background: var(--cream-soft); }
.rooms__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 16px; }
.room {
    border-radius: var(--radius); overflow: hidden; position: relative;
    box-shadow: var(--shadow-sm); background: var(--pastel-mint);
}
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room:hover img { transform: scale(1.06); }
.room--tall { grid-row: span 2; }
.room--wide { grid-column: span 2; }
.room__tag {
    position: absolute; left: 14px; bottom: 14px; background: rgba(16,26,48,.82);
    color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 500;
    padding: 7px 14px; border-radius: 999px;
}

/* ---------------- Product cards ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
    background: var(--surface); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__media {
    position: relative; aspect-ratio: 4/5; overflow: hidden;
    background: #ffffff;
    display: grid; place-items: center;
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 18px; }
.product-card__badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px;
    background: var(--navy);
}
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-card__title { font-size: 21px; margin: 6px 0 4px; }
.product-card__sub { font-size: 14px; color: var(--navy-600); font-weight: 500; }
.product-card__desc { color: var(--muted); font-size: 14.5px; margin: 12px 0 16px; flex: 1; }
.product-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.product-card__meta b { color: var(--navy); font-weight: 600; }
.product-card__actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: .18s; }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn--call { background: var(--navy); color: #fff; border-color: var(--navy); }
.icon-btn--wa { background: #25d366; color: #fff; border-color: #25d366; }

/* ---------------- Filters ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters a {
    font-family: var(--font-head); font-size: 14px; font-weight: 500; padding: 9px 18px;
    border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
    transition: .18s;
}
.filters a:hover { border-color: var(--navy); }
.filters a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------------- Page hero (inner) ---------------- */
.page-hero { background:
    radial-gradient(100% 120% at 90% 0%, var(--pastel-blue) 0%, transparent 42%), var(--navy);
    color: #fff; padding: 66px 0 58px;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); }
.page-hero p { color: #c9d4e6; margin-top: 12px; max-width: 42em; }
.breadcrumb { color: #9fb0cd; font-size: 13.5px; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ---------------- Product detail ---------------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.pd__media { position: sticky; top: 96px; background: linear-gradient(135deg, var(--cream-soft), #fff);
    border-radius: var(--radius); border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow-sm); }
.pd__media img { border-radius: var(--radius-sm); width: 100%; object-fit: contain; max-height: 520px; }
.pd__cat { display: inline-block; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 6px 13px; border-radius: 999px; }
.pd__title { font-size: clamp(28px, 4vw, 40px); margin: 16px 0 6px; }
.pd__sub { font-size: 18px; color: var(--navy-600); font-weight: 500; }
.pd__price { font-family: var(--font-head); font-size: 22px; color: var(--navy); font-weight: 700; margin: 18px 0; }
.pd__desc { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.pd__specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.pd__spec { background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.pd__spec span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pd__spec b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 15.5px; margin-top: 3px; }
.pd__features { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin: 8px 0 26px; }
.pd__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.pd__features svg { width: 20px; height: 20px; flex: none; color: #1f7a44; margin-top: 1px; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Shade / variant chips */
.shade-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.shade-chip {
    display: inline-block; font-size: 13.5px; color: var(--navy);
    background: var(--cream-soft); border: 1px solid var(--line);
    padding: 6px 13px; border-radius: 999px;
}

/* ---------------- Forms ---------------- */
.form-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 15px; background: var(--cream-soft); color: var(--ink);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(22,35,63,.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 15px; }
.alert--ok { background: #e5f4ea; color: #1f7a44; border: 1px solid #b9e2c7; }
.alert--err { background: #fdeaee; color: #c0223c; border: 1px solid #f4c4cf; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--pastel-peach); color: var(--navy); display: grid; place-items: center; flex: none; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list b { font-family: var(--font-head); color: var(--navy); display: block; font-size: 15px; }
.info-list span, .info-list a { color: var(--muted); font-size: 15px; }
.info-list a:hover { color: var(--navy); }
.direct-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ---------------- CTA band ---------------- */
.cta-band { background:
    radial-gradient(90% 140% at 100% 0%, var(--navy-600) 0%, transparent 50%), var(--navy);
    color: #fff; border-radius: 26px; padding: 54px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.cta-band p { color: #c9d4e6; margin: 12px auto 26px; max-width: 40em; }
.cta-band .hero__actions { justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #b9c4d8; padding: 60px 0 26px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer a { color: #b9c4d8; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-brand p { font-size: 14.5px; margin-top: 14px; max-width: 26em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; flex-wrap: wrap; }

/* ---------------- Floating action buttons ---------------- */
.fab { position: fixed; right: 20px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md); color: #fff; transition: transform .18s ease; }
.fab a:hover { transform: scale(1.08); }
.fab .fab--wa { background: #25d366; }
.fab .fab--call { background: var(--navy); }
.fab a svg { width: 26px; height: 26px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero__art { order: -1; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pd { grid-template-columns: 1fr; }
    .pd__media { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .rooms__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
}
@media (max-width: 760px) {
    /* --- compact mobile topbar: keep phone, drop long text --- */
    .topbar .container { height: auto; min-height: 34px; padding-block: 6px; gap: 10px; }
    .topbar .container > span { display: none; }   /* hide company/address line */
    .topbar__right { gap: 14px; }
    .topbar__right span { display: none; }          /* hide email text */

    /* --- header: one tidy row (brand · WhatsApp icon · menu) --- */
    .site-header .container { height: 62px; }
    .brand { gap: 9px; }
    .brand__mark { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
    .brand__name { font-size: 17px; white-space: nowrap; }
    .brand__name span { display: none; }            /* hide tagline on mobile */
    .header-cta { gap: 8px; }
    .header-cta .btn span { display: none; }
    .header-cta .btn--primary { display: none; }    /* remove Enquire text btn; use menu / WhatsApp */
    .header-cta .btn--whatsapp { padding: 10px 12px; }
    .nav { display: none; }
    .nav-toggle { display: block; }
    .site-header.open .nav {
        display: flex; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column;
        background: var(--cream-soft); padding: 18px 22px; gap: 14px; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }
    .section { padding: 60px 0; }
    .product-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .pd__specs, .pd__features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .rooms__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .room--wide, .room--tall { grid-column: auto; grid-row: auto; }
    .cta-band { padding: 36px 22px; }
    .hero__stats { gap: 22px; }
}
