/*
Theme Name: Younas Jewellers
Theme URI: https://younasjewellers.com
Author: Younas Jewellers
Author URI: https://younasjewellers.com
Description: Custom elegant white & gold theme for Younas Jewellers, Mirpur AJ&K. Built for showcasing gold jewelry, gallery and contact info.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: younas-jewellers
*/

/* ==========================================================================
   1. Variables & Reset
   ========================================================================== */
:root {
    --gold: #C9A227;
    --gold-dark: #A6821B;
    --gold-light: #E8D9A0;
    --cream: #FBF9F4;
    --white: #FFFFFF;
    --charcoal: #2B2A28;
    --gray: #6b6b6b;
    --border-light: #ece5d3;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--charcoal);
    margin: 0 0 15px;
    font-weight: 700;
}

a { color: var(--gold-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

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

ul { list-style: none; margin: 0; padding: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 13px;
    border: 1px solid var(--gold);
}
.btn:hover { background: var(--white); color: var(--gold); }

.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 45px; }
.section-title span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    color: var(--gold-dark);
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}
.section-title h2 { font-size: 34px; }
.section-title.light h2, .section-title.light span { color: var(--white); }

/* ==========================================================================
   2. Top bar & Header
   ========================================================================== */
.top-bar {
    background: var(--charcoal);
    color: var(--gold-light);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar a { color: var(--gold-light); }
.top-bar .socials a { margin-left: 14px; }

.site-header {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    letter-spacing: .5px;
}
.site-title a { color: var(--charcoal); }
.site-title .accent { color: var(--gold); }
.site-description { font-size: 12px; color: var(--gray); margin: 0; letter-spacing: 1px; }

.main-navigation ul {
    display: flex;
    gap: 34px;
    align-items: center;
}
.main-navigation a {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 14.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--gold-dark); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--charcoal);
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.hero {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    padding: 90px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}
.hero span.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
}
.hero h1 {
    font-size: 48px;
    margin: 14px 0 18px;
}
.hero p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--gray);
    font-size: 17px;
}

/* ==========================================================================
   4. Featured categories / cards
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--border-light);
    background: var(--cream);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.card .icon { font-size: 40px; color: var(--gold); margin-bottom: 16px; }
.card h3 { font-size: 20px; }
.card p { color: var(--gray); font-size: 14.5px; margin: 0; }

/* ==========================================================================
   5. About / Story section
   ========================================================================== */
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-section img { border: 6px solid var(--cream); }
.about-section .stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}
.about-section .stats div strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--gold-dark);
}
.about-section .stats div span { font-size: 13px; color: var(--gray); }

/* ==========================================================================
   6. CTA band
   ========================================================================== */
.cta-band {
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gold-light); margin-bottom: 25px; }

/* ==========================================================================
   7. Gallery
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    aspect-ratio: 1 / 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(43,42,40,.75);
    color: var(--white);
    font-size: 13px;
    padding: 8px 12px;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-item:hover .cap { opacity: 1; }
.gallery-empty {
    text-align: center;
    color: var(--gray);
    padding: 40px;
    border: 1px dashed var(--border-light);
}

/* ==========================================================================
   8. Page content (About, generic pages)
   ========================================================================== */
.page-content-wrap { padding: 70px 0; }
.page-header {
    background: var(--cream);
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}
.page-header h1 { margin: 0; }
.entry-content { max-width: 850px; margin: 0 auto; }
.entry-content img { margin: 20px 0; }

/* ==========================================================================
   9. Contact
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info-box {
    background: var(--cream);
    padding: 35px;
    border: 1px solid var(--border-light);
}
.contact-info-box h3 { font-size: 18px; margin-bottom: 6px; }
.contact-info-box .item { margin-bottom: 22px; }
.contact-info-box .item span.label {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--gold-dark);
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 14.5px;
    background: var(--cream);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { cursor: pointer; }
.form-notice {
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-notice.success { background: #eaf7ea; color: #2b6a2b; border: 1px solid #bfe3bf; }
.form-notice.error { background: #fbeaea; color: #8a2b2b; border: 1px solid #edbcbc; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer {
    background: var(--charcoal);
    color: #cfcfcf;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid h4 {
    color: var(--gold-light);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.footer-grid p, .footer-grid li { font-size: 14px; color: #b9b9b9; margin-bottom: 10px; }
.footer-grid a { color: #b9b9b9; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #8a8a8a;
}

/* ==========================================================================
   11. Widgets (sidebar, if used)
   ========================================================================== */
.widget { margin-bottom: 30px; }
.widget h2, .widget h3 { font-size: 17px; }

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .about-section .container { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border-light); }
    .main-navigation.is-open { display: block; }
    .main-navigation ul { flex-direction: column; gap: 0; }
    .main-navigation li { border-bottom: 1px solid var(--border-light); }
    .main-navigation a { display: block; padding: 14px 24px; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 32px; }
    .cards-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
    .top-bar .container { flex-direction: column; text-align: center; }
}
