/* import global variables */
@import "style-global.css";
@import "promoter-colors.css";

#rotating_news_box {
	width: 100%;
	height: 300px; /*to figure out */
	border-left: var(--global-margin) solid white !important; /* Added 'solid' */
	overflow:scroll;
	background-color: black;
	display: flex;
	scroll-behavior: smooth; /* Smooth scrolling */
}


/*.rotating_news_item {
	flex: 0 0 100%;
	height:100%;
	margin-top:0px;
	position:relative;
	border: 0px;
	/*position: relative;
	float: left; *//*
}*/
.rotating_news_item {
    flex: 0 0 100%;
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Stack items vertically */
    height: 100%; /* Ensure full height */
    cursor: pointer;
    padding: calc(2 * var(--global-margin)); /* Optional: for overall container padding */
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    background-size: 100%;
    will-change: background-size;
    transition: background-size 0.3s ease-in-out;
    margin-right: calc(1 * var(--global-margin)) !important;
}

.rotating_news_item:hover {
  background-size: 103%;
}

.rotating_news_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#news_item_1 {
    background-color: purple;
}
#news_item_2 {
    background-color: blue;
}
#news_item_3 {
    background-color: green;
}

.top_box_news {
    margin-bottom: calc(2 * var(--global-margin)); /* Minimal space below date/type */
    flex-grow: 0; /* Don't take extra space */
    flex-shrink: 0; /* Don't shrink */
    width: 100%;
    /*padding-left: calc(1 * var(--global-margin));
    pading-right: calc(1 * var(--global-margin));*/
}

.middle_box_news {
    flex-grow: 1; /* Don't grow */
    width: 100%;
    padding-right: calc(50 * var(--global-margin));
    display: flex;              /* Add this */
    flex-direction: column;     /* Add this */
    justify-content: flex-end;  /* Add this - pushes content to bottom */
    padding-bottom: calc(10 * var(--global-margin));
}

.bottom_box_news {
    position: absolute !important;
    bottom: calc(2 * var(--global-margin)) !important;
    left: calc(2 * var(--global-margin)) !important;
    right: calc(2 * var(--global-margin)) !important;
    width: auto !important;
    z-index: 3 !important;
    font-size: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
	/*padding-left: calc(1 * var(--global-margin));
    padding-right: calc(1 * var(--global-margin));*/
}

.box_news_date {
    font-size: 25px;
    color: white;
    float: left;
    font-weight: 400;
    text-transform: lowercase;
}

.box_news_type {
    font-size: 16px;
    color: white;
    float: right;
    font-weight: 400;
}

.event_button.tipo_home {
	color: #ffffff; /* Set text color to white */
}

.event_button.tipo_home:visited {
    color: #ffffff; /* Keep text white after visiting */
}

.box_news_title {
    font-size: 3vw;
    text-transform: uppercase;
    color: white;
    float: left;
    font-weight: 500;
    line-height: 1;
    padding-bottom: calc(1 * var(--global-margin));
    padding-top: calc(10 * var(--global-margin));
}

.box_news_artist {
    font-size: 30px;
    color: white;
    font-weight: 400;
    text-transform: uppercase;
}

.box_news_promotor {
    font-size: 12px;
    color: white;
    font-weight: 400;
}

.promoter-badge {
    background-color: #000000;
    border: .5px solid #000000;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 0;
    text-transform: uppercase;
  }
  
  .event-type-badge {
    color: #ffffff;
    padding: 3px 0px;
    font-size: 30px;
    font-weight: 400;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
  }

  .event-type-badge-puzzle {
    color: #000000;
    border: .5px solid #000000;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 15px;
    text-transform: lowercase;
    letter-spacing: .5px;
  }

  .next-event-type .event-type-badge {
    color: #ffffff;
    border: .5px solid white;
    padding: 3px 8px;
    font-size: 1vw;
    font-weight: 400;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
  }

/* o que estava no .md da Home */

.full_size_container {
    position: relative; /* Cover the viewport */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: calc(100vh - (7  * var(--menu-margin))); /* Full height of the viewport */
    display: flex; /* Enable flex for stacking */
    flex-direction: column; /* Stack child elements vertically */
    margin-top:calc(7 * var(--menu-margin));
    margin-left:calc(0 * var(--global-margin));
}
.bold-text {
    font-weight: bold;
}

.top_box{    
    display:flex;
    flex-direction:row-reverse; 
    width: 100%;
    height: calc(6 * var(--global-margin)) !important;
    transition: transform 0.3s ease-in-out;
    z-index:11;
}
.desktop-content {
    display: none;
}
.mobile-content {
    display: none;
}
.desktop .desktop-content {
    display: block;
}
.mobile .mobile-content {
    display: block;
}

.next-event-image {
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 125% !important;
    position: relative;
    box-sizing: border-box;
    will-change: background-size;
    transition: background-size 0.3s ease-in-out;
}

.next-event-image:hover {
  background-size: 128% !important;
}

.next-event-type {
    margin-bottom: calc(-1.5 * var(--global-margin));
}

