/* ==========================================================================
   UNDISTRACTED - OBSIDIAN MONOLITH DESIGN SYSTEM
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;700&display=swap');

/* Base Variables */
:root {
    /* Color Palette */
    --bg-obsidian: #0a0a0a;
    --surface-charcoal: #151515;
    --surface-light: #222222;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-subtle: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1350px;
    --transition-speed: 0.3s;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-obsidian);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Container */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
header {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header h1 a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-primary);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg-obsidian);
    background-color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

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

.portal-btn {
    color: var(--accent-gold) !important;
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 2px;
}
.portal-btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-obsidian) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3), rgba(10,10,10,1)), url('assets/hero-bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--border-subtle);
    padding: 4rem 0;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 1rem auto 0;
}

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

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

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
    background-color: var(--surface-charcoal);
    padding: 3rem 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3); /* Subtle gold glow */
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

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

.card .btn {
    align-self: flex-start;
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--bg-obsidian);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--surface-charcoal);
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
    .hero {
        padding: 3rem 0;
        text-align: center;
    }
    .hero .btn {
        display: block;
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   IMAGES & GALLERIES
   ========================================================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.image-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.image-gallery img:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
}

