/* 
    Kindred Camping - Editorial Design System
    Theme: Rugged Luxury / Modern Outdoors
    Avoids generic "AI-look" by using asymmetrical layouts, custom typography, and organic textures.
*/

:root {
    /* Refined Color Palette */
    --color-obsidian: #0f1113;
    --color-slate: #1e2226;
    --color-ash: #353b41;
    --color-ochre: #d97706; /* More sophisticated amber */
    --color-ochre-light: #fbbf24;
    --color-cream: #f4f1ea; /* Soft off-white for text */
    --color-muted: #8a8d91;
    
    /* Typography */
    --font-serif: 'Fraunces', serif; /* Editorial feel */
    --font-sans: 'Inter Tight', sans-serif;
    
    /* Effects */
    --blur: blur(12px);
    --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;700;900&family=Inter+Tight:wght@400;600;800&display=swap');

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

body {
    background-color: var(--color-obsidian);
    color: var(--color-cream);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Topographic Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q 100 50 200 100 T 400 100 M0 200 Q 100 150 200 200 T 400 200 M0 300 Q 100 250 200 300 T 400 300' fill='none' stroke='%23ffffff08' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Editorial Header */
main-header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* Refined Header Scrolled State */
main-header.scrolled {
    background: rgba(15, 17, 19, 0.95);
    backdrop-filter: var(--blur);
    padding: 15px 0;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 900;
    font-variation-settings: 'SOFT' 100;
    color: var(--color-cream);
    text-transform: lowercase;
    letter-spacing: -1px;
}

.logo span {
    color: var(--color-ochre);
}

.nav-links {
    display: flex;
    gap: 40px;
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-cream);
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Unique Animated Underline */
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-muted);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-ochre);
    transition: var(--transition-smooth);
}

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

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

/* Unique Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    border-radius: 0; /* Industrial feel */
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-ochre);
    color: var(--color-obsidian);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(217, 119, 6, 0.3);
}

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

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 40px;
    color: var(--color-muted);
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.1);
    border: 1px solid rgba(255,255,255,0.1);
}

/* The "Offset" Effect - hallmark of custom design */
.hero-image-wrap::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-ochre);
    z-index: -1;
}

/* Editorial Article Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
}

.article-img-wrap {
    overflow: hidden;
    aspect-ratio: 4/5;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.article-card:hover img {
    transform: scale(1.1);
}

.article-card h3 {
    font-size: 1.8rem;
    line-height: 1.2;
}

/* Table Styling for Selection Guide */
table th {
    color: var(--color-ochre);
    font-weight: 800;
}

table tr:hover {
    background: rgba(217, 119, 6, 0.05);
}

/* Floating Decorative Text */
.hero::after {
    content: 'FIELD RESEARCH 2026';
    position: absolute;
    bottom: 50px;
    left: -50px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    transform: rotate(-90deg);
    transform-origin: left bottom;
    pointer-events: none;
    white-space: nowrap;
}

/* Footer with character */
footer {
    padding: 120px 0 60px;
    background: #08090a;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* Mobile & Tablet Refinements */
@media (max-width: 1024px) {
    .container { padding: 0 25px; }
    .hero-layout { gap: 40px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-obsidian);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-smooth);
        z-index: 1050;
    }

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

    .hero-layout { 
        grid-template-columns: 1fr; 
        text-align: center;
    }

    .hero-text {
        order: 2;
        margin-top: 40px;
    }

    .hero-image-wrap {
        order: 1;
    }

    .hero-image {
        height: 400px;
    }

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

    .footer-main { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .tech-specs .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero::after {
        display: none;
    }
}
