/* ========================================
   HOBEGE Apartments Über uns - Styles
   ======================================== */

/* Page Body - Uses existing apartments-page class */

/* Container Override */
.apartments-page .container {
    max-width: 1920px;
    padding: 0 280px;
}

/* ========================================
   Hero Section
   ======================================== */
.about-hero {
    height: 711px;
}

.about-overlay {
    background: linear-gradient(20deg, transparent 50%, rgba(0, 0, 0, 0.72) 50%);
    opacity: 0.72;
}

.about-hero .hero-content {
    max-width: 800px;
    margin-left: auto;
    padding-left: 80px;
    padding-right: 100px;
}

.about-hero .hero-content h1 {
    font-size: 60px;
    line-height: 70px;
}

.about-hero .hero-subtitle {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 40px;
}

/* ========================================
   History Section
   ======================================== */
.history-section {
    background-color: var(--color-dark);
    padding: 80px 0 60px;
}

.history-section h2 {
    font-size: 45px;
    font-weight: 600;
    line-height: 60px;
    color: var(--color-white);
    text-shadow: var(--shadow);
    margin-bottom: 30px;
}

.history-section .history-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-white);
    max-width: 1360px;
}

/* ========================================
   Values Section
   ======================================== */
.values-section {
    background-color: var(--color-dark);
    padding: 60px 0 80px;
}

.values-section h2 {
    font-size: 45px;
    font-weight: 600;
    line-height: 60px;
    color: var(--color-white);
    text-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.value-item {
    text-align: center;
}

.value-icon {
    position: relative;
    width: 164px;
    height: 164px;
    margin: 0 auto 30px;
}

.value-icon > svg {
    position: absolute;
    top: 0;
    left: 0;
}

.value-icon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.value-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}

.value-item p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-white);
    max-width: 423px;
    margin: 0 auto;
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy-section {
    background-color: var(--color-dark);
    padding: 60px 0;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 695px 1fr;
    gap: 44px;
    align-items: start;
}

.philosophy-image {
    height: 427px;
    overflow: hidden;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-text h2 {
    font-size: 45px;
    font-weight: 600;
    line-height: 60px;
    color: var(--color-white);
    text-shadow: var(--shadow);
    margin-bottom: 30px;
}

.philosophy-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-white);
    max-width: 900px;
}

/* ========================================
   Location Section
   ======================================== */
.about-location-section {
    background-color: var(--color-dark);
    padding: 80px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 378px;
    gap: 80px;
    align-items: center;
}

.location-text h2 {
    font-size: 45px;
    font-weight: 600;
    line-height: 60px;
    color: var(--color-white);
    text-shadow: var(--shadow);
    margin-bottom: 30px;
}

.location-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-white);
    max-width: 868px;
}

.location-map {
    position: relative;
    width: 378px;
    height: 378px;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1600px) {
    .apartments-page .container {
        padding: 0 100px;
    }
    
    .philosophy-content {
        grid-template-columns: 500px 1fr;
    }
    
    .location-content {
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .apartments-page .container {
        padding: 0 40px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .philosophy-image {
        height: 350px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-map {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .apartments-page .container {
        padding: 0 20px;
    }
    
    .about-hero .hero-content h1 {
        font-size: 36px;
        line-height: 46px;
    }
    
    .history-section h2,
    .values-section h2,
    .philosophy-text h2,
    .location-text h2 {
        font-size: 32px;
        line-height: 42px;
    }
    
    .value-icon {
        width: 130px;
        height: 130px;
    }
    
    .philosophy-image {
        height: 280px;
    }
    
    .location-map {
        width: 280px;
        height: 280px;
    }
}

