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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #1a1a1a;
    color: #fff;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('pozadina.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: slideUp 1s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
}

/* Enhanced Main Title with Animated Gradient */
.h1 {
    background: linear-gradient(90deg, rgba(41, 32, 212, 1) 17%, rgba(90, 90, 199, 1) 33%, rgba(0, 212, 255, 1) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    position: relative;
    animation: gradientShift 3s ease infinite;
    filter: drop-shadow(0 0 20px rgba(87, 199, 133, 0.5));
}

/* Animated Gradient Movement */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Glowing Text Effect */
.h1::before {
    content: 'NOMAD ROOTS';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(90deg,
            rgba(159, 176, 5, 0.3) 0%,
            rgba(87, 199, 133, 0.3) 44%,
            rgba(83, 211, 237, 0.3) 88%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    opacity: 0.8;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        filter: blur(20px);
    }

    50% {
        opacity: 1;
        filter: blur(30px);
    }
}

/* Shimmer Effect on Hover */
.logo:hover .h1 {
    animation: gradientShift 1.5s ease infinite, shimmer 1s ease-in-out;
}

@keyframes shimmer {
    0% {
        filter: drop-shadow(0 0 20px rgba(87, 199, 133, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(83, 211, 237, 0.8));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(87, 199, 133, 0.5));
    }
}

/* Enhanced Tagline */
.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow:
        0 0 10px rgba(83, 211, 237, 0.5),
        0 0 20px rgba(83, 211, 237, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
    animation: fadeIn 1s ease-in 0.8s both;
}

/* Enhanced CTA Button */
.cta-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(90deg,
            rgba(41, 32, 212, 1) 0%,
            rgba(90, 90, 199, 1) 50%,
            rgba(0, 212, 255, 1) 100%);
    color: white;
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow:
        0 5px 15px rgba(90, 90, 199, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(0, 212, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 212, 255, 1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-indicator::before {
    content: '▼';
    font-size: 2rem;
    color: #4ecdc4;
    opacity: 0.7;
}

.slideshow-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    background: #2920d4;
    background: linear-gradient(90deg, rgba(41, 32, 212, 1) 17%, rgba(90, 90, 199, 1) 33%, rgba(0, 212, 255, 1) 100%);
    background-clip: text;
    animation: fadeIn 1s ease-in;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.slide {
    display: none;
    animation: fadeSlide 0.8s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

@keyframes slideUpCaption {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 20px 15px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-nav:hover {
    background: rgba(78, 205, 196, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slide-prev {
    left: 0;
    border-radius: 0 10px 10px 0;
}

.slide-next {
    right: 0;
    border-radius: 10px 0 0 10px;
}

.slide-dots {
    text-align: center;
    padding: 30px 0;
}

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

.dot.active {
    background: linear-gradient(135deg, rgba(41, 32, 212, 1) 17%, rgba(90, 90, 199, 1) 33%);
    transform: scale(1.3);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.description-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
}

.description-container {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in;
}

.description-box {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 53, 0.1));
    padding: 50px;
    border-radius: 20px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    transition: all 0.4s ease;
}

.description-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(78, 205, 196, 0.3);
}

.description-box h3 {
    font-size: 2rem;
    color: #4ecdc4;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.description-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(41, 32, 212, 1) 17%, rgba(90, 90, 199, 1) 33%);
}

.description-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 15px;
}

footer {
    display: flex;
    justify-content: center;
}

h2 {
    font-size: 2rem;
    color: hsl(0, 0%, 100%);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .h1 {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .slide img {
        height: 400px;
    }

    .slide-caption h3 {
        font-size: 1.5rem;
    }

    .slide-caption p {
        font-size: 1rem;
    }

    .description-box {
        padding: 30px;
    }

    .description-box h3 {
        font-size: 1.5rem;
    }

    .description-box p {
        font-size: 1rem;
    }
}