/* --- 1. CORE & VARS --- */
:root {
    --bg-main: #020202;
    --bg-card: #0f0f0f;
    --text-main: #f0f0f2;
    --text-muted: #888;
    --accent: #d4af37;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-pill: rgba(0, 0, 0, 0.7);
    --modal-bg: #000000;
    --ease-out-cinematic: cubic-bezier(0.25, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3.5rem, 9vw, 7rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

p {
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    color: var(--text-main);
}

/* --- VIDEO BG --- */
.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    backdrop-filter: blur(0px);
    transition: backdrop-filter 0.5s ease;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- NAV & LOGO --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    transition: all 0.4s ease;
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 1rem;
}

.nav-left {
    justify-self: start;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    transition: transform 0.5s ease;
}

.new-luxury-logo {
    overflow: visible;
}

.logo-ring-slow {
    transform-origin: 50% 50%;
    animation: rotateSlow 30s linear infinite;
}

.logo-ring-fast {
    transform-origin: 50% 50%;
    animation: rotateFast 15s linear infinite reverse;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.logo-triangle-up, .logo-triangle-down {
    transform-origin: 50% 50%;
    animation: pulseTriangles 4s ease-in-out infinite alternate;
}

.logo-core {
    transform-origin: 50% 50%;
    animation: coreBreathing 3s ease-in-out infinite alternate;
}

/* Hover effects */
.logo-wrapper:hover .logo-icon-container {
    transform: scale(1.1);
}

.logo-wrapper:hover .logo-ring-fast {
    animation-duration: 3s;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.9));
}

.logo-wrapper:hover .logo-triangle-up {
    transform: rotate(180deg);
    transition: transform 1s cubic-bezier(0.25, 1, 0.3, 1);
}

.logo-wrapper:hover .logo-triangle-down {
    transform: rotate(-180deg);
    transition: transform 1s cubic-bezier(0.25, 1, 0.3, 1);
}

.logo-wrapper:hover .logo-core {
    animation-duration: 0.5s;
    filter: drop-shadow(0 0 20px #FFF);
}

@keyframes rotateSlow {
    100% { transform: rotate(360deg); }
}

@keyframes rotateFast {
    100% { transform: rotate(360deg); }
}

@keyframes pulseTriangles {
    0% { opacity: 0.7; stroke-width: 1; }
    100% { opacity: 1; stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)); }
}

@keyframes coreBreathing {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 10px #D4AF37); }
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-center {
    justify-self: center;
}

.glass-pill {
    background: var(--glass-pill);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 0.5rem;
    border-radius: 100px;
    display: flex;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.nav-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.nav-right {
    justify-self: end;
}

.glass-cta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.glass-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* --- HERO & COMMON --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1000px;
}

.hero h1 span {
    background: linear-gradient(to bottom right, #fff 30%, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span.serif {
    background: linear-gradient(110deg, #D4AF37 0%, #F5E5A6 25%, #AA771C 50%, #F5E5A6 75%, #D4AF37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroGoldShine 4s linear infinite, heroGoldPulse 2s ease-in-out infinite alternate;
    display: inline-block;
}

@keyframes heroGoldShine {
    to {
        background-position: -200% center;
    }
}

@keyframes heroGoldPulse {
    0% {
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
    }
}

.hero-subtitle {
    display: block;
    width: fit-content;
    max-width: 90%;
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    color: #f0f0f2;
    font-size: 1.2rem;
    margin: 2rem auto 2.5rem auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-header span {
    color: var(--accent);
    letter-spacing: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* --- PHILOSOPHIE --- */
.phil-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    margin-top: 4rem;
}

.phil-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.phil-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 24px;
    width: 45%;
    position: relative;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.phil-card:nth-child(odd) {
    align-self: flex-start;
    text-align: right;
    border-right: 3px solid var(--accent);
}

.phil-card:nth-child(even) {
    align-self: flex-end;
    text-align: left;
    border-left: 3px solid var(--accent);
}

.phil-slide-right {
    opacity: 0;
    transform: translateX(150px) scale(0.95);
}

.phil-slide-left {
    opacity: 0;
    transform: translateX(-150px) scale(0.95);
}

.phil-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.phil-number {
    position: absolute;
    font-size: 7rem;
    font-family: 'Cinzel', serif;
    color: rgba(255, 255, 255, 0.03);
    font-weight: bold;
    top: -1.5rem;
    z-index: 0;
    pointer-events: none;
}

.phil-card:nth-child(odd) .phil-number {
    right: 2rem;
}

.phil-card:nth-child(even) .phil-number {
    left: 2rem;
}

.phil-card h3 {
    font-size: 2rem;
    color: #fff;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.phil-card p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media(max-width: 900px) {
    .phil-grid::before {
        left: 0;
    }

    .phil-card {
        width: 100%;
        align-self: stretch;
        text-align: left !important;
        border-left: 3px solid var(--accent) !important;
        border-right: none !important;
    }

    .phil-slide-right,
    .phil-slide-left {
        transform: translateX(50px) scale(0.95);
    }

    .phil-card .phil-number {
        left: 1rem !important;
        right: auto !important;
    }
}

.phil-story {
    margin: 2rem 0 4rem 0;
    max-width: 850px;
}

.phil-story .story-lead {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 1.5;
}

.phil-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* --- FILTER CONTROL BAR --- */
.filter-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 1.5rem 2.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 50;
}

.filter-group {
    flex: 1;
    min-width: 320px;
}

.search-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    transition: 0.3s;
    margin-top: 10px;
}

.search-group:focus-within {
    border-bottom-color: var(--accent);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 0.8rem;
}

#search-input {
    width: 100%;
    padding: 0;
    border: none;
    font-size: 1rem;
    color: #fff;
    background: transparent;
}

#search-input::placeholder {
    color: var(--text-muted);
}

