/*
 * ----------------------------------------------------------------
 * LANDING PAGE STYLESHEET (v6 - FANCY)
 * ----------------------------------------------------------------
 */

/* Import a "handwritten" font */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&display=swap');

/* --- 1. Basic Setup & New Color Theme --- */
:root {
    --bg-white: #FFFFFF;
    --bg-light-gray: #F9F9F9; /* Even lighter gray */
    --text-black: #222222;
    --text-muted: #555555;
    --brand-yellow: #FDB813;
    --brand-yellow-dark: #E4A60B;
    --border-color: #EEEEEE;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
    color: var(--text-black);
    min-height: 100vh;
    display: block;
    -webkit-font-smoothing: antialiased; /* Smoother text */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-black);
    font-weight: 700;
}

p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- 2. Contained Layout --- */
.container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

/* --- 3. Landing Page Navigation --- */
.landing-nav {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.landing-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.landing-nav .logo {
    font-family: 'Caveat', cursive; /* Use the cool handwritten font */
    font-size: 2.2rem; /* Make it larger */
    font-weight: 700;
    color: var(--text-black);
    text-decoration: none;
    text-shadow: 1px 1px 0px var(--brand-yellow), 2px 2px 0px var(--border-color);
    letter-spacing: 0.5px;
    padding: 0.25rem 0; 
}

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

.landing-nav .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.landing-nav .nav-links a:hover {
    color: var(--brand-yellow);
}

.btn-login-nav {
    background: var(--brand-yellow);
    color: var(--text-black);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 2rem;
    transition: background-color 0.2s ease;
}
.btn-login-nav:hover {
    background: var(--brand-yellow-dark);
}

/* --- 4. Hero Section --- */
.hero-section {
    background: var(--bg-light-gray);
    padding: 8rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 0 auto 1.5rem auto;
    max-width: 700px;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.btn-hero {
    background: var(--brand-yellow);
    color: var(--text-black);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(253, 184, 19, 0.3);
}
.btn-hero:hover {
    background: var(--brand-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(253, 184, 19, 0.4);
}

/* --- 5. NEW: Icon Features Section --- */
.icon-features {
    padding: 6rem 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 4rem;
}
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.icon-card {
    text-align: center;
    padding: 2rem;
}
.icon-card-icon {
    width: 64px;
    height: 64px;
    fill: var(--brand-yellow);
    margin-bottom: 1.5rem;
}
.icon-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.icon-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- 6. Detailed Service Sections --- */
.service-section {
    padding: 6rem 0;
}
.service-section:nth-child(even) {
    background: var(--bg-light-gray);
}
.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.service-section:nth-child(odd) .service-content {
    /* Reverses order for visual flow */
    grid-template-areas: "image text";
}
.service-section:nth-child(odd) .service-content .service-image { grid-area: image; }
.service-section:nth-child(odd) .service-content .service-text { grid-area: text; }

.service-image {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    /* NEW: Center the icon */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

/* NEW: The Icon Itself */
.service-image-icon {
    width: 100px;
    height: 100px;
    fill: var(--brand-yellow);
    /* NEW: Add the float animation */
    animation: float-animation 4s ease-in-out infinite;
}

/* NEW: The animation keyframes */
@keyframes float-animation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}
.service-text h2 {
    font-size: 1.2rem;
    margin-top: 0;
    color: var(--brand-yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.service-text h3 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* --- NEW: Feature List with Icons --- */
.service-text .features-list {
    list-style: none;
    padding-left: 0;
}
.service-text .features-list li {
    display: flex;
    align-items: flex-start;
    padding-left: 0;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}
.service-text .features-list li::before { 
    content: none; /* Remove old checkmark */
}
.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    fill: var(--brand-yellow);
    flex-shrink: 0;
    margin-top: 2px;
}
/* --- END NEW --- */


/* --- 7. Footer --- */
.footer {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-light-gray);
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}
.footer p {
    margin: 0.5rem 0;
}
.footer a {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    margin: 0 0.5rem;
}
.footer a:hover {
    color: var(--brand-yellow-dark);
    text-decoration: underline;
}

/* --- 8. Login Modal --- */
/* (This section is unchanged) */
.login-modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px);
    z-index: 2000; display: none; align-items: center; justify-content: center;
}
.login-modal-backdrop.show-modal { display: flex; }
.login-modal {
    background: var(--bg-white); padding: 2.5rem; border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); width: 100%;
    max-width: 400px; border: 1px solid var(--primary-color); position: relative;
}
.close-btn {
    position: absolute; top: 10px; right: 15px; background: none; border: none;
    font-size: 2.5rem; color: #AAA; cursor: pointer; line-height: 1; padding: 0;
}
.close-btn:hover { color: var(--text-black); }
.login-modal h2 { text-align: center; color: var(--text-black); margin-top: 0; margin-bottom: 1.5rem; }
.login-modal .form-group { margin-bottom: 1.25rem; }
.login-modal .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-muted); }
.login-modal .form-group input {
    width: 100%; padding: 0.75rem; box-sizing: border-box; 
    border: 1px solid var(--border-color); border-radius: 5px;
    background-color: var(--bg-light-gray); color: var(--text-black); font-size: 1rem;
}
.login-modal .form-group input:focus {
    outline: none; border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(253, 184, 19, 0.3);
}
.login-modal .btn {
    width: 100%; padding: 0.85rem; border: none; border-radius: 5px;
    background-color: var(--brand-yellow); color: var(--text-black);
    font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background-color 0.2s ease;
}
.login-modal .btn:hover { background-color: var(--brand-yellow-dark); }
.login-modal .error-message {
    background-color: rgba(231, 76, 60, 0.1); color: #e74c3c; border: 1px solid #e74c3c;
}

/* --- 9. Responsive (Mobile) --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .service-text h3 { font-size: 2rem; }
    .icon-grid { grid-template-columns: 1fr; } /* Stack icons on mobile */
    .service-content { grid-template-columns: 1fr; }
    .service-image { grid-row: 1; }
    .landing-nav .nav-links a { display: none; }
}


