/* ===================================
   WANDERING KIDS CAFE - WEBSITE STYLES
   =================================== */

/* CSS Variables - Wandering Kids Cafe Color Palette */
:root {
    /* Primary Brand Colors */
    --primary-color: #72ACC2;        /* Main blue - buttons, accents */
    --secondary-color: #5BA8C5;      /* Teal blue - feature backgrounds */
    --accent-color: #F9CF83;         /* Golden yellow - highlights */

    /* Pastel Backgrounds */
    --bg-mint: #C5E5E0;              /* Mint green background */
    --bg-cream: #FFF7E1;             /* Cream background */
    --bg-pink: #EBAAC0;              /* Pink accent background */
    --bg-coral: #F0ACA9;             /* Coral background */
    --bg-yellow: #F9E0A5;            /* Light yellow background */
    --bg-light-blue: #8CB3E3;        /* Light blue background */
    --bg-not-included: #C5E4D7;      /* Light mint for disabled/not included */

    /* Text Colors */
    --text-dark: #2C3E50;            /* Main text color */
    --text-light: #666666;           /* Secondary text color */
    --text-white: #FFFFFF;           /* White text */

    /* Utility Colors */
    --price-color: #E89499;          /* Price/important text */
    --bg-light: #F0F8FF;             /* Light background alternative */
    --bg-white: #ffffff;             /* Pure white */
    --border-color: #C5E5E0;         /* Border color */

    /* Status Colors */
    --success-color: #72ACC2;        /* Success/check-in */
    --warning-color: #F9CF83;        /* Warning */
    --info-color: #5BA8C5;           /* Info */
    --danger-color: #E89499;         /* Danger/error */

    /* Shadows */
    --shadow: 0 2px 10px rgba(114, 172, 194, 0.15);
    --shadow-hover: 0 4px 20px rgba(114, 172, 194, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand img {
    height: 50px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary, .btn-secondary, .btn-hero {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: rgba(44, 62, 80, 0.85);
    transform: translateY(-2px);
}

.btn-hero {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, #72ACC2 0%, #8CB3E3 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-screenshot {
    width: 200px;
    height: 400px;
    background: var(--bg-mint);
    border-radius: 20px;
    border: 3px solid var(--border-color);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.step-screenshot:hover {
    transform: scale(1.05);
}

.step-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding: 1rem;
    text-align: center;
}

.step-screenshot-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step-screenshot-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
}

/* ===================================
   FOR USERS SECTION
   =================================== */
.for-users {
    padding: 5rem 0;
    background: var(--bg-mint);
}

.user-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.check-icon {
    color: var(--success-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.benefit p {
    margin: 0;
    color: var(--text-dark);
}

/* ===================================
   FOR ADMIN SECTION
   =================================== */
.for-admin {
    padding: 5rem 0;
    background: white;
}

.admin-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-feature {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.admin-feature h3 {
    margin-bottom: 0.5rem;
}

.admin-cta {
    text-align: center;
}

/* ===================================
   DOWNLOAD CTA SECTION
   =================================== */
.download-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #72ACC2 0%, #EBAAC0 100%);
    color: white;
    text-align: center;
}

.download-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===================================
   DOWNLOAD PAGE STYLES
   =================================== */
.download-hero {
    background: linear-gradient(135deg, #C5E5E0 0%, #72ACC2 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.download-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.download-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.platform-info {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.version-info {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.requirements {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.android-btn { background: var(--primary-color); color: white; }
.android-btn:hover { background: var(--primary-color); color: rgba(255, 255, 255, 0.85); }

.ios-btn { background: var(--bg-light-blue); color: white; }
.ios-btn:hover { background: var(--bg-light-blue); color: rgba(255, 255, 255, 0.85); }

.windows-btn { background: var(--secondary-color); color: white; }
.windows-btn:hover { background: var(--secondary-color); color: rgba(255, 255, 255, 0.85); }

.macos-btn { background: var(--text-dark); color: white; }
.macos-btn:hover { background: var(--text-dark); color: rgba(255, 255, 255, 0.85); }

.linux-btn { background: var(--accent-color); color: var(--text-dark); }
.linux-btn:hover { background: var(--accent-color); color: rgba(44, 62, 80, 0.85); }

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.download-icon {
    font-size: 1.2rem;
}

.download-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Installation Guide */
.installation-guide {
    padding: 5rem 0;
    background: white;
}

.platform-instructions {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.instruction-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.instruction-card h3 {
    margin-bottom: 1rem;
}

.instruction-card ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.instruction-card ol li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.note {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--warning-color);
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* Requirements Section */
.requirements-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.req-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.req-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.req-card ul {
    list-style: none;
}

.req-card ul li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.req-card ul li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-dark);
}

/* Support Section */
.support-section {
    padding: 4rem 0;
    background: var(--bg-light);
    text-align: center;
}

.support-section h2 {
    margin-bottom: 1rem;
}

.support-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===================================
   DOCUMENTATION LAYOUT
   =================================== */
.docs-container {
    display: flex;
    min-height: calc(100vh - 200px);
}

/* Sidebar */
.docs-sidebar {
    width: 280px;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav .nav-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-item:hover {
    background: white;
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.sidebar-nav .nav-item.active {
    background: white;
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Main Documentation Content */
.docs-content {
    flex: 1;
    padding: 3rem;
    max-width: 900px;
}

.doc-section {
    margin-bottom: 4rem;
}

.doc-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.doc-section h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.doc-section h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.doc-section h4 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.doc-section ul, .doc-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.doc-section li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Info Boxes */
.info-box, .warning-box, .tip-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--info-color);
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid var(--warning-color);
}

.tip-box {
    background: #e8f5e9;
    border-left: 4px solid var(--success-color);
}

.info-box h3, .warning-box h3, .tip-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.registered {
    background: #4CAF50;
    color: white;
}

.status-badge.checked-in {
    background: #2196F3;
    color: white;
}

.status-badge.checked-out {
    background: #9C27B0;
    color: white;
}

/* Troubleshoot Items */
.troubleshoot-item, .situation-card, .troubleshoot-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.troubleshoot-item h4, .situation-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checklist label:hover {
    background: var(--bg-light);
}

.checklist input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Reference Grid */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.reference-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.reference-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.reference-card p {
    margin: 0;
    color: var(--text-light);
    font-family: monospace;
}

/* Documentation Footer Message */
.docs-footer-message {
    background: linear-gradient(135deg, #72ACC2 0%, #F9CF83 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
}

.docs-footer-message h3 {
    color: white;
    margin-bottom: 1rem;
}

.docs-footer-message p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: none;
}

.back-to-top:hover {
    background: #45a049;
    transform: translateY(-3px);
}

.back-to-top.visible {
    display: block;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .step-screenshot {
        width: 180px;
        height: 360px;
    }

    .docs-container {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .docs-content {
        padding: 2rem 1rem;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .support-buttons {
        flex-direction: column;
        align-items: center;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .reference-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
