/* ============================
   PRIYA PRECAST — Premium Catalog
   Clean, Minimal, Professional
   ============================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --red: #e63946;
    --red-dark: #c1121f;
    --blue: #1a3a8f;
    --gold: #f4a261;
    --dark: #111;
    --text: #444;
    --muted: #888;
    --border: #e8e8e8;
    --bg: #fafafa;
    --white: #fff;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,.1);
    --ease: .25s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: #999;
    font-size: .75rem;
    padding: 7px 0;
    letter-spacing: .3px;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar i { color: var(--red); margin-right: 5px; }
.top-bar-contact { display: flex; gap: 20px; }
.top-bar-contact a { color: #999; transition: color var(--ease); }
.top-bar-contact a:hover { color: var(--white); }

/* ---- Header ---- */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--ease);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); border-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 64px; width: 64px; object-fit: contain; border-radius: 6px; }
.logo strong { display: block; font-size: 1.05rem; color: var(--blue); letter-spacing: .8px; line-height: 1.1; }
.logo small { font-size: .55rem; color: var(--red); letter-spacing: 1.5px; font-weight: 600; }

.nav { display: flex; gap: 4px; }
.nav a {
    padding: 7px 16px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--ease);
}
.nav a:hover, .nav a.active { background: var(--red); color: var(--white); }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.menu-btn span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--ease); }

/* ---- Hero ---- */
.hero {
    width: 100%;
    line-height: 0;
}
.hero-img {
    width: 100%;
    height: 70vh;
    min-height: 340px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    background: var(--red);
    color: var(--white);
    transition: var(--ease);
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: var(--white); color: var(--red); border-color: var(--white); }

/* ---- Products ---- */
.products { padding: 80px 0 60px; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 6px;
}
.sec-head p { color: var(--muted); font-size: .92rem; }
.sec-head.light h2 { color: var(--white); }
.sec-head.light p { color: rgba(255,255,255,.6); }

/* Filters */
.filters { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.fil {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    border: 1.5px solid var(--border);
    background: var(--white);
    transition: var(--ease);
}
.fil:hover { border-color: var(--red); color: var(--red); }
.fil.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* Search */
.search-wrap { max-width: 420px; margin: 0 auto 44px; position: relative; }
.search-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.search-wrap input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-family: inherit;
    font-size: .85rem;
    background: var(--white);
    transition: var(--ease);
}
.search-wrap input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,57,70,.08); }

/* Category Label */
.cat-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 52px 0 24px;
}
.cat-label:first-of-type { margin-top: 0; }
.cat-line { flex: 1; height: 1px; background: var(--border); }
.cat-label span {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 12px;
}

/* Card */
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--ease), box-shadow var(--ease);
    position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card.hidden { display: none; }
.card-wide { grid-column: span 2; }

.card-img {
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    height: 200px;
    overflow: hidden;
}
.card-img svg { width: 100%; height: 100%; max-height: 170px; }
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--dark);
    color: var(--white);
    font-size: .6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.badge.new { background: var(--gold); color: var(--dark); }

.card-info { padding: 18px 20px 20px; }
.card-info h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.tag {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}
.specs { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* Spec Table (Kerb) */
.spec-table { width: 100%; border-collapse: collapse; font-size: .78rem; margin-top: 8px; }
.spec-table th {
    text-align: left;
    padding: 6px 10px;
    background: var(--bg);
    color: var(--muted);
    font-weight: 600;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.spec-table td { padding: 6px 10px; border-top: 1px solid var(--border); color: var(--dark); }

/* ---- About ---- */
.about { padding: 90px 0; background: var(--white); }

.about-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: center;
}

/* Logo column */
.about-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-logo-box {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.about-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info column */
.about-subtitle {
    font-size: .72rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 4px;
}
.about-tagline {
    font-size: .9rem;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 16px;
}
.about-desc {
    color: var(--text);
    line-height: 1.8;
    font-size: .9rem;
    margin-bottom: 20px;
    max-width: 520px;
}

/* Inline badges */
.about-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: #f0f4ff;
    border: 1px solid #c5d2f6;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .3px;
}
.about-badge i { font-size: .7rem; }

.about-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

/* Contact rows */
.about-contact-info { display: flex; flex-direction: column; gap: 10px; }
.about-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .85rem;
    color: var(--text);
}
.about-contact-item i { color: var(--red); min-width: 16px; margin-top: 3px; }
.about-contact-item a { color: var(--blue); font-weight: 500; }
.about-contact-item a:hover { color: var(--red); }

