/* =========================================
   GLOBAL RESET & BASE STYLES
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

body {
    overflow-x: hidden;
    width: 100%;
    background-color: #f9f9f9;
    font-size: 16px; 
}
img {
    pointer-events: none; 
    user-select: none;    
    -webkit-user-drag: none; 
}
/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2.5rem;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
}

.header_logo img {
    height: 3.75rem;
    width: auto;
    display: block;
}

header nav {
    display: flex;
    align-items: center;
    gap: 1.875rem;
}

header ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

header a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    transition: color 0.3s ease;
}

header a:hover {
    color: #f0f0f0;
}

    /* =========================================
    LIGHT HEADER OVERRIDE
    ========================================= */
    #landing_header.light_header a {
        color: #000;
    }

    #landing_header.light_header a:hover {
        color: #555;
    }

    #landing_header.light_header .social_icons a {
        color: #000;
    }

    /* =========================================
    Header Responsive
    ========================================= */
    .mobile_toggle {
        display: none;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 9999;
        user-select: none;
    }

    .bar {
        display: block;
        width: 2rem;
        height: 0.25rem;
        background-color: #fff; 
        border-radius: 9999px;
        transition: all 0.3s ease-in-out;
        pointer-events: none;
        margin: 0;
    }

    #landing_header.light_header .bar {
        background-color: #000;
    }

    @media (max-width: 768px) {
        header{
            left: -4rem;
        }
        .header_logo img{
            height: 2.5rem;
            left: 5rem;
        }
        .mobile_toggle {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.35rem;
        }
        #landing_header nav {
            position: fixed;
            inset: 0 0 0 50%;
            flex-direction: column;
            background: #555;
            padding: min(15vh, 10rem) 2em;
            z-index: 9998;
            transform: translateX(100%);
            transition: transform 350ms ease-out;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        }

        #landing_header nav ul {
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        #landing_header nav[data-visible="true"] {
            transform: translateX(0%);
        }
        #landing_header.light_header a{
            color: #fff;
        }
       #landing_header.light_header .social_icons a{
            color: #fff;
        }
        .mobile_toggle[aria-expanded="true"] .bar {
            transform: none; 
            background-color: #ffffff !important;
            position: absolute;
            margin: 0;
            translate: -50% -50%; 
        }

        .mobile_toggle[aria-expanded="true"] .bar:nth-child(2) {
            rotate: 45deg;
        }

        .mobile_toggle[aria-expanded="true"] .bar:nth-child(3) {
            opacity: 0;
        }

        .mobile_toggle[aria-expanded="true"] .bar:nth-child(4) {
            rotate: -45deg;
        }
    }

/* =========================================
   SOCIAL ICONS
   ========================================= */
.social_icons {
    display: flex;
    gap: 0.9375rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
}

.social_icons a {
    display: flex;
    align-items: center;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social_icons svg {
    stroke: currentColor; 
}

.social_icons .icon-twitter:hover   { color: #1DA1F2 !important; transform: translateY(-3px); }
.social_icons .icon-instagram:hover { color: #E1306C !important; transform: translateY(-3px); }
.social_icons .icon-youtube:hover   { color: #FF0000 !important; transform: translateY(-3px); }
.social_icons .icon-vimeo:hover     { color: #1AB7EA !important; transform: translateY(-3px); }

/* =========================================
   HERO Section
   ========================================= */
.hero_section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out 1s;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transition: opacity 1s ease-in-out 0s;
}

.slide img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    display: block;
}

.slide_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 80%;
    padding-top: 3.75rem;
}

.slider_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3rem;
    font-weight: 100;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slider_btn:hover {
    color: #fff;
    transform: translateY(-50%) translateX(5px);
}

.prev:hover {
    transform: translateY(-50%) translateX(-5px); 
}

.prev { left: 1.5rem; }
.next { right: 1.5rem; }


    /* =========================================
    Video Hero
    ========================================= */
    .video_wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
        z-index: 0;
        background-color: #000;
    }
    .hero_video {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: center; 
    }
/* =========================================
   Scroll Indicator
   ========================================= */
    .scroll_line {
        position: absolute;
        bottom: 0;         
        left: 50%;
        z-index: 5;
        width: 0.1rem;       
        background: rgba(255, 255, 255, 0.8);
        transform: translateX(-50%); 
        box-shadow: 0 0 4px rgba(0,0,0,0.5);
        animation: scrollFlow 2s infinite;
    }

    @keyframes scrollFlow {
        0% {
            height: 0;
            opacity: 0;
            bottom: 60px; 
        }
        40% {
            height: 60px; 
            opacity: 1;
            bottom: 0;  
        }
        80% {
            height: 0;   
            opacity: 0;
            bottom: 0;
        }
        100% {
            height: 0;
            opacity: 0;
            bottom: 0;
        }
    }

/* =========================================
   Property Image Grid Main Page
   ========================================= */
.property_image_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.9375rem;
    max-width: 100rem;
    margin: 5rem auto;
    padding: 0 1.25rem; 
}

