/* Kvenno Efnafræði - Main Stylesheet */

/* ===================================
   Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ===================================
   Header
   =================================== */

.site-header {
    background: white;
    border-bottom: 2px solid #f36b22;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f36b22;
    text-decoration: none;
    transition: opacity 0.3s;
}

.site-logo:hover {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.header-btn {
    background: white;
    border: 2px solid #f36b22;
    color: #f36b22;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.header-btn:hover {
    background: #f36b22;
    color: white;
}

/* ===================================
   Breadcrumbs
   =================================== */

.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: #f36b22;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ===================================
   Main Content
   =================================== */

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

/* ===================================
   Landing Page - Intro Section
   =================================== */

.intro-section {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.intro-section h1 {
    color: #f36b22;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   Landing Page - Navigation Grid
   =================================== */

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

.nav-tile {
    background: white;
    border: 3px solid #f36b22;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}

.nav-tile:hover {
    background: #f36b22;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(243, 107, 34, 0.3);
}

.nav-tile h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.nav-tile p {
    font-size: 1rem;
    opacity: 0.8;
}

/* ===================================
   Hub Pages - Page Title
   =================================== */

.page-title {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-title h1 {
    color: #f36b22;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-title p {
    font-size: 1.1rem;
    color: #666;
}

/* ===================================
   Hub Pages - Tools Grid
   =================================== */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: white;
    border: 2px solid #f36b22;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(243, 107, 34, 0.3);
    border-color: #f36b22;
}

.tool-card h3 {
    color: #f36b22;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tool-card p {
    color: #666;
    flex-grow: 1;
}

.tool-card .status {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

.tool-card.active .status {
    color: #28a745;
    font-weight: bold;
}

.tool-card.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    border-style: dashed;
}

.tool-card.coming-soon:hover {
    transform: none;
}

/* ===================================
   Empty State
   =================================== */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-state h2 {
    color: #f36b22;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Back Button
   =================================== */

.back-button {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #f36b22;
    color: #f36b22;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.back-button:hover {
    background: #f36b22;
    color: white;
}

/* ===================================
   Footer
   =================================== */

.footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-section h1,
    .page-title h1 {
        font-size: 2rem;
    }

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

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

    .container {
        padding: 1rem;
    }
}
