/* Enhanced Styles for MM4ST Tutorial Page */

/* Global Background */
body {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    background-attachment: fixed;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
    z-index: 2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Background Image Support */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/Dublin.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.tutorial-badge {
    display: inline-block;
    background: rgba(254, 209, 54, 0.9);
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
    box-shadow: 0 8px 25px rgba(254, 209, 54, 0.3);
}

.badge-text {
    font-size: 16px;
    font-weight: 700;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.title-line:nth-child(1) { 
    animation-delay: 0.2s; 
    font-size: 1.2em;
    color: #fed136;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}
.title-line:nth-child(2) { 
    animation-delay: 0.4s; 
    font-size: 1em;
    color: #fff;
    margin: 10px 0;
}
.title-line:nth-child(3) { 
    animation-delay: 0.6s; 
    font-size: 0.9em;
    color: #f0f0f0;
    font-weight: 600;
}

.event-info {
    margin: 40px 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.info-item {
    display: inline-block;
    margin: 0 20px;
    font-size: 18px;
    font-weight: 500;
}

.info-item i {
    margin-right: 10px;
    color: #fed136;
}

.hero-cta {
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 1s both;
}

.scroll-btn {
    display: inline-block;
    background: rgba(254, 209, 54, 0.9);
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(254, 209, 54, 0.3);
}

.scroll-btn:hover {
    background: #fed136;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(254, 209, 54, 0.4);
}

.scroll-btn i {
    margin-right: 10px;
    animation: bounce 2s infinite;
}

/* Enhanced Introduction Section */
#introduction {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 60px 0;
}

.introduction-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.introduction-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.intro-paragraph {
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.intro-paragraph:nth-child(1) { animation-delay: 0.1s; }
.intro-paragraph:nth-child(2) { animation-delay: 0.2s; }
.intro-paragraph:nth-child(3) { animation-delay: 0.3s; }
.intro-paragraph:nth-child(4) { animation-delay: 0.4s; }

.intro-text {
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    text-align: justify;
    margin: 0;
    font-weight: 400;
}

.highlight-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.1em;
}

.emphasis-text {
    color: #667eea;
    font-weight: 600;
    font-style: italic;
}

.tutorial-name {
    background: linear-gradient(135deg, #fed136, #fec503);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 2px 4px rgba(254, 209, 54, 0.3);
}

/* Enhanced Schedule Table Styles */
.schedule-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 40px 0;
}

.tableizer-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out;
}

.tableizer-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
    padding: 20px 15px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tableizer-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    line-height: 1.6;
}

.tableizer-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.tableizer-table tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
    transition: background-color 0.3s ease;
}

.tableizer-table tr:nth-child(1) { animation-delay: 0.1s; }
.tableizer-table tr:nth-child(2) { animation-delay: 0.2s; }
.tableizer-table tr:nth-child(3) { animation-delay: 0.3s; }
.tableizer-table tr:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced Organizers Section */
.organizers-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.organizer-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.organizer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.organizer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.organizer-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin: 0 auto 15px auto;
    flex-shrink: 0;
}

.organizer-card:hover img {
    transform: scale(1.1);
    border-color: #667eea;
}

.organizer-card h4 {
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.organizer-card h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.organizer-card h4 a:hover {
    color: #667eea;
    text-decoration: none;
}

.organizer-card .text-muted {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.organizer-card:nth-child(1) { animation-delay: 0.1s; }
.organizer-card:nth-child(2) { animation-delay: 0.2s; }
.organizer-card:nth-child(3) { animation-delay: 0.3s; }
.organizer-card:nth-child(4) { animation-delay: 0.4s; }
.organizer-card:nth-child(5) { animation-delay: 0.5s; }
.organizer-card:nth-child(6) { animation-delay: 0.6s; }
.organizer-card:nth-child(7) { animation-delay: 0.7s; }

/* Enhanced PDF Viewer Styles */
.pdf-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    padding: 80px 0;
}

.pdf-viewer-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out;
}

.pdf-controls {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 20px 30px;
    text-align: center;
}

.pdf-controls h3 {
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.pdf-embed-container {
    position: relative;
    padding: 0;
    background: #f8f9fa;
}

.pdf-embed-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.pdf-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    z-index: 10;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.pdf-info {
    background: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.pdf-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Unified Section Headings */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .info-item {
        font-size: 16px;
    }
    
    .scroll-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .tableizer-table {
        font-size: 14px;
    }
    
    .tableizer-table th,
    .tableizer-table td {
        padding: 15px 10px;
    }
    
    .tableizer-table th {
        font-size: 16px;
    }
    
    .organizer-card {
        margin-bottom: 20px;
        height: 320px;
    }
    
    .organizer-card img {
        width: 100px;
        height: 100px;
    }
    
    .organizer-card h4 {
        font-size: 16px;
        min-height: 40px;
    }
    
    .organizer-card .text-muted {
        font-size: 13px;
    }
    
    .section-title h2,
    .section-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .pdf-controls {
        padding: 15px 20px;
    }
    
    .pdf-controls h3 {
        font-size: 20px;
    }
    
    .pdf-embed-container iframe {
        height: 500px;
    }
    
    #introduction {
        padding: 40px 0;
    }
    
    .introduction-content {
        padding: 30px 25px;
        margin: 30px 0;
    }
    
    .intro-text {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .intro-paragraph {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .tutorial-badge {
        padding: 10px 20px;
    }
    
    .badge-text {
        font-size: 14px;
    }
    
    .organizer-card {
        height: 300px;
    }
    
    .organizer-card img {
        width: 90px;
        height: 90px;
    }
    
    .organizer-card h4 {
        font-size: 15px;
        min-height: 35px;
    }
    
    .organizer-card .text-muted {
        font-size: 12px;
    }
    
    .section-title h2,
    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .tableizer-table {
        font-size: 12px;
    }
    
    .tableizer-table th,
    .tableizer-table td {
        padding: 12px 8px;
    }
    
    .tableizer-table th {
        font-size: 14px;
    }
    
    .pdf-controls {
        padding: 12px 15px;
    }
    
    .pdf-controls h3 {
        font-size: 18px;
    }
    
    .pdf-embed-container iframe {
        height: 400px;
    }
    
    #introduction {
        padding: 30px 0;
    }
    
    .introduction-content {
        padding: 25px 20px;
        margin: 25px 0;
    }
    
    .intro-text {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .intro-paragraph {
        margin-bottom: 12px;
    }
}

