/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    background: transparent;
    transition: all 0.3s ease;
}

header.scrolled {
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 0.7rem 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@media (max-width: 900px) {
    .header-container {
        padding: 0.3rem 0.5rem;
    }
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    gap: 1.3rem;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
}
.nav-link:hover{
    width: 100%;
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 0.5rem 0;
    z-index: 1300;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding: 0.5rem 1.0rem;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-bar {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 820px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        transition: all 0.3s ease;
        overflow-y: auto;
        max-height: calc(100vh - 60px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0.3rem 0;
    }

    .nav-menu li a {
        padding: 0.8rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #333;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-menu li a:hover {
        background: rgba(229, 106, 35, 0.1);
        color: var(--primary-color);
    }

    .mobile-menu-btn.active .menu-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .menu-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .menu-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}


/* Contact Button Styles */
.contact-btn {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

/* Fullscreen Contact Form */
.fullscreen-contact {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-contact.active {
    display: block;
    opacity: 1;
}

.contact-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.contact-form-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.contact-form h2 {
    color: #1a2a3a;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .contact-form h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .close-btn {
        top: 1rem;
        right: 1rem;
    }
}