/* ===============================
   ACACIA THEME - HOME PAGE CLEANED
   =============================== */

/* ===== BODY ===== */
body.home-page {
  background: radial-gradient(circle at top, #0a1a33 0%, #000814 100%);
  color: #0a1a33;
  font-family: 'Georgia', serif;
  text-align: center;
  margin: 0;
  padding: 40px 0;
}

/* ===== HOME CONTAINER ===== */
.home-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
  display: inline-block;
  padding: 40px 60px;
  max-width: 500px;
  width: 90%;
  animation: panel-breathe 6s ease-in-out infinite;
}

/* ===== LOGO HOME ===== */
.home-logo {
  width: 180px;
  margin-bottom: 20px;
  animation: logo-glow 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

/* ===== TITLU & TEXT ===== */
.home-container h1 {
  color: #001a33;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.home-container p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 25px;
}

/* ===== BUTOANE ===== */
.home-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.home-btn {
  display: block;
  text-decoration: none;
  background-color: #c9a441;
  color: #111;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Georgia', serif;
}

.home-btn:hover {
  background-color: #b69137;
  transform: translateY(-2px);
}

/* ===== LOGOUT BUTTON ===== */
.logout-btn {
  background-color: #001f3f;
  color: white;
}

.logout-btn:hover {
  background-color: #00152c;
}

/* ===== SHORTCUTS ICONS ACASA ===== */
.acacia-shortcuts {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 50px 0;
  background-color: #001833;
}

.acacia-shortcuts .shortcut {
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.acacia-shortcuts .shortcut:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

.acacia-shortcuts img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 3px rgba(201, 164, 78, 0.4));
}

.acacia-shortcuts p {
  color: #ffffff;
  font-family: "Georgia", serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== ICONIȚE HOME ===== */
.home-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.icon-item {
  text-align: center;
}

.icon-item img {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
  filter: brightness(0) invert(80%) sepia(20%) hue-rotate(20deg) saturate(200%);
  transition: transform 0.3s ease;
}

.icon-item img:hover {
  transform: scale(1.1);
}

.icon-item p {
  color: #c9a441;
  font-weight: 600;
  margin: 0;
}

/* ===== SEARCH BAR ===== */
.search-section {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.search-form {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 5px 10px;
}

.search-field {
  width: 280px;
  padding: 10px 15px;
  border: none;
  border-radius: 40px 0 0 40px;
  outline: none;
  font-size: 16px;
  background: rgba(255,255,255,0.9);
  color: #001f3f;
}

.search-field::placeholder {
  color: #555;
}

.search-button {
  background-color: #c9a441;
  color: #001f3f;
  font-weight: bold;
  border: none;
  border-radius: 0 40px 40px 0;
  padding: 10px 20px;
  cursor: pointer;
}

.search-button:hover {
  background-color: #b69137;
  color: #fff;
}

/* ===== DESPRE NOI ===== */
.about-section {
  width: 100%;
  background-color: #f6f1e7;
  padding: 80px 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.despre-container {
  max-width: 850px;
  padding: 0 30px;
  color: #001833;
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
}

.despre-container h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2em;
  color: #001833;
}

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  text-align: center;
  background-color: #001f3f;
  color: #c9a441;
  padding: 30px 0;
  border-top: 3px solid rgba(201,164,65,0.3);
}

.site-footer div {
  font-size: 16px;
  letter-spacing: 0.4px;
}
/* ===== FOOTER REAL ===== */
.site-footer {
    width: 100%;
    text-align: center;
    background-color: #001f3f;
    color: #c9a441;
    padding: 25px 0;
    margin-top: 0;
    border-top: 3px solid rgba(201,164,65,0.3);
    position: relative;
    bottom: 0;
    z-index: 10;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* === Pagina Calendar Tinute === */

.calendar-section {
    padding: 60px 20px;
    background-color: #032040;
    color: #e0d8b0; /* auriu deschis */
}

.calendar-container {
    max-width: 900px;
    margin: 0 auto;
}

.calendar-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #e6c67a;
}

.tinuta-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #c9a441;
    border-radius: 6px;
}

