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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #1a2332;
    color: #ffffff;
    line-height: 1.7;
    font-size: 17px;
    min-height: 100vh;
    position: relative;
}

/* Original gradient overlay - EASY REVERT: Uncomment this and comment out the animated gradient below */
/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a2332 0%, #2a3442 50%, #1a2332 100%);
    z-index: -1;
} */

/* Gradient overlay with darker charcoal and blue tones */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #181820 0%, #1e2836 25%, #222840 50%, #1a2332 75%, #181820 100%);
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
}
.cycling-text {
    font-weight:600;
}
/* Header */
header {
    margin-bottom: 8rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    color: #b0b0b0;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-top: -0.5rem;
}

.nav-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #66b3ff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero section */
.hero-section {
    margin-bottom: 10rem;
}

.hero-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.02em;
    max-width: 100%;
    margin-bottom: 2rem;
}

.hero-text em {
    font-style: italic;
    color: #e0e0e0;
}

.hero-cta {
    
    font-size: 1.3rem;
    color: #d0d0d0;
    margin-top: 0.5rem;
}

.hero-tagline {
    font-size: 1.3rem;
    color: #d0d0d0;
    margin-top: 0.5rem;
}

.cycling-text {
    display: inline-block;
}

#cycling-option {
    display: inline-block;
    transition: opacity 0.4s ease;
}

/* Differentiator bullets */
.differentiator-section {
    margin-bottom: 10rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.differentiator-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
}

.differentiator-list li {
    position: relative;
    padding-left: 1.5rem;
    color: #d0d0d0;
    font-size: 1.1rem;
}

.differentiator-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #66b3ff;
    font-weight: 600;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    cursor: default;
}

.tooltip::before,
.tooltip::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.tooltip::before {
    content: attr(data-tooltip);
    background-color: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    bottom: calc(100% + 12px);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.tooltip::after {
    content: '';
    border: 6px solid transparent;
    border-top-color: #000;
    bottom: calc(100% + 1px);
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Content grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 10rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #808080;
    margin-bottom: 2rem;
}

.philosophy-block {
    margin-bottom: 3rem;
}

.philosophy-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.philosophy-block p {
    color: #c0c0c0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.philosophy-block p:last-child {
    margin-bottom: 0;
}

/* Skills section */
.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
}

.skill-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    color: #b0b0b0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    position: relative;
    padding-left: 1.25rem;
}

.skill-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #666666;
}

/* Professional Experience Section */
.experience-section {
    margin: 4rem 0;
    padding: 4rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: #b0b0b0;
    font-size: 1.125rem;
}

/* Category cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 8px;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1e2a3a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #b0b0b0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    color: #ffffff;
}

.modal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
}

.modal-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #ffffff;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #d0d0d0;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.modal-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.modal-body li {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #66b3ff;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hide expandable content */
.expandable-content {
    display: none;
}

/* Personal section */
.personal-section {
    margin: 6rem 0 4rem 0;
    padding: 4rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Social links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 2rem 0;
}

.social-links a {
    display: inline-block;
    width: 28px;
    height: 28px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: #b0b0b0;
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: #ffffff;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666666;
    font-size: 0.875rem;
}

/* Approach section */
.approach-section {
    margin: 6rem 0;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.approach-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5rem;
    align-items: start;
}

.approach-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0;
}

.approach-text {
    color: #c0c0c0;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

/* Dogs hover effect */
.dogs-hover-trigger {
    position: relative;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #66b3ff;
}

.dog-images-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dog-images-container.show {
    opacity: 1;
    visibility: visible;
}

.dog-image {
    position: absolute;
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.dog-image.top-left {
    top: 20px;
    left: 20px;
}

.dog-image.top-right {
    top: 20px;
    right: 20px;
}

.dog-image.bottom-left {
    bottom: 20px;
    left: 20px;
}

.dog-image.bottom-right {
    bottom: 20px;
    right: 20px;
}

.dog-images-container.show .dog-image {
    transform: scale(1.05);
}

/* Ping pong hover effect */
.pingpong-hover-trigger {
    position: relative;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #66b3ff;
}

.pingpong-image-container {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pingpong-image-container.show {
    opacity: 1;
    visibility: visible;
}

.pingpong-image {
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* Wife hover effect */
.wife-hover-trigger {
    position: relative;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #66b3ff;
}

.wife-image-container {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wife-image-container.show {
    opacity: 1;
    visibility: visible;
}

.wife-image {
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .dog-image {
        width: 120px;
    }
    
    .pingpong-image-container {
        right: 50%;
        transform: translate(50%, -50%);
        top: auto;
        bottom: 20px;
    }
    
    .pingpong-image {
        width: 90vw;
        max-width: 300px;
    }
    .container {
        padding: 3rem 1.5rem;
    }

    header {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .hero-text {
        font-size: 2rem;
    }

    .differentiator-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-section {
        padding: 3rem 1.5rem;
    }
    
    .approach-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .approach-title {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 2rem;
        width: 95%;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}