/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    position: relative;
}

/* --- Header --- */
header {
    background: #2c3e50;
    color: white;
    padding: 0.5rem 0; /* Adjust padding as needed */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* REMOVE padding-left */
}

.header-content {
    max-width: 1200px; /* Or your desired max width */
    margin: 0 auto; /* Center the content container */
    display: flex;
    justify-content: space-between; /* Pushes title left, info right */
    align-items: center;
    padding: 0 1rem; /* Padding inside the centered container */
}

/* --- Styling for the info moved into the header --- */
#header-info {
    text-align: right; /* Align text to the right */
    padding: 0; /* Adjust as needed */
    margin-right: 20px;
    font-size: 0.85em; /* Slightly smaller font */
}

#header-info p {
    margin: 0; /* Remove default paragraph margins */
    line-height: 1.3; /* Adjust line height */
}

#header-info span {
    font-weight: normal; /* Maybe not bold inside header? Optional */
    /* color: #ccc; */ /* Lighter color? Optional */
}

h1 {
    font-size: 2rem;
    font-weight: 600;
}

.lang-toggle {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lang-toggle:hover {
    background: #2980b9;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.kelpie-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.kelpie-image:hover {
    transform: scale(1.05);
}

.kelpie-image.hidden {
    opacity: 0;
}

.bio {
    flex: 2;
    min-width: 300px;
}

.bio p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bio a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bio a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.social-links {
    margin-top: 1rem;
}

.social-links p {
    display: inline;
    margin-right: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #3498db;
}

/* Visitor Info */
.visitor-info {
    background: white;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.visitor-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.visitor-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .kelpie-image {
        max-width: 80%;
    }
}

/* Language Selector (Google Translate) */
.lang-selector {
    display: inline-block;
}

#google_translate_element select {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

#google_translate_element select:hover {
    background: #2980b9;
}

/* Hide unnecessary Google Translate elements */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Ensure translated text fits layout */
.goog-te-combo, .goog-te-gadget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}