.tinuta-date {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffd47a;
}

.tinuta-info p {
    margin: 5px 0;
    color: #f7f7f7;
}

.no-events {
    text-align: center;
    font-size: 20px;
    color: #ccc;
}

/* === CALENDAR TINUTE — DESIGN PREMIUM === */

.calendar-section {
    padding: 50px 20px;
    background: #00203a; /* bleu închis */
    color: #d4b473; /* auriu */
}

.calendar-container {
    max-width: 850px;
    margin: auto;
}

.calendar-title {
    font-size: 36px;
    text-align: center;
    color: #d4b473;
    margin-bottom: 40px;
    font-weight: 600;
}

/* === Item de tinuta === */
.tinuta-item {
    border: 1px solid rgba(212, 180, 115, 0.35); /* auriu 35% */
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.2s ease-in-out;
}

.tinuta-item:hover {
    transform: translateY(-3px);
    border-color: #d4b473;
}

/* === Data === */
.tinuta-date {
    font-size: 22px;
    font-weight: 600;
    color: #ffd88a; /* aur intens */
    margin-bottom: 10px;
}

/* === Textele === */
.tinuta-text {
    font-size: 18px;
}

.tinuta-text p {
    margin: 4px 0;
    font-weight: 300;
}

.tinuta-text span {
    color: #ecd49a; /* auriu deschis */
    font-weight: 500;
}

.no-events {
    color: #d4b473;
    text-align: center;
    font-size: 20px;
    margin-top: 60px;
}
/* ---- CALENDAR TINUTE ---- */

.calendar-section {
    padding: 40px 60px;
}

.calendar-title {
    color: #c9a441; /* auriu */
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 600;
}

.calendar-container {
    max-width: 900px;
    margin: auto;
}

.tinuta-item {
    background: rgba(201, 164, 65, 0.05); /* un auriu transparent */
    border-left: 3px solid #c9a441;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
}

.tinuta-date {
    font-size: 22px;
    color: #c9a441;
    font-weight: 700;
    margin-bottom: 10px;
}

.tinuta-item p {
    color: #c9a441;
    font-size: 18px;
    margin: 4px 0;
}

.tinuta-item span {
    font-weight: 700;
    color: #c9a441;
}

.no-events {
    color: #c9a441;
    font-size: 20px;
    text-align: center;
}
/* ===== CARD MEMBRI ===== */
.um-member-card {
    background-color: #001f3f !important; /* albastru închis */
    border: 1px solid #c9a441 !important; /* auriu */
    border-radius: 12px !important;
    padding: 20px !important;
    text-align: center;
    color: #c9a441 !important;
}

/* Poza membrului */
.um-member-card .um-member-photo img {
    border-radius: 50% !important;
    border: 3px solid #c9a441 !important;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Nume */
.um-member-card .um-member-name a {
    color: #c9a441 !important;
    font-size: 1.4rem;
    font-weight: bold;
}

/* Extra fields (Grad, Data admiterii, Funcție) */
.um-member-card .um-member-meta {
    margin-top: 10px;
    color: #c9a441 !important;
    font-size: 1rem;
    line-height: 1.2rem;
}

/* Buton Profil */
.um-member-card a.um-view-profile {
    background-color: #c9a441 !important;
    color: #001f3f !important;
    padding: 8px 16px;
    border-radius: 6px;
    margin-top: 12px;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
}

.um-member-card a.um-view-profile:hover {
    background-color: #b69137 !important;
}
.membri-section {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 20px;
    color: #fff;
}

.membri-section h1 {
    text-align: center;
    font-size: 2.2em;
    color: #c9a441;
    margin-bottom: 40px;
}

.membru-card {
    display: flex;
    gap: 25px;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #c9a441;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    align-items: center;
}

.membru-avatar {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #c9a441;
}

.membru-info h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.4em;
}

