/* Load the custom font using @font-face */
@font-face {
    font-family: 'Spiritual';
    src: url('../fonts/SpiritualRegular.woff2') format('woff2'),
         url('../fonts/SpiritualRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improved font loading */
}


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

body, html {
    height: 100%;
    font-family: 'Spiritual', sans-serif;
    background-color: #111;
    color: white;
}

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

/* Video background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire screen */
    opacity: 0.3; /* Optional: Add some opacity for better text visibility */
}


/* Main container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh; /* Full height */
    position: relative; /* Allow positioning without z-index */
    text-align: center; /* Center align text */
    padding: 20px; /* Add some padding */
}

/* Logo Container */
.logo-text {
    display: flex; /* Align items horizontally */
    align-items: center; /* Center vertically */
    font-size: 10vw; /* Adjust font size for logo text */
    color: #fff; /* Logo text color */
    justify-content: center; /* Center items horizontally */
    margin-bottom: 20px; /* Space below the logo */
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8), /* Soft white shadow */
        0 0 10px rgba(255, 255, 255, 0.5), /* Slightly larger shadow */
        0 0 15px rgba(255, 255, 0, 0.7); /* Yellow shadow for a glowing effect */
}


/* Logo Image Container */
.logo-img-container {
    display: inline-block; /* Keep the image inline with the text */
    width: 15vh; /* Adjusted size for logo image */
}

/* Logo Image */
.logo-img {
    max-width: 100%; /* Ensure the image doesn't exceed container size */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure there's no extra space around the image */
}

#introText {
    font-family: Roboto, sans-serif;
    font-size: 1.3em;
    line-height: 1.3em;
    padding: 20px;
    overflow-y: auto;
    position: relative;
    border-radius: 10px; /* Optional: Rounded corners */
    text-align: center; /* Center text */
}

/* Shiny effect */
.shiny-text {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
                 0 0 10px rgba(255, 255, 255, 0.3),
                 0 0 15px rgba(255, 255, 0, 0.5);
}

/* Custom scrollbar */
#introText::-webkit-scrollbar {
    width: 12px; /* Scrollbar width */
}

#introText::-webkit-scrollbar-thumb {
    background-color: #fbc02d; /* Custom scrollbar color (yellow) */
    border-radius: 6px; /* Rounded corners */
    border: 2px solid transparent; /* Padding for thumb */
    background-clip: content-box; /* Ensure padding works */
    opacity: 0.2;
}

/* Individual line styling */
.scroll-line {
    margin-bottom: 0.5em;
    
}

/* Media query for larger mobile screens */
@media (max-width: 480px) {
    .logo-text {
        font-size: 14vw; /* Adjust for smaller mobile devices */
    }
    .intro-text {
        font-size: 5vw; /* Slightly larger for visibility */
    }
}

/* Media query for tablets */
@media (max-width: 1024px) {
    .logo-text {
        font-size: 10vw; /* Scale down for tablets */
    }
    .intro-text {
        font-size: 3.5vw; /* Adjust accordingly */
    }
}


/* General styling for the tabbed box */
.tab-container {
    width: 80%; /* Adjusted width for prominent look */
    max-width: 1200px; /* Set a maximum width for the container */
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent dark background */
    border-radius: 15px;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}


/* Styling for tab buttons */
.tab {
    font-family: Spiritual;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s; /* Added transform for 3D effect */
    font-weight: bold;
    color: #fbc02d; /* Yellow text color for active state */
    background: linear-gradient(145deg, #333, #444); /* Gradient for 3D effect */
    border-radius: 5px; /* Slightly rounded corners */
    flex: 1; /* Equal width for all tabs */
    text-align: center;
    text-transform: uppercase; /* Uppercase text */
    min-width: 80px; /* Set a minimum width to prevent being cut off */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3), /* Main shadow */
                -5px -5px 15px rgba(255, 255, 255, 0.1); /* Highlight shadow */
}



/* Active tab styling */
.tab.active {
    background: #fbc02d; /* Change background for active tab */
    color: #444; /* Dark text for active tab */
    transform: scale(1.05); /* Slightly scale active tab */
}

/* Hover effect for tabs */
.tab:hover {
    background: rgba(251, 192, 45, 0.2); /* Light yellow background on hover */
    color: #fbc02d; /* Keep yellow text on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Optional: Style for tab container */
.tabs {
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: space-around; /* Space between tabs */
    margin-bottom: 20px; /* Space below tabs */
}

/* Tab content styling */
.tab-content {
    overflow: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1); /* Slight transparency for content area */
    border-radius: 0 0 15px 15px;
}

.tab-pane {
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: 60vh; /* Set a maximum height */
    padding: 10px; /* Optional: Add padding for aesthetics */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #888 #f1f1f1; /* For Firefox */
}

.tab-pane.active {
    display: block; /* Show only the active tab pane */
}

.tab-pane::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.tab-pane::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Round the corners of the scrollbar */
}

.tab-pane::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the scrollbar track */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tab-container {
        width: 95%; /* Adjust width for mobile */
    }

    .tab {
        padding: 8px 10px; /* Reduce padding for smaller screens */
        font-size: 14px; /* Adjust font size for better visibility */
    }
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; /* Space between videos */
}

.video-gallery iframe {
    width: 100%;
    height: 150px; /* Adjust height as needed */
    border: none;
}

.contatti-container {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight transparency for a cool effect */
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto; /* Center the container */
}

