body {
    background-color: #fff9f2;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
}


h1, h3 {
    font-weight: 620; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #282828;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00BFA5;
    padding-bottom: 10px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}
.language-flags {
    display: flex;
    gap: 15px;
    align-items: center;
}

.flag-link {
    font-size: 1.2em;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s, border 0.3s;
    padding-bottom: 4px;
    border-top: 2px solid transparent;
}

.flag-link:hover {
    opacity: 1;
}

.flag-link.active {
    opacity: 1;
    border-top: 2px solid #00BFA5;
}

ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

a {
    color: #00BFA5;
    text-decoration: none;
}

#language-switcher {
    background: #282828;
    color: #00BFA5;
    border: 1px solid #00BFA5;
    padding: 5px;
    cursor: pointer;
}

.main-content {
    position: relative;
    width: 100%;
    left: 50%;
	background:#211c1c;
    transform: translateX(-50%);
    min-height: 600px; 
    
    padding: 0; 
	overflow: hidden;
}
:root {
    --bg-scale: 1280px; /* Tweak this % for fixed scale—higher = bigger, lower = smaller. Auto height keeps proportion */
}

.main-content::before {
    content: '';
    position: absolute;
	
    inset: 0; 
	background: url('img/bg1b.jpg') top center / var(--bg-scale) auto repeat-y;
    opacity: 0.3;
    z-index: -1; 
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px; 
    text-align: center;
    position: relative; 
    z-index: 1;
}

h1 {
    font-size: 3em;
    margin: 0;
}

.hero p {
    font-size: 1em;
    margin: 20px 0;
    color: #ccc;
}

.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; /* Centered with padding */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
	
	margin-bottom: 0;
}

/* Service cards stay the same, glass effect over the full bg now */
.service {
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    backdrop-filter: blur(2px);
	cursor: pointer;
	transition: background 0.3s, border 0.3s, transform 0.2s;
}
.service:hover {
    background: rgba(0, 0, 0, 0.3); /* Slight lighten/glow on hover */
    transform: translateY(-5px); /* Tiny lift for fun */
}
.service.active {
    border: 1px solid #00BFA5; /* Teal highlight for selected */
}
.details-panel {
    overflow: hidden;
    height: 0;
    opacity: 0;
    margin: 0 auto;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    backdrop-filter: blur(2px);
    border: 1px solid transparent;
    transition: height 0.5s ease, opacity 0.5s ease, margin 0.5s ease, border 0.3s;
}

.detail-inner {
    padding: 30px;
    text-align: center;
    color: #ccc;
    font-size: 1.1em;
}

.details-panel.active {
    opacity: 1;
    margin: 20px auto 40px;
    border: 1px solid #00BFA5;
}
.detail-inner {
    min-height: 0; /* Critical for grid fr to work */
}
.detail-content p {
    margin: 0;
    line-height: 1.6;
}

/* Icons scaling fine already, but bumped max-width a tad if your PNGs are chunky */
.service-icon {
    max-width: 100px; /* Auto-scales down nicely, keeps proportion */
    height: auto;
    display: block;
    margin: 0 auto 15px;
    object-fit: contain;
    filter: brightness(1.2);
}

.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #00BFA5;
}

h3 {
    margin: 10px 0;
    color: #fff;
}

.services p {
    color: #ccc;
    font-size: 0.9em;
}
.mid-section {
    padding: 40px 20px;
    text-align: center;
}

.mid-section ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mid-section a {
    display: block;
    min-width: 200px; /* Decent fixed-ish width, but grows if text is long */
    height: 50px;
    line-height: 50px; /* Vertically center text */
    padding: 0 30px; /* Generous horizontal */
    background: rgba(0, 191, 165, 0.8); /* Teal with 0.8 opacity */
    color: #fff;
    font-weight: 600; /* Bold-ish */
    text-decoration: none;
    border-radius: 1px; /* Harder edges */
    transition: background 0.3s;
}

.mid-section a:hover {
    background: rgba(0, 191, 165, 1); /* Full opacity on hover, feels clicky */
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    border-top: 1px solid #00BFA5;
}

.footer-section {
    width: 45%;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section p {
    margin: 5px 0;
    color: #ccc;
}

.cookie-footer {
    font-size: 0.8em;
    color: #999;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social a {
    font-size: 1.5em;
    color: #00BFA5;
}