.membru-info p {
    margin: 4px 0;
    color: #c9a441;
    font-size: 1em;
}
.membri-section {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 20px;
    color: #fff;
}
.membri-section h1 {
    text-align: center;
    font-size: 2.2em;
    color: #c9a441;
    margin-bottom: 40px;
}
.membru-card {
    display: flex;
    gap: 25px;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #c9a441;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    align-items: center;
}
.membru-avatar {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #c9a441;
}
.membru-info h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.4em;
}
.membru-info p {
    margin: 4px 0;
    color: #c9a441;
    font-size: 1em;
}
/* === OPTIMIZARE HERO HOME === */
.hero-section {
    padding-top: 60px !important;     /* redus de la 140px */
    padding-bottom: 40px !important;  /* adăugat ca să strângem spațiul */
}

.hero-section h1 {
    font-size: 3rem !important;       /* era ~5rem, acum micșorăm */
    line-height: 1.2;
    margin-bottom: 20px;
}
/* ===== HERO SECTION – VARIANTA COMPACTĂ ===== */
.hero-section {
    padding-top: 30px !important;   /* micșorăm la jumătate */
    padding-bottom: 20px !important; /* scurtăm partea de jos */
}

/* Titlul mare */
.hero-section h1 {
    font-size: 2.3rem !important;   /* înainte era ~5rem → acum mult mai mic */
    line-height: 1.2 !important;
    margin: 0 auto 15px auto !important;
    max-width: 80%;
    text-align: center;
}
/* ===== HERO SECTION — TITLU MIC ===== */
.hero-section h1 {
    font-size: 1.2rem !important;   /* jumătate din cât era */
    line-height: 1.1 !important;
    margin: 10px auto 10px auto !important;
    max-width: 70%;
    text-align: center;
}

/* Micșorăm și paddingul total */
.hero-section {
    padding-top: 15px !important;   /* foarte compact */
    padding-bottom: 10px !important;
}
/* Reducere masivă a spațiului din hero section */
.hero-section {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
    min-height: unset !important;
    height: auto !important;
}
/* Reducere masivă a spațiului din hero section */
.hero-section {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
    min-height: unset !important;
    height: auto !important;
}
.hero-section {
    padding-top: 40px !important; /* ridică tot blocul mai sus */
}
.hero-section h1 {
    display: block;
    white-space: nowrap; /* NU permite text pe două rânduri */
    text-align: center;
    font-size: 32px; /* poți modifica dacă vrei mai mare/mic */
}
@media (max-width: 768px) {
    .hero-section h1 {
        white-space: normal; /* permite 2 rânduri pe mobil */
        font-size: 22px;
    }
}
.hero-section h1 {
    font-size: 42px; /* poți ajusta după gust */
    line-height: 1.2;
    white-space: nowrap !important; /* un singur rând */
    margin-top: 40px !important; /* ridică textul */
}

.hero-section {
    padding-top: 10px !important;  /* micșorează spațiul de sus */
    padding-bottom: 40px !important; /* micșorează spațiul de jos */
}
/* Vizibilitate text captcha */
.um-field-captcha .um-field-error,
.um-field-captcha .um-field-label,
.um-field-captcha {
    color: #001f3f !important;  /* albastru închis, vizibil */
}

/* Corectăm background container */
.um-field-captcha {
    background: transparent !important;
}

/* Stil pentru checkbox */
.um-field-captcha input[type="checkbox"] {
    width: 24px;
    height: 24px;
    border: 2px solid #001f3f;
    background: #ffffff !important;
}

/* Fix text mic vizibil pe mobil */
@media (max-width: 480px) {
    .um-field-captcha .um-field-label,
    .um-field-captcha .um-field-error {
        font-size: 16px !important;
        color: #001f3f !important;
    }
}
/* Container captcha custom */
.captcha-wrapper {
    color: #001f3f !important;       /* Text albastru închis */
    background: transparent !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
}

/* Text captcha */
.captcha-wrapper label {
    color: #001f3f !important;
    font-size: 16px !important;
    font-weight: 600;
}

/* Checkbox vizibil */
.captcha-wrapper input[type="checkbox"] {
    width: 24px !important;
    height: 24px !important;
    border: 2px solid #001f3f !important;
    background: #fff !important;
    appearance: auto !important;
}

