/* ═══════════════════════════════════════════════════════════════════════════
   World Gold Diamonds — Main Stylesheet
   Stack: Bootstrap 5 + Custom CSS
   Palette: Black #0a0a0a | Gold #c9a84c | White #f5f5f5
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Skip to content (accessibility) ─────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--gold);
    color: var(--black);
    padding: 0.5rem 1rem;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top 0s;
}
.skip-link:focus {
    top: 0;
    color: var(--black);
}

/* ─── Logo ──────────────────────────────────────────────────────────────────── */
.wgd-nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.footer-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
/* Watermark: translucent logo behind hero content */
.logo-watermark {
    position: absolute;
    pointer-events: none;
    user-select: none;
    object-fit: contain;
    opacity: 0.06;
    z-index: 0;
}
/* Section logo: white-tinted inline brand element */
.section-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
/* Logo badge: beside headings / buttons */
.logo-badge {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

@media (max-width: 991.98px) {
    .wgd-nav-logo { height: 45px; }
}
@media (max-width: 575.98px) {
    .wgd-nav-logo { height: 38px; }
    .footer-logo  { height: 52px; }
}

/* ─── CSS Variables ────────────────────────────────────────────────────────── */
:root {
    --gold:        #c9a84c;
    --gold-light:  #e2c97e;
    --gold-dark:   #a07830;
    --black:       #0a0a0a;
    --black-soft:  #141414;
    --black-card:  #1a1a1a;
    --white:       #f5f5f5;
    --white-muted: #cccccc;
    --font-heading:'Playfair Display', serif;
    --font-body:   'Inter', sans-serif;
    --transition:  0.3s ease;
    --radius:      6px;
}

/* ─── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 700;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

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

/* ─── Gold Button — Premium shimmer ───────────────────────────────────────── */
@keyframes goldShimmer {
    0%   { transform: translateX(-120%) skewX(-18deg); }
    100% { transform: translateX(220%)  skewX(-18deg); }
}

.btn-gold {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(105deg, #B8860B 0%, #D4AF37 30%, #FFD700 55%, #D4AF37 75%, #B8860B 100%);
    background-size: 200% 100%;
    color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    -webkit-font-smoothing: antialiased;
}

/* Shimmer sweep pseudo-element */
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 40%,
        rgba(255, 255, 255, 0.32) 50%,
        rgba(255, 255, 255, 0.18) 60%,
        transparent 100%
    );
    animation: goldShimmer 4s ease-in-out infinite;
    animation-delay: 1.2s;
    pointer-events: none;
    will-change: transform;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.1);
    color: #fff;
    text-decoration: none;
}

.btn-gold:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    filter: brightness(0.97);
}

.btn-gold:focus-visible {
    outline: 2px solid #FFD700;
    outline-offset: 3px;
}

/* ─── Outline Gold Button ──────────────────────────────────────────────────── */
.btn-outline-gold {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #D4AF37;
    border: 1.5px solid #D4AF37;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn-outline-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, #B8860B 0%, #D4AF37 30%, #FFD700 55%, #D4AF37 75%, #B8860B 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.btn-outline-gold:hover {
    color: #fff;
    border-color: #D4AF37;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-outline-gold:hover::before { opacity: 1; }

/* Text content naturally stacks above absolute pseudo-element */

.btn-outline-gold:focus-visible {
    outline: 2px solid #FFD700;
    outline-offset: 3px;
}

/* ─── Reduced motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .btn-gold::before      { animation: none; }
    .btn-gold,
    .btn-outline-gold      { transition: box-shadow 0.15s ease, filter 0.15s ease; }
    .btn-gold:hover,
    .btn-outline-gold:hover { transform: none; }
}

/* ─── Navbar ───────────────────────────────────────────────────────────────── */
.wgd-navbar {
    background-color: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding: 0.75rem 0;
    transition: box-shadow var(--transition);
}
.wgd-navbar.scrolled {
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.12);
}

/* Brand */
.brand-icon {
    font-size: 1.7rem;
    color: var(--gold);
    line-height: 1;
}
.brand-text { line-height: 1.1; }
.brand-main {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.12em;
}
.brand-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--white-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Nav Links */
.wgd-navbar .nav-link {
    color: var(--white-muted) !important;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem !important;
    position: relative;
    transition: color var(--transition);
}
.wgd-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.wgd-navbar .nav-link:hover,
.wgd-navbar .nav-link.active {
    color: var(--gold) !important;
}
.wgd-navbar .nav-link:hover::after,
.wgd-navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.wgd-dropdown {
    background-color: var(--black-card);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    min-width: 200px;
}
.wgd-dropdown .dropdown-item {
    color: var(--white-muted);
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    transition: background-color var(--transition), color var(--transition);
}
.wgd-dropdown .dropdown-item:hover {
    background-color: rgba(201, 168, 76, 0.1);
    color: var(--gold);
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .wgd-navbar .navbar-collapse {
        background-color: var(--black-soft);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: var(--radius);
        border: 1px solid rgba(201, 168, 76, 0.15);
    }
    .wgd-navbar .nav-link::after { display: none; }
    .wgd-navbar .nav-link.active { color: var(--gold) !important; }
    .wgd-dropdown {
        background-color: rgba(201, 168, 76, 0.05);
        border: none;
    }
}

/* ─── Page Hero Placeholder ────────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--black-soft) 0%, var(--black-card) 100%);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding: 5rem 0 3.5rem;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
}
.page-hero .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
}
.page-hero.text-start .gold-line { margin-left: 0; }

/* ─── Gold Accent Utilities ────────────────────────────────────────────────── */
.text-gold    { color: var(--gold) !important; }
.bg-gold      { background-color: var(--gold) !important; }
.border-gold  { border-color: var(--gold) !important; }
.gold-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border: none;
    opacity: 1;
    margin: 2rem 0;
}

/* ─── Section Utility ──────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-dark  { background-color: var(--black); }
.section-soft  { background-color: var(--black-soft); }
.section-card  { background-color: var(--black-card); }

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.section-lead {
    color: var(--white-muted);
    font-size: 1.05rem;
    max-width: 600px;
}

/* ─── Card Base ────────────────────────────────────────────────────────────── */
.wgd-card {
    background-color: var(--black-card);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.wgd-card:hover {
    border-color: rgba(201, 168, 76, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.wgd-footer {
    background-color: var(--black-soft);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-brand-icon {
    font-size: 2rem;
    color: var(--gold);
}
.footer-brand-main {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
}
.footer-brand-sub {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--white-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.footer-desc {
    color: var(--white-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-heading {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--white-muted);
    font-size: 0.875rem;
    transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: var(--white-muted);
    font-size: 0.875rem;
}
.footer-contact i {
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact a { color: var(--white-muted); }
.footer-contact a:hover { color: var(--gold); }

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--white-muted);
    font-size: 0.9rem;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.footer-social a:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.footer-divider {
    border-color: rgba(201, 168, 76, 0.15);
    opacity: 1;
}
.footer-copy {
    color: var(--white-muted);
    font-size: 0.8rem;
}
.footer-legal-link {
    color: var(--white-muted);
    font-size: 0.8rem;
}
.footer-legal-link:hover { color: var(--gold); }

/* ─── WhatsApp Float ───────────────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
    color: #fff;
}

/* Pulse animation on load */
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float { animation: waPulse 2.5s infinite; }
.whatsapp-float:hover { animation: none; }

/* ─── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── Responsive Helpers ───────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .section { padding: 3.5rem 0; }
    .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 48px; height: 48px; font-size: 1.4rem; }
}