.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
    margin-top: 5px;
}

.dropdown-selected {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    color: #fff;
}

.dropdown-selected:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.dropdown-arrow {
    width: 18px;
    transition: transform 0.3s;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.5rem;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(-10px) scaleY(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: top;
}

.custom-dropdown.active .dropdown-options {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    pointer-events: all;
}

.dropdown-item {
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 1.5rem;
}

.dropdown-item.active {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

/* SLIDER STYLES */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-values {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.dual-range-container {
    position: relative;
    width: 100%;
    height: 30px;
}

.slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    z-index: 1;
}

.slider-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--accent);
    z-index: 2;
}

.dual-range-container input[type="range"] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    -webkit-appearance: none;
    pointer-events: none;
    background: none;
    z-index: 3;
    margin: 0;
}

.dual-range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: transform 0.2s;
}

.dual-range-container input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.dual-range-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

@media(max-width: 900px) {
    .filter-control-bar {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }
}

/* --- LISTINGS & ANIMATION --- */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.listing-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.6s var(--ease-out-cinematic), box-shadow 0.6s;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.listing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
    z-index: 20;
    pointer-events: none;
}

.listing-card:hover::before {
    left: 150%;
    transition: 0.8s;
}

.listing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.listing-img-wrapper {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.3, 1);
}

.listing-card:hover .listing-img {
    transform: scale(1.15);
}

.location-badge-overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.listing-details {
    padding: 2rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to top, #0f0f0f, transparent);
}

.listing-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.2rem;
    display: block;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
}

.specs {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #888;
}

/* Scroll Animation Base Classes */
.scroll-fx {
    opacity: 0;
    filter: blur(20px);
    transform: perspective(1000px) rotateX(20deg) translateY(80px);
    transition: all 1s var(--ease-out-cinematic);
}

.scroll-fx.active {
    opacity: 1;
    filter: blur(0);
    transform: perspective(1000px) rotateX(0) translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* --- PILLARS & CONTACT --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.5s var(--ease-out-cinematic);
}

.pillar-card:hover {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.pillar-num {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -2rem;
    font-family: 'Cinzel', serif;
}

.pillar-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.pillar-text {
    font-size: 1rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-process {
    background: rgba(10, 10, 10, 0.8);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
}

.contact-process h3 {
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: var(--accent);
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-num {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    margin-top: -5px;
}

.process-step h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-muted);
}

@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-process {
        padding: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    .process-step {
        text-align: left;
    }
}

.contact-grid .contact-wrapper {
    margin: 0;
    width: 100%;
}

.contact-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.8);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    transition: all 0.6s var(--ease-out-cinematic);
}

