/* Oceanic Portal - Main Stylesheet */
/* Shared styles across all pages */

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

/* ===========================
   TYPOGRAPHY
   =========================== */
h1 {
    font-size: 2.5em;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.2;
}

h2 {
    font-size: 2em;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    font-size: 1em;
}

a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 2.5em;
    color: white;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.tagline {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 30px;
}

/* ===========================
   NAVIGATION
   =========================== */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.main-nav a {
    color: white;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* ===========================
   DROPDOWN NAVIGATION - ULTRA SIMPLE
   =========================== */

.nav-item {
    position: relative;
    display: inline-block;
}

.nav-item > a {
    color: white;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    display: inline-block;
}

.nav-item > a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* SIMPLE DROPDOWN - NO ANIMATIONS */
.dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #ffffff;
    min-width: 320px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 999999;
    display: none;
    padding: 0;
    filter: none;
    backdrop-filter: none;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 1em;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown a:hover {
    background: #f5f5f5;
    color: #667eea;
}

/* ===========================
   BREADCRUMB
   =========================== */
.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: white;
    font-size: 0.95em;
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ===========================
   CONTENT CARDS
   =========================== */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.card h2,
.card h3 {
    color: white;
}

.card p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   GRID LAYOUTS
   =========================== */
.grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===========================
   ARTICLE CARD
   =========================== */
.article-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.article-card-title {
    color: white;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 500;
}

.article-card-title a {
    color: white;
    text-decoration: none;
}

.article-card-title a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.article-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.article-card-excerpt {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-card-link {
    color: white;
    font-weight: 500;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    align-self: flex-start;
}

.article-card-link:hover {
    background: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* ===========================
   CATEGORY CARD
   =========================== */
.category-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.category-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.category-title {
    color: white;
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 500;
}

.category-title a {
    color: white;
    text-decoration: none;
}

.category-title a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.category-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
}

.category-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-top: 10px;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    margin-top: 60px;
    color: white;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .logo {
        font-size: 2em;
    }

    .tagline {
        font-size: 1em;
    }

    .main-nav {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.3em;
    }

    .dropdown {
        position: relative;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.6em;
    }

    .site-header {
        padding: 30px 15px;
    }

    .article-card,
    .category-card,
    .card {
        padding: 20px;
    }
}
