:root {
            /* Light Mode */
            --bg-color: #f0f0f0;
            --text-color: #111111;
            --border-color: #E0E0E0;
            --hover-bg: #FFFFFF;
            --accent: #000000;
            
            --bg-secondary: #E5E7EB;
            --bg-tertiary: #F3F4F6;
            --bg-quaternary: #D1D5DB;
            --bg-dropdown: #ffffff;
            
            --text-secondary: #6b7280;
            --border-light: #E5E7EB;
        }

        :root.dark {
            /* Dark Mode */
            --bg-color: #000000;
            --text-color: #f0f0f0;
            --border-color: #333333;
            --hover-bg: #111111;
            --accent: #ffffff;
            
            --bg-secondary: #1a1a1a;
            --bg-tertiary: #111111;
            --bg-quaternary: #222222;
            --bg-dropdown: #111111;
            
            --text-secondary: #9ca3af;
            --border-light: #333333;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html, body {
            overflow-x: clip;
            width: 100%;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
            min-height: 100vh;
        }
/* Navigation */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    position: sticky;
    top: 0.5rem;
    z-index: 1000;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo {
    width: 26px;
    height: 26px;
    margin-right: 4px;
}

.nav-tag {
    background: var(--bg-dropdown);
    color: var(--text-color);
    text-decoration: none;
    padding: 4px 7.5px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, opacity 0.2s;
    cursor: pointer;
    border: none;
    line-height: 1.5;
}

.nav-tag:hover {
    background: var(--bg-secondary);
    opacity: 1;
}

.nav-tag.active, .nav-tag.active:hover {
    background: var(--text-color);
    color: var(--bg-color);
    box-shadow: none;
}

.theme-toggle {
    padding: 0.5rem;
}

/* Contact Dropdown */
.contact-dropdown-container {
    position: relative;
}

#contact-toggle.active-btn {
    background: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 0 0 2px var(--bg-secondary), 0 0 0 4px #0055ff;
}

.contact-dropdown {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1000;
}

.contact-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-card {
    background: var(--bg-dropdown);
    border-radius: 8px;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s;
}

a.dropdown-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.booking-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.card-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.4;
    margin-top: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
}

.card-arrow {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    color: var(--text-color);
}

.contact-info-card {
    padding: 1rem;
    align-items: flex-start;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.info-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-row {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 0.4rem;
}

button.info-row {
    background: none;
    border: none;
    border-bottom: 1px dashed var(--border-light);
    padding: 0 0 0.4rem 0;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: color 0.2s;
}

button.info-row:hover {
    color: #0055ff;
}

.info-address {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.member-photo {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    background-color: var(--bg-secondary);
    flex-shrink: 0;
}

.thomas-img {
    background-image: url('/profile.webp');
}

.marcus-img {
    background-image: url('/profile-1.webp');
}/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-dropdown {
        position: fixed;
        top: 3.5rem;
        left: 0.5rem;
        right: 0.5rem;
        width: auto;
    }
    .contact-text {
        display: none;
    }
    .contact-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .nav-bar {
        padding: 0 0.5rem;
    }
    .nav-tag {
        padding: 4px 6px;
    }
    .nav-tag.active {
        background: var(--bg-dropdown) !important;
        color: var(--text-color) !important;
    }
    .nav-left {
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
        flex-wrap: nowrap;
        max-width: calc(100vw - 80px); /* Tighter width for buttons */
    }
    .nav-left::-webkit-scrollbar {
        display: none;
    }
    .nav-tag, .logo {
        flex-shrink: 0;
    }
}
/* Hero */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0; /* Important for flex child to not overflow */
    padding-bottom: 0;
    padding-top: 6rem;
}

.headline-container {
    padding: 0;
}

.headline {
    font-size: clamp(1.5rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--text-color);
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

/* Grid */
.hero-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 12px;
    min-height: 0; /* Allow grid to shrink in flex container */
    padding: 0;
}

