﻿
.gt-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    margin: 20px auto;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    display: flex;
    width: 500%;
    height: 100%;
    animation: slideShow 15s infinite;
}

.carousel-slide {
    width: 20%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 40px;
}

/* All Slides - Same Pink to Orange Gradient */
.slide-1,
.slide-2,
.slide-3,
.slide-4,
.slide-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

    .slide-1::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
        opacity: 0.3;
    }

.gt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

    .gt-hero-content h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        animation: slideInFromLeft 1s ease-out;
    }

.gt-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    animation: slideInFromRight 1s ease-out 0.3s both;
}

.gt-cta-button {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    animation: bounceIn 1s ease-out 0.6s both;
}

    .gt-cta-button:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* Navigation Dots */
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.6);
}

    .nav-dot.active {
        background: rgba(255,255,255,0.9);
        transform: scale(1.2);
    }

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
}

    .carousel-arrow:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-arrow.prev {
        left: 20px;
    }

    .carousel-arrow.next {
        right: 20px;
    }

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255,255,255,0.8);
    animation: progressBar 15s infinite linear;
    z-index: 3;
}

/* Animations */
@keyframes slideShow {
    0%, 16% {
        transform: translateX(0);
    }

    20%, 36% {
        transform: translateX(-20%);
    }

    40%, 56% {
        transform: translateX(-40%);
    }

    60%, 76% {
        transform: translateX(-60%);
    }

    80%, 96% {
        transform: translateX(-80%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes progressBar {
    0% {
        width: 0%;
    }

    16% {
        width: 100%;
    }

    20% {
        width: 0%;
    }

    36% {
        width: 100%;
    }

    40% {
        width: 0%;
    }

    56% {
        width: 100%;
    }

    60% {
        width: 0%;
    }

    76% {
        width: 100%;
    }

    80% {
        width: 0%;
    }

    96% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }

    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }

    70% {
        transform: scale(0.9) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gt-hero {
        height: 400px;
        margin: 10px;
        border-radius: 10px;
    }

    .carousel-slide {
        padding: 40px 20px;
    }

    .gt-hero-content h1 {
        font-size: 2rem;
    }

    .gt-hero-subtitle {
        font-size: 1rem;
    }

    .gt-cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

        .carousel-arrow.prev {
            left: 10px;
        }

        .carousel-arrow.next {
            right: 10px;
        }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

    .floating-element:nth-child(1) {
        top: 10%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-element:nth-child(2) {
        top: 20%;
        right: 15%;
        animation-delay: 2s;
    }

    .floating-element:nth-child(3) {
        bottom: 30%;
        left: 20%;
        animation-delay: 4s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}