/* General styles */
:root {
    --color-primary: #8B4513;
    --color-secondary: #D2691E;
    --color-text: #333;
    --color-bg: #fff;
    --transition: all 0.3s ease;
}

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

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Navigation bar */
.nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: transparent;
    transition: var(--transition);
    font-family: 'Forum', sans-serif; 
    font-size: 1.3rem;
}

.nav.scrolled {
    background: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    height: 100px;
    width: auto;
}

.nav-toggle {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
}


body {
    padding-top: 120px; 
}

/* Footer */
.footer {
    background: rgb(121, 121, 120);
    color: white;
    padding: 2rem 0 1rem; /* Reduced padding for a lower height */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column; /* Stack content vertically on smaller screens */
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem; /* Reduced margin */
}

.footer-logo {
    height: 80px; /* Reduced logo height */
    width: auto;
    color: #ffffff;
    margin-bottom: 1rem; /* Added margin-bottom for spacing */
}

.footer-social {
    display: flex;
    gap: 1rem; /* Reduced gap */
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem; /* Reduced font size */
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem; /* Reduced padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack content vertically */
        margin-bottom: 1rem;
    }

    .footer-logo {
        height: 60px; /* Further reduced logo height for smaller screens */
    }

    .footer-social {
        justify-content: center;
        gap: 0.5rem; /* Further reduced gap on smaller screens */
    }

    .footer-social a {
        font-size: 1rem; /* Further reduced font size */
    }
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 100px;
    height: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.section-title {
    text-align: center;
    font-size: 1.2rem;
    color: #ff7b00;
    margin-top: 2rem;
    text-transform: uppercase;
    font-weight: 600;
}

.main-title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 0.5rem;
    font-weight: bold;
    font-family: 'Allrounder Monument Test', sans-serif;
                                                
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 1.5rem auto;
    font-size: 1.4rem;
    color: #555;
    font-family: forum;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-in-out;
}

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

.product-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.product-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.product-card span {
    font-size: 0.8rem;
    color: #ff7b00;
    font-weight: 600;
}
