/**
 * Custom styles for home page (Live2Test Conference)
 */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown Section */
.countdown-section {
    position: relative;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/shape/wave-pattern.png');
    opacity: 0.1;
    pointer-events: none;
}

.counter-item {
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: rotate(45deg) scale(1.1) !important;
}

.counter-item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about-content {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
}

/* Tickets Section */
.tickets-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.tickets-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.ticket-card {
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.ticket-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Event Host Section */
.host-card img {
    transition: all 0.3s ease;
}

.host-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

/* Call For Papers Section */
.call-for-papers-section {
    position: relative;
    overflow: hidden;
}

.call-for-papers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/shape/dots-pattern.png');
    opacity: 0.05;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 36px !important;
    }
    
    .counter-item {
        width: 100px !important;
        height: 100px !important;
        margin: 5px !important;
    }
    
    .counter-item span.countdown-number {
        font-size: 28px !important;
    }
    
    .about-content {
        padding: 40px 30px !important;
        border-radius: 30px !important;
    }
    
    .ticket-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px !important;
    }
    
    .event-date h2 {
        font-size: 56px !important;
    }
    
    .counter-item {
        width: 80px !important;
        height: 80px !important;
        padding: 15px 20px !important;
    }
    
    .counter-item span.countdown-number {
        font-size: 24px !important;
    }
    
    .counter-item span.smalltext {
        font-size: 11px !important;
    }
    
    h2 {
        font-size: 32px !important;
    }
    
    .about-content {
        padding: 30px 20px !important;
    }
}

/* Button Animations */
.btn {
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.countdown-number {
    animation: pulse 2s ease-in-out infinite;
}

