/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:   #c9a84c;
    --gold2:  #e8c96a;
    --dark:   #1a1a2e;
    --darker: #0d0d1a;
    --mid:    #16213e;
    --text:   #e0e0e0;
    --muted:  #a0a0b0;
    --white:  #ffffff;
    --card-bg:#1e1e3a;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Georgia', serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.7;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }

img { display: block; max-width: 100%; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(13,13,26,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201,168,76,.25);
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 80px;
}
.logo {
    font-size: 1.45rem; font-weight: 700;
    color: var(--gold); letter-spacing: .5px;
    white-space: nowrap;
}
.nav-menu {
    list-style: none;
    display: flex; gap: 32px;
}
.nav-menu a {
    color: var(--text); font-size: .95rem; letter-spacing: .3px;
    transition: color .2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.menu-toggle span {
    display: block; width: 26px; height: 2px;
    background: var(--gold); transition: .3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--darker) 0%, var(--mid) 50%, #0f3460 100%);
    position: relative; overflow: hidden;
    padding: 120px 24px 80px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201,168,76,.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(201,168,76,.05) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 740px; }
.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--gold);
    text-shadow: 0 0 40px rgba(201,168,76,.4);
    margin-bottom: 18px; line-height: 1.2;
}
.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--muted); margin-bottom: 36px;
}
.hero-btn {
    display: inline-block;
    padding: 14px 42px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--darker); font-weight: 700; font-size: 1rem;
    border-radius: 50px; letter-spacing: .5px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(201,168,76,.35);
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,.55);
    color: var(--darker);
}

/* ── Section titles ────────────────────────────────────────── */
.section-title {
    text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--gold); margin-bottom: 48px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block; width: 64px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    margin: 12px auto 0; border-radius: 2px;
}

/* ── Features ──────────────────────────────────────────────── */
.features {
    padding: 100px 24px;
    background: var(--dark);
}
.features-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(201,168,76,.18);
    border-radius: var(--radius);
    padding: 36px 28px; text-align: center;
    transition: transform .25s, border-color .25s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,168,76,.5);
}
.feature-icon { font-size: 2.8rem; margin-bottom: 14px; }
.feature-card h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p  { color: var(--muted); font-size: .93rem; }

/* ── Products grid ─────────────────────────────────────────── */
.products {
    padding: 100px 24px;
    background: var(--darker);
}
.products-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(201,168,76,.15);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(201,168,76,.45);
}
.product-image {
    aspect-ratio: 4/3; overflow: hidden; background: var(--mid);
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-info {
    padding: 20px;
}
.product-info h3 {
    font-size: 1rem; color: var(--text);
    margin-bottom: 14px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.btn {
    display: inline-block;
    padding: 9px 22px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--darker); font-size: .88rem; font-weight: 700;
    border-radius: 25px; transition: transform .2s, box-shadow .2s;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(201,168,76,.45);
    color: var(--darker);
}

/* ── About ─────────────────────────────────────────────────── */
.about {
    padding: 100px 24px;
    background: var(--dark);
}
.about-content {
    max-width: 820px; margin: 0 auto;
    text-align: center; color: var(--muted);
    font-size: 1.05rem; line-height: 1.85;
}
.about-content p + p { margin-top: 20px; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
    padding: 100px 24px;
    background: var(--darker);
}
.testimonials-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(201,168,76,.18);
    border-radius: var(--radius);
    padding: 32px 28px;
}
.testimonial-text { color: var(--muted); font-style: italic; margin-bottom: 16px; }
.testimonial-author { color: var(--gold); font-weight: 700; }

/* ── CTA ───────────────────────────────────────────────────── */
.cta {
    padding: 100px 24px; text-align: center;
    background: linear-gradient(135deg, var(--mid) 0%, #0f3460 100%);
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--gold); margin-bottom: 14px; }
.cta p  { color: var(--muted); margin-bottom: 30px; }

/* ── Contact page ──────────────────────────────────────────── */
.contact-section {
    padding: 120px 24px 100px;
    background: var(--dark);
    min-height: 80vh;
}
.contact-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info h3 { color: var(--gold); margin-bottom: 12px; font-size: 1.2rem; }
.contact-info p  { color: var(--muted); margin-bottom: 8px; }
.contact-form input,
.contact-form textarea {
    width: 100%; padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid rgba(201,168,76,.3);
    border-radius: 8px; color: var(--text);
    font-family: inherit; font-size: .95rem;
    margin-bottom: 14px; outline: none;
    transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button {
    padding: 12px 34px; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--darker); font-weight: 700; font-size: 1rem;
    border-radius: 30px; transition: transform .2s, box-shadow .2s;
}
.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,.4);
}

