:root {
    --color-sun: #FFC300;
    --color-sky: #007BFF;
    --color-green: #28A745;
    --color-dark: #343A40;
    --color-light: #F8F9FA;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--color-dark);
    
    background-color: #ffffff;
    background-image: url('images/background/Smart-Grid-City.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0;
    background-color: #ffffff; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

header {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.95) 0%, rgba(0, 86, 179, 0.95) 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    overflow: hidden;
    box-sizing: border-box;
    min-height: 150px;
}
.header-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}
.adliswil-logo-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background-color: transparent; 
}
.adliswil-logo-container img {
    height: 50%;
    max-height: 70px;
    width: auto;
    display: block;
    border-radius: 5px;
}
header > * {
    position: relative;
    z-index: 2;
}
header h1 {
    font-size: 3em;
    margin-bottom: 5px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
header .subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-top: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.date-location-box {
    background-color: var(--color-sun);
    color: var(--color-dark);
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.content {
    padding: 30px 50px 50px 50px;
}
.section {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    background-color: #ffffff; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.section:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h2 {
    color: var(--color-sky);
    font-size: 1.8em;
    border-bottom: 3px solid var(--color-sun);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}
ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--color-dark);
}
ul li:before {
    content: "💡";
    font-size: 1.2em;
    color: var(--color-sun);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.discussion ul li, .moderation ul li {
    padding-left: 0;
    font-weight: bold;
    border-left: 3px solid var(--color-green);
    padding-left: 15px;
}
.discussion ul li:before, .moderation ul li:before {
    content: "";
}

.speakers ul li {
    font-weight: 500;
}

.audience p {
    font-style: italic;
    color: #6c757d;
    border: 1px dashed var(--color-sun);
    padding: 15px;
    border-radius: 6px;
}

.image-section {
    padding: 0;
    margin-bottom: 40px;
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    text-align: center;
}
.image-section img {
    width: 100%;
    height: auto; 
    max-height: 400px;
    display: block;
    border-radius: 0 0 8px 8px;
    object-fit: cover; 
    margin: 0 auto;
}
.image-section h3 {
    position: static; 
    width: auto;
    text-align: left;
    color: var(--color-dark); 
    font-size: 1.4em;
    margin: 0;
    padding: 10px 15px;
    background-color: var(--color-light);
    border-radius: 8px 8px 0 0;
    text-shadow: none;
    z-index: 10;
}

.partners {
    text-align: center;
    background-color: #f3f9ff; 
    padding: 30px 20px;
}
.partners h2 {
    color: var(--color-sky);
    border-bottom: 3px solid var(--color-sky);
}
.partners .logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}
.partners a {
    display: block;
}
.partners img {
    height: 50px;
    width: auto;
    max-width: 150px;
    opacity: 0.7;
    filter: grayscale(10%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.partners img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 5px solid var(--color-sun);
    font-size: 1em;
    background-color: var(--color-dark);
    color: var(--color-light);
}
footer a {
    color: var(--color-sun);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
footer a:hover {
    color: white;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}
.faq-item:hover {
    background-color: var(--color-light);
}
.faq-question {
    display: block;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-dark);
    user-select: none;
}
.faq-item summary {
    list-style: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 15px 15px 15px;
    border-top: 1px solid #eee;
}
.faq-answer ul {
    list-style-type: disc;
    padding-left: 20px;
}
.faq-answer ul li {
    margin-bottom: 5px;
    padding-left: 0; 
    position: static; 
    color: var(--color-dark);
}
.faq-answer ul li:before {
    content: none;
}

@media (max-width: 600px) {
    body {
        margin: 0;
        padding: 0;
    }
    .container {
        width: 100%;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
    }
    header {
        padding: 30px 10px 30px 10px;
    }
    .content {
        padding: 15px 15px 30px 15px;
    }
    .section {
        padding: 20px;
        border-radius: 0;
    }
    .image-section {
        box-shadow: none;
        border-radius: 0;
    }
    .image-section img {
        border-radius: 0;
    }
    .image-section h3 {
        padding: 10px 15px;
        border-radius: 0;
    }
    .adliswil-logo-container {
        top: 10px;
        left: 10px;
    }
    header h1 {
        font-size: 2em;
    }
    header .subtitle {
        font-size: 1.1em;
    }
    .faq-item {
        border-radius: 0;
    }
}