* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #fff;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

/* BUTTONS */
.btn-primary {
    background: #1e88e5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1565c0;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(30,136,229,0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: #fff;
    color: #000000;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(255,255,255,0.6);
}

.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}


.slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    image-rendering: auto;
    transform: translateZ(0);
}


/* overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* HERO TEXT */
.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-content span {
    color: #087529;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* BUTTON HOVER */
a.btn-primary.big {
    text-decoration: none;
    padding: 12px 32px;
    font-size: 16px;
    transition: all 0.3s ease;
}

a.btn-primary.big:hover {
    background: #1565c0;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(30,136,229,0.6);
}

/* ARROWS */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: white;
    cursor: pointer;
    z-index: 3;
    padding: 10px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.arrow:hover {
    background: rgba(0,0,0,0.7);
    transform: translateY(-50%) scale(1.1);
}

.arrow.left {
    left: 30px;
}

.arrow.right {
    right: 30px;
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #1e88e5;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.3);
}

/* ABOUT */
.about {
    display: flex;
    gap: 50px;
    padding: 80px 10%;
    align-items: center;
}

.about-image img {
    max-width: 500px;
    border-radius: 10px;
}

footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

/* SLIDE CAPTION - STANGA JOS */
.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 3;
    color: white;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(10px);
}

.slide-caption.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-caption h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.slide-caption p {
    font-size: 14px;
    opacity: 0.85;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

#authButtons span {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

#logoutBtn {
    background: #1e88e5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#logoutBtn:hover {
    background: #1565c0;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(30,136,229,0.6);
}


    /* animatii pagina */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.fade-out {
    opacity: 0;
    animation: fadeOut 0.8s forwards;
}
@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* pana aci */
/* toast ecran jos */

#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1000;
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-20px);
}