/* =========================================
   CSS Reset & Variables
   ========================================= */
:root {
    /* Color Palette - Premium Dark Wood Aesthetic */
    --clr-bg-dark: #0a0908;       /* Deep almost black */
    --clr-bg-card: #151312;       /* Very dark brown/grey for cards */
    --clr-wood-dark: #2c1a12;     /* Dark imbuia tone */
    --clr-wood-rich: #5c3a21;     /* Rich mid imbuia */
    --clr-wood-gold: #d47a2a;     /* Warm amber rustic accent */
    --clr-text-light: #f4f1eb;    /* Off-white text */
    --clr-text-muted: #a8a096;    /* Muted greyish brown text */
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

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

.section-subtitle {
    display: block;
    color: var(--clr-wood-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text-light);
}

.section-description {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--clr-wood-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-text-light);
    border: 1px solid var(--clr-text-light);
}

.btn-outline:hover {
    background-color: var(--clr-text-light);
    color: var(--clr-bg-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 9, 8, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--clr-text-light);
}

.logo span {
    color: var(--clr-wood-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-light);
    position: relative;
    transition: var(--transition-fast);
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--clr-text-light);
    transition: var(--transition-fast);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('../assets/bg_burnt_wood_1778634873803.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10,9,8,0.9) 0%, rgba(10,9,8,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

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

.hero .subtitle {
    color: var(--clr-wood-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

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

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 8rem 0;
    background-color: var(--clr-bg-dark);
}

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

.about-text p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--clr-wood-gold);
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: translate(10px, 10px);
}

/* =========================================
   Products Section
   ========================================= */
.products {
    padding: 8rem 0;
    background-image: linear-gradient(rgba(10,9,8,0.92), rgba(10,9,8,0.95)), url('../assets/bg_hex_wood_1778634908980.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--clr-bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: var(--transition-fast);
    group: hover;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(212, 122, 42, 0.4); /* warm amber slightly visible */
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--clr-wood-gold);
}

.card-content p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Contact CTA Section
   ========================================= */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(rgba(10,9,8,0.8), rgba(10,9,8,0.9)), url('../assets/bg_wood_knot_1778634894271.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.whatsapp-icon {
    margin-right: 5px;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: #050404;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--clr-text-light);
}

.footer-logo span {
    color: var(--clr-wood-gold);
}

footer p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--clr-bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-slow);
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
    }
}
