/* Path: /assets/css/global.css */
/* Purpose: Global styles used across all pages */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1e1e;
  color: #f4f4f4;
  line-height: 1.6;
}

a {
  color: #E1B929;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header.site-header {
  background-color: #391047;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #E1B929;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #fff;
  font-weight: 500;
}

.main-nav a:hover {
  color: #E1B929;
}

/* Hamburger menu (mobile) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #391047;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  body.menu-open .main-nav {
    display: flex;
  }

  header.site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav a {
    padding: 0.5rem 1rem;
  }
}

/* Buttons */
button,
.cta-btn,
.btn {
  display: inline-block;
  background-color: #E1B929;
  color: #000;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

button:hover,
.cta-btn:hover,
.btn:hover {
  background-color: #fff;
  color: #391047;
  border: 2px solid #391047;
}

/* Forms */
form {
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  background-color: #292727;
  padding: 2rem;
  border-radius: 8px;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1.2rem;
  border: 1px solid #999;
  border-radius: 6px;
  background-color: #fff;
  color: #000;
}

form input:focus,
form textarea:focus {
  border-color: #2180A2;
  outline: none;
}

form button {
  width: 100%;
}

/* Sections */
section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  background: #f6faff;
  color: #21212b;
  font-size: 1.12rem;
  margin-top: 3rem;
  border-top: 2px solid #ded7ed;
  letter-spacing: 0.01em;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.1rem 1rem 1.1rem;
  gap: 2rem;
}
.footer-left, .footer-center, .footer-right {
  min-width: 220px;
  flex: 1 1 220px;
}
.footer-left h4,
.footer-center h5,
.footer-right h5 {
  color: #391047;
  font-size: 1.17rem;
  margin-bottom: 0.7em;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.footer-left p, .footer-left a, .footer-center, .footer-right {
  color: #232337;
  font-size: 1.09rem;
  line-height: 1.7;
}
.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-center ul li {
  margin-bottom: 0.53em;
}
.footer-center ul li a {
  color: #2180A2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
}
.footer-center ul li a:hover,
.footer-center ul li a:focus {
  color: #E1B929;
  text-decoration: underline;
  background: #fffbe5;
  border-radius: 0.18em;
  outline: none;
}
.footer-left a,
.footer-right a {
  color: #391047;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-left a:hover,
.footer-right a:hover,
.footer-left a:focus,
.footer-right a:focus {
  color: #E1B929;
  background: #fffbe5;
  outline: none;
}
.footer-right svg {
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 2px;
  fill: #391047;
  transition: fill 0.14s;
}
.footer-right a:hover svg,
.footer-right a:focus svg {
  fill: #E1B929;
}
.footer-bottom {
  text-align: center;
  font-size: 1.01rem;
  color: #55576c;
  margin-top: 2.2rem;
  padding-bottom: 1.1rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}

@media (max-width: 850px) {
  .footer-content {
    flex-direction: column;
    gap: 1.3rem;
    align-items: flex-start;
  }
  .footer-left, .footer-center, .footer-right {
    width: 100%;
    min-width: unset;
  }
}