.prop_img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; 
}

.prop_img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease;
    display: block;
}

.prop_img:hover img {
    transform: scale(1.05);
}

#main_page_grid .prop_img:hover img {
    transform: scale(1) !important;
}

    /* =========================================
    MOBILE RESPONSIVENESS
    ========================================= */
    @media (max-width: 768px) {
        .property_image_grid {
            grid-template-columns: repeat(1, 1fr); 
            grid-auto-rows: 18.75rem; 
            gap: 7rem;
        }
    }

/* =========================================
   PRESS SLIDER
   ========================================= */
.press_slider_section {
    position: relative;
    width: 100%;
    margin: 2rem 0; 
    padding: 0; 
    overflow: hidden;
}

.press_slider_container {
    overflow: hidden;
    width: 100%;
}

.press_track {
    display: flex;
    gap: 0; 
}

.press_item {
    min-width: 18%; 
    padding: 0 0.625rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.img_box {
    width: 100%;
    aspect-ratio: 17 / 22;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.press_item:hover .img_box img {
    transform: scale(1.05);
}

.press_img_link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.press_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3rem;
    font-weight: 100;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 2rem;
    margin: -2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.press_btn:hover {
    color: #fff;
    transform: translateY(-50%) translateX(5px);
}

.prev:hover {
    transform: translateY(-50%) translateX(-5px); 
}

.prev { left: 1.5rem; }
.next { right: 1.5rem; }

    /* =========================================
    MOBILE RESPONSIVENESS
    ========================================= */

    @media (max-width: 1024px) {
        .press_item { min-width: 33%; } 
    }

    @media (max-width: 768px) { 
        .press_item { 
            min-width: 100%;
        }
        .press_slider_section{
            margin-bottom: -3rem;
        }
    }



/* =========================================
   Large Photo Grid (Projects&Videos&Press)
   ========================================= */
.large_image_grid {
    width: 100%;
    padding: 9.375rem 5rem;
    padding-bottom: 5rem;
    margin: 0 auto;
}

.grid_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.9375rem;
}

.grid_item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.grid_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.grid_item:hover img {
    transform: scale(1.05);
}

.grid_hover_text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    transform: translateY(100%); 
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid_item:hover .grid_hover_text {
    transform: translateY(0);
}

.grid_hover_text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.grid_hover_text p {
    margin: 0.3125rem 0 0 0;
    font-size: 0.9rem;
    font-weight: 200;
    opacity: 0.8;
}

    /* =========================================
    Press Page
    ========================================= */

    #press-grid .grid_item {
        aspect-ratio: auto; 
        display: flex; 
        align-items: center; 
    }

    #press-grid .grid_item img {
        height: auto; 
        object-fit: contain; 
    }

    #press-grid .grid_hover_text {
        display: none;
    }
    /* =========================================
    MOBILE RESPONSIVENESS
    ========================================= */
    @media (max-width: 1024px) {
        .grid_container {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
    .large_image_grid {
        padding: 0;
        padding-top: 6rem; 
        padding-bottom: 2rem;
    }

    .grid_container {
        grid-template-columns: 1fr;
        width: 100%;
        justify-items: center; 
        row-gap: 1rem; 
    }

    .grid_hover_text {
        transform: translateY(0);
    }

    .grid_item {
        width: 90vw;
    }
}

/* =========================================
   Architrcture Gallery
   ========================================= */
.architecture_gallery {
    margin: 9.375rem 5rem;
    padding: 0 1.25rem;
    padding-bottom: 0;
}

.gallery_filter_nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9375rem 1.875rem;
    margin-bottom: 3.125rem;
    max-width: 68.75rem;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    color: #888;
    cursor: pointer;
    padding-bottom: 0.3125rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn:hover, 
.filter-btn.active {
    color: #000;
    border-bottom: 2px solid #000;
}

    /* =========================================
    Mobile Responsiveness
    ========================================= */
    @media (max-width: 768px) {
        .architecture_gallery {
            width: 90%;
            margin: 4rem auto;
            padding-top: 1rem;
        }
    }
    @media (max-width: 500px) {
        .filter-btn { font-size: 0.8rem; }
    }
    @media (max-width: 800px) {
        .gallery_filter_nav { gap: 0.9375rem;
        }
    }

/* =========================================
    Small Image Grid(Architecture&Properties)
   ========================================= */
.gallery_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.25rem;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

.gallery_item {
    position: relative;
    display: none;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1; 
}

.gallery_item.visible {
    display: block; 
}

.gallery_item img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.gallery_item:hover img {
    opacity: 0.9;
    transform: scale(1.05);
}

    /* =========================================
    Mobile Responsiveness
    ========================================= */

    @media (max-width: 1024px) { .gallery_grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 768px) { .gallery_grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .gallery_grid { grid-template-columns: repeat(1, 1fr); } }

    @media (max-width: 768px) {
        .gallery_grid {
            justify-content: center; 
        }
    }

/* =========================================
   LIGHTBOX STYLES
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 80vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh; 
    width: auto;     
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 1.25rem rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
    opacity: 1; 
}

.lightbox-content img.fade-out {
    opacity: 0;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem; 
    right: 1.875rem; 
    color: #fff;
    font-size: 2.5rem; 
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
    line-height: 1; 
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3rem;
    font-weight: 100; 
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lightbox-btn:hover {
    color: #fff;
    transform: translateY(-50%) translateX(5px);
}

.prev:hover {
    transform: translateY(-50%) translateX(-5px); 
}

.prev { left: 1.5rem; }
.next { right: 1.5rem; }

    /* =========================================
    Video Lightbox
    ========================================= */
    #video-container {
        position: relative;
        width: 100%;
        max-width: 1200px; 
        aspect-ratio: 16 / 9; 
        margin: 0 auto;
    }

    #video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    /* =========================================
    Mobile Responsiveness
    ========================================= */
    @media (max-width: 600px) {
        .lightbox-btn {
            width: 2.5rem;
            height: 2.5rem;
            font-size: 1rem;
        }
        .lightbox-btn.prev { left: 1rem; }
        .lightbox-btn.next { right: 1rem; }
        
        .lightbox-content {
            max-width: 95vw;
        }
    }

