/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Newsreader", serif;
    line-height: 1.6;
    color: #333;
    background-color: #1a1510;
    letter-spacing: 0.2px;
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(26, 21, 16, 0.85) 0%, rgba(62, 42, 26, 0.75) 50%, rgba(101, 67, 33, 0.7) 100%),
                url('../images/wood pile.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.15), transparent);
    animation: shine 10s infinite;
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #1a1510);
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Navigation in Hero Banner */
.hero-banner nav {
    background: transparent;
    padding: 2rem;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(3px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 10000;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #e8d4b8;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hero-banner nav ul,
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.hero-banner nav a,
.nav-menu a {
    color: #e8d4b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 0;
    border: 2px solid transparent;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-banner nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #D2691E;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.hero-banner nav a:hover::before,
.hero-banner nav a.active::before {
    width: 80%;
}

.hero-banner nav a:hover,
.hero-banner nav a.active {
    color: #D2691E;
    text-shadow: 0 0 20px rgba(210, 105, 30, 0.5);
}

/* Hero Content */
.hero-banner .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 6px 6px 16px rgba(0, 0, 0, 0.8);
    letter-spacing: 4px;
    animation: fadeInUp 1s ease-out;
}

.hero-banner .tagline {
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0.95;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-banner .hero-description {
    font-size: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    line-height: 1.5;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5), 0 0 40px rgba(210, 105, 30, 0.3);
    border: 2px solid #3e2a1a;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.hero-banner .cta-button {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5), 0 0 80px rgba(210, 105, 30, 0.7);
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #1a1510 0%, #2a1f16 50%, #1a1510 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D2691E, transparent);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #e8d4b8;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D2691E, transparent);
    border-radius: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(62, 42, 26, 0.6) 0%, rgba(26, 21, 16, 0.8) 100%);
    padding: 2rem;
    border-radius: 0;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.5), 0 0 30px rgba(210, 105, 30, 0.1);
    border: 2px solid #8B4513;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.6), 0 0 60px rgba(210, 105, 30, 0.3);
    border-color: #D2691E;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(210, 105, 30, 0.4));
}

.service-card h3 {
    color: #e8d4b8;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.service-card p {
    color: #c4b5a0;
    line-height: 1.7;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #2a1f16 0%, #1a1510 100%);
    position: relative;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #e8d4b8;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.why-choose h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D2691E, transparent);
    border-radius: 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: linear-gradient(135deg, rgba(62, 42, 26, 0.4) 0%, rgba(26, 21, 16, 0.6) 100%);
    padding: 1.75rem;
    border-radius: 0;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(210, 105, 30, 0.05);
    border-left: 5px solid #D2691E;
    border-top: 2px solid #8B4513;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.1), transparent);
    transition: right 0.6s ease;
}

.feature:hover::after {
    right: 100%;
}

.feature:hover {
    transform: translate(-5px, -5px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(210, 105, 30, 0.1);
    border-left-color: #e8d4b8;
}

.feature h3 {
    color: #e8d4b8;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.feature p {
    color: #c4b5a0;
    line-height: 1.7;
    font-size: 1rem;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #654321 0%, #3e2a1a 50%, #1a1510 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(210, 105, 30, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1a1510 0%, #0a0805 100%);
    color: #c4b5a0;
    padding: 2rem;
    border-top: 1px solid #8B4513;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.footer-content p a {
    color: #c4b5a0;
    text-decoration: none;
}

.footer-content p a:hover {
    color: #e8d4b8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #D2691E;
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #D2691E;
    transition: width 0.4s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: #e8d4b8;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(210, 105, 30, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner nav {
        padding: 1rem;
        backdrop-filter: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(26, 21, 16, 0.98);
        width: 70%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease-in-out;
        padding-top: 4rem;
        gap: 0;
        backdrop-filter: blur(10px);
        z-index: 9999;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
        margin: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1.5rem 1rem;
        border-bottom: 1px solid rgba(210, 105, 30, 0.2);
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .hero-banner {
        min-height: 100vh;
        padding: 1rem;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .hero-content .tagline {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-content .hero-description {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    main {
        padding: 1rem;
        margin: 1rem;
    }

    .services h2,
    .why-choose h2,
    .cta-section h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .service-grid,
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .feature {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    header nav ul {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .tagline {
        font-size: 0.9rem;
    }

    .services h2,
    .why-choose h2,
    .cta-section h2 {
        font-size: 1.75rem;
    }
}