.stats { display: flex; gap: 20px; margin: 24px 0; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.5rem; color: var(--red); }
.stat span { font-size: .7rem; color: var(--muted); font-weight: 500; }

.features { display: flex; flex-direction: column; gap: 16px; }
.feat {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--ease);
}
.feat:hover { border-color: var(--red); box-shadow: var(--shadow); }
.feat > i {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 10px;
    background: #fef0f0;
    color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.feat strong { display: block; font-size: .88rem; color: var(--dark); margin-bottom: 2px; }
.feat p { font-size: .78rem; color: var(--muted); margin: 0; }

/* ---- Contact ---- */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue), #0d1f4f);
    color: var(--white);
}
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }
.c-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: var(--ease);
}
.c-card:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.c-card i { font-size: 1.3rem; color: var(--gold); margin-bottom: 12px; display: block; }
.c-card strong { display: block; font-size: .88rem; margin-bottom: 8px; }
.c-card p { font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.6; }
.c-card a { color: var(--gold); }
.c-card a:hover { color: var(--white); }

.form-wrap {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 640px;
    margin: 0 auto;
}
.form-wrap h3 { text-align: center; font-size: 1.1rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-wrap input, .form-wrap select, .form-wrap textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: var(--white);
    font-family: inherit;
    font-size: .85rem;
    transition: var(--ease);
}
.form-wrap input::placeholder, .form-wrap textarea::placeholder { color: rgba(255,255,255,.35); }
.form-wrap select { color: rgba(255,255,255,.5); -webkit-appearance: none; }
.form-wrap select option { background: var(--dark); color: var(--white); }
.form-wrap input:focus, .form-wrap textarea:focus, .form-wrap select:focus {
    outline: none;
    border-color: var(--gold);
}
.form-wrap textarea { margin-bottom: 14px; resize: vertical; min-height: 90px; }
.form-wrap .btn { width: 100%; justify-content: center; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: #777; padding: 44px 0 32px; font-size: .82rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { font-size: 1.05rem; color: var(--white); letter-spacing: .8px; display: block; margin-bottom: 4px; }
.footer small { display: block; margin-top: 14px; font-size: .7rem; color: #555; }
.f-links strong { display: block; color: var(--white); font-size: .82rem; margin-bottom: 10px; }
.f-links a {
    display: flex; align-items: center; gap: 6px;
    padding: 3px 0;
    font-size: .78rem;
    color: #777;
    transition: color var(--ease);
}
.f-links a:hover { color: var(--gold); }

/* ---- Back to top ---- */
.btt {
    position: fixed;
    bottom: 84px;
    right: 20px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: var(--ease);
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.btt.vis { opacity: 1; visibility: visible; }
.btt:hover { background: var(--red); }

/* ---- WhatsApp ---- */
.wa {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(37,211,102,.35);
    transition: transform var(--ease);
}
.wa:hover { transform: scale(1.06); }

/* ---- No Results ---- */
.no-results { text-align: center; padding: 48px 20px; color: var(--muted); display: none; }
.no-results.vis { display: block; }
.no-results i { font-size: 2rem; margin-bottom: 10px; display: block; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .about-wrap { grid-template-columns: 1fr; gap: 36px; }
    .about-logo-col { justify-content: center; }
    .about-logo-box { width: 200px; height: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .card-wide { grid-column: span 1; }
}
@media (max-width: 768px) {
    .top-bar-contact { display: none; }
    .nav {
        display: none;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav.open { display: flex; }
    .nav a { padding: 10px 16px; }
    .menu-btn { display: flex; }
    .hero-img { height: 50vw; min-height: 220px; }
    .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-row { grid-template-columns: 1fr; }
    .form-wrap { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 480px) {
    .grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .filters { gap: 5px; }
    .fil { padding: 6px 14px; font-size: .75rem; }
}
