/*
 Theme Name: Ontime
 Theme URI: https://ontimecalendarplus.com/
 Author: David Campbell
 Author URI: https://ontimecalendarplus.com/
 Description: A retro '90s-inspired theme for Ontime Calendar Plus, built by David Campbell.
 Version: 1.0
 Text Domain: ontime
*/

body {
    background-color: #F5F7FA;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    background: linear-gradient(90deg, #1E90FF, #104E8B);
    padding: 15px 0;
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.5);
}

#primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

#primary-menu li {
    display: inline-block;
    margin: 0 25px;
}

#primary-menu li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#primary-menu li a:hover {
    background-color: #FFFFFF;
    color: #1E90FF;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.header-top {
    text-align: center;
    padding: 20px 0;
}

header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #1E90FF;
}

header p {
    font-size: 16px;
    margin: 5px 0;
    color: #666;
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.banner {
    background-color: #E6F0FA;
    color: #333;
    text-align: center;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.banner h2 {
    font-size: 32px;
    margin: 0 0 10px;
    color: #1E90FF;
}

.banner p {
    font-size: 18px;
    margin: 0 0 20px;
}

.download-btn {
    display: inline-block;
    background-color: #1E90FF;
    color: #FFFFFF;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #104E8B;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.download-btn:hover {
    background-color: #104E8B;
}

.features-preview, .about-preview {
    margin-bottom: 40px;
}

.features-preview h2, .about-preview h2 {
    font-size: 28px;
    color: #1E90FF;
    margin-bottom: 15px;
    border-bottom: 2px solid #1E90FF;
    padding-bottom: 5px;
}

.features-preview p, .about-preview p {
    font-size: 16px;
    margin-bottom: 15px;
}

.features-preview ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.features-preview ul li {
    font-size: 16px;
    margin: 10px 0;
    padding-left: 30px;
    position: relative;
}

.features-preview ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231E90FF"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat center;
    background-size: contain;
}

.features-preview a, .about-preview a {
    color: #1E90FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.features-preview a:hover, .about-preview a:hover {
    color: #104E8B;
    text-decoration: underline;
}

footer {
    background-color: #FFFFFF;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #E0E0E0;
    position: relative;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

footer p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

footer ul li {
    display: inline;
    margin: 0 15px;
}

footer ul li a {
    color: #1E90FF;
    text-decoration: none;
    font-size: 14px;
}

footer ul li a:hover {
    text-decoration: underline;
}