/* CSS Variables per una gestione moderna dei colori */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f59e0b;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 1rem;
    --border-radius-lg: 1.5rem;
}

* {
    box-sizing: border-box;
}

body {
	font-family: 'Dosis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    font-size: 16px;
	letter-spacing: 0.3px;
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary-color);
}

a:hover, a:focus {
    color: var(--primary-dark);
    text-decoration: none;
}

a:active, a:visited {
    text-decoration: none;
}

/* Modern Button Styles */
.btn {
	text-transform: uppercase;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-lg {
	padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-red {
	background: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
	color: #fff;
}

.btn-red:hover {
    background: linear-gradient(135deg, #db2777 0%, #dc2626 100%);
    color: #fff;
}

.btn-yellow {
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	color: #1f2937;
}

.btn-yellow:hover {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-yellow.disabled:hover,
.btn-yellow[disabled]:hover {
    opacity: 0.65;
    transform: none;
}

.content-ct {
	text-align: center;
}

/* ------------------
	Modern Navigation 
------------------ */
.side-menu {
	position: fixed;
	right: 1.5rem;
	top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.side-menu ul li {
    text-align: right;
    margin: 0.75rem 0;
}

.side-menu ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.side-menu ul li a span {
	display: inline-block;
}

.side-menu ul li a span.menu-title {
	color: var(--text-dark);
    position: relative;
    margin-right: 0.75rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    transform-origin: 100% 50%;
    opacity: 0;
    white-space: nowrap;
}

.side-menu ul li a:hover span.menu-title {
    opacity: 1;
    transform: translateX(-5px);
}

.side-menu ul li a span.dot {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    height: 12px;
    width: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.side-menu ul li a:hover span.dot {
	transform: scale(1.5);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.side-menu ul li.active a span.dot {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}


/* Modern Hero Section */
.hero-header {
	background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
	min-height: 100vh;
	padding: 3rem;
	color: #fff;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-header > div {
    position: relative;
    z-index: 1;
}

.hero-header h1 {
	margin: 1.5rem 0 1rem 0;
	font-weight: 700;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	animation: fadeInUp 0.8s ease-out;
}

.hero-header h3 {
	font-weight: 400;
	opacity: 0.95;
    letter-spacing: 0.5px;
    margin: 1.5rem 0;
    animation: fadeInUp 1s ease-out;
}

.hero-header h4 {
	font-weight: 300;
	opacity: 0.85;
    letter-spacing: 1px;
    margin: 1rem 0 2rem 0;
    animation: fadeInUp 1.2s ease-out;
}

.hero-header .logo {
	max-width: 200px;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
	animation: fadeIn 0.6s ease-out;
}

.hero-header .btn {
	margin-top: 2rem;
	animation: fadeInUp 1.4s ease-out;
}

.hero-header .rocket,
.hero-header .rocket-static {
	max-width: 100%;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
.me-row {
	padding: 4rem 0;
}

.row-title {
	font-weight: 700;
	margin-bottom: 3rem;
	position: relative;
	display: inline-block;
}

.row-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.feature {
	padding: 2rem;
	margin-top: 2rem;
	transition: all 0.3s ease;
}

.feature span {
	font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Sections */
.descripton {
    padding: 4rem 0;
    background: var(--bg-white);
}

.descripton p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

.sponsor {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4rem 0;
}

.sponsor .feature {
    transition: all 0.3s ease;
}

.sponsor .feature:hover {
    transform: translateY(-5px);
}

.sponsor img {
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.sponsor img:hover {
    filter: grayscale(0) brightness(1.1);
}

/* Modern Speaker Cards */
.speaker {
    background: var(--bg-light);
    padding: 4rem 0;
}

.speaker .col-md-3 {
    margin-bottom: 2rem;
}

.speaker .col-md-3 > div {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.speaker .col-md-3:hover > div {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.speaker-img {
	max-width: 150px;
	width: 100%;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--accent-color)) border-box;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.speaker .col-md-3:hover .speaker-img {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.speaker h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    font-weight: 600;
}

.speaker h3 a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.speaker h3 a:hover {
    color: var(--primary-color);
}

.speaker h3 span {
    color: var(--text-light);
    cursor: default;
    font-weight: 500;
}

ul.speaker-social li {
	list-style: none;
	display: inline-block;
	margin: 0.5rem 0.25rem;
}

ul.speaker-social li a {
	font-size: 1.25rem;
	padding: 0.5rem;
	transition: all 0.3s ease;
}

ul.speaker-social li a:hover {
	text-decoration: none;
	transform: scale(1.2);
}

a span.ti-facebook {
	color: #3b5998;
}

a span.ti-twitter-alt {
	color: #4099ff;
}

/* Modern Tickets Section */
.tickets {
	background: var(--bg-white);
	padding: 4rem 0;
}

.tickets .price {
	font-size: 4rem;
	background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.tickets .price sup {
	font-size: 0.4em;
}

.tickets iframe {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Modern Schedule Section */
.nav-tabs {
    margin-top: 2rem;
}

.schedule {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4rem 0;
}

.schedule .row {
    margin-bottom: 2rem;
}

.schedule .row:not(:first-child) {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.schedule .row:not(:first-child):hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.schedule .media {
	margin-top: 2rem;
}

.schedule .media-object {
	max-width: 100px;
}

.schedule .media-heading,
.schedule h4.media-heading {
	font-weight: 700;
    color: var(--primary-color);
    border-bottom: none;
    padding: 1rem 0;
    margin: 0;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule h4.media-heading::before {
    content: '';
    font-size: 1.25rem;
}

.schedule .media-body h5 {
	text-transform: none;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	font-size: 1.125rem;
}

.schedule .media-body h6 {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.schedule .media-body h6 a {
    color: var(--primary-color);
    font-weight: 600;
}

.schedule .media-body h6 a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.schedule .media-body h6 span {
    color: var(--text-light);
}

.schedule .media-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.schedule .col-md-4 > div {
    padding: 1rem;
    height: 100%;
}

.schedule .d-flex {
    height: 100%;
}

/* Room Headers Row - Visible on Desktop only */
.schedule .room-headers {
    display: none;
}

@media (min-width: 992px) {
    .schedule .room-headers {
        display: flex;
    }
}

/* Room Badge - Visible on Mobile/Tablet */
.room-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
}

/* Hide room badge on larger screens where column headers are visible */
@media (min-width: 992px) {
    .room-badge {
        display: none;
    }
}


/* Modern Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    margin-top: 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.footer p {
    margin-bottom: 0;
    opacity: 0.9;
}

.footer a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer-credit {
    padding: 3rem 2rem;
}

ul.footer-menu {
    text-align: right;
}

ul.footer-menu li {
    display: inline-block;
}

ul.footer-menu li a {
    font-size: 0.875rem;
    color: var(--secondary-color);
    padding-right: 1.5rem;
    font-weight: 500;
}

ul.footer-menu li a:hover {
    color: var(--accent-color);
}

/* Contact Form */
.contact {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #fff;
    padding: 4rem 2rem;
}

.contact h3 {
    margin-bottom: 2rem;
}

.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.help-block {
    font-size: 0.875rem;
}

.form-control-feedback {
    top: 1rem;
    right: 1rem;
}

/* Modern Animations */
.animated { 
    animation-duration: 5s; 
    animation-fill-mode: both; 
    animation-timing-function: ease-in-out; 
    animation-iteration-count: infinite; 
} 

@keyframes bounce { 
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    } 
    40% {
        transform: translateY(-30px);
    } 
    60% {
        transform: translateY(-15px);
    } 
} 

.bounce { 
    animation-name: bounce; 
}

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

/* Section Spacing */
section {
    scroll-margin-top: 2rem;
}

/* ========================================
    Modern Responsive Design (Mobile First)
======================================== */

/* Mobile Base Styles (default) */
@media (max-width: 767px) {
    .hero-header {
        padding: 2rem 1rem;
        text-align: center;
        min-height: 100vh;
        max-height: none;
    }
    
    .hero-header h1 {
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .hero-header h3 {
        font-size: 1.125rem;
    }
    
    .hero-header h4 {
        font-size: 1rem;
    }
    
    .hero-header .logo {
        max-width: 150px;
    }
    
    .hero-header .btn {
        margin-top: 2rem;
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .hero-header .rocket {
        display: none;
    }
    
    /* Side Menu for Mobile */
    .side-menu {
        right: 0.5rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .side-menu ul li {
        margin: 0.5rem 0;
    }
    
    .side-menu ul li a span.menu-title {
        display: none;
    }
    
    .side-menu ul li a span.dot {
        width: 10px;
        height: 10px;
    }
    
    /* Sections */
    .me-row {
        padding: 3rem 0;
    }
    
    .row-title {
        font-size: 2rem;
    }
    
    /* Speaker Cards */
    .speaker .col-md-3 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .speaker-img {
        max-width: 120px;
    }
    
    /* Schedule */
    .schedule .col-md-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .schedule .row:not(:first-child) {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .schedule h4.media-heading {
        font-size: 1.25rem;
    }
    
    /* Tickets */
    .tickets .col-md-8 {
        width: 100%;
        padding: 0 1rem;
    }
    
    /* Footer */
    .footer-credit {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    ul.footer-menu {
        text-align: center;
        margin-top: 1.5rem;
    }
    
    ul.footer-menu li {
        display: block;
        margin: 0.5rem 0;
    }
    
    ul.footer-menu li a {
        padding: 0;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-header {
        padding: 3rem 2rem;
        text-align: center;
        min-height: 80vh;
    }
    
    .hero-header .rocket {
        max-width: 80%;
        margin-top: 2rem;
    }
    
    .speaker .col-md-3 {
        width: 50%;
    }
    
    .schedule .col-md-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    ul.footer-menu {
        margin-top: 1.5rem;
        text-align: center;
    }
}

/* Tablet Landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-header {
        padding: 4rem 3rem;
    }
    
    .speaker .col-md-3 {
        width: 33.333%;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-header {
        padding: 5rem;
    }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}