.contact-wrapper:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
}

.form-group {
    margin-bottom: 2rem;
}

.form-submit .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

input,
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    color: #fff;
    font-size: 1.1rem;
    font-family: inherit;
    transition: 0.3s;
}

textarea {
    resize: none;
}

input:focus,
textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.4s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn:hover {
    background: var(--accent);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    border-color: var(--accent);
}

/* --- GRAND FOOTER --- */
.grand-footer-section {
    padding-bottom: 3rem;
    margin-top: 6rem;
    position: relative;
}

.footer-glass-card {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.footer-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-form {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-form input {
    padding: 0;
    border: none;
    font-size: 0.9rem;
}

.footer-form button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.footer-form button:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #888;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
}

@media(max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 95vw;
    max-width: 1400px;
    height: 90vh;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.5s var(--ease-out-cinematic);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    height: 100%;
}

.modal-image-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 4rem;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.modal-info::-webkit-scrollbar {
    display: none;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 50;
    transition: 0.3s;
}

.close-btn:hover {
    background: var(--accent);
    color: #000;
}

@media(max-width: 900px) {
    .nav-center {
        display: none;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 40vh 1fr;
    }
}

/* SUCCESS WOW EFFEKT */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.success-card {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, rgba(5, 5, 5, 0.9) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9) translateY(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 0 30px 100px rgba(212, 175, 55, 0.15);
}

.success-overlay.active .success-card {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.success-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.success-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.success-svg {
    width: 100px;
    height: 100px;
    stroke-width: 2;
    stroke: var(--accent);
    stroke-miterlimit: 10;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px var(--accent);
}

.success-overlay.active .success-svg {
    animation: fill 0.4s ease-in-out 0.8s forwards, scaleSvg 0.3s ease-in-out 1.2s both;
}

.success-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--accent);
    fill: none;
}

.success-overlay.active .success-circle {
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

.success-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

.success-overlay.active .success-check {
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 1s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleSvg {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 50px rgba(212, 175, 55, 0.05);
    }
}

.success-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.success-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.success-overlay.active .success-title {
    animation: fadeUp 0.5s ease 1.2s forwards;
}

.success-overlay.active .success-desc {
    animation: fadeUp 0.5s ease 1.4s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ADMIN PANEL */
.admin-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020202;
    z-index: 2500;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out-cinematic);
}

.admin-panel-overlay.active {
    transform: translateY(0);
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-tab {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #888;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.admin-tab.active,
.admin-tab:hover {
    background: var(--accent);
    color: #000;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.manage-list-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem;
}

.manage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.manage-item:last-child {
    border-bottom: none;
}

.manage-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.manage-info p {
    font-size: 0.8rem;
    margin: 0;
}

.btn-delete {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-delete:hover {
    background: red;
    color: white;
}

/* ADMIN TOAST (Neu: X Oben Links) */
.admin-toast {
    position: fixed;
    top: 120px;
    right: 20px;
    width: 320px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--accent);
    border-radius: 15px;
    padding: 1.5rem;
    padding-left: 2.5rem;
    /* Platz für das X machen */
    z-index: 9000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateX(150%);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}

.admin-toast.active {
    transform: translateX(0);
}

/* Das "X" Oben Rechts */
.toast-close-btn {
    position: absolute;
    top: 6px;
    right: 12px;
    left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.toast-close-btn:hover {
    color: #fff;
    transform: scale(1.1);
    background: rgba(200, 40, 40, 0.35);
    box-shadow: 0 0 12px rgba(200, 40, 40, 0.25);
}

/* --- BACK TO TOP BUTTON (GOLD & ANIMIERT) --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    /* Versteckt */
    transform: translateY(50px) rotate(180deg);
    transition: all 0.5s var(--ease-out-cinematic);
    box-shadow: 0 0 15px var(--accent-glow);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) rotate(0deg);
    /* Slidet und dreht sich ein */
}

.back-to-top:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px var(--accent);
    transform: translateY(-5px);
}