@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
  /* Theme: Dark
  Colors: #0F1021 (Dark BG), #59057B (Secondary), #AB0E86 (Primary), #FB90B7 (Accent) 
  Highlight: #FFEB00
  */
  --primary-color: #AB0E86;
  --secondary-color: #59057B;
  --accent-color: #FB90B7;
  --light-color: #F3EBFF;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #AB0E86 0%, #59057B 100%);
  --gradient-primary-overlay: 70, 14, 96, 0.8; /* (171, 14, 134, 0.8), (89, 5, 123, 0.8) */
  --hover-color: #d11a9f;
  --background-color: #1a1a2e; /* Darker than dark-color */
  --text-color: #E0E0E0;
  --border-color: rgba(251, 144, 183, 0.2);
  --divider-color: rgba(251, 144, 183, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3); /* Dark shadow for dark theme */
  --light-shadow-color: rgba(45, 45, 69, 0.3); /* Lighter shadow for dark theme */
  --highlight-color: #FFEB00;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

body {
    font-family: var(--alt-font);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
    letter-spacing: 0.5px;
}

.py-section {
    padding-top: 10dvh;
    padding-bottom: 10dvh;
}

.prose {
    max-width: 65ch;
    color: var(--text-color);
}
.prose p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Neumorphism (Dark Theme) */
.neumorph {
    background: var(--background-color);
    border-radius: 12px;
    box-shadow: 6px 6px 12px var(--shadow-color),
                -6px -6px 12px var(--light-shadow-color);
    transition: all 0.3s ease;
}
.neumorph:hover {
    box-shadow: 8px 8px 16px var(--shadow-color),
                -8px -8px 16px var(--light-shadow-color);
    transform: translateY(-2px);
}

.neumorph-inset {
    background: var(--background-color);
    border-radius: 12px;
    box-shadow: inset 6px 6px 12px var(--shadow-color),
                inset -6px -6px 12px var(--light-shadow-color);
}

.neumorph-img {
    border-radius: 12px;
    box-shadow: 6px 6px 12px var(--shadow-color),
                -6px -6px 12px var(--light-shadow-color);
}
.neumorph-img img {
    border-radius: 12px;
}

/* Header & Nav */
@media (max-width: 1024px) { /* lg breakpoint */
    .navigation {
        display: none;
        position: absolute;
        top: 80px; /* Header height */
        left: 0;
        right: 0;
        background-color: var(--dark-color);
        flex-direction: column;
        width: 100%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .navigation ul {
        flex-direction: column;
        width: 100%;
    }
    .navigation ul li {
        text-align: center;
        padding: 1rem;
        border-top: 1px solid var(--divider-color);
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--light-color);
}
.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--accent-color);
}
.nav-link-button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--light-color);
    transition: all 0.3s ease;
}
.nav-link-button:hover {
    background-color: var(--hover-color);
    box-shadow: 0 4px 10px var(--shadow-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--main-font);
    background-color: var(--primary-color);
    color: var(--light-color);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 8px var(--shadow-color),
                -4px -4px 8px var(--light-shadow-color);
}
.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 6px 6px 12px var(--shadow-color),
                -6px -6px 12px var(--light-shadow-color);
}

/* Divider */
.divider {
    height: 2px;
    width: 100px;
    background: var(--gradient-primary);
    margin: 1rem auto;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 1rem 2.5rem;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
}
.timeline-item:nth-child(odd)::after {
    right: -10px;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-item::after { /* Connector dot */
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    top: 14px;
    z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-icon {
    right: -20px;
}
.timeline-item:nth-child(even) .timeline-icon {
    left: -20px;
}
.timeline-content {
    padding: 1.5rem;
}
.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 1rem;
        left: 0 !important;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    .timeline-icon,
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0px;
    }
    .timeline-item::after,
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 10px;
    }
}

/* Form */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    font-family: var(--alt-font);
    background: var(--background-color);
    color: var(--text-color);
    box-shadow: inset 4px 4px 8px var(--shadow-color),
                inset -4px -4px 8px var(--light-shadow-color);
    transition: all 0.3s ease;
}
.form-input::placeholder {
    color: #888;
}
.form-input:focus {
    outline: none;
    box-shadow: inset 6px 6px 10px var(--shadow-color),
                inset -6px -6px 10px var(--light-shadow-color),
                0 0 0 2px var(--primary-color);
}

/* Footer */
.footer-link {
    transition: color 0.3s ease;
    color: var(--light-color);
}
.footer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}