/* ========================================
   HOBEGE Homepage - Styles
   ======================================== */

/* Home Page Body */
.home-page {
    background-color: var(--color-dark);
}

/* ========================================
   Hero Split Section (3 Skewed Panels)
   ======================================== */
.hero-split {
    position: relative;
    height: 900px;
    overflow: hidden;
    margin-top: 191px;
}

.hero-split-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* Individual Panels */
.hero-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.hero-panel-image {
    position: absolute;
    top: 0;
    left: -20%;
    right: -20%;
    bottom: 0;
    overflow: hidden;
}

.hero-panel-image img {
    width: 140%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.hero-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 45, 43, 0);
    transition: background-color 0.4s ease;
    z-index: 2;
}

.hero-panel-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-panel-content h2 {
    font-size: 45px;
    font-weight: 600;
    color: var(--color-white);
    text-shadow: var(--shadow);
    line-height: 51px;
    transition: transform 0.4s ease;
}

/* ===========================================
   Skewed Clip Paths
   =========================================== */

/* Apartments - Linkes Panel */
.hero-panel-apartments {
    clip-path: polygon(0 0, 70% 0, 85% 100%, 0 100%);
    z-index: 3;
    flex: 1.2;
}

/* Eventlocation - Mittleres Panel */
.hero-panel-eventlocation {
    clip-path: polygon(0% 0, 70% 0, 85% 100%, 15% 100%);
    margin-left: -15%;
    z-index: 2;
    flex: 1.4;
}

/* Hausverwaltung - Rechtes Panel */
.hero-panel-hausverwaltung {
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 15% 100%);
    margin-left: -15%;
    z-index: 1;
    flex: 1.2;
}

/* Hover Effects */
.hero-panel:hover .hero-panel-image img {
    transform: scale(1.08);
}

.hero-panel:hover .hero-panel-content h2 {
    transform: translateY(-5px);
}

/* Apartments - Warmer Braunton */
.hero-panel-apartments:hover .hero-panel-overlay {
    background-color: rgba(139, 90, 43, 0.4);
}

/* Eventlocation - Türkis (Brand Color) */
.hero-panel-eventlocation:hover .hero-panel-overlay {
    background-color: rgba(71, 186, 178, 0.35);
}

/* Hausverwaltung - Helles Blau */
.hero-panel-hausverwaltung:hover .hero-panel-overlay {
    background-color: rgba(100, 149, 237, 0.35);
}

/* Diagonal Lines - DEAKTIVIERT */
.diagonal-line {
    display: none;
}

/* ========================================
   Home Footer Adjustment
   ======================================== */
.home-page .footer {
    margin-top: 0;
}

/* ========================================
   Responsive Design for Home
   ======================================== */
@media (max-width: 1600px) {
    /* Responsive adjustments */
}

@media (max-width: 1200px) {
    .hero-split {
        margin-top: 160px;
    }
    
    .hero-panel-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .hero-split {
        height: auto;
        min-height: 600px;
        margin-top: 180px;
    }
    
    .hero-split-container {
        flex-direction: column;
    }
    
    .hero-panel {
        min-height: 300px;
        clip-path: none !important;
        margin-left: 0 !important;
        flex: 1 !important;
    }
    
    .hero-panel-image {
        left: 0;
        right: 0;
    }
    
    .hero-panel-image img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-split {
        margin-top: 250px;
    }
    
    .hero-panel {
        min-height: 250px;
    }
    
    .hero-panel-content h2 {
        font-size: 28px;
    }
}
