/* ============================================================
   SUNSET THEME - GOOGLE PHOTOS LOGIC (RECONSTRUCTED)
   ============================================================ */

:root {
    --acc-primary: #ff4800;
    --acc-sec: #ffae00;
}

body.style-sunset {
    background-color: #1a0500;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 1. Hintergrund-Glow aus dem Snippet */
.bg-sunset-glow {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center bottom, rgba(255,72,0,0.4) 0%, rgba(255,174,0,0.1) 50%, transparent 80%);
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

/* 2. Logo & Nav (Sunset Style) */
.logo-wrapper {
    border: 5px solid #fff;
    display: inline-block;
    padding: 5px 25px;
    transform: skewX(-5deg);
    margin-bottom: 30px;
    background: rgba(0,0,0,0.3);
}

.logo-text {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    letter-spacing: -1px;
    line-height: 1;
}

.status-badge {
    background: var(--acc-primary);
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 4px 15px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #fff;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    padding: 12px 25px;
    border: 3px solid #fff;
    background: rgba(0,0,0,0.4);
    transform: skewX(-10deg);
    transition: all 0.3s ease;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.5);
}

.main-nav a:hover {
    background: var(--acc-primary);
    border-color: var(--acc-primary);
    color: #000;
    box-shadow: 0 0 25px var(--acc-primary);
    transform: skewX(-10deg) translateY(-5px);
}

/* 3. DAS GRID (Optimiert für echtes Justified Layout) */
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    /* Entferne justify-content: center, damit die Zeilen bündig füllen */
}

.justified-item, .card {
    height: 300px;
    flex: 1 1 auto; 
    position: relative; /* Wichtig für die absolute Positionierung des Bildes */
    overflow: hidden;
    background-color: #1a0500; /* Dunkles Sunset-Braun statt hartem Schwarz */
    border: 1px solid #333;
    transform: skewX(-2deg);
    transition: 0.3s ease;
}

.justified-item img, .card img {
    /* Absolute Positionierung erzwingt, dass das Bild den Rahmen sprengt */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) skewX(2deg) scale(1.2);
    
    min-width: 105%; /* Mehr Puffer für die Schräglage */
    min-height: 105%;
    width: auto;
    height: auto;
    
    object-fit: cover;
    display: block;
    transition: 0.5s ease;
}

/* Hover-Korrektur */
.justified-item:hover img, .card:hover img {
    transform: translate(-50%, -50%) skewX(2deg) scale(1.35);
}

/* 4. Letzte Reihe Fix (Deine Logik) */
.photo-grid::after {
    content: '';
    flex-grow: 999 !important;
}

#ComingSoon{
    font-family: 'Anton';
    font-size: 4rem !important;
    color: #fff;
    text-shadow:
    0 0 10px #ff4800,
    0 0 20px #ff4800,
    0 0 30px #ff4800,
    0 0 40px #ff4800,
    0 0 50px #ff4800;
}
/* 5. Mobile Anpassung */
@media (max-width: 768px) {
    .justified-item, .card {
        height: 200px !important;
    }
}