h1, h2 {
    font-family: 'Spiritual', sans-serif; /* Your custom font */
    color: #ffcc00; /* Active color for headers */
    text-align: center; /* Center the headers */
}

h2 {
        text-transform: uppercase; 
}



.contact-info, .project-info, .more-info, .social-media, .newsletter {
    font-family: Roboto, sans-serif;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2); /* Slightly more opaque for visibility */
    border-radius: 10px;
}

a {
    color: #ffcc00; /* Your link color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.newsletter {
    text-align: center;
}

input[type="email"] {
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ffcc00; /* Button color */
    color: #000; /* Button text color */
    cursor: pointer;
}

button:hover {
    background-color: #e6b800; /* Darker shade on hover */
}

.credits {
    font-family: Tahoma;
    position: fixed; /* Fix position to the viewport */
    bottom: 20px;    /* Distance from the bottom */
    right: 20px;     /* Distance from the right */
    color: #fff;  /* Text color */
    font-size: 10px; /* Font size */
    background: rgba(0, 0, 0, 0.5); /* Slightly transparent background */
    padding: 5px 10px; /* Padding for the box */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Shadow effect */
    z-index: 1000; /* Ensure it appears on top of other content */
}

.credits a {
    color: #ffcc00; /* Link color */
    text-decoration: underline; /* Underline for link */
}

.credits a:hover {
    color: #e6b800; /* Darker shade on hover */
}

.intro-description {
    margin-bottom: 20px; /* Add some space below the description */
    font-size: 1.2em; /* Adjust font size */
    color: #fff; /* Change the text color if needed */
    text-align: center; /* Center the text */
    font-family: 'Tahoma', sans-serif; /* Use the Spiritual font */
}

.audio-container {
    display: none; /* Hide by default */
    padding: 20px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

@keyframes blink {
    0%, 100% { opacity: 1; }    /* Fully visible */
    50% { opacity: 0; }         /* Fully invisible */
}

.live-indicator {
    padding: 5px 10px;
    background-color: red;
    color: white;
    border-radius: 5px;
    animation: blink 3s ease-in-out infinite; /* Slower duration with easing */
    z-index: 10; /* Ensure it's above other elements */
    display: inline-block; /* Allow for inline placement */
    font-family: 'Tahoma', sans-serif;
}

.stream-info {
    color: white; /* White text for visibility */
    margin-left: 10px; /* Space between the live indicator and stream info */
    display: inline-block; /* Keep it inline with the live indicator */
    margin-top: 5px; /* Space above the audio player */
    font-family: Tahoma;
}

audio {
    width: 100%; /* Full width */
    margin-top: 10px; /* Space above the audio player */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    outline: none; /* Remove outline */
    padding: 5px; /* Add some padding for better touch targets */
}

/* Style the audio controls */
audio::-webkit-media-controls {
    background-color: transparent; /* Make controls background transparent */
}

audio::-webkit-media-controls-panel {
    background-color: transparent; /* Transparent controls panel */
}

audio::-webkit-media-controls-play-button {
    background-color: #fbc02d; /* #fbc02d background for play button */
    border-radius: 50%; 
    width: 40px; /* Set a specific width */
    height: 40px; /* Set a specific height */
}

audio::-webkit-media-controls-volume-slider {
    background-color: #fbc02d; /* #fbc02d background for volume slider */
}

/* Style for hover states on the play button and volume slider */
audio::-webkit-media-controls-play-button:hover,
audio::-webkit-media-controls-volume-slider:hover {
    background-color: #f9c72e; /* Slightly lighter on hover */
}

/* Adjustments to other controls for better appearance */
audio::-webkit-media-controls-mute-button {
    background-color: #fbc02d; /* Match mute button color */
    border-radius: 50%; /* Circular shape for mute button */
}


/* Keyframes for a pulsing animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 15px 10px rgba(255, 165, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
    }
}

/* Keyframes for a bouncing animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Add the pulse effect to the first tab button */
.tab-about.highlight {
    animation: pulse 1.5s infinite;
}

/* Optional: Add a "click me!" label */
.tab-about::after {
    display: block;
    font-size: 12px;
    color: orange;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

/* LAST ADDITIONS */

/* General container styles */
.serate-container {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-top: 20px;
}

h1 {
    font-family: 'Spiritual', sans-serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

/* Event Box Styling */
.event-box {
    display: flex;
    padding: 40px;
    gap: 20px; /* Space between child elements */
}

/* Date Styling */
.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    border-right: 2px solid #ffcc00;
    padding-right: 15px;
}

.date {
    font-size: 36px;
    font-weight: bold;
    color: #ffcc00;
}

.month {
    font-size: 14px;
    color: #fff;
}

/* Event Info */
.event-info {
    flex: 1;
}

.event-info h2 {
    margin: 0;
    font-family: 'Spiritual', sans-serif;
    color: #fff;
}

.event-info p {
    color: #fff;
    margin: 5px 0;
}

/* Gallery Styling */
.serate-gallery h3 {
    font-size: 18px;
    color: #ffcc00;
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-grid a img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-grid a:hover {
    transform: scale(1.05);
}

/* Custom Block Styling */
.serate-custom-block {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    text-align: center;
    color: #fff;
}

.serate-curriculum-img {
    max-width: 200px;
    margin: 0 auto;
}

.serate-cta-text {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #ffcc00;
}