/* ── About page ────────────────────────────────────────────── */
.about-page {
    padding: 120px 24px 100px;
    background: var(--dark); min-height: 80vh;
}
.about-page .about-content {
    max-width: 860px; margin: 0 auto;
}
.about-page p { margin-bottom: 20px; }

/* ── Categories page ───────────────────────────────────────── */
.categories-section {
    padding: 120px 24px 100px;
    background: var(--darker);
}
.cat-group { margin-bottom: 70px; }
.cat-group h2 {
    color: var(--gold); font-size: 1.6rem;
    margin-bottom: 28px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,.25);
}

/* ── Product detail page ───────────────────────────────────── */
.product-detail {
    padding: 110px 24px 80px;
    background: var(--darker); min-height: 80vh;
}
.product-detail-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 54px;
    align-items: start;
}
.product-gallery { }
.product-main-img {
    width: 100%; border-radius: var(--radius);
    border: 1px solid rgba(201,168,76,.2);
    overflow: hidden; aspect-ratio: 4/3; background: var(--mid);
}
.product-main-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.gallery-thumbs {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
}
.gallery-thumbs img {
    width: 76px; height: 60px; object-fit: cover;
    border-radius: 6px; cursor: pointer;
    border: 2px solid rgba(201,168,76,.2);
    transition: border-color .2s, transform .2s;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active { border-color: var(--gold); transform: scale(1.05); }

.product-meta h1 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--white); margin-bottom: 14px; line-height: 1.3;
}
.product-price {
    font-size: 1.6rem; color: var(--gold); font-weight: 700; margin-bottom: 22px;
}
.product-description {
    color: var(--muted); font-size: .97rem; line-height: 1.8; margin-bottom: 26px;
}
.features-list {
    list-style: none; padding: 0; margin-bottom: 28px;
}
.features-list li {
    padding: 8px 0 8px 24px; position: relative;
    color: var(--text); font-size: .95rem;
    border-bottom: 1px solid rgba(201,168,76,.08);
}
.features-list li::before {
    content: '✦';
    position: absolute; left: 0; color: var(--gold); font-size: .75rem; top: 10px;
}
.back-btn {
    display: inline-block; margin-top: 10px;
    padding: 11px 30px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold); border-radius: 30px; font-size: .95rem;
    transition: background .2s, color .2s;
}
.back-btn:hover {
    background: var(--gold); color: var(--darker);
}

/* ── Products catalogue page ───────────────────────────────── */
.catalogue-section {
    padding: 120px 24px 100px;
    background: var(--darker);
}
.catalogue-header {
    max-width: 1200px; margin: 0 auto 48px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.catalogue-header h1 { color: var(--gold); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.search-bar {
    display: flex; gap: 10px;
}
.search-bar input {
    padding: 10px 18px; border-radius: 30px;
    background: var(--card-bg);
    border: 1px solid rgba(201,168,76,.3); color: var(--text);
    font-size: .93rem; outline: none; width: 240px;
}
.search-bar input:focus { border-color: var(--gold); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: var(--darker);
    border-top: 1px solid rgba(201,168,76,.2);
    padding: 60px 24px 0;
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
}
.footer-section h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 16px; }
.footer-section p  { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.footer-section a  {
    display: block; color: var(--muted); font-size: .9rem;
    margin-bottom: 8px; transition: color .2s;
}
.footer-section a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: var(--muted); font-size: .85rem;
    border-top: 1px solid rgba(201,168,76,.12);
    margin-top: 40px;
}

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--darker) 0%, var(--mid) 60%, #0f3460 100%);
}
.page-hero h1 { color: var(--gold); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p  { color: var(--muted); font-size: 1.05rem; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
    max-width: 1100px; margin: 0 auto 28px;
    font-size: .88rem; color: var(--muted);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .product-detail-inner { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav-menu {
        display: none; flex-direction: column;
        position: absolute; top: 68px; left: 0; right: 0;
        background: rgba(13,13,26,.97);
        padding: 20px 24px 28px; gap: 18px;
        border-bottom: 1px solid rgba(201,168,76,.2);
    }
    .nav-menu.open { display: flex; }
    .menu-toggle { display: flex; }
    .catalogue-header { flex-direction: column; align-items: flex-start; }
    .search-bar input { width: 100%; }
}
