/* ============================================================
   NEW GADHIMAI JEWELLERY WEBSITE
   Main stylesheet
   ============================================================ */

:root {
    --cream: #f8f3e8;
    --paper: #fffdf7;
    --gold: #a27a2d;
    --dark-gold: #76551c;
    --brown: #33251b;
    --line: #cdbd91;
    --text: #17130f;
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(45, 30, 10, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(170,130,50,.06), transparent 25%),
        var(--cream);
    font-family: Georgia, "Times New Roman", serif;
}

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

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

/* ================= HEADER ================= */

.site-header {
    max-width: 1250px;
    margin: auto;
    background: rgba(255,253,247,.94);
    border-bottom: 1px solid var(--line);
}

.brand {
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 25px;
    text-align: center;
}

.logo {
    width: 14%;
    height: 14%;
    object-fit: contain;
}

.brand-text h1 {
    margin: 0;
    font-size: clamp(25px, 3vw, 40px);
    letter-spacing: 1px;
}

.brand-text p {
    margin: 2px 0 5px;
    font-size: 18px;
    letter-spacing: 2px;
}

.brand-text small {
    color: var(--gold);
    letter-spacing: 3px;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    padding: 11px 10px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: .8px;
}

.main-nav a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
}

/* ================= LAYOUT ================= */

.page-layout {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(280px, .9fr);
    gap: 28px;
    padding: 0 25px 35px;
}

.content {
    min-width: 0;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    background: #24150e;
}

.hero-track {
    position: relative;
    min-height: 430px;
}

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

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

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

.hero-content {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 75px 8%;
    color: white;
    background: linear-gradient(90deg, rgba(25,10,4,.88), rgba(25,10,4,.1));
}

.eyebrow {
    color: #e2c27c;
    font-size: 13px;
    letter-spacing: 3px;
    margin: 0 0 10px;
}

.hero-content h2 {
    font-size: clamp(35px, 5vw, 65px);
    line-height: .95;
    margin: 0 0 18px;
}

.hero-content p:not(.eyebrow) {
    max-width: 340px;
    line-height: 1.6;
}

.button {
    display: inline-block;
    border: 0;
    background: linear-gradient(135deg, #b28a3a, #80601f);
    color: white;
    padding: 10px 18px;
    font: inherit;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform .2s, filter .2s;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(0,0,0,.35);
    color: white;
    font-size: 40px;
    width: 45px;
    height: 65px;
    cursor: pointer;
}

.prev { left: 0; }
.next { right: 0; }

.dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 3px;
    height: 12px;
    border-radius: 100%;
    border: 0.5px solid white;
    background: transparent;
    cursor: pointer;
}

.dot.active {
    background: white;
}

/* ================= SECTION HEADINGS ================= */

.section {
    padding: 32px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.section-heading span {
    height: 1px;
    background: var(--line);
    flex: 1;
}

.section-heading h2 {
    margin: 0;
    font-size: 22px;
    white-space: nowrap;
}

/* ================= CATEGORY GRID ================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    text-align: center;
}

.category-card img {
    width: 100%;
    aspect-ratio: 1 / .9;
    object-fit: cover;
    background: #eee9dc;
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}

.category-card:hover img {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(60,40,10,.15);
}

.category-card h3 {
    font-size: 15px;
    margin: 9px 0 0;
    font-weight: normal;
}

/* ================= FEATURED ================= */

.featured {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    margin: 8px 0 15px;
    background: #25150c;
    color: white;
}

.featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
}

.featured > div {
    position: relative;
    padding: 65px 8%;
}

.featured h2 {
    margin: 0 0 10px;
    font-size: 31px;
}

/* ================= ABOUT / CUSTOM ================= */

.about {
    line-height: 1.8;
    text-align: center;
}

.custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
}

.custom-image img {
    width: 100%;
    height: 70vh;
    aspect-ratio: 0;
    object-fit: cover;
}

.custom-text h2 {
    font-size: 32px;
    margin: 8px 0;
}

.custom-text p:not(.eyebrow) {
    line-height: 1.7;
}

/* ================= SIDEBAR ================= */

.gold-price {
    padding: 10px 0;
}

.gold-price h2 {
    margin: 0;
    font-size: 24px;
}

.gold-price p {
    margin: 4px 0 15px;
    color: #9a6b20;
}

.gold-price-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #9a6b20;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.gold-price-btn:hover {
    background: #735016;
}

.sidebar {
    border-left: 1px solid var(--line);
    padding-left: 20px;
}

.side-block {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.side-block h2,
.side-title {
    margin: 0 0 14px;
    font-size: 16px;
    letter-spacing: 1px;
}

.side-title {
    text-align: center;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.mini-grid a {
    text-align: center;
    font-size: 12px;
}

.mini-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 7px;
}

.hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    padding: 4px 0;
}

.hours b {
    font-weight: normal;
}

.map-placeholder {
    min-height: 190px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(0,0,0,.04) 25%, transparent 25%) 0 0 / 20px 20px,
        #e9e7dd;
    color: #756b57;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

.price-box small {
    color: var(--gold);
    display: block;
    margin-top: -8px;
    margin-bottom: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ded6c3;
    padding: 7px 0;
    font: 12px Arial, sans-serif;
}

.price-row strong {
    font-weight: normal;
}

.contact-box p {
    font: 12px/1.6 Arial, sans-serif;
}

.contact-box form {
    display: grid;
    gap: 7px;
}

.contact-box label {
    font: 10px Arial, sans-serif;
    color: #756b57;
    margin-top: 5px;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    border: 1px solid #cfc7b2;
    background: rgba(255,255,255,.5);
    padding: 9px;
    font: 12px Arial, sans-serif;
}

.contact-box textarea {
    min-height: 95px;
    resize: vertical;
}

.contact-box .button {
    justify-self: start;
}

/* ================= FOOTER ================= */

.footer {
    max-width: 1250px;
    margin: auto;
    padding: 32px 25px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
    border-top: 1px solid var(--line);
}

.footer h2 {
    font-size: 14px;
    letter-spacing: 1px;
}

.footer a,
.footer p {
    display: block;
    margin: 6px 0;
    font: 11px Arial, sans-serif;
}

.socials {
    display: flex;
    gap: 8px;
}

.socials a {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid var(--brown);
    border-radius: 50%;
    font-weight: bold;
}

.copyright {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    font: 11px Arial, sans-serif;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-left: 0;
        padding-left: 0;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .custom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .brand {
        min-height: 140px;
        padding: 18px;
    }

    .logo {
        width: 75px;
        height: 75px;
    }

    .brand-text h1 {
        font-size: 21px;
    }

    .brand-text p {
        font-size: 12px;
    }

    .menu-toggle {
        display: block;
        margin: 0 auto 10px;
        border: 1px solid var(--line);
        background: transparent;
        padding: 8px 14px;
        cursor: pointer;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav span {
        display: none;
    }

    .page-layout {
        padding: 0 14px 25px;
    }

    .hero,
    .hero-track,
    .hero-slide > img {
        min-height: 390px;
        height: 390px;
    }

    .hero-content {
        width: 75%;
        padding: 70px 7%;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .footer {
        grid-template-columns: 1fr;
        padding: 25px 18px;
    }

    .copyright {
        grid-column: auto;
    }
}
