
:root {
    --primary-color: #d800a6;
    --bg-light: #f9f9fb;
    --text-dark: #222;
    --card-bg: #fff;
    --border-radius: 12px;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}
/* Header global */
.main-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-height: 48px;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    max-height: 36px;
  }
}


.logo:hover {
  transform: scale(1.05);
}

.user-info {
  margin-right: 1rem;
  color: #555;
  font-size: 0.95rem;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
}

/* Navigation */
.nav-collapse {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: #f8f9fa;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.nav-collapse a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background 0.2s;
  border-radius: 8px;
}

.nav-collapse a:hover {
  background: #e6e6e6;
}

/* Responsive burger mode */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-collapse {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-collapse.active {
    display: flex;
  }
}



main {
    padding: 2rem 1rem;
    margin-top: 120px;
}

section {
    background-color: var(--card-bg);
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #fff;
    color: var(--text-dark);
}

.button,
button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition);
    display: inline-block;
    width: 100%;
}

.button:hover,
button:hover {
    background-color: #a00080;
}

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

a:hover {
    text-decoration: underline;
}

footer {
    background: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    box-shadow: var(--shadow);
}

@media (min-width: 769px) {
    nav.nav-collapse {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}
