@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

:root {
    --background: #fff;
    --foreground: #111;
    --accent: #111;
    --text: #111;
    --muted: #444;
    --border: #e5e5e5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Playfair Display', serif;
    background: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    letter-spacing: 0.01em;
    font-size: 1.1rem;
}

/* About Page Specific Styles */
.about-hero {
    position: relative;
    height: 60vh;
    background-image: url('../images/about/about1-zurich-lake.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 4.5rem; /* Account for fixed navbar */
    margin-bottom: 4rem;
}

/* Update the about-grid to create a full-width container */
.about-section {
    width: 100%;
    overflow: hidden; /* Prevents horizontal scrolling */
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.about-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 50%;
    gap: 5rem;
    max-width: 100%;
    margin: 0;
    padding: 3rem 0 3rem 6rem; 
    position: relative;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 0 0 5rem;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 2rem 0 1.5rem;
    color: #111;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 4rem;
    font-style: italic;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 600px; /* Adjust as needed */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area */
    border-radius: 0; /* Remove border radius for edge-to-edge look */
    box-shadow: none; /* Remove shadow for cleaner edge */
}

/* .profile-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
} */

/* Footer */
footer {
    background-color: #f8f8f8;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
}

footer p {
    margin: 0;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .about-content h1 {
        font-size: 3rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .about-hero {
        height: 70vh;
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding: 4rem 2rem;
        margin-right: 0;
    }
    
    .about-image {
        min-height: 400px;
    }
}