@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Oswald:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --c-forest-dark: #122118;
    --c-pine: #23412E;
    --c-earth: #4A3B32;
    --c-gold: #C2A052;
    --c-orange: #D95D39;
    --c-stone: #6B7068;
    --c-snow: #F5F6F4;
    --c-dark-grey: #1A1A1A;
    --c-white: #FFFFFF;

    --f-head: 'Oswald', sans-serif;
    --f-body: 'DM Sans', sans-serif;
    --f-accent: 'Playfair Display', serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    --radius-sm: 2px;
    --radius-md: 4px;
}

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

body {
    font-family: var(--f-body);
    color: var(--c-dark-grey);
    background-color: var(--c-snow);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--c-forest-dark);
}

h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -1px; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.accent-text {
    font-family: var(--f-accent);
    text-transform: none;
    font-style: italic;
    color: var(--c-gold);
    font-size: 1.2em;
}

p {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--space-xl) 0;
}
.section-dark {
    background-color: var(--c-forest-dark);
    color: var(--c-snow);
}
.section-dark h1, .section-dark h2, .section-dark h3 {
    color: var(--c-snow);
}
.section-earth {
    background-color: var(--c-earth);
    color: var(--c-snow);
}
.section-earth h1, .section-earth h2, .section-earth h3 {
    color: var(--c-snow);
}
.section-light {
    background-color: var(--c-white);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.4s ease;
    background: transparent;
}
.site-header.scrolled {
    background: var(--c-forest-dark);
    padding: var(--space-sm) 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.site-header.solid {
    background: var(--c-forest-dark);
    padding: var(--space-sm) 0;
}

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

.logo {
    font-family: var(--f-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-snow);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}
.nav-links a {
    color: var(--c-snow);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-orange);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: var(--c-snow);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Mobile Nav */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--c-forest-dark);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .menu-toggle {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--f-head);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    text-align: center;
}
.btn-primary {
    background-color: var(--c-orange);
    color: var(--c-white);
}
.btn-primary:hover {
    background-color: #C04724;
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--c-snow);
    color: var(--c-snow);
}
.btn-outline:hover {
    background-color: var(--c-snow);
    color: var(--c-forest-dark);
}
.btn-dark {
    background-color: var(--c-forest-dark);
    color: var(--c-snow);
}
.btn-dark:hover {
    background-color: var(--c-pine);
}

/* Hero Sections */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--c-forest-dark);
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(20,40,29,0.9) 0%, rgba(20,40,29,0.4) 100%);
    z-index: 1;
}
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease-out;
    z-index: 0;
}
.hero:hover .hero-img {
    transform: scale(1);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--c-white);
    max-width: 800px;
}
.hero-content h1 {
    color: var(--c-white);
    margin-bottom: var(--space-sm);
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    font-weight: 400;
}

/* Internal Page Header */
.page-header {
    padding-top: 150px;
    padding-bottom: var(--space-lg);
    background: var(--c-forest-dark);
    color: var(--c-snow);
    text-align: center;
}
.page-header h1 {
    color: var(--c-snow);
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Rugged Image Cards */
.rugged-card {
    background: var(--c-white);
    border: 1px solid #E0E0E0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.rugged-card:hover {
    box-shadow: 10px 10px 0 var(--c-forest-dark);
    transform: translate(-5px, -5px);
}
.rugged-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 4px solid var(--c-orange);
}
.rugged-card-body {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.rugged-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.8rem;
}
.rugged-card .price {
    font-family: var(--f-head);
    font-size: 1.5rem;
    color: var(--c-pine);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}
.rugged-card .btn {
    margin-top: auto;
}

/* Split Section (Image / Text) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
}
@media (max-width: 900px) {
    .split-section { grid-template-columns: 1fr; }
}
.split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}
.split-content {
    padding: var(--space-xl) 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Footer */
.site-footer {
    background: var(--c-forest-dark);
    color: var(--c-snow);
    padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
    color: var(--c-gold);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 0.5rem;
}
.footer-col a {
    color: #A0A5A1;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--c-snow);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    color: #A0A5A1;
    font-size: 0.9rem;
}
@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Feature List */
.feature-list {
    list-style: none;
}
.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-family: var(--f-head);
    font-size: 1.2rem;
    text-transform: uppercase;
}
.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--c-orange);
    font-weight: bold;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-sm);
}
.form-control {
    width: 100%;
    padding: 1rem;
    font-family: var(--f-body);
    font-size: 1rem;
    border: 1px solid #CCC;
    background: var(--c-white);
    border-radius: var(--radius-sm);
}
.form-control:focus {
    outline: none;
    border-color: var(--c-pine);
}
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}
