/* ============================================
   LANDING PAGE STYLES
   ============================================ */

/* Landing Page Container */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100%;
}

.landing-main {
    flex: 1;
    padding-top: 76px; /* Space for fixed navbar */
    overflow-x: hidden;
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */
.landing-header .navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.landing-header .navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.landing-header .navbar-brand:hover {
    transform: scale(1.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 600px;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-image {
    height: 600px;
    object-fit: cover;
    filter: brightness(0.6);
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 182, 148, 0.85) 0%, rgba(15, 20, 25, 0.85) 100%);
    z-index: 1;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 2rem;
    overflow: hidden;
}

/* Hero Logo Block - Wit blok links */
.hero-logo-block {
    padding: 3rem 2rem;
    animation: fadeInLeft 0.8s ease-out;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-logo-img {
    max-width: 350px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-logo-block i {
    display: block;
}

.hero-logo-block h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.hero-logo-block p {
    font-size: 0.95rem;
}

/* Hero Content Block - Rechts */
.hero-content-block {
    animation: fadeInRight 0.8s ease-out 0.2s both;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-content-block h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    font-size: 2.75rem;
    line-height: 1.2;
    word-wrap: break-word;
}

.hero-content-block p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    font-size: 1.15rem;
    max-width: 600px;
    word-wrap: break-word;
}

.hero-content-block .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-content-block .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 182, 148, 0.8);
    border-radius: 50%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators button.active {
    background-color: var(--ct-primary);
}

/* ============================================
   TOURNAMENT TYPES CARDS
   ============================================ */
.tournament-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tournament-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 182, 148, 0.2) !important;
}

.tournament-type-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f8f5 0%, #d1f2eb 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tournament-type-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--ct-primary) 0%, #16a085 100%);
}

.tournament-type-card:hover .icon-wrapper i {
    color: white !important;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-step {
    position: relative;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.how-it-works-step:hover {
    transform: translateY(-10px);
}

.step-number {
    transition: transform 0.3s ease;
}

.how-it-works-step:hover .step-number {
    transform: scale(1.1);
}

.step-number .badge {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 182, 148, 0.3);
}

/* ============================================
   STATS CARDS
   ============================================ */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 182, 148, 0.2) !important;
}

.stat-card h3 {
    font-size: 2.5rem;
}

/* ============================================
   ABOUT IMAGE
   ============================================ */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--ct-primary);
    border-radius: 8px;
    z-index: -1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--ct-primary) 0%, #16a085 100%);
    box-shadow: 0 -4px 20px rgba(0, 182, 148, 0.2);
}

.cta-section .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    margin-top: auto;
}

.landing-footer a {
    transition: all 0.3s ease;
}

.landing-footer a:hover {
    color: var(--ct-primary) !important;
    transform: translateX(5px);
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--ct-primary) !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-image {
        height: 500px;
    }

    .carousel-caption-custom {
        padding: 1.5rem;
    }

    .hero-logo-block {
        min-height: auto;
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-logo-img {
        max-width: 100px;
    }

    .hero-logo-block h3 {
        font-size: 1.5rem;
    }

    .hero-logo-block p {
        font-size: 0.875rem;
    }

    .hero-logo-block i {
        font-size: 3rem !important;
    }

    .hero-content-block h1 {
        font-size: 2rem;
    }

    .hero-content-block p {
        font-size: 1rem;
    }

    .about-image-wrapper::before {
        display: none;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .landing-main {
        padding-top: 70px;
    }

    .hero-section {
        min-height: 450px;
        overflow: hidden;
    }

    .hero-image {
        height: 450px;
    }

    .carousel-caption-custom {
        padding: 1rem;
        width: 100%;
        overflow: hidden;
    }

    .hero-logo-block {
        padding: 1.5rem 1rem;
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }

    .hero-logo-img {
        max-width: 80px;
    }

    .hero-logo-block h3 {
        font-size: 1.25rem;
        word-wrap: break-word;
    }

    .hero-content-block {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-content-block h1 {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .hero-content-block p {
        font-size: 0.95rem;
        word-wrap: break-word;
        max-width: 100%;
    }

    .hero-content-block .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    .step-number .badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .landing-header .navbar-brand {
        font-size: 1.2rem;
    }

    .landing-header .navbar-brand img {
        height: 30px;
    }
}

/* ============================================
   SCROLL ANIMATIONS (Optional Enhancement)
   ============================================ */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
