@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Raleway');
@import url('https://fonts.googleapis.com/css?family=Sora');
@import url('https://fonts.googleapis.com/css?family=Oswald');

* {
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  color: #000;
}

:root {
  --blue: #1f4a73;   /* kolor tekstu */
  --yellow: #f2b02a; /* kolor ramki */
  --bg: #ffffff;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------------- NAVIGATION ---------------- */

.main-nav {
  background: var(--yellow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 1.5em; /* POWIĘKSZONY PADDING WYSOKOSCI */
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.main-nav li {
  margin: 0 0.5em;
}

.main-nav a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  font-size: 1.1em;
  padding: 0.6em 1em;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
}

/* mobilne menu (schowane) */
.nav-left {
  display: flex;
  flex-direction: row; /* desktop */
  gap: 0.5em;
}


/* prawa część menu */
.nav-right {
  display: flex;
  align-items: center;
}

.login-button {
  background-color: #fff;
  border: 3px solid var(--yellow);
  border-radius: 12px;
  padding: 0.5em 1.2em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-button:hover {
  background-color: var(--yellow);
  color: #fff;
  transform: translateY(-2px);
}

/* Flagi */
.flag-icon {
  width: 40px;
  object-fit: cover;
  border: 1px solid var(--yellow);
  border-radius: 3px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.flag-icon:hover {
  transform: scale(1.15);
}

/* ---------------- HERO ---------------- */

.hero-header {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px; /* odsunięcie od menu */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/smlogo.png') center/cover no-repeat;
  filter: blur(6px);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2em 1em;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
}

.hero-title {
  font-family: Oswald, sans-serif;
  font-size: 3em;
  color: #fff;
  margin-bottom: 1em;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-button {
  font-family: Montserrat, sans-serif;
  font-size: 1.2em;
  color: var(--blue);
  background-color: #fff;
  padding: 0.6em 1.5em;
  border-radius: 12px;
  border: 3px solid var(--yellow);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: var(--yellow);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------------- CONTENT ---------------- */

.content-section {
  margin: 3em 1em;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5em;
}

.section-header {
  text-align: center;
  font-family: Sora, sans-serif;
  font-weight: normal;
  color: #333;
  font-size: 2em;
  margin-bottom: 1em;
}

.container-two {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: stretch;
}

.blue-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.blue-list li {
  color: var(--blue);
  border: 3px solid var(--yellow);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  font-weight: 600;
  line-height: 1.35;
}

.image-box {
  flex: 0 0 280px;
  border: 3px solid var(--yellow);
  border-radius: 14px;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------- FOOTER ---------------- */

.main-footer {
  background: var(--yellow);
  color: var(--blue);
  padding: 2em;
  font-weight: 600;
  margin-top: 3em;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
}

.footer-left {
  font-family: Oswald, sans-serif;
  font-size: 1.3em;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1em;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.8em;
}

.footer-nav img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.footer-nav a {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: left;
  font-size: 0.9em;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
    position: relative;
    min-height: 64px;
    height: 64px;
    overflow: visible;
  }

  .hamburger {
    display: block;
    z-index: 1010;
    position: absolute;
    left: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2em;
    color: var(--blue);
    cursor: pointer;
  }

  .nav-left {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    flex-direction: column;
    background: var(--yellow);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 1001;
  }

  .nav-left.show {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
  }

  .nav-left li {
    text-align: center;
    padding: 0.8em 0;
  }

  .nav-right {
    position: absolute;
    top: 50%;
    right: 0.5em;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    margin-left: 0;
    z-index: 1010;
  }
  .nav-right li {
    margin: 0;
  }
  .flag-icon {
    width: 20px;
    height: 14px;
    border: 0.5px solid var(--yellow);   /* mniej wyraźna ramka */
    border-radius: 0.5px;                /* mniej zaokrągleń */
    padding: 0;                          /* brak dodatkowego pola */
    background: none;
  }
  .login-button {
    font-size: 0.95em;
    padding: 0.4em 0.8em;
    border-radius: 8px;
  }

  .container-two {
    flex-direction: column;
    align-items: center;
  }

  .image-box {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-nav img {
    width: 50px;
    height: 50px;
  }
}