.featured-project {
    height: 100%;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.side-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 0 0 calc(50% - 6px); /* Ensures 2 cards fit perfectly, more will scroll */
    min-height: 0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.side-card > h3 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0;
}

.card-icons {
    display: flex;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Placeholders */
.placeholder-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image.small-img {
    border-radius: 6px;
    height: auto;
    flex: 1;
    min-height: 100px;
}

.red-gradient {
    background: linear-gradient(135deg, #a81c1c 0%, #ff4b4b 50%, #4a0000 100%);
}

.grey-bg {
    background: var(--bg-secondary);
}

.dark-bg {
    background: var(--bg-quaternary);
}

.placeholder-content {
    position: absolute;
    bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.placeholder-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.placeholder-logo h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (max-width: 900px) {
    .hero {
        flex: none;
        height: auto;
        min-height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        flex: none;
    }
    .featured-project {
        min-height: 400px;
    }
    .sidebar {
        flex-direction: row;
        height: auto;
    }
    .side-card {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 3rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .hero-grid {
        display: flex;
        flex-direction: column;
        overflow: visible;
        gap: 1rem;
    }
    .featured-project {
        height: 350px;
        min-height: auto;
        flex-shrink: 0;
    }
    .sidebar {
        flex-direction: column;
        overflow-y: visible;
        height: auto;
    }
    .side-card {
        flex: none;
        height: auto;
    }
    .headline {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    .placeholder-logo h2 {
        font-size: 2rem;
    }
}
.work-section {
    padding-top: 10rem;
    padding-bottom: 1rem;
}

.work-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    padding-bottom: 2rem;
    margin-bottom: 0;
    position: relative;
}

.header-content {
    width: 100%;
}

.work-headline {
    font-size: clamp(1rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-color);
    margin: 0;
    text-align: left;
}

.explore-wrapper {
    position: absolute;
    right: 0;
    bottom: 0.25rem;
}

.explore-btn {
    background: var(--bg-secondary);
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.2s;
}

.explore-btn:hover {
    background: var(--bg-quaternary);
}

.project-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    padding: 0.25rem 0;
}

.project-row:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-title-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-logo svg {
    display: block;
}

.project-titles h3 {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
}

.category {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.project-desc {
    font-size: 0.7rem;
    font-weight:400;
    color: var(--text-color);
    line-height: 1.4;
    max-width: 90%;
    margin: 0;
    margin-top: 2rem;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px; /* tiny gap */
    cursor: none; /* Hide default cursor when hovering images */
}

.p-img {
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
}

.blue-gradient { background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%); }
.orange-bg { background: #ea580c; }
.light-bg { background: var(--bg-tertiary); }
.very-dark-bg { background: var(--bg-quaternary); }
.dark-bg { background: var(--border-color); }
.grey-bg { background: var(--bg-secondary); }
.red-gradient { background: linear-gradient(135deg, #a81c1c 0%, #ff4b4b 50%, #4a0000 100%); }

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    background: var(--bg-dropdown);
    color: var(--text-color);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    z-index: 9999;
    opacity: 0;
    transform-origin: center center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    white-space: nowrap;
    will-change: transform, opacity;
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 900px) {
    .work-header {
        grid-template-columns: 1fr;
    }
    .empty-left {
        display: none;
    }
    .project-row {
        grid-template-columns: 1fr;
    }
    .project-info {
        gap: 1rem;
    }
    .project-desc {
        margin-top: 1rem;
    }
}

@media (max-width: 600px) {
    .work-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0.5rem;
    }
    .explore-wrapper {
        position: relative;
        bottom: 0;
        margin-top: 1rem;
    }
    .project-row {
        padding: 1rem 0.5rem;
    }
    .project-images {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .project-images::-webkit-scrollbar {
        display: none;
    }
    .p-img {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    .work-headline {
    font-size: clamp(1rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-color);
    margin: 0;
    text-align: left;
}

}
.testimonial-section {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.testimonial-headline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin: 0;
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    cursor: none;
}

.placeholder-video {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.andrew-video {
    background-color: var(--bg-secondary);
    /* Normally you'd set a background image here */
}

.rasmus-video {
    background-color: var(--bg-quaternary);
    /* Normally you'd set a background image here */
}

.card-info {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.card-icons {
    display: flex;
    gap: 0.5rem;
}

.play-btn {
    width: 32px;
    height: 24px;
    background: var(--text-color);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nowalls-icon {
    background: var(--text-color);
}

.anthill-icon {
    background: #6366F1; /* Purple/Indigo color matching the screenshot */
}

.person-details {
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

.person-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.person-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

.testimonial-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    background: var(--bg-dropdown);
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    white-space: nowrap;
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .testimonial-section {
        padding: 3rem 0.5rem;
    }
    .testimonial-card {
        padding: 0.5rem;
    }
    .quote-text {
        font-size: 1.25rem;
    }
    .testimonial-headline {
        font-size: clamp(1rem, 2vw, 1rem);
        font-weight: 400;
        line-height: 1;
        letter-spacing: -0.01em;
        color: var(--text-color);
        margin: 0;
}
}
.gallery-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.gallery-headline {
    font-size: clamp(1rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-color);
    margin: 0;
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    gap: 0.35rem;
}

.gallery-card {
    display: flex;
    flex-direction: column;
}

.card-img {
    flex-grow: 1;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.card-img:hover {
    transform: scale(0.98);
    cursor: pointer;
}

.card-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
    height: 1.2rem; /* Reserve space so rows stay aligned */
}

/* Span utilities */
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.row-span-2 { grid-row: span 2; }
.row-span-3 { grid-row: span 3; }

/* Placeholder Colors */
.bg-dark { background-color: var(--bg-quaternary); }
.bg-orange { background-color: #F97316; }
.bg-gradient { background: linear-gradient(135deg, #fb923c, #fef3c7); }
.bg-light { background-color: var(--bg-tertiary); }
.bg-red { background-color: #7f1d1d; }
.bg-blue { background-color: #1d4ed8; }
.bg-green-gradient { background: linear-gradient(135deg, #10b981, #fef08a); }
.bg-green { background-color: #22c55e; }
.bg-olive { background-color: #4d7c0f; }
.bg-teal { background-color: #115e59; }
.bg-gray { background-color: var(--bg-quaternary); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }
}
@media (max-width: 600px) {
    .gallery-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 0.25rem;
    }
    /* Disable all spans on mobile for a uniform 2-column grid */
    .col-span-3, .col-span-2 { grid-column: span 1; } 
    .row-span-3, .row-span-2 { grid-row: span 1; }
}
.about-section {
    padding-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}

/* Left Column Styling */
.about-text-block {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-heading {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    padding-bottom: 2rem;
}

.about-paragraph {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    padding-bottom: 2rem;
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.about-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: auto;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e; /* Bright green dot */
    border-radius: 50%;
}

.btn-secondary {
    background: var(--bg-dropdown);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

/* Right Column Styling */
.about-images-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.top-image {
    flex: 1; /* Takes available space proportionally */
    min-height: 350px;
}

.bottom-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    height: 350px;
}

.bottom-image {
    height: 100%;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Placeholder colors until real images are added */
.office-img { background-color: var(--bg-quaternary); }
.daniel-img { background-color: var(--bg-secondary); }
.casper-img { background-color: var(--bg-secondary); }

/* Image Overlays */
.image-overlay-text {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    color: var(--text-color);
}

.text-dark {
    color: var(--text-color) !important; /* Adapt to dark mode correctly */
}

.overlay-title {
    font-size: 0.85rem;
    font-weight: 600;
}

.overlay-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text-block {
        padding: 1.5rem;
    }
    
    .top-image, .bottom-images-row {
        min-height: 250px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 3rem 0.5rem;
    }
    .about-text-block {
        padding: 1.25rem;
    }
    .main-text {
        font-size: 1.25rem;
    }
    .sub-text {
        font-size: 0.8rem;
    }
    .bottom-images-row {
        grid-template-columns: 1fr;
        height: auto;
        gap: 0.35rem;
    }
    .top-image, .bottom-image {
        min-height: 250px;
        height: 250px;
    }
}
.footer-section {
    padding-top: 8rem;
    padding-bottom: 0rem;
}

/* Directory Grid */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0rem;
    margin-bottom: 8rem;
}

.dir-heading {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.dir-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dir-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 38px;
    border-bottom: 1px solid var(--border-light); /* Subtle divider */
    cursor: pointer;
}

.dir-item:last-child {
    border-bottom: none;
}

/* Icon Styles */
.dir-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-color);
}
.text-white { color: var(--bg-color); }

.bg-light-gray { background: var(--bg-secondary); }
.bg-orange { background: #F97316; }
.bg-purple { background: #8B5CF6; }
.bg-dark { background: var(--text-color); }
.bg-yellow { background: #FCD34D; }
.bg-green { background: #22C55E; }
.bg-blue { background: #3B82F6; }
.bg-orange-green { background: linear-gradient(135deg, #F97316, #22C55E); }
.bg-lime { background: #bef264; }
.bg-gray { background: var(--bg-secondary); }

/* Text Styles */
.dir-text {
    font-size: 0.85rem;
    color: var(--text-secondary); /* Gray text default */
    font-weight: 400;
    transition: color 0.2s ease;
}

.dir-item:hover .dir-text {
    color: var(--text-color);
}

.view-all .dir-icon svg {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-all:hover .dir-icon svg {
    transform: translate(2px, -2px);
}


.text-bold {
    font-weight: 600 !important;
    color: var(--text-color) !important;
}
.text-dark {
    color: var(--text-color) !important;
}

.text-only {
    padding-left: 0;
}

/* Footer Bottom Area */
.footer-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: flex-end;
    padding-bottom: 0;
    position: relative;
}

.footer-logo {
    grid-column: 1 / 2;
    display: flex;
    align-items: flex-end;
    margin: 0;
    padding: 0;
}

.animated-logo {
    width: 150px;
    height: 150px;
    border-radius: 24px;
}
.animated-logo-bg { fill: var(--text-color); }
.animated-logo-fg { fill: var(--bg-color); }

.footer-cta {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.cta-heading {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-color);
    margin-bottom: 1rem;
    white-space: nowrap;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.footer-credits {
    grid-column: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0rem;
    gap: 0.75rem;
}

.credits-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.credits-logos {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.credit-link {
    display: flex;
    align-items: center;
}

.credit-icon {
    height: 24px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    border-radius: 4px;
}

:root.dark .credit-icon {
    filter: invert(1);
    opacity: 1;
}

.credit-plus {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1;
}

.btn-book {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
}

.contact-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-logo {
        margin-bottom: 1rem;
    }

    .footer-cta, .footer-credits {
        grid-column: auto;
        width: 100%;
    }
    
    .cta-heading {
        white-space: normal;
    }
    
    .footer-clock {
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 600px) {
    .footer-section {
        padding-top: 4rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .directory-grid {
        grid-template-columns: 1fr;
        margin-bottom: 4rem;
    }
    .dir-heading {
        font-size: 1.75rem;
    }
    .cta-heading {
        font-size: 1.5rem;
    }
    .cta-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }
    .footer-bottom {
        gap: 2rem;
        padding-bottom: 2.5rem; /* space for badge */
    }
}

.la-time-badge {
    position: absolute;
    right: 0rem;
    bottom: 0rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #000000;
    padding: 0.25rem 0.4rem 0.2rem 0.4rem;
    border-radius: 4px;
}

:root.dark .la-time-badge {
    background: #ffffff;
    color: #000000;
}
