* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fff;
    --secondary-color: #000;
    --accent-color: #d4af37;
    --marker-color: #ff0000;
    --text-dark: #fff;
    --text-light: #aaa;
    --bg-dark: #0a0a0a;
    --bg-darker: #151515;
    --transition-speed: 0.6s;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    height: 100%;
    width: 100%;
    font-family: "Anonymous Pro", monospace;
    background: var(--bg-dark);
    color: var(--text-dark);
}

/* ============================================
   HEADER
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: transparent !important;
    z-index: 15;
    pointer-events: none;
}

.main-header button {
    pointer-events: auto;
    position: relative;
    z-index: 20;
}

.header-content {
    max-width: 100%;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 0;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    font-family: "Bebas Neue", serif;
    transition: opacity 0.3s ease;
    text-align: left;
}

.logo:hover {
    opacity: 0.7;
}

.logo-line {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #F5F5DC;
    text-transform: uppercase;
    line-height: 0.9;
}

/* ============================================
   MAP CONTAINER
   ============================================ */

.map-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.map {
    width: 100%;
    height: 100%;
}


/* ============================================
   GOOGLE MAPS CUSTOMIZATION
   ============================================ */

#map {
    width: 100%;
    height: 100%;
}

/* Hide Google Maps footer/attribution and logo */
.gmnoprint,
.gm-style-cc {
    display: none !important;
}

/* Hide Google logo links in footer */
a[href^="https://maps.google.com/maps"],
a[href^="https://www.google.com/maps"] {
    display: none !important;
}

/* Google Maps zoom controls */
button[aria-label="Zoom in"],
button[aria-label="Zoom out"] {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-radius: 2px !important;
    transition: background-color 0.2s ease !important;
}

button[aria-label="Zoom in"]:hover,
button[aria-label="Zoom out"]:hover {
    background-color: rgba(255, 255, 255, 1) !important;
}

/* Custom marker styles */
.custom-marker {
    position: absolute;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-marker > div {
    width: 48px;
    height: 48px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-marker svg {
    width: 100%;
    height: 100%;
}

/* Marker Toolbox Styles */
.marker-toolbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 15;
    top: 7px;
    left: 55px;
    white-space: nowrap;
}

.marker-toolbox.visible {
    opacity: 1;
    pointer-events: auto;
}

.toolbox-name {
    font-family: "Bebas Neue", serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #FF2C2C;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.toolbox-name:hover {
    transform: scale(1.1);
    text-shadow: 0 2px 8px rgba(255, 44, 44, 0.5);
}



/* ============================================
   PROJECT PAGE
   ============================================ */

.project-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) var(--ease);
    z-index: 50;
    overflow-y: auto;
}

.project-page.active {
    opacity: 1;
    pointer-events: auto;
}

.back-btn {
    position: fixed;
    top: 200px;
    left: 2rem;
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 4px;
    z-index: 101;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.back-btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
}

.project-content {
    max-width: 900px;
    margin: 12rem auto 4rem;
    padding: 0 2rem;
    animation: slideIn 0.8s var(--ease) 0.3s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-content h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-details {
    margin-top: 3rem;
}

.location {
    color: var(--accent-color);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.project-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.project-images {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-images img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .main-header {
        height: 80px;
    }

    .logo-line {
        font-size: 2.5rem;
    }


    .project-content {
        margin-top: 6rem;
    }

    .project-content h1 {
        font-size: 2rem;
    }

    .back-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        height: 70px;
    }

    .header-content {
        padding: 0 1rem;
    }

    .logo-line {
        font-size: 1.8rem;
    }


    .project-content {
        margin: 5rem 0 2rem;
        padding: 0 1.5rem;
    }

    .project-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .project-details p {
        font-size: 1rem;
    }

    .project-images {
        grid-template-columns: 1fr;
    }

    .back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        top: 1.5rem;
        left: 1.5rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

a, button {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent-color);
}

