/* ============================================
   KONTEX Workshop Website - Main Stylesheet
   ============================================ */

/* Root Variables */
:root {
    --primary-blue: #1e5a96;
    --primary-green: #00d084;
    --light-green: #e8f8f5;
    --dark-navy: #0f1419;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1em;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

p {
    margin-bottom: 1em;
    color: var(--text-light);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-blue);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #1a4a7a);
    color: white;
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 0;
}

.nav-tagline {
    font-size: 12px;
    color: var(--primary-green);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.05), rgba(0, 208, 132, 0.05));
    padding: 80px 0;
    border-bottom: 2px solid var(--light-green);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1em;
    line-height: 1.1;
}

.hero-text .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--light-green);
    color: var(--primary-blue);
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--light-green), #e8f8f5);
    border: 2px dashed var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1em;
}

.about-text p {
    margin-bottom: 1.2em;
    line-height: 1.8;
    font-size: 15px;
}

.about-highlight {
    display: flex;
    flex-direction: column;
}

.highlight-box {
    background: linear-gradient(135deg, var(--light-green), #f0fffe);
    border-left: 4px solid var(--primary-green);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.highlight-box h4 {
    color: var(--primary-blue);
    margin-bottom: 0.8em;
}

/* ============================================
   Objectives Section
   ============================================ */

.objectives {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.objective-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-green);
}

.objective-icon {
    font-size: 2.5rem;
    margin-bottom: 1em;
}

.objective-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8em;
}

.objective-card p {
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   Topics Section
   ============================================ */

.topics {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.topic-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.topic-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-hover);
}

.topic-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1em;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.8em;
}

.topic-card ul {
    list-style: none;
    padding: 0;
}

.topic-card li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.topic-card li:last-child {
    border-bottom: none;
}

.topic-card li:before {
    content: "▸ ";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 8px;
}

/* ============================================
   Audience Section
   ============================================ */

.audience {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.03), rgba(0, 208, 132, 0.03));
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.audience-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.audience-item h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.8em;
}

.audience-item p {
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   Dates Section (Timeline)
   ============================================ */

.dates {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-green));
}

.timeline-item {
    display: flex;
    gap: 30px;
    position: relative;
    padding-left: 35px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border: 3px solid var(--bg-light);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 15px;
    min-width: 150px;
}

.timeline-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.3em;
    font-size: 1.1rem;
}

.timeline-content p {
    font-size: 14px;
    margin: 0;
}

/* ============================================
   Submission Section
   ============================================ */

.submission {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.submission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.submission-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.submission-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1em;
    font-size: 1.2rem;
}

.submission-box ul {
    list-style: none;
    padding: 0;
}

.submission-box li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

.submission-box li:last-child {
    border-bottom: none;
}

.submission-box li:before {
    content: "✓ ";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 8px;
}

.link-highlight {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-green);
}

/* ============================================
   Organizers Section
   ============================================ */

.organizers {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.05), rgba(0, 208, 132, 0.05));
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.organizer-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.organizer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.organizer-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #1a4a7a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 1em;
}

.organizer-card h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5em;
}

.organizer-affiliation {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 0.8em;
}

.organizer-email a {
    font-size: 14px;
    color: var(--primary-green);
}

.organizer-avatar-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1em;
    border: 3px solid var(--primary-green);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--dark-navy);
    color: white;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--primary-green);
}

.footer p {
    margin: 0.5em 0;
    font-size: 14px;
}

.footer a {
    color: var(--primary-green);
}

.footer a:hover {
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .objectives-grid,
    .topics-grid,
    .audience-grid,
    .organizers-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 15px;
    }

    .timeline-item::before {
        left: 4px;
    }

    .timeline-date {
        min-width: 100px;
    }

    .hero-meta {
        flex-direction: column;
    }

    .meta-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .about, .objectives, .topics, .audience, .dates, .submission, .organizers {
        padding: 50px 0;
    }

    .nav-menu {
        gap: 15px;
    }
}