/* =============================================
   DIVERGENT JEWELRY — Shared Styles
   ============================================= */

:root {
    --black: #000000;
    --charcoal: #1a1a1a;
    --gold: #d4af37;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --cream: #faf9f6;
    --gray: #666666;
    --gray-light: #cccccc;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
}

/* ─── Navigation ─────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

nav .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s;
}

.logo:hover img {
    opacity: 0.85;
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 0.8rem;
    line-height: 1;
}

.logo-text .logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-text .logo-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 3px;
}

.logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

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



/* ─── Section Base ───────────────────────────── */
section {
    padding: 8rem 3rem;
    position: relative;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ─── Buttons ────────────────────────────────── */
.btn-gold {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid var(--gold);
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212,175,55,0.3);
}

.btn-outline {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--gold);
    transition: all 0.4s ease;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212,175,55,0.4);
}

/* ─── Footer ─────────────────────────────────── */
footer {
    background: #000000;
    color: rgba(255,255,255,0.6);
    padding: 5rem 3rem 2rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand .footer-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-brand .footer-logo-text {
    display: none;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--gold);
    background: rgba(212,175,55,0.1);
    color: var(--gold);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

.footer-social a:hover img {
    filter: brightness(0) saturate(100%) invert(70%) sepia(80%) saturate(400%) hue-rotate(5deg);
}

.footer-section h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212,175,55,0.2);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom .brand-name {
    color: var(--gold);
    font-weight: 600;
}

/* ─── Scroll Animations ──────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s ease, transform 1s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Mobile Menu ────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1200px) {
    .nav-links { gap: 2.5rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
    nav .container { padding: 0 1.5rem; }
    .nav-links { display: none; gap: 2rem; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.98);
        padding: 2rem;
        border-bottom: 1px solid rgba(212,175,55,0.3);
        gap: 1.5rem;
        z-index: 999;
    }
    .hamburger { display: flex; }
    section { padding: 5rem 1.5rem; }
    .section-header h2 { font-size: 2.8rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    nav .container { padding: 0 1rem; }
    .logo img { height: 52px; }
    .section-header h2 { font-size: 1.8rem; }
    .nav-social { display: none; }
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .btn-gold, .btn-outline { padding: 1rem 2rem; font-size: 0.85rem; }
}
