/* ========================================
   TASTS-2025 SUMMIT - PREMIUM DESIGN V4
   Enhanced Contrast, Accessibility & Typography
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --primary: #2d7a3e; /* STTZ Green */
    --secondary: #3b5998; /* STTZ Blue */
    --accent: #ff6b35; /* Accent Orange */
    --light-accent: #4caf50;
    --dark: #0f172a;
    --light: #f1f5f9;
    --white: #ffffff;
    --gray: #475569;
    --border: #cbd5e1;
    --hero-overlay: rgba(15, 23, 42, 0.75);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #0f172a; /* Maximum contrast dark blue-black */
    background: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 17px; /* Increased for better legibility */
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    color: #020617; /* Solid high-contrast black */
    font-weight: 800;
}

p {
    margin-bottom: 1.5rem;
    color: #1e293b; /* High contrast text */
}

/* Map Section */
.map-section {
    background: #f1f5f9;
}

.map-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    padding: 30px 10px;
    text-align: center;
}

.map-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.cta {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.nav-link.cta:hover {
    background: #e85a24;
    transform: translateY(-2px);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--hero-overlay), rgba(45, 122, 62, 0.6));
    z-index: 1;
}

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

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    margin-bottom: 24px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.detail {
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s backwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    background: #e85a24;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ========== SECTIONS ========== */
.section-padding {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 5px;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 122, 62, 0.05), transparent);
    border-radius: 50%;
}

.about-card {
    background: white;
    border-radius: 24px;
    padding: 80px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-card {
        padding: 40px 20px;
    }
    
    .about-highlight {
        padding: 30px 20px;
    }
    
    .benefits-list-new {
        grid-template-columns: 1fr;
    }
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-header h3 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-feature {
    padding: 32px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.about-feature h4 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 20px;
}

.about-highlight {
    margin-top: 60px;
    padding: 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border-left: 6px solid var(--accent);
}

.about-highlight h4 {
    color: var(--secondary);
    font-size: 24px;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 480px) {
    .about-highlight h4 {
        font-size: 20px;
        line-height: 1.2;
    }
}

.benefits-list-new {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    margin-top: 4px;
}

.benefit-text strong {
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
}

/* ========== SPEAKERS SECTION ========== */
.subsection-title {
    text-align: center;
    font-size: 24px;
    color: var(--gray);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.speaker-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 122, 62, 0.15);
    border-color: var(--primary);
}

.speaker-image {
    font-size: 60px;
    margin-bottom: 20px;
}

.speaker-info h4 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.speaker-role {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

.expand-btn {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: var(--primary);
    color: white;
}

.speaker-details {
    margin-top: 20px;
    text-align: left;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* ========== JOURNEY SECTION ========== */
.journey {
    background: var(--primary);
    color: white;
}

.journey .section-title {
    color: white;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 15px;
}

.step h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ========== ACTIVITIES SECTION ========== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.activity-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.activity-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-img-container img {
    transform: scale(1.1);
}

.activity-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.activity-content {
    padding: 30px;
}

.activity-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.activity-card h4 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.activity-details {
    margin-top: 25px;
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
}

.activity-details ul {
    list-style: none;
    margin-top: 10px;
}

.activity-details li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.activity-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ========== REGISTRATION SECTION ========== */
.register {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.register-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.register-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.register-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.register-info h3 {
    font-size: 32px;
    margin-bottom: 24px;
    color: white;
}

.register-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin-bottom: 30px;
}

.benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.register-container {
    padding: 60px;
    position: relative;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 122, 62, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    background: #e85a24;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(255, 107, 53, 0.4);
}

@media (max-width: 992px) {
    .register-card {
        grid-template-columns: 1fr;
    }
    .register-info {
        padding: 40px;
    }
    .register-container {
        padding: 40px;
    }
}

.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 600;
}

.success-message {
    background: #dcfce7;
    color: #166534;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-weight: 700;
}

.success-message.show {
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.developed-by {
    font-weight: 500;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .register-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 20px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
    
    .about-content {
        padding: 30px;
    }
    
    .register-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .speaker-card {
        padding: 20px;
    }
}
