/*
Theme Name: Narayan Jewellers Luxury Theme
Theme URI: https://narayanjewellers.com
Author: Antigravity
Author URI: https://google.com
Description: A luxury, modern, minimalist WordPress theme for Narayan Jewellers, inspired by Giva.co.
Version: 1.0.0
Text Domain: narayan-jewellers
*/

:root {
    /* Color Palette */
    --primary-color: #0A1F44;
    /* Deep Royal Blue */
    --secondary-color: #C0C0C0;
    /* Silver/Gray */
    --accent-color: #B76E79;
    /* Rose Gold */
    --background-color: #FFFFFF;
    /* White */
    --text-color: #333333;
    /* Charcoal Gray */
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 64px;

    /* Container */
    --container-width: 1200px;
    --container-padding: 20px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.gap-md {
    gap: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1001;
    padding: var(--spacing-md) 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.branding {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    gap: var(--spacing-md);
}

.header-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--light-gray);
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    max-width: 600px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

/* Product Cards */
.product-card {
    background: #fff;
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: var(--spacing-md);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-image {
    aspect-ratio: 1;
    background-color: var(--light-gray);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.product-price {
    font-weight: 700;
    color: var(--accent-color);
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: var(--spacing-xxl) 0;
    margin-top: var(--spacing-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: var(--spacing-lg);
}

.footer-links li {
    list-style: none;
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Sections */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--spacing-md);
}

.bento-item {
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 2;
}

/* 
   MOBILE MENU 
*/
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* MOBILE FIRST RESPONSIVE UPDATES */

/* Mobile Grid Defaults (1 column) */
.product-grid,
.footer-grid,
.bento-grid,
.grid,
.single-product-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile Default */
    gap: var(--spacing-md);
}

/* Category Cards Mobile */
.category-card {
    height: 300px;
    margin-bottom: var(--spacing-sm);
}

/* Hero Section Mobile */
.hero-content {
    padding: var(--spacing-md);
    width: 90%;
}

.hero-content h1 {
    font-size: 2.5rem;
}

/* Header & Mobile Menu */
@media (max-width: 1023px) {
    .menu-toggle {
        display: block;
        /* Show hamburger */
        order: 1;
    }

    .site-branding {
        order: 2;
        flex: 1;
        text-align: center;
    }

    .header-actions {
        order: 3;
    }

    .main-navigation {
        display: none;
        /* Hidden initially */
        position: fixed;
        top: 70px;
        /* Below header approx */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 40px 20px;
        overflow-y: auto;
        border-top: 1px solid #eee;
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .main-navigation a {
        font-size: 1.2rem;
    }
}

/* TABLET (Min-width: 768px) */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-product-container {
        grid-template-columns: 1fr 1fr;
        /* Gallery Left, Info Right */
    }
}

/* DESKTOP (Min-width: 1024px) */
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 300px);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .menu-toggle {
        display: none;
    }

    .main-navigation {
        display: block !important;
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        border: none;
    }

    .main-navigation ul {
        flex-direction: row;
        gap: var(--spacing-lg);
    }

    .site-branding {
        text-align: left;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* Woo Component Basic Styles */
.woocommerce-input-wrapper {
    width: 100%;
}

.input-text {
    padding: 10px;
    width: 100%;
    border: 1px solid #ddd;
}