/* CSS Variables */
:root {
    --background-color: #F5E6D3;
    --text-color: #2D2D2D;
    --border-color: #E6D5C5;
    --card-color: #FFF6E9;
    --navbar-bg-color: var(--background-color);
}

[data-theme='dark'] {
    --background-color: #2D2D2D;
    --text-color: #FAF9F6;
    --border-color: #444;
    --card-color: #3A3A3A;
    --navbar-bg-color: #333;
}

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

body {
    font-family: Georgia, serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 22px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--navbar-bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.8rem 2rem;
    z-index: 1000;
    font-size: 1.5rem;
}

.navbar-container {
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.nav-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    margin-left: 0;
    font-size: 30px;
    font-weight: bold;
    padding-left: 0;
}

main {
    margin-top: 7rem;
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

p {
    font-size: 1.4rem;
    margin: 1.2rem 0;
}

/* Card styles */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.card-description {
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .card {
        padding: 2rem;
        min-height: 250px;
    }
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(20px);
} 