:root {
    --primary-color: #CA391F;
    --background-color: #FFFBF1;
    --secondary-color: #834437;
    --text-color: #333333;
    --light-text: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Righteous', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Buttons */
.button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.5);
}

.button:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1.5rem;
    }
    
    .button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Page Transitions */
.page-transitioning {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
    padding: 0.5rem;
    transition: color 0.3s;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.nav-item span {
    font-size: 0.8rem;
}

.nav-item.active {
    color: var(--primary-color);
}

/* Add padding to main content to account for bottom nav */
main {
    padding-bottom: 70px;
    background-color: #fce2aa;
} 