:root {
    --bg-dark: #050505;
    --bg-card: #111111;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-glow: rgba(212, 175, 55, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.3s ease-out;
    --spacing-container: 1400px;
}

*,
*::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-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
}

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

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-slow);
    z-index: -1;
}

.btn:hover {
    color: #000;
    border-color: #fff;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    mix-blend-mode: difference;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(100%) contrast(1.2);
    transition: var(--transition-slow);
    z-index: -1;
}

.hero:hover .hero-bg {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.1);
}

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

.hero-subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

/* Grid Layouts */
.grid-asymmetric {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 8rem 0;
}

.col-left {
    grid-column: 1 / 6;
}

.col-right {
    grid-column: 7 / 13;
}

.image-reveal {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.image-reveal img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.image-reveal:hover img {
    transform: scale(1.05);
}

/* Features/Services */
.features-section {
    background: var(--bg-card);
    padding: 8rem 0;
}

.feature-card {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.feature-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

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

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

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 2rem;
        flex-direction: column;
        justify-content: center;
        background-color: var(--bg-dark);
        width: 100%;
        height: 100vh;
        height: 100dvh;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 0;
        display: flex;
        /* Ensure it's flex so we can center items */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .grid-asymmetric {
        grid-template-columns: 1fr;
    }

    .col-left,
    .col-right {
        grid-column: 1 / -1;
    }

    .sidebar-layout {
        grid-template-columns: 1fr;
    }

    body.no-scroll {
        overflow: hidden;
    }
}

/* Blog & Article Styles */
.article-header {
    padding: 8rem 0 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 2rem;
    color: #ccc;
}

.article-content h2 {
    color: #fff;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.article-content h3 {
    color: var(--accent-gold);
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
    color: #ccc;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.breadcrumb {
    padding: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-secondary);
}

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

.breadcrumb span {
    margin: 0 0.5rem;
}

/* Resource Cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resource-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Sidebar */
.sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    padding: 4rem 0;
}

.sidebar-widget {
    background: var(--bg-card);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-widget h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.sidebar-list a {
    color: var(--text-secondary);
    display: block;
}

.sidebar-list a:hover {
    color: #fff;
    padding-left: 5px;
}

@media (max-width: 900px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
    }
}