/* =========================================
   FOOTER STYLING
   ========================================= */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5625rem;
    padding: 3.75rem 1.25rem;
    background-color: #f9f9f9;
    text-align: center;
}

.footer_contact a {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.footer_contact a:hover {
    color: #555;
    border-bottom: 2px solid #555;
}

footer .social_icons a {
    color: #333 !important;
}

footer p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* =========================================
   CONTACT STYLING
   ========================================= */
.contact_hero {
    margin-top: 150px;
    margin-bottom: 60px;
    padding: 0 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%; 
}

.contact_hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #000;
}

.contact_hero .subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.5;
}

.contact_grid_section {
    display: grid;
    grid-template-columns: 3fr 7fr; 
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 40px;
    align-items: start; 
}

.contact_details {
    padding-top: 10px;
}

.info-item {
    margin-bottom: 40px;
}

.info-item h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-item a, .info-item p {
    font-size: 1.1rem;
    color: #000;
    text-decoration: none;
    line-height: 1.5;
    margin: 0;
}

.contact_form_wrapper {
    background: transparent;
}

.form-group {
    margin-bottom: 35px;
    position: relative; 
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: #000;
    font-weight: 700;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 1.2rem;
    font-family: inherit;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0; 
    resize: vertical;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-bottom: 1px solid #000;
}

.submit-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 45px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.3s;
    appearance: none; 
    -webkit-appearance: none; 
}

.submit-btn:hover {
    opacity: 0.8;
}

.ohnohoney {
    position: absolute;
    left: -5000px;    
    top: 0;
    z-index: -100;  
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;         
}
    /* =========================================
    Mobile Responsiveness
    ========================================= */
    @media (max-width: 900px) {
        .contact_grid_section {
            grid-template-columns: 1fr; 
            gap: 50px;
        }
        
        .contact_hero h1 {
            font-size: 2.8rem; 
        }
        
        .contact_container, 
        .contact_hero {
            padding: 0 20px; 
        }
    }



/* =========================================
   MAP STYLES
   ========================================= */
.map_section {
    width: 100%;
    padding: 80px 0; 
    background-color: #f8f9fa; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#map { 
    width: 80%;
    height: 90vh;
    min-height: 500px;
    border-radius: 24px; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1; 
}


.leaflet-top, .leaflet-bottom {
    padding: 10px; 
}
.leaflet-touch .leaflet-bar {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 5px;
    opacity: 0.3;
    transition: opacity 0.3s;
}
.leaflet-control-attribution:hover {
    opacity: 1;
}
:root {
    --marker-color: #00d2ff; 
    --glow-color: rgba(0, 210, 255, 0.7); 
}


.glowing-marker {
    background: none !important; 
    border: none !important;
}

.glowing-marker::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #00d2ff; 
    transform-origin: center center;
    animation: loadAndPulse 1.5s ease-out forwards;
}

@keyframes loadAndPulse {
    0% {
        transform: scale(0);
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
    }
    50% {
        transform: scale(1);  
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
    }
    100% {
        transform: scale(1); 
        opacity: 1;
        box-shadow: 0 0 0 20px rgba(0, 210, 255, 0); 
    }
}