/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --primary-dark: #000000;
    --secondary-color: #808080;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #cccccc;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.15);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.2);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    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 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section with Image */
.hero {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

/* Background image container */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* The image itself */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 90vh;
    object-fit: cover;
    z-index: 0;
}

/* The dark overlay + text */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    color: white;
}

.hero-overlay .hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
    padding: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #f5f5f5;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

/* Section Styles */
section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.skill-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    color: var(--text-dark);
}

.skill-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--text-dark);
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
}

.timeline-date {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.timeline-achievements {
    list-style: none;
    padding-left: 0;
}

.timeline-achievements li {
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.timeline-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-dark);
    font-weight: 600;
}

/* Education Section */
.education {
    background: var(--bg-light);
}

.education-content {
    max-width: 700px;
    margin: 0 auto;
}

.education-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.education-icon {
    font-size: 2.5rem;
}

.education-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
    color: var(--text-dark);
}

.education-details h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.education-date {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
}

.education-grade {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.education-activities {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Publications Section */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* New thumbnail-style publication cards */
.publication-thumbnail-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.publication-thumbnail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-dark);
}

.publication-thumbnail-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.publication-thumbnail-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.publication-thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay + “Read” pill on hover */
.publication-thumbnail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.publication-thumbnail-card:hover .publication-thumbnail-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.read-button-small {
    background: #ffffff;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0.95;
    box-shadow: var(--shadow-sm);
}

/* Text area below thumbnail */
.publication-thumbnail-info {
    padding: 1.1rem 1.25rem 1.25rem;
}

.publication-thumbnail-date {
    color: var(--text-light);
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
}

.publication-thumbnail-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 600;
}

.publication-thumbnail-outlet {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Videos Section */
.videos {
    background: var(--bg-white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.video-thumbnail-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.video-thumbnail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-dark);
}

.video-thumbnail-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-thumbnail-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.video-thumbnail-card:hover .video-thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button-small {
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.video-thumbnail-card:hover .play-button-small {
    transform: scale(1.1);
}

.video-thumbnail-info {
    padding: 1.25rem;
}

.video-thumbnail-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 600;
}

.video-thumbnail-outlet {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.video-thumbnail-date {
    color: var(--text-light);
    font-size: 0.8125rem;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.contact-item a:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
}

.contact-form-container {
    background: white;
    padding: 1.75rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-dark);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Modal (Contact Popup) */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 0.75rem;
    max-width: 480px;
    width: 90%;
    padding: 2rem 2.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.modal-form .form-group {
    margin-bottom: 1rem;
}

.modal-form .form-group input,
.modal-form .form-group textarea {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 1.5rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-overlay .hero-content {
        padding: 1rem;
    }

    .videos-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .publications-grid {
        grid-template-columns: 1fr;
    }
}


/* More button wrapper */
.videos-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* Collapsible second grid */
.videos-grid--extra.is-collapsed {
  display: none;
}

/* On-Air Commentary "More…" button */



/* Force the More button to look like plain text */
#videosMoreBtn {
  appearance: none;
  -webkit-appearance: none;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  color: #808080;
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Hover: grey -> black */
#videosMoreBtn:hover {
  color: #000000;
  background: transparent !important;
}

/* Keep accessibility: show focus only for keyboard users */
#videosMoreBtn:focus {
  outline: none;
}
#videosMoreBtn:focus-visible {
  outline: 2px solid #999999;
  outline-offset: 2px;
}