/* Corecții speciale pentru mobil */
@media (max-width: 480px) {
    .captcha-wrapper label {
        font-size: 18px !important;
        line-height: 1.3;
    }
}
/* Hide normal menu on mobile */
@media (max-width: 768px) {
    .top-nav ul {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        position: absolute;
        right: 20px;
        top: 20px;
        cursor: pointer;
        z-index: 9999;
    }

    .mobile-menu-toggle span {
        display: block;
        height: 4px;
        background: #c9a441; /* GOLD */
        border-radius: 10px;
    }

    /* Mobile menu hidden state */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        background: #001f3f; /* blue */
        padding: 80px 20px;
        z-index: 9998;
    }

    /* Items style */
    .mobile-menu-items {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .mobile-menu-items li {
        margin-bottom: 18px;
    }

    .mobile-menu-items a {
        color: #c9a441; /* GOLD */
        font-size: 20px;
        text-decoration: none;
        font-weight: bold;
    }
}
/* Hide normal menu on mobile */
@media (max-width: 768px) {
    .top-nav ul {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        position: absolute;
        right: 20px;
        top: 20px;
        cursor: pointer;
        z-index: 9999;
    }

    .mobile-menu-toggle span {
        display: block;
        height: 4px;
        background: #c9a441; /* GOLD */
        border-radius: 10px;
    }

    /* Mobile menu hidden state */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        background: #001f3f; /* blue */
        padding: 80px 20px;
        z-index: 9998;
    }

    /* Items style */
    .mobile-menu-items {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .mobile-menu-items li {
        margin-bottom: 18px;
    }

    .mobile-menu-items a {
        color: #c9a441; /* GOLD */
        font-size: 20px;
        text-decoration: none;
        font-weight: bold;
    }
}
/* Hide normal menu on mobile */
@media (max-width: 768px) {
    .top-nav ul {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        position: absolute;
        right: 20px;
        top: 20px;
        cursor: pointer;
        z-index: 9999;
    }

    .mobile-menu-toggle span {
        display: block;
        height: 4px;
        background: #c9a441; /* GOLD */
        border-radius: 10px;
    }

    /* Mobile menu hidden state */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        background: #001f3f; /* blue */
        padding: 80px 20px;
        z-index: 9998;
    }

    /* Items style */
    .mobile-menu-items {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .mobile-menu-items li {
        margin-bottom: 18px;
    }

    .mobile-menu-items a {
        color: #c9a441; /* GOLD */
        font-size: 20px;
        text-decoration: none;
        font-weight: bold;
    }
}
@media (max-width: 768px) {
    .hero-section {
        padding-top: 20px !important;
    }

    .hero-section h1 {
        font-size: 32px !important;
        line-height: 38px !important;
    }
}
@media (max-width: 768px) {
    .membru-card {
        flex-direction: column !important;
        text-align: center;
        padding: 20px !important;
    }

    .membru-card img {
        margin-bottom: 15px;
    }
}
@media (max-width: 768px) {
    .biblioteca-item {
        width: 100% !important;
        margin-bottom: 15px;
        font-size: 20px !important;
    }
}
.top-nav ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* Ascundem fallback menu generat accidental */
.top-nav ul li {
    display: inline-block;
}

/* Dacă fallback-ul apare pe stânga, ascunde-l */
.top-nav > ul:first-child {
    display: none !important;
}
/* ---- HEADER GENERAL ---- */
.header {
    width: 100%;
    background: #08315A;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---- LOGO ---- */
.header-logo img {
    height: 55px; /* mediu spre mic */
    width: auto;
}

/* ---- MENU DESKTOP ---- */
.header-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.header-menu ul li a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 18px;
    font-family: Arial, sans-serif;
    transition: 0.3s;
}

.header-menu ul li a:hover {
    color: #f5d787;
}

/* ---- MOBILE MENU ---- */
.menu-toggle {
    display: none;
    font-size: 32px;
    color: #D4AF37;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header-menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: #08315A;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .header-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
    }

    /* when menu active */
    .header-menu.active {
        display: block;
    }
}

