/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../webfonts/roboto-v49-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/roboto-v49-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/roboto-v49-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/roboto-v49-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* merriweather-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;
  src: url('../webfonts/merriweather-v33-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/merriweather-v33-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/merriweather-v33-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --primary-blue: #1a365d;
    --primary-red: #c53030;
    --primary-brown: #8b4513;
    --light-gray: #f8f9fa;
    --dark-gray: #212529;
    --wdi-blue: #2c5aa0;
    --wdi-red: #c1272d;
    --wdi-brown: #8b5a2b;
    --wdi-light-blue: #e6f0fa;
    --wdi-cream: #f8f5f0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--primary-blue) !important;
}

.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    margin-right: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
}

.hero-section {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(139, 69, 19, 0.8) 100%), url('https://placehold.co/1920x600/1a365d/ffffff?text=WDI ∞ Institut') no-repeat center center/cover;
    color: white;
    padding: 75px 0 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #a02727;
    border-color: #a02727;
}

.section-title {
    color: var(--primary-blue);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.research-highlight {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-brown);
}

.team-member h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--primary-brown);
    font-style: italic;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-brown) 100%);
    color: white;
    padding: 60px 0;
}

.contact-section h2 {
    color: white;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    color: var(--primary-red);
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 40px 0;
}

.footer a {
    color: var(--primary-red);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-brown);
}

/* Custom Bootstrap overrides */
.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: white;
}

.seminar-card {
    background: var(--wdi-cream);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.seminar-card:hover {
    transform: translateY(-5px);
}

.seminar-image {
    height: 200px;
    background: linear-gradient(45deg, var(--wdi-blue), var(--wdi-red));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.seminar-content {
    padding: 25px;
}

.seminar-date {
    color: var(--wdi-brown);
    font-weight: 600;
    margin-bottom: 10px;
}

#foerderer label:has(+ div > input:required):after,
#foerderer label:has(+ div > select:required):after {
    content: ' *';
    color: red;
}

#memberUNavi hr {
    margin: 0;
}