html {
    scroll-behavior: smooth;
}

.hero-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.1);
    animation: subtle-zoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            var(--bg-primary) 100%);
    transition: background-color 0.3s, transform 0.3s;
}

.header-content {
    position: sticky;
    top: 0;
    padding: 2rem 0;
}

.shadow-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes subtle-zoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-section header {
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
    }

    .hero-section {
        min-height: 400px;
    }
}

.dark .hero-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            var(--bg-primary) 100%);
    transition: background-color 0.3s, transform 0.3s;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Style adjustments for dark mode */
.dark .bg-blue-600 {
    background-color: #3b82f6;
}

.dark .bg-blue-600:hover {
    background-color: #2563eb;
}


:root {
    /* Light Mode Colors */
    --bg-primary: #f4f4f8;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --bg-card: #f8f9fa;
    --bg-code: #2d3748;
    --text-code: #e2e8f0;
    --bg-section-header: #2c3e50;
    --text-section-header: #ecf0f1;
    --bg-type-badge: #4a5568;
    --text-type-badge: #e2e8f0;
}

.dark {
    /* Dark Mode Colors */
    --bg-primary: #121212;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --bg-card: #1e2633;
    --bg-code: #1a202c;
    --text-code: #e2e8f0;
    --bg-section-header: #1a2633;
    --text-section-header: #e0e0e0;
    --bg-type-badge: #2d3748;
    --text-type-badge: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
}

.section-header {
    background-color: var(--bg-section-header);
    color: var(--text-section-header);
}

.code-block {
    background-color: #2d3748 !important;
    color: #e2e8f0 !important;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Fira Code', monospace;
}

.bg-white.p-3.rounded-md {
    background-color: white !important;
    color: #2d3748 !important;
}

.bg-white.p-3.rounded-md code {
    background-color: #f1f5f9 !important;
    color: #2d3748 !important;
}

.bg-white.p-3.rounded-md p {
    color: #6b7280 !important;
}

.type-badge {
    background-color: var(--bg-type-badge);
    color: var(--text-type-badge);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.input-type-card {
    background-color: var(--bg-card);
    color: var(--text-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.input-type-card p {
    color: var(--text-primary);
}

.input-type-card code {
    background-color: rgba(45, 55, 72, 0.1);
    color: var(--text-primary);
}

.input-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dark .input-type-card:hover {
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.05);
}

.dark .content-container {
    background-color: #242b38;
    transition: background-color 0.3s, transform 0.3s;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    background-color: var(--bg-type-badge);
    color: var(--text-type-badge);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
html {
    scroll-behavior: smooth;
}

.hero-section {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./assets/cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.1);
    animation: subtle-zoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            var(--bg-primary) 100%);
    transition: background-color 0.3s, transform 0.3s;
}

.header-content {
    position: sticky;
    top: 0;
    padding: 2rem 0;
}

.shadow-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes subtle-zoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-section header {
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
    }

    .hero-section {
        min-height: 400px;
    }
}

.dark .hero-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            var(--bg-primary) 100%);
    transition: background-color 0.3s, transform 0.3s;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Style adjustments for dark mode */
.dark .bg-blue-600 {
    background-color: #3b82f6;
}

.dark .bg-blue-600:hover {
    background-color: #2563eb;
}


:root {
    /* Light Mode Colors */
    --bg-primary: #f4f4f8;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --bg-card: #f8f9fa;
    --bg-code: #2d3748;
    --text-code: #e2e8f0;
    --bg-section-header: #2c3e50;
    --text-section-header: #ecf0f1;
    --bg-type-badge: #4a5568;
    --text-type-badge: #e2e8f0;
}

.dark {
    /* Dark Mode Colors */
    --bg-primary: #121212;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --bg-card: #1e2633;
    --bg-code: #1a202c;
    --text-code: #e2e8f0;
    --bg-section-header: #1a2633;
    --text-section-header: #e0e0e0;
    --bg-type-badge: #2d3748;
    --text-type-badge: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
}

.section-header {
    background-color: var(--bg-section-header);
    color: var(--text-section-header);
}

.code-block {
    background-color: #2d3748 !important;
    color: #e2e8f0 !important;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Fira Code', monospace;
}

.bg-white.p-3.rounded-md {
    background-color: white !important;
    color: #2d3748 !important;
}

.bg-white.p-3.rounded-md code {
    background-color: #f1f5f9 !important;
    color: #2d3748 !important;
}

.bg-white.p-3.rounded-md p {
    color: #6b7280 !important;
}

.type-badge {
    background-color: var(--bg-type-badge);
    color: var(--text-type-badge);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.input-type-card {
    background-color: var(--bg-card);
    color: var(--text-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.input-type-card p {
    color: var(--text-primary);
}

.input-type-card code {
    background-color: rgba(45, 55, 72, 0.1);
    color: var(--text-primary);
}

.input-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dark .input-type-card:hover {
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.05);
}

.dark .content-container {
    background-color: #242b38;
    transition: background-color 0.3s, transform 0.3s;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    background-color: var(--bg-type-badge);
    color: var(--text-type-badge);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}