/* Base Styles & Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* --- Header Section (Headline and Image) --- */

.responsive-header {
    background-color: #c2c2c2; /*  background */
    color: white;
    padding: 10px;
    display: flex; /* Enable Flexbox for layout */
    /* align-items: center; /* Vertically align items */ */
    border-bottom: 5px solid #ff99ff; /*  accent line */
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.headline {
    margin: 0;
    font-size: 2em;
    /* Allows the headline to take up available space, but not push the image off */
    /* flex-grow: 1; */
    min-width: 15%;  Ensure it has enough space on one line */
	
}

/* Image Styling */
.image-content {
    /* Fixed size for image area */
    width: 250px; 
    height: 250px;
    background-color: #e74c3c; /* Red background for placeholder visual */
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0; /* Prevents the image from shrinking initially */
    margin-left: 0;
	
	display: block;
}

.header-image {
    /* For a real image, this ensures it fills the placeholder */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Main Content Section (Sub-headline and Links) --- */

.contact-me{
  display: inline;
  margin: 0;
  padding: 0;
  margin-left: 0;
  padding-left: 15px;
}

.main-content {
    max-width: 900px;
    margin: 30px auto; /* Center the div and add top/bottom margin */
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sub-headline {
    color: black;
    text-align: center;
    margin-top: 0;
    border-bottom: 2px dashed #bdc3c7;
    padding-bottom: 10px;
}

.intro-text {
    color: #2c3e50;
    text-align: left;
    margin-top: 40px;
	margin-left: 50px;
    width: 400px;
    padding-bottom: 10px;
}

.links-container {
    display: flex; /* Arrange links side-by-side */
    gap: 20px; /* Space between links */
    justify-content: center; /* Center the links within the container */
    padding: 15px 0;
}

.site-linkFH {
    text-decoration: none;
    color: white;
    background-color: #8f84b8; /* Button background */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    flex-basis: 40%; /* Each link takes up 40% of the container width */
    text-align: center;
}

.site-linkTrip {
    text-decoration: none;
    color: white;
    background-color: #7d7d7d; /* Button background */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    flex-basis: 40%; /* Each link takes up 40% of the container width */
    text-align: center;
}

.site-link:hover {
    background-color: #2980b9; /* Darker blue on hover */
}

/* --- RESPONSIVE DESIGN: Mobile Screens (e.g., less than 600px) --- */

@media (max-width: 600px) {
    
    /* Header: Stack headline and image vertically */
    .responsive-header {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
        padding-top: 30px; /* Add more vertical space when stacked */
    }

    .headline {
        font-size: 1.8em;
        margin-bottom: 15px; /* Space below headline when stacked */
        min-width: 100%; /* Take full width */
    }

    .image-content {
        margin: 15px auto 0; /* Center the image and space it out */
        width: 100px; /* Make it a little smaller on mobile */
        height: 100px;
    }

    /* Links: Stack links vertically on mobile */
    .links-container {
        flex-direction: column; /* Stack links */
        gap: 10px; /* Reduce gap */
    }

    .site-link {
        flex-basis: auto; /* Allow links to take full width */
    }
}