/* ==========================================================================
   NURKA Jewelry - Cream/Elegant Theme
   ========================================================================== */

:root {
    --cream: #faf6f0;
    --cream-dark: #f3ebe1;
    --gold: #c9a96e;
    --gold-dark: #a9874f;
    --rose-gold: #d4a8a0;
    --turquoise: #6cb4b1;
    --text: #3a3a3a;
    --text-light: #7a7a7a;
    --border: #e6dcc8;
    --shadow: 0 4px 20px rgba(168, 135, 79, 0.08);
    --shadow-hover: 0 8px 30px rgba(168, 135, 79, 0.15);
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
}

body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3, body[dir="rtl"] h4 {
    font-family: var(--font-serif);
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

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

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    height: 64px;
    width: auto;
    border-radius: 50%;
}

body[dir="rtl"] .site-header .container {
    flex-direction: row-reverse;
}

.main-nav {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

body[dir="rtl"] .main-nav {
    flex-direction: row-reverse;
}

.main-nav a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-link {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 6px;
    border-radius: 4px;
}

.lang-link.active {
    color: var(--gold-dark);
    font-weight: 600;
}

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

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92) saturate(0.95);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 246, 240, 0.4) 0%, rgba(250, 246, 240, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 24px;
}

.hero-logo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 32px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.hero-slogan {
    font-size: clamp(28px, 5vw, 48px);
    font-style: italic;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: var(--gold);
    color: white;
}

.btn-primary:hover {
    background: var(--gold-dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
}

.btn-large {
    padding: 18px 48px;
    font-size: 15px;
}

body[dir="rtl"] .btn {
    letter-spacing: 0;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 16px;
    font-style: italic;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 32px;
}

.category-overlay h3 {
    color: white;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   STORY
   ========================================================================== */

.story-section {
    background: var(--cream-dark);
}

.story-content {
    max-width: 800px;
    margin: 32px auto 0;
    text-align: center;
}

.story-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
}

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-name {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.product-price {
    font-size: 19px;
    color: var(--gold-dark);
    font-weight: 500;
    font-family: var(--font-serif);
}

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

.page-header {
    background: var(--cream-dark);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    margin-bottom: 8px;
}

.breadcrumb {
    color: var(--text-light);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--gold-dark);
}

/* ==========================================================================
   SHOP
   ========================================================================== */

.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
}

body[dir="rtl"] .shop-layout {
    grid-template-columns: 1fr 240px;
}

.filter-block {
    margin-bottom: 32px;
}

.filter-block h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list a {
    display: block;
    padding: 6px 12px;
    color: var(--text);
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.filter-list a:hover,
.filter-list a.active {
    background: var(--cream-dark);
    color: var(--gold-dark);
}

.empty-state {
    text-align: center;
    padding: 80px 0;
    color: var(--text-light);
}

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 32px;
}

body[dir="rtl"] .product-detail-grid {
    grid-template-columns: 1fr 1fr;
}

.main-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cream-dark);
    margin-bottom: 16px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.thumb {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb:hover,
.thumb.active {
    border-color: var(--gold);
}

.product-detail-name {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 500;
}

.product-detail-price {
    font-size: 32px;
    color: var(--gold-dark);
    font-family: var(--font-serif);
    margin-bottom: 32px;
    font-weight: 500;
}

.product-detail-description {
    margin-bottom: 32px;
    color: var(--text);
    line-height: 1.8;
}

.product-detail-meta {
    padding: 16px;
    background: var(--cream-dark);
    border-radius: 4px;
    margin-bottom: 32px;
    font-size: 14px;
}

.product-detail-info .btn {
    margin-right: 12px;
    margin-bottom: 12px;
}

body[dir="rtl"] .product-detail-info .btn {
    margin-right: 0;
    margin-left: 12px;
}

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

.about-section {
    background: var(--cream-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 40px;
    box-shadow: var(--shadow);
}

.about-text {
    text-align: center;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--text);
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */

.reviews-section {
    background: var(--cream);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.review-card {
    background: white;
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.review-stars {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text);
    min-height: 90px;
}

.review-author {
    color: var(--text-light);
    font-size: 14px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-section {
    background: var(--cream-dark);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 40px;
    padding: 32px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info p {
    margin-bottom: 12px;
    text-align: right;
}

body[dir="rtl"] .contact-info p {
    text-align: right;
}

.contact-info strong {
    color: var(--gold-dark);
    margin-right: 8px;
}

body[dir="rtl"] .contact-info strong {
    margin-right: 0;
    margin-left: 8px;
}

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

.site-footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-tagline {
    font-style: italic;
    color: var(--cream);
    max-width: 300px;
}

.footer-col h4 {
    color: var(--cream);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

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

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 16px;
        margin-top: 12px;
    }
    .hero-logo {
        width: 160px;
        height: 160px;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    body[dir="rtl"] .shop-layout {
        grid-template-columns: 1fr;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    section {
        padding: 60px 0;
    }
}
