/* Custom styles for Kiera Polk's soccer website */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body padding for fixed navbar */
body {
    padding-top: 3.25rem;
}

/* Hero section styling */
.hero.is-primary {
    background: linear-gradient(135deg, #00d1b2 0%, #00947e 100%);
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -7px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Button hover effects */
.button {
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
}

/* Image hover effects */
.image img {
    transition: transform 0.3s ease;
}

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

/* Statistics boxes */
.box {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.box:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar styling */
.navbar.is-primary {
    background: linear-gradient(90deg, #00d1b2 0%, #00947e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Hero image styling */
.hero .image img {
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section padding adjustments */
.section {
    padding: 4rem 1.5rem;
}

/* Gallery styling */
#gallery .image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact form styling */
.field .control .input,
.field .control .textarea {
    border-radius: 8px;
    border: 2px solid #dbdbdb;
    transition: border-color 0.3s ease;
}

.field .control .input:focus,
.field .control .textarea:focus {
    border-color: #00d1b2;
    box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25);
}

/* Footer styling */
.footer {
    border-top: 4px solid #00d1b2;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero.is-fullheight .hero-body {
        padding-bottom: 3rem;
        padding-top: 3rem;
    }
    
    .section {
        padding: 2rem 1.5rem;
    }
    
    .title.is-1 {
        font-size: 2.5rem !important;
    }
}

/* Loading animation for images */
.image {
    position: relative;
    overflow: hidden;
}

.image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.image:hover::before {
    left: 100%;
}

/* Success indicators */
.has-text-success {
    color: #48c774 !important;
}

/* Custom primary color variations */
.has-background-primary-light {
    background-color: rgba(0, 209, 178, 0.1);
}

/* Achievement cards special styling */
#achievements .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#achievements .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#achievements .content {
    flex: 1;
}

/* Statistics section special effects */
#stats .box .title {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

#stats .box:nth-child(odd) .title {
    color: #00d1b2;
}

#stats .box:nth-child(even) .title {
    color: #3273dc;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.2s ease;
}

/* Focus styles for accessibility */
.button:focus,
.input:focus,
.textarea:focus {
    outline: 2px solid #00d1b2;
    outline-offset: 2px;
}

/* Video container responsive styling */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Featured video larger height */
#videos .column.is-12 .video-container {
    padding-bottom: 45%; /* Slightly wider aspect ratio for featured video */
}

/* Video cards styling */
#videos .card {
    height: 100%;
    transition: all 0.3s ease;
}

#videos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#videos .card .video-container {
    padding-bottom: 56.25%; /* Standard 16:9 for grid videos */
}

/* Video section tags */
.tags .tag {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Video section call-to-action */
#videos .box.has-background-light {
    border: 2px dashed #dbdbdb;
    transition: all 0.3s ease;
}

#videos .box.has-background-light:hover {
    border-color: #00d1b2;
    background-color: rgba(0, 209, 178, 0.05);
}

/* Mobile video adjustments */
@media screen and (max-width: 768px) {
    #videos .video-container {
        padding-bottom: 56.25%; /* Maintain 16:9 on mobile */
    }
    
    #videos .column.is-12 .video-container {
        padding-bottom: 56.25%; /* Same ratio on mobile for featured video */
    }
    
    .video-container iframe {
        border-radius: 4px; /* Smaller border radius on mobile */
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-foot,
    .section#contact,
    .section#videos,
    .footer {
        display: none;
    }
    
    .hero.is-fullheight {
        height: auto;
        min-height: auto;
    }
    
    .section {
        padding: 1rem 0;
    }
} 