/* General background with elegant wood texture */
body {
    font-family: 'Roboto', sans-serif;
    background-image: url('../assets/images/wood-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #3c2f2f;
    position: relative;
    overflow-x: hidden;
}

/* Subtle glow effect for night-friendly ambiance */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 0;
    pointer-events: none;
}

/* Navbar with warm, sophisticated gradient */
.navbar {
    background: linear-gradient(90deg, #8a6f47, #b89b70, #d9c2a6) !important;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    padding: 10px 20px;
}

.navbar .navbar-brand b {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.navbar .nav-link {
    color: #f5e8d3 !important;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}
.navbar .nav-link:hover {
    color: #d4af37 !important;
    transform: scale(1.1);
}

/* Hero section with night-friendly firewood stack */
.hero-section {
    background-image: url('../assets/images/firewood-stack-night.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-in-out;
}

/* Overlay for readability and classy look */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for night effect */
    border-radius: 15px;
    z-index: -1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    color: #ffe4b5; /* Warm off-white for night */
}

.hero-section p {
    font-size: 1.4rem;
    opacity: 0.9;
    color: #f5e8d3;
    animation: slideUp 1.5s ease-in-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Buttons with elegant glow */
.hero-section .btn {
    background-color: #d4af37;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    color: #3c2f2f;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Cards / Product display with refined wood style */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(135deg, #d9c2a6, #b89b70);
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0,0,0,0.3);
}

.card img {
    border-bottom: 4px solid #d4af37;
    transition: opacity 0.3s ease;
}

.card img:hover {
    opacity: 0.9;
}

.card-body h5 {
    color: #8a6f47;
    font-weight: bold;
    transition: color 0.3s ease;
}

.card-body h5:hover {
    color: #d4af37;
}

/* Ensure content is above background effects */
.content {
    position: relative;
    z-index: 2;
}


#products {
    background-image: url('../assets/images/firewood-stack-night.jpg');
    background-size: cover;
    background-position: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 6rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-in-out;
}


/* Modernized overrides */
.navbar-brand img { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.navbar-brand, .navbar-brand h1 { color: #1f3a3a !important; font-weight:700; }
.navbar .nav-link { color: #2b2b2b; font-weight:500; }
@media (max-width:576px){
  .navbar-brand img { width:36px; }
  .navbar-brand { font-size: 18px; }
}
/* Make headings readable against background */
h1,h2,h3,h4 { color: #1f3a3a; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
