/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 90px;
    width: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: -1px;
    margin-bottom: 0;
    line-height: 1.2;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.header-visits {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.header-visits i {
    margin-right: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

nav a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--secondary-color);
}

nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.mySlides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.mySlides.active-slide {
    opacity: 1;
    z-index: 2;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.slide-content.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    max-width: 900px;
    width: 90%;
    padding: 50px;
    background: rgba(10, 20, 10, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.mySlides.active-slide .slide-content.centered {
    animation: slideUpFade 1.2s ease-out forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    color: var(--white);
    font-weight: bold;
    font-size: 28px;
    transition: 0.4s ease;
    border-radius: 50%;
    user-select: none;
    background: rgba(30, 57, 28, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.prev:hover, .next:hover {
    background-color: rgba(30, 57, 28, 0.9);
    transform: scale(1.1);
}

.next { right: 30px; }
.prev { left: 30px; }

.dots-container {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    z-index: 100;
}

.dot {
    cursor: pointer;
    height: 18px;
    width: 18px;
    margin: 0 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease, transform 0.3s ease;
}

.dot:hover {
    background-color: var(--white);
    transform: scale(1.3);
}

.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

/* Layout Responsive */
@media (max-width: 1024px) {
    .menu-toggle { display: block; z-index: 1001; }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: 100vh;
        justify-content: center;
        text-align: center;
        padding: 30px 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.4s ease;
        z-index: 999;
    }

    nav ul.active { left: 0; }
    
    .slide-content h2 { font-size: 2.2rem; }
    .slide-content p { font-size: 1.1rem; }
    .slide-content.centered { padding: 30px; width: 95%; }
    
    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .next { right: 15px; }
    .prev { left: 15px; }
}

@media (max-width: 576px) {
    .slide-content h2 { font-size: 1.8rem; }
    .slide-content p { font-size: 1rem; }
    .logo h1 { font-size: 1.4rem; }
    .logo img { height: 70px; }
    .header-visits { font-size: 0.75rem; }
}