.next-event-type .event_button.tipo_home {
    background-color: transparent !important;
  }

/* Language switcher styles */
.lang_divider {
    font-size: 3vh;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 10px;
}

.lang_button {
    font-size: 3vh;
    padding-top: 10px;
    cursor: pointer;
}

.lang_button:hover {
    transform: scale(0.95);
}

/* Next event styles */
.next-event-bottom {
    width: 100%;
    height: 80%;
    font-size: 3vw;
    color: white;
    font-weight: 500;
    position: relative;
    align-content: flex-end;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0;
    display: flex;
    align-items: flex-end;
    padding: calc(2 * var(--global-margin));
    padding-top: 0;
    box-sizing: border-box;
}

.next-event-bottom > div {
    margin-bottom: calc(-0.7 * var(--global-margin));
}

.next-event-top {
    width: 100%;
    height: 20%;
    font-size: 16px;
    color: white;
    font-weight: 400;
    padding: calc(2 * var(--global-margin));
    padding-bottom: 0;
    box-sizing: border-box;
}

.next-event-top > div {
    margin-top: calc(0 * var(--global-margin));
}

.next-event-date {
    width: 30%;
    font-size: 18px;
    color: white;
    float: left;
    font-weight: 400;
    text-transform: lowercase;
}

/* Update .next-event-type - merge with existing */
.next-event-type {
    margin-bottom: calc(-1.5 * var(--global-margin));
    width: 70%;
    font-size: 1vw;
    float: right;
    text-align: right;
    font-weight: 400;
    text-transform: lowercase;
}

/* Z-index for news boxes */
.top_box_news, .middle_box_news, .bottom_box_news {
    position: relative;
    z-index: 2;
}

.top_box_news > div {
    margin-top: calc(-1 * var(--global-margin));
}

/* Rotating news box v2 */
.rotating_news_box_v2 {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    scroll-behavior: smooth;
}

.top_box_or {
    background-color: orange;
    height: 100%;
    width: 100%;
    position: relative;
}

/* Half containers */
.top_half {
    height: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bottom_half {
    height: 45%;
}

.half_container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    transition: transform 0.3s ease-in-out;
    padding-bottom: calc(1 * var(--global-margin));
    padding-left: calc(1 * var(--global-margin));
    padding-right: calc(1 * var(--global-margin)) !important;
    padding-top: calc(0 * var(--global-margin)) !important;
    position: relative;
}

.half_container.bottom_half {
    position: relative;
    gap: calc(1 * var(--global-margin));
    flex-wrap: nowrap;
}

/* Home Footer Styles */
.home-footer {
    position: relative;
    width: 100%;
    background-color: #000;
    color: white;
    margin-top: 50px;
    z-index: 1000;
}

.home-footer-container {
    width: 100%;
    background-color: #000;
    margin: 0;
    padding: 40px 0;
    position: relative;
    z-index: 1000;
    display: block;
    visibility: visible;
    opacity: 1;
    left: 0;
    right: 0;
    transform: none;
}

.home-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.home-footer-logo {
    flex: 0 0 120px;
    display: flex;
    align-items: flex-start;
}

.home-logo-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.home-footer-main {
    flex: 1;
    min-width: 300px;
    color: white;
}

.home-footer-title {
    margin-bottom: 40px;
}

.home-main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0 0 10px 0;
    font-weight: bold;
    line-height: 1.1;
    color: white;
}

.home-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin: 0;
    opacity: 0.8;
    color: white;
}

.home-newsletter-section {
    margin-top: 40px;
}

.home-newsletter-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    opacity: 0.9;
    color: white;
}

.home-newsletter-description {
    font-size: 0.9rem;
    margin: 0 0 20px 0;
    opacity: 0.8;
    line-height: 1.4;
    color: white;
}

.home-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    flex-wrap: wrap;
}

.home-newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
}

.home-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.home-newsletter-button {
    padding: 12px 20px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.home-newsletter-button:hover {
    background-color: #f0f0f0;
}

.home-newsletter-message {
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.home-footer-contact {
    flex: 0 0 250px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.home-contact-title, .home-social-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: white;
}

.home-contact-info p {
    font-size: 1rem;
    margin: 0 0 8px 0;
    opacity: 0.9;
    line-height: 1.4;
    color: white;
}

.home-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.home-social-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive breakpoints for home footer */
@media (max-width: 768px) {
    .home-footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .home-footer-logo {
        flex: none;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .home-footer-main {
        min-width: auto;
    }
    
    .home-footer-contact {
        flex: none;
        width: 100%;
    }
    
    .home-newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .home-newsletter-input {
        min-width: auto;
    }
    
    .home-newsletter-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home-footer-container {
        padding: 30px 0;
    }
    
    .home-footer-content {
        padding: 0 15px;
        gap: 25px;
    }
    
    .home-main-title {
        font-size: 2rem;
    }
    
    .home-subtitle {
        font-size: 1rem;
    }
    
    .home-contact-title, .home-social-title {
        font-size: 1.3rem;
    }
}

