/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --primary:       #3B9ED0;
    --primary-dark:  #2C85B5;
    --primary-light: #EAF5FB;
    --accent:        #FFCE3A;
    --accent-dark:   #E5B530;
    --green:         #4DB89E;
    --coral:         #FF7B5E;
    --purple:        #9B8EC4;

    --bg:            #EFF8FD;
    --white:         #FFFFFF;
    --text:          #1E3A4A;
    --text-muted:    #6B8FA0;
    --border:        #D0E8F4;

    --shadow-xs:  0 1px 4px  rgba(59,158,208,.08);
    --shadow-sm:  0 2px 12px rgba(59,158,208,.10);
    --shadow:     0 4px 24px rgba(59,158,208,.14);
    --shadow-lg:  0 8px 48px rgba(59,158,208,.18);

    --radius-sm: 8px;
    --radius:    16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --font: 'Nunito', sans-serif;
    --transition: .2s ease;
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content { flex: 1; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 56px 0; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 26px;
    background: linear-gradient(to bottom, var(--primary), var(--green));
    border-radius: 4px;
    flex-shrink: 0;
}

/* ─── Navigation ─────────────────────────────────────────────────────────────── */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--primary-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--green));
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.nav-logo-name    { font-size: 1.2rem; font-weight: 900; color: var(--text); line-height: 1.15; }
.nav-logo-tagline { font-size: .72rem; color: var(--text-muted); font-weight: 600; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    display: block;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .9rem;
    color: var(--text-muted);
    transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active { background: var(--primary-light); color: var(--primary); }

.nav-admin-link a {
    background: var(--accent) !important;
    color: var(--text) !important;
    margin-left: 8px;
}
.nav-admin-link a:hover { background: var(--accent-dark) !important; }

.nav-toggle {
    display: none;
    position: absolute;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 4px 8px;
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
    color: var(--white);
    padding: 72px 24px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 64px;
    background: var(--bg);
    clip-path: ellipse(56% 100% at 50% 100%);
}
.hero-logo {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-squid {
    font-size: 3.4rem;
    display: block;
    animation: squid-bob 2.8s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.18));
}
.supply {
    position: absolute;
    font-size: 1.25rem;
    animation: supply-float 3.2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.s1 { top: -10px; right:  -8px; animation-delay: 0s;    }
.s2 { top:  14px; right: -22px; animation-delay: .5s;   }
.s3 { bottom: -6px; right: -14px; animation-delay: 1s;  }
.s4 { bottom: -8px; left: -12px; animation-delay: 1.5s; }
.s5 { top:  12px; left: -22px; animation-delay: 2s;     }
.s6 { top: -12px; left:  -6px; animation-delay: 2.5s;   }

@keyframes squid-bob {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%       { transform: translateY(-10px) rotate(3deg); }
}
@keyframes supply-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-7px) rotate(15deg); }
}
.hero h1       { font-size: 2.7rem; font-weight: 900; margin-bottom: 12px; text-shadow: 0 2px 16px rgba(0,0,0,.15); }
.hero p        { font-size: 1.1rem; opacity: .92; max-width: 500px; margin: 0 auto 24px; font-weight: 600; }
.hero-badges   { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero-badge    { background: rgba(255,255,255,.2); color: #fff; border-radius: 100px; padding: 6px 18px; font-size: .85rem; font-weight: 700; backdrop-filter: blur(4px); }

/* ─── Page Header (non-home) ─────────────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
    color: var(--white);
    padding: 50px 24px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 52px;
    background: var(--bg);
    clip-path: ellipse(56% 100% at 50% 100%);
}
.page-header .ph-icon { font-size: 2.6rem; margin-bottom: 10px; display: block; }
.page-header h1       { font-size: 2.2rem; font-weight: 900; }
.page-header p        { opacity: .9; margin-top: 8px; font-size: 1rem; font-weight: 600; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: .93rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent  { background: var(--accent); color: var(--text); }
.btn-accent:hover  { background: var(--accent-dark); color: var(--text); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-sm  { padding: 7px 14px; font-size: .84rem; border-radius: var(--radius-sm); }
.btn-lg  { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); color: var(--primary); }

/* ─── News Cards ─────────────────────────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.news-card-img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}
.news-card-img-placeholder {
    width: 100%;
    height: 185px;
    background: linear-gradient(135deg, var(--primary-light), #cce8f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}
.news-card-body { padding: 22px 24px 26px; }
.news-card-meta {
    font-size: .76rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 8px;
}
.news-card-title   { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 10px; line-height: 1.35; }
.news-card-excerpt { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ─── Events ─────────────────────────────────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 14px; }
.event-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.event-date-badge {
    min-width: 62px;
    text-align: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    padding: 10px;
    flex-shrink: 0;
}
.event-date-month { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.event-date-day   { font-size: 1.9rem; font-weight: 900; line-height: 1.1; }

.event-info       { flex: 1; }
.event-info h3    { font-size: 1.03rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.event-info p     { color: var(--text-muted); font-size: .86rem; line-height: 1.5; }
.event-tags       { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.event-tag        { font-size: .75rem; font-weight: 700; padding: 3px 11px; border-radius: 100px; }

.tag-blue   { background: var(--primary-light); color: var(--primary); }
.tag-green  { background: #e2f7f2; color: var(--green); }
.tag-coral  { background: #ffeee9; color: var(--coral); }
.tag-yellow { background: #fff8e0; color: #a07500; }
.tag-purple { background: #f1eefb; color: var(--purple); }

/* ─── Contact ────────────────────────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 44px;
    align-items: start;
}
.contact-aside h2  { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.contact-aside p   { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 24px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.contact-info-icon {
    width: 40px; height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-label { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.contact-info-value { font-weight: 700; font-size: .95rem; margin-top: 2px; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 22px; }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-group   { margin-bottom: 18px; }
.form-label   { display: block; font-weight: 700; font-size: .86rem; color: var(--text); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: .93rem;
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(59,158,208,.12); background: #fff; }
textarea.form-control { resize: vertical; min-height: 115px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint  { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

/* ─── Alerts ─────────────────────────────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: .9rem;
}
.alert-success { background: #e4f8f4; color: #1a7a60; border-left: 4px solid var(--green); }
.alert-error   { background: #ffe8e8; color: #c03333; border-left: 4px solid var(--coral); }
.alert-info    { background: var(--primary-light); color: var(--primary-dark); border-left: 4px solid var(--primary); }

/* ─── Empty State ────────────────────────────────────────────────────────────── */
.empty-state        { text-align: center; padding: 64px 24px; color: var(--text-muted); }
.empty-state-icon   { font-size: 3.8rem; margin-bottom: 16px; display: block; }
.empty-state h3     { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.empty-state p      { font-size: .9rem; }

/* ─── About Section ──────────────────────────────────────────────────────────── */
.about-section {
    background: var(--white);
    padding: 56px 24px;
    border-bottom: 2px solid var(--primary-light);
}
.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.about-content h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 18px;
}
.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 600;
}

/* ─── Info Cards (home page) ─────────────────────────────────────────────────── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 48px 0 64px;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    margin: 0 auto 16px;
}
.info-card h3 { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.info-card p  { color: var(--text-muted); font-size: .9rem; font-weight: 600; line-height: 1.55; }

.info-cards-2 {
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer-simple {
    background: var(--text);
    color: rgba(255,255,255,.45);
    padding: 20px 24px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .news-grid          { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .contact-layout     { grid-template-columns: 1fr; }
    .info-cards         { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-toggle   { display: block; }
    .nav-links    { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--primary-light); padding: 12px 16px; gap: 4px; box-shadow: var(--shadow); z-index: 99; }
    .nav-links.open { display: flex; }
    .nav-links a  { border-radius: var(--radius-sm); }

    .hero           { padding: 52px 20px 80px; }
    .hero h1        { font-size: 2rem; }
    .page-header h1 { font-size: 1.8rem; }
    .section        { padding: 40px 0; }
    .news-grid      { grid-template-columns: 1fr; }
    .form-row       { grid-template-columns: 1fr; }
    .info-cards     { grid-template-columns: 1fr 1fr; }
    .site-footer-simple { flex-direction: column; gap: 6px; text-align: center; padding: 16px; }
    .contact-form-card { padding: 24px; }
}
