/* =============================================
   Global Variables & Reset
   ============================================= */
:root {
    --navy: #0f2943;
    --teal: #3d6872;
    --light-blue: #7ba5ae;
    --cream: #ede9d5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* =============================================
   Header & Navigation
   ============================================= */
header {
    background: var(--navy);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--light-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--cream);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.language-selector {
    display: flex;
    gap: 0.3rem;
    background: var(--teal);
    padding: 0.4rem;
    border-radius: 8px;
}

.lang-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--cream);
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: rgba(237, 233, 213, 0.15);
}

.lang-btn.active {
    background: var(--navy);
    color: var(--cream);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    color: var(--cream);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInDown 0.8s ease;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    background: var(--cream);
    color: var(--navy);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.social-btn.youtube {
    background: #FF0000;
    color: var(--white);
}

.social-btn.tiktok {
    background: #000000;
    color: var(--white);
}

/* =============================================
   Featured Stories Section
   ============================================= */
.featured-stories {
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--teal);
}

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

.story-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.story-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 41, 67, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.language-tag {
    background: var(--teal);
    color: var(--cream);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.story-content {
    padding: 1.5rem;
}

.story-content h3 {
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.story-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.story-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.story-meta i {
    color: var(--teal);
    margin-right: 0.3rem;
}

.story-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background: var(--teal);
}

.btn-icon {
    padding: 0.8rem;
    width: 42px;
    height: 42px;
    justify-content: center;
}

.btn-icon.youtube {
    background: #FF0000;
    color: var(--white);
}

.btn-icon.tiktok {
    background: #000000;
    color: var(--white);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* =============================================
   Newsletter Section
   ============================================= */
.newsletter {
    background: var(--navy);
    color: var(--cream);
    padding: 4rem 2rem;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--teal);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
}

.newsletter-form button {
    background: var(--teal);
    color: var(--cream);
}

.newsletter-form button:hover {
    background: var(--light-blue);
}

/* =============================================
   Footer
   ============================================= */
footer {
    background: var(--navy);
    color: var(--cream);
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--light-blue);
}

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

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

.footer-section a {
    color: var(--cream);
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--light-blue);
}

.footer-social {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--teal);
    opacity: 0.8;
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}