/* 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);
}

/* Header with Page Title */
header {
    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 2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

header::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;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Navigation in Header */
header 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);
}

header nav ul,
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

header nav 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;
}

header 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%);
}

header nav a:hover::before,
header nav a.active::before {
    width: 80%;
}

header nav a:hover,
header nav a.active {
    color: #D2691E;
    text-shadow: 0 0 20px rgba(210, 105, 30, 0.5);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 6px 6px 16px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease-out;
}

.page-header .tagline {
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.95;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Contact Intro */
.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(62, 42, 26, 0.4) 0%, rgba(26, 21, 16, 0.6) 100%);
    border-radius: 0;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.4), 0 0 30px rgba(210, 105, 30, 0.1);
    border: 2px solid #8B4513;
}

.contact-intro h2 {
    color: #e8d4b8;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.contact-intro p {
    font-size: 1.05rem;
    color: #c4b5a0;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Contact Form Section */
.contact-form-section {
    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.4), 0 0 30px rgba(210, 105, 30, 0.1);
    border: 2px solid #8B4513;
}

.contact-form-section h3 {
    color: #e8d4b8;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #D2691E;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #e8d4b8;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #8B4513;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
    background: rgba(26, 21, 16, 0.5);
    color: #e8d4b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D2691E;
    box-shadow: 5px 5px 0px rgba(139, 69, 19, 0.3), 0 0 30px rgba(210, 105, 30, 0.2);
    background: rgba(26, 21, 16, 0.7);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid #3e2a1a;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
}

.submit-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.form-message.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Contact Info Section */
.contact-info-section {
    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.4), 0 0 30px rgba(210, 105, 30, 0.1);
    border: 2px solid #8B4513;
    height: fit-content;
}

.contact-info-section h3 {
    color: #e8d4b8;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #D2691E;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.info-block {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.info-block:last-child {
    border-bottom: none;
}

.info-block h4 {
    color: #D2691E;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
}

.info-block p {
    color: #c4b5a0;
    line-height: 1.8;
}

.info-block a {
    color: #D2691E;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: #8B4513;
    text-decoration: underline;
}

.consultation-note {
    background: linear-gradient(135deg, #f8f4f0 0%, #fff5eb 100%);
    padding: 1.5rem;
    border-radius: 0;
    border-left: 6px solid #D2691E;
    border-top: 2px solid #8B4513;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
    border: 2px solid #8B4513;
    margin-bottom: 2rem;
}

.faq-section h2 {
    color: #654321;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background-color: #f8f4f0;
    border-radius: 0;
    border-left: 6px solid #8B4513;
    border-top: 2px solid #D2691E;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.15);
}

.faq-item h4 {
    color: #654321;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #3e2a1a;
    color: white;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin-bottom: 1rem;
}

.footer-content p a {
    color: #c4b5a0;
    text-decoration: none;
}

.footer-content p a:hover {
    color: #e8d4b8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #D2691E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #CD853F;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header 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;
    }

    header {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .page-header {
        padding: 4rem 1rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    main {
        padding: 1rem;
    }

    .contact-intro h2 {
        font-size: 2rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }

    .contact-form-section h3,
    .contact-info-section h3 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1rem;
    }

    .submit-button {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    header nav ul {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-intro h2 {
        font-size: 1.75rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 1rem;
    }
}
