﻿/* Base Layout */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* Header */
.site-header {
    background-color: #840017;
    color: white;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    width: 180px;
    height: auto;
}

.logo-section {
    display: flex;
    align-items: center;
}

.brand-name {
    font-size: 1.6em;
    font-weight: bold;
    margin-left: 12px;
    color: #840017;
}

.main-nav a, .auth-buttons a {
    color: white;
    font-weight: 500;
    text-decoration: none;
    margin: 0 10px;
}

.auth-buttons .signup {
    background-color: white;
    color: #840017;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-color: #840017;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

    .hero h1 {
        font-size: 3em;
        margin-bottom: 10px;
        color: white;
    }

    .hero p {
        font-size: 1.2em;
        margin-bottom: 30px;
    }

/* General Page Content Container */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px;
    text-align: center;
}

/* Feature Blocks */
.feature {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

    .feature.alt {
        background-color: #f9f9f9;
    }

.cta {
    background-color: #f9f9f9;
    padding: 60px 20px;
    border-radius: 10px;
    text-align: center;
}

/* Typography */
h1, h2 {
    color: #333;
}

p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1em;
}

/* Buttons */
.btn-primary {
    background-color: #ffffff;
    color: #840017;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn-primary:hover {
        background-color: #fdfdfd;
        color: #840017;
    }

/* Images */
.section-image {
    max-width: 100%;
    max-height: 400px;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    color: #444;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

/* Collapsible Section for How It Works */
.content-box {
    background: white;
    padding: 10px 30px;
    border-radius: 10px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}
    .content-box h1 {
        color: #840017;
        margin-bottom: 20px;
    }

.section {
    margin-bottom: 60px;
}

.section-toggle {
    cursor: pointer;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 6px;
    margin-bottom: 10px;
}

.section-content {
    display: none;
    margin-top: 10px;
}

    .section-content.show {
        display: block;
    }

.icon {
    font-size: 1.3em;
    margin-right: 8px;
}

.back-link {
    display: block;
    margin-top: 30px;
    color: #840017;
    text-decoration: none;
    text-align: center;
}

    .back-link:hover {
        text-decoration: underline;
    }









.info-box {
    margin: 20px auto;
    width: 40%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.login-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 15px;
    background: white;
    border-radius: 10px;
/*        box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
*/    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

    .login-box table {
        width: 100%;
        max-width: 400px;
        border-collapse: collapse;
    }


    .login-box input {
        padding: 10px;
        width: 250px;
        margin: 10px;
        font-size: 1em;
    }

    .login-box button {
        padding: 10px 20px;
        font-size: 1em;
        border: none;
        background-color: #840017;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

.slogan {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}





/* Responsive Enhancements */
@media screen and (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav, .auth-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .btn-primary {
        width: 100%;
        font-size: 1em;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .feature, .cta {
        padding: 40px 15px;
    }

    .main-nav a {
        margin: 5px 0;
    }

    .auth-buttons .signup {
        width: 100%;
        text-align: center;
    }

    .content-box {
        padding: 20px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    .section-toggle {
        font-size: 1em;
    }





    .login-box table td {
        display: block;
        width: 100%;
        text-align: left !important;
    }

        .login-box table td:first-child {
            margin-top: 15px;
            font-weight: 600;
        }

    .login-box input[type="text"],
    .login-box input[type="password"] {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}






