/*
Theme Name: Shree Ram Jewellers
Theme URI: https://example.com/shree-ram-jewellers
Author: ThynkLearn
Author URI: https://example.com
Description: A custom luxury gold jewellery theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: luxury, gold, jewellery, black, responsive
Text Domain: shree-ram-jewellers
*/

/* CSS Variables & Reset */
:root {
    --color-black: #0a0a0a;
    --color-dark-gray: #1a1a1a;
    --color-gold: #D4AF37;
    --color-gold-light: #F4C430;
    --color-gold-dark: #AA8C2C;
    --color-white: #ffffff;
    --color-text-gray: #cccccc;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-black);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, var(--color-gold), var(--color-gold-light));
}

/* Header & Navigation */
header {
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    display: block;
    font-size: 0.8rem;
    color: var(--color-white);
    letter-spacing: 4px;
    text-align: center;
    margin-top: -5px;
    font-family: var(--font-main);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
}

.nav-links a.active {
    color: var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--color-gold);
    cursor: pointer;
}

/* Page Spacing for fixed header */
main {
    margin-top: 80px;
    flex: 1;
}

/* Hero Section */
#home {
    height: calc(100vh - 80px);
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('images/bridal.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 0;
    /* Reset since it's inside main or direct */
}

/* Adjust if main has top margin */
main #home {
    margin-top: -80px;
    /* Pull back up behind header if desired, or keep generic */
    height: 100vh;
    padding-top: 80px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--color-gold-light), var(--color-gold), var(--color-white));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Gold Rate Section */
#gold-rate {
    background-color: var(--color-dark-gray);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.rate-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.rate-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-gold-dark);
    padding: 30px;
    border-radius: 4px;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.rate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
}

.rate-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.rate-price {
    font-size: 2.2rem;
    color: var(--color-gold-light);
    font-weight: 700;
}

.rate-disclaimer {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Collections / Gallery */
#collections {
    padding: 60px 0;
    background-color: var(--color-black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item .category {
    color: var(--color-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SEO Content Section */
.seo-content {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.seo-content p {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    margin-top: 20px;
}

/* Contact Section */
#contact {
    padding: 60px 0;
    background-color: var(--color-dark-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-top: 3px;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1ebc57;
    color: white;
}

.map-container {
    width: 100%;
    height: 400px;
    border: 1px solid var(--color-gold-dark);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background-color: black;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

footer p {
    font-size: 0.9rem;
    color: #666;
}

footer span {
    color: var(--color-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        position: relative;
    }

    .mobile-menu-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--color-black);
        padding: 20px;
        border-bottom: 1px solid var(--color-gold);
        z-index: 999;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}