/* 
    OrnivaGems - Luxury Jewelry Brand
    Design System: Black, Gold (#D4AF37), White
    Fonts: Cinzel for headings, Lato/Montserrat for body
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
    --primary-gold: #D4AF37;
    --dark-gold: #B8860B;
    --black: #050505;
    --near-black: #111111;
    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --gray: #888888;
    --transition: all 0.4s ease;
}

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

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-luxury {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

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

/* Navbar */
nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.sticky {
    background: rgba(5, 5, 5, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero_jewelry.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1s;
}

.btn:hover {
    background: var(--primary-gold);
    color: var(--black);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

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

.btn-filled:hover {
    background: transparent;
    color: var(--primary-gold);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .divider {
    width: 60px;
    height: 2px;
    background: var(--primary-gold);
    margin: 0 auto;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

.collection-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition);
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-card:hover .collection-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.collection-overlay h3 {
    margin-bottom: 10px;
}

/* About Preview */
.about-preview {
    background-color: var(--near-black);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text, .about-img {
    flex: 1 1 500px;
}

.about-text {
    padding: 80px;
}

.about-text p {
    margin-bottom: 30px;
    color: #999;
}

/* Form Styling */
.enquiry-section {
    background: var(--near-black);
}

.enquiry-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--black);
    padding: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1 1 300px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.checkbox-group {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    text-transform: none;
    color: #888;
    letter-spacing: 0;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    padding: 40px;
    background: #111;
    border-left: 3px solid var(--primary-gold);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #eee;
}

.testimonial-card .author {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Products Page */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #333;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--near-black);
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 300px;
    overflow: hidden;
}

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

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

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

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-info .price {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: block;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary-gold);
    margin-bottom: 25px;
    text-transform: uppercase;
}

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

.footer-col ul li a {
    color: #888;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .about-text { padding: 40px 20px; }
    .hero-content h1 { font-size: 3rem; }
    .enquiry-form-container { padding: 30px 20px; }
}
