/* Global Reset & Base Styles */
html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    color: #1f2933;
    font-family: Raleway, ui-sans-serif, system-ui, sans-serif;
    background: #ffffff;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
    padding: 1rem 0 3rem;
}

@media (width >= 768px) {
    .content {
        padding: 2rem 0 4rem;
    }
}

/* Visibility Classes for Tabbed Architecture */

/* Removed as part of one-page refactor */


/* Footer Fixes */
.footer, .footer footer {
    display: block;
    width: 100%;
}

.footer_wrapper {
    width: 100%;
    padding: 3rem 0;
    color: #9ca3af;
    text-align: center;
    background: #111827;
}

.footer_wrapper p {
    margin-bottom: 0.5rem;
}

.footer_wrapper a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer_wrapper a:hover {
    color: white;
}

/* Typography Overrides — sizes come from Tailwind utilities on headings */
h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
}

h2 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2933;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* List styles for page content only — not the navbar menu */
.content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
}

/* Keep brand mark and nav links on the same vertical axis */
.site-header .brand svg {
    display: block;
}

.site-header .navbar .menu,
.site-header .navbar .menu > li {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.site-header .navbar-center .menu > li > a {
    line-height: 1.25;
}

/* Gallery Styling */
.gallery, .galeria {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-lightbox:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
}

/* Map & Panorama */
.map-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
    margin-bottom: 1rem;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.panorama-wrapper {
    width: 100%;
    min-height: 24rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%);
    margin-bottom: 2rem;
}

#img360 {
    width: 100%;
    height: 400px;
}

@media (width < 768px) {
    .panorama-wrapper {
        min-height: unset;
        margin-bottom: 1rem;
    }

    #img360 {
        height: min(240px, 40vh);
    }

    .privacy-embed__placeholder {
        padding: 1rem;
    }
}

/* Privacy Embeds */
.privacy-embed {
    position: relative;
    background: #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
}

.privacy-embed__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: rgb(243 244 246 / 90%);
    backdrop-filter: blur(4px);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgb(17 24 39 / 95%);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 -10px 25px rgb(0 0 0 / 10%);
}

.cookie-consent__text {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-consent__text label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.cookie-consent__button {
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
}

.cookie-consent__button--primary {
    background: var(--fallback-p,oklch(var(--p)/100%));
    color: var(--fallback-pc,oklch(var(--pc)/100%));
}

.cookie-consent__button--primary:hover {
    background: var(--fallback-pf,oklch(var(--pf)/100%));
}

.cookie-consent__button--secondary {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.cookie-consent__button--secondary:hover {
    background: rgb(255 255 255 / 10%);
}

@media (width >= 480px) {
    .cookie-consent {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .cookie-consent__text {
        flex: 1 1 280px;
        font-size: 1rem;
    }

    .cookie-consent__actions {
        flex-flow: row wrap;
        width: auto;
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .cookie-consent__button {
        width: auto;
        padding: 0.75rem 1.5rem;
    }
}
