.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #000000;
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #f9f9f9;
    z-index: 70;
    padding: 80px 32px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
}

.dark .mobile-menu-panel {
    background: #1a1c1c;
}

.mobile-menu-panel.open {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #1a1c1c;
    padding: 8px;
}

.dark .mobile-menu-close {
    color: #f1f1f1;
}

.mobile-menu-item {
    display: block;
    padding: 16px 0;
    font-family: Inter;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e2e2;
    color: #1a1c1c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dark .mobile-menu-item {
    color: #f1f1f1;
    border-bottom-color: #474747;
}

.mobile-menu-item:hover {
    color: #a33800;
}

.dark .mobile-menu-item:hover {
    color: #ffb59a;
}

.mobile-menu-item.active {
    border-bottom: 2px solid #a33800;
}


/* ========================================
   Hamburger Button Animation
   ======================================== */

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: #1a1c1c;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.dark .hamburger-btn span {
    background: #f1f1f1;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    .desktop-nav {
        display: none !important;
    }

    .desktop-contact-btn {
        display: none !important;
    }

    .mobile-contact-btn {
        display: block !important;
        width: 100%;
        text-align: center;
        margin-top: 24px;
        padding: 16px !important;
    }
}

@media (min-width: 769px) {
    .mobile-contact-btn {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .mobile-menu-panel {
        display: none !important;
    }
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
    .px-margin-desktop {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .py-section-padding {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    .pt-40 {
        padding-top: 120px !important;
    }

    .gap-gutter {
        gap: 16px !important;
    }

    .grid-cols-12 {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .col-span-12 {
        grid-column: span 4 / span 4 !important;
    }

    .md\:col-span-10 {
        grid-column: span 4 / span 4 !important;
    }

    .md\:col-span-4 {
        grid-column: span 4 / span 4 !important;
    }

    .md\:col-span-7 {
        grid-column: span 4 / span 4 !important;
    }

    .md\:col-span-5 {
        grid-column: span 4 / span 4 !important;
    }

    .md\:col-span-6 {
        grid-column: span 4 / span 4 !important;
    }

    .col-start-8 {
        grid-column-start: auto !important;
    }

    .aspect-\[21\/9\] {
        aspect-ratio: 16/9 !important;
    }

    .aspect-\[16\/6\] {
        aspect-ratio: 16/9 !important;
    }

    .grid-cols-1 {
        grid-template-columns: 1fr !important;
    }

    .md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .flex-col {
        flex-direction: column !important;
    }

    .items-baseline {
        align-items: flex-start !important;
    }

    .gap-20 {
        gap: 32px !important;
    }

    .mt-12 {
        margin-top: 0 !important;
    }

    .pb-24 {
        padding-bottom: 0 !important;
    }

    .flex-col.md\:flex-row {
        flex-direction: column !important;
    }

    .md\:flex-row {
        flex-direction: column !important;
    }

    .md\:text-left {
        text-align: center !important;
    }

    .bottom-10 {
        bottom: 16px !important;
    }

    .left-10 {
        left: 16px !important;
    }

    .gap-12 {
        gap: 16px !important;
    }

    .flex-wrap {
        flex-wrap: wrap !important;
    }

    .text-center {
        text-align: left !important;
    }

    .max-w-4xl {
        max-width: 100% !important;
    }

    .text-headline-lg-mobile {
        font-size: 40px !important;
        line-height: 44px !important;
    }

    .md\:text-headline-lg {
        font-size: 40px !important;
        line-height: 44px !important;
    }

    .text-display-lg {
        font-size: 48px !important;
        line-height: 48px !important;
    }

    /* Newsletter form adjustments */
    .md\:flex-row {
        flex-direction: column !important;
    }

    .items-end {
        align-items: stretch !important;
    }

    button[type="submit"] {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Footer adjustments */
    .flex-col.md\:flex-row {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }

    .gap-gutter {
        gap: 16px !important;
    }

    .flex-wrap {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    /* Project grid adjustments */
    .grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .text-display-lg {
        font-size: 36px !important;
        line-height: 38px !important;
    }

    .text-headline-lg-mobile {
        font-size: 32px !important;
        line-height: 36px !important;
    }

    .md\:text-headline-lg {
        font-size: 32px !important;
        line-height: 36px !important;
    }

    .text-headline-md {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    .text-body-lg {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .mt-12 {
        margin-top: 0 !important;
    }

    .gap-gutter {
        gap: 12px !important;
    }

    .px-margin-desktop {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .py-section-padding {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .pt-40 {
        padding-top: 100px !important;
    }

    .gap-20 {
        gap: 24px !important;
    }

    .border-l-2 {
        border-left: none !important;
        padding-left: 0 !important;
    }
}
/* ========================================
   Mobile Menu Overlay - Fixed z-index
   ======================================== */

#menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40 !important; /* Lower than mobile menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#menuOverlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ========================================
   Mobile Menu Panel - Higher z-index than overlay
   ======================================== */

#mobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 85%;
    max-width: 400px;
    background: #f9f9f9;
    z-index: 50 !important; /* Higher than overlay */
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 80px 32px 40px;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
}

.dark #mobileMenu {
    background: #1a1c1c;
}

#mobileMenu.open {
    transform: translateX(0) !important;
    display: block !important;
}

/* ========================================
   Mobile Menu Items
   ======================================== */

.mobile-menu-item {
    display: block;
    padding: 12px 8px;
    font-family: Inter;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1c1c;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
}

.dark .mobile-menu-item {
    color: #f1f1f1;
}

.mobile-menu-item:hover {
    background: #eeeeee;
    color: #a33800;
}

.dark .mobile-menu-item:hover {
    background: #2f3131;
    color: #ffb59a;
}

.mobile-menu-item.active {
    color: #a33800 !important;
    font-weight: 700;
}

.dark .mobile-menu-item.active {
    color: #ffb59a !important;
}

/* ========================================
   Mobile Dropdown Styles
   ======================================== */

.mobile-dropdown {
    border-bottom: 1px solid #e2e2e2;
}

.dark .mobile-dropdown {
    border-bottom-color: #474747;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Inter;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1c1c;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
}

.dark .mobile-dropdown-toggle {
    color: #f1f1f1;
}

.mobile-dropdown-toggle:hover {
    background: #eeeeee;
    color: #a33800;
}

.dark .mobile-dropdown-toggle:hover {
    background: #2f3131;
    color: #ffb59a;
}

.mobile-dropdown-toggle .material-symbols-outlined {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.mobile-dropdown-toggle.open .material-symbols-outlined {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    padding-left: 16px;
    display: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mobile-dropdown-menu.open {
    display: block !important;
}

.mobile-dropdown-menu .mobile-menu-item {
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 10px 8px;
    border-bottom: none !important;
}

/* ========================================
   Hamburger Button Animation
   ======================================== */

.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: #1a1c1c;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.dark .hamburger-btn span {
    background: #f1f1f1;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Close Button
   ======================================== */

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1a1c1c;
    transition: background-color 0.2s ease;
    border-radius: 50%;
}

.dark .mobile-menu-close {
    color: #f1f1f1;
}

.mobile-menu-close:hover {
    background: #eeeeee;
}

.dark .mobile-menu-close:hover {
    background: #2f3131;
}

/* ========================================
   Responsive Utilities
   ======================================== */

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .desktop-contact-btn {
        display: none !important;
    }
    
    .hamburger-btn {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .hamburger-btn {
        display: none !important;
    }
    
    #mobileMenu,
    #menuOverlay {
        display: none !important;
    }
}

/* ========================================
   Accessibility
   ======================================== */

*:focus-visible {
    outline: 2px solid #a33800;
    outline-offset: 2px;
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .fixed,
    #menuOverlay,
    #mobileMenu {
        display: none !important;
    }
    
    section {
        page-break-inside: avoid;
    }
}

.gmap_iframe {width:100%!important;height:600px!important;}