/* FILE: styles.css */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Lato', sans-serif;
    background-color: #111111;
    color: #e5e7eb; /* text-gray-200 */
}
.font-playfair {
    font-family: 'Playfair Display', serif;
}
.hero {
    height: 87.5vh; /* 7/8 screen height */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1517842645767-c6f9040553db?q=80&w=2670&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
}
.nav-link {
    color: #d1d5db; /* text-gray-300 */
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    margin-left: 0.75rem; /* Adjusted for better spacing */
    margin-right: 0.75rem; /* Adjusted for better spacing */
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.nav-link:hover {
    color: #ffffff; /* hover:text-white */
    border-bottom-color: #ffffff; /* hover:border-white */
}
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.9); /* #111111 with opacity */
    backdrop-filter: blur(10px);
    z-index: 40;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid #374151;
}
.sticky-nav.visible {
    transform: translateY(0);
}
.card {
    background-color: #1a1a1a;
    border: 1px solid #374151; /* border-gray-700 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a grid have same height */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}
.input-field {
    background-color: #2a2a2a;
    border: 1px solid #4b5563; /* border-gray-600 */
    color: white;
}
.btn {
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
    transform: scale(1.05);
}
.hidden {
    display: none;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}
.modal-content {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid #374151;
}
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.quiz-option {
    border: 1px solid #4b5563; /* border-gray-600 */
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.quiz-option:hover {
    background-color: #374151; /* bg-gray-700 */
}
.quiz-option.correct {
    background-color: #065f46; /* bg-green-800 */
    border-color: #10b981; /* border-green-500 */
}
.quiz-option.incorrect {
    background-color: #991b1b; /* bg-red-800 */
    border-color: #ef4444; /* border-red-500 */
}