/* Template 66 - Gemstone Luxe / Jewel Tones */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --emerald: #2ecc71;
    --emerald-dark: #1a8a4a;
    --sapphire: #2980b9;
    --sapphire-dark: #1a5276;
    --ruby: #e74c3c;
    --ruby-dark: #a93226;
    --amethyst: #9b59b6;
    --amethyst-dark: #6c3483;
    --gold: #f1c40f;
    --gold-dark: #b7950b;
    --diamond-white: #f8f9fa;
    --onyx: #1a1a2e;
    --velvet: #16213e;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.7;
    color: var(--diamond-white);
    background: var(--onyx);
    font-weight: 400;
    overflow-x: hidden;
}

/* Faceted gem background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 40%, rgba(46, 204, 113, 0.03) 40%, rgba(46, 204, 113, 0.03) 60%, transparent 60%),
        linear-gradient(225deg, transparent 40%, rgba(41, 128, 185, 0.03) 40%, rgba(41, 128, 185, 0.03) 60%, transparent 60%),
        linear-gradient(315deg, transparent 40%, rgba(155, 89, 182, 0.03) 40%, rgba(155, 89, 182, 0.03) 60%, transparent 60%);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: -1;
}

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

/* Header - Jewel Crown Style */
.site-header {
    background: linear-gradient(180deg, var(--velvet) 0%, var(--onyx) 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--ruby), var(--gold), var(--emerald), var(--sapphire), var(--amethyst)) 1;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.site-logo a::before {
    content: '◆';
    font-size: 1.2rem;
    -webkit-text-fill-color: var(--emerald);
    animation: gemSparkle 2s ease-in-out infinite;
}

@keyframes gemSparkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.site-logo a:hover {
    filter: brightness(1.3);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.site-nav a {
    font-family: 'Cinzel', serif;
    color: var(--diamond-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.25rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.site-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald), var(--sapphire));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.site-nav a:hover {
    color: var(--gold);
}

.site-nav a:hover::before {
    transform: scaleX(1);
}

/* Hero Section */
.section.head {
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.section.head::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section.head h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--diamond-white) 0%, var(--gold) 50%, var(--diamond-white) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section.head p {
    font-size: 1.1rem;
    color: rgba(248, 249, 250, 0.8);
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(241, 196, 15, 0.3);
    position: relative;
}

.section.head p::before,
.section.head p::after {
    content: '◆';
    position: absolute;
    top: -12px;
    font-size: 1.2rem;
    color: var(--gold);
}

.section.head p::before { left: 20px; color: var(--ruby); }
.section.head p::after { right: 20px; color: var(--emerald); }

/* Section Styling */
.section {
    padding: 5rem 0;
}

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

.section header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--diamond-white);
    position: relative;
    display: inline-block;
}

.section header h2::before,
.section header h2::after {
    content: '✦';
    color: var(--gold);
    margin: 0 1rem;
    font-size: 0.8rem;
    vertical-align: middle;
}

.section header p {
    font-size: 1rem;
    color: rgba(248, 249, 250, 0.7);
    max-width: 600px;
    margin: 1rem auto 0;
}

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    background: linear-gradient(0deg, var(--onyx) 0%, var(--velvet) 100%);
    color: var(--diamond-white);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--amethyst), var(--sapphire), var(--emerald), var(--gold), var(--ruby)) 1;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-about {
    flex: 1;
    max-width: 350px;
}

.footer-tagline {
    color: rgba(248, 249, 250, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: 'Cinzel', serif;
    color: rgba(248, 249, 250, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a::before {
    content: '◇ ';
    color: var(--emerald);
    transition: color 0.3s ease;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(241, 196, 15, 0.2);
}

.footer-bottom::before {
    content: '◆ ◇ ◆ ◇ ◆';
    display: block;
    color: var(--gold);
    letter-spacing: 0.5em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.copyright a {
    color: rgba(248, 249, 250, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes luxeFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.fade-in {
    opacity: 0;
    animation: luxeFadeIn 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}
