/* CSS Variables */
:root {
    --bg-dark: #0a0b0d;
    --bg-surface: #121418;
    --bg-surface-light: #1c1f26;

    --text-primary: #f5f5f5;
    --text-secondary: #a3a6ad;
    
    --accent-gold: #D4AF37;
    --accent-gold-hover: #b8952b;
    --accent-light: #fef0d2;
    
    --border-color: rgba(255, 255, 255, 0.08);
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.text-gold {
    color: var(--accent-gold);
}

.eyebrow {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-text {
    padding: 0;
    color: var(--text-primary);
    position: relative;
}

.btn-text .arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition);
    display: inline-block;
}

.btn-text:hover {
    color: var(--accent-gold);
}

.btn-text:hover .arrow {
    transform: translateX(4px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background-color var(--transition), padding var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 11, 13, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 2.5rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards var(--transition);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Philosophy Section */
.philosophy {
    padding: 8rem 2rem;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: rgba(28, 31, 38, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

/* Community Impact Section */
.impact {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.impact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.impact-image {
    position: relative;
    overflow: hidden;
}

.impact-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(0); /* Controlled by JS */
}

.impact-content {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-list {
    list-style: none;
    margin-top: 3rem;
}

.impact-list li {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.impact-list-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent-gold);
    line-height: 1;
}

/* Quote Section */
.quote-section {
    padding: 10rem 2rem;
}

.quote-text {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 2rem;
    color: var(--text-primary);
    font-style: italic;
}

.quote-author {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--bg-surface);
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    color: var(--text-primary);
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    color: var(--text-secondary);
}

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

.footer-bottom {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Diamond Showcase Section */
.showcase {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-content {
    max-width: 500px;
}

.showcase-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-image img {
    width: 80%;
    max-width: 450px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(212,175,55,0.4) 0%, rgba(212,175,55,0) 70%);
    z-index: 1;
    filter: blur(40px);
    animation: pulse 4s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.glass-btn {
    background: rgba(212, 175, 55, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    color: var(--accent-gold) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.glass-btn:hover {
    background: rgba(212, 175, 55, 1) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* Gallery Section */
.gallery {
    padding: 8rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(28, 31, 38, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1rem;
    background: linear-gradient(to top, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0) 100%);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .impact-split {
        grid-template-columns: 1fr;
    }
    .impact-image {
        height: 50vh;
    }
    .impact-content {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
