/* 
====================================================================================================
   CSS PENAHITS.COM - PART 1 of 3
====================================================================================================
   Berisi: Reset, Breaking News, Header, Navigation
   
   CATATAN: File ini adalah BAGIAN 1 dari 3 bagian CSS yang harus digabung:
   - Part 1: Base & Header (file ini)
   - Part 2: Hero & News Sections
   - Part 3: Footer & Responsive
====================================================================================================
*/

/* ============================================
   1. RESET & BASE
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #D4AF37;
    --dark: #0a0a0a;
    --grey: #1a1a1a;
    --light-grey: #f5f5f5;
    --text: #333;
    --text-light: #666;
    --accent-red: #8B0000;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}


/* ============================================
   2. BREAKING NEWS BAR
   ============================================ */
.breaking-news-bar {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.95) 0%, rgba(80, 0, 0, 0.98) 100%);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    height: 42px;
    overflow: hidden;
    position: relative;
}

.breaking-news-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.02) 10px,
        rgba(255,255,255,0.02) 20px
    );
    pointer-events: none;
}

.breaking-label {
    background: rgba(0, 0, 0, 0.4);
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 3px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.breaking-label::before {
    content: '🔥';
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.breaking-content {
    flex: 1;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.breaking-content marquee {
    line-height: 42px;
}


/* ============================================
   3. HEADER WRAPPER - Sticky Container
   ============================================ */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}


/* ============================================
   4. MAIN HEADER - Dark Luxury Theme
   ============================================ */
.main-header {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 18px 0;
    border-bottom: 3px solid var(--primary);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}


/* ============================================
   LOGO SECTION - Left Side
   ============================================ */
.logo-section {
    flex: 1;
    display: flex;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.brand-link:hover .logo-img {
    transform: scale(1.08) rotate(-2deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-text h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
    color: #E8B923;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.brand-link:hover .brand-text h1 {
    letter-spacing: 4px;
    color: #F4C430;
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(244, 196, 48, 0.3);
}

.com-text {
    color: #F4E8C1;
    font-weight: 700;
    text-shadow: 
        0 0 15px rgba(244, 232, 193, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.tagline {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
}

.brand-link:hover .tagline {
    color: var(--primary);
    letter-spacing: 4px;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding-left: 30px;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.header-date i {
    color: var(--primary);
    font-size: 14px;
}


/* ============================================
   HEADER RIGHT - Search Bar + Hamburger
   ============================================ */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search-form {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.header-search-form input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 30px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 400;
    backdrop-filter: blur(10px);
}

.header-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.header-search-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 0 0 3px rgba(212, 175, 55, 0.1),
        0 4px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

.header-search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, #F4E8C1 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.header-search-form button:hover {
    transform: translateY(-50%) scale(1.1) rotate(15deg);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #D4AF37;
    transition: all 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.menu-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary);
    transform: scale(1.05);
}

.menu-toggle:hover span {
    background: #F4E8C1;
    box-shadow: 0 0 15px rgba(244, 232, 193, 0.8);
}


/* ============================================
   5. NAVIGATION - Premium Dark Theme
   ============================================ */
.main-nav {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 14px;
    transition: transform 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    transition: all 0.5s;
    z-index: 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

.nav-link:hover::before {
    width: 85%;
}

.nav-link:hover::after {
    width: 200px;
    height: 200px;
}

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}


/* ============================================
   END OF PART 1
   ============================================
   Lanjut ke Part 2 untuk Hero & News Sections
   ============================================ */
   
   /* 
====================================================================================================
   CSS PENAHITS.COM - PART 2 of 3
====================================================================================================
   Berisi: Homepage Hero, News Grid, News List, News Detail
   
   CATATAN: Gabungkan dengan Part 1 dan Part 3
====================================================================================================
*/

/* ============================================
   6. HOMEPAGE HERO
   ============================================ */
.container-full {
    max-width: 100%;
    padding: 0;
}

.homepage-hero {
    background: var(--dark);
    padding: 0;
    min-height: 600px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


/* ============================================
   TODAY'S PICKS - Left Sidebar
   ============================================ */
.todays-picks {
    background: #000;
    padding: 40px 30px;
    border-right: 1px solid rgba(255,215,0,0.2);
}

.picks-title {
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.picks-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.pick-item a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s;
}

.pick-item a:hover {
    transform: translateX(5px);
}

.pick-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.pick-content {
    flex: 1;
}

.pick-category {
    display: block;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pick-item h3 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.see-more-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.see-more-btn:hover {
    background: var(--primary);
    color: var(--dark);
}


/* ============================================
   HERO MAIN - Right Side
   ============================================ */
.hero-main {
    position: relative;
    overflow: hidden;
}

.hero-link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.hero-link:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.hero-category {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    color: white;
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    max-width: 800px;
}


/* ============================================
   7. NEWS GRID - National Geographic Style
   ============================================ */
.news-section {
    background: white;
    padding: 80px 0;
}

.news-grid-natgeo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card-natgeo {
    background: white;
    transition: transform 0.4s;
}

.news-card-natgeo:hover {
    transform: translateY(-10px);
}

.news-card-natgeo a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
    margin-bottom: 20px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card-natgeo:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-content-natgeo {
    padding: 0;
}

.card-category {
    display: inline-block;
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

.card-content-natgeo h3 {
    color: var(--dark);
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.read-btn {
    color: var(--dark);
    font-weight: 700;
    padding: 5px 15px;
    border: 2px solid var(--dark);
    transition: all 0.3s;
}

.news-card-natgeo:hover .read-btn {
    background: var(--primary);
    border-color: var(--primary);
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #999;
    font-size: 18px;
}


/* ============================================
   NEWS LIST - Grid Modern Style
   ============================================ */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
    padding: 40px 0;
}

.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.news-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover img {
    transform: scale(1.08);
}

.news-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item-content .category {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    width: fit-content;
}

.news-item h3 {
    font-size: 20px;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.3s;
}

.news-item:hover h3 {
    color: var(--primary);
}

.news-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.news-item .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}


/* ============================================
   NEWS CARD - Alternative Style
   ============================================ */
.news-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.news-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-content {
    padding: 35px;
    position: relative;
    z-index: 2;
}

.category {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.news-card h3 {
    margin: 15px 0;
    font-size: 24px;
    color: var(--dark);
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    transition: color 0.3s;
}

.news-card:hover h3 {
    color: var(--primary);
}

.news-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}


/* ============================================
   8. NEWS DETAIL PAGE
   ============================================ */
main {
    min-height: calc(100vh - 200px);
    padding: 60px 0;
}

.news-detail {
    background: white;
    padding: 80px 100px;
    max-width: 900px;
    margin: 0 auto 80px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.news-detail h1 {
    font-size: 56px;
    margin: 30px 0;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--dark);
}

.news-detail .meta {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--primary);
    font-size: 14px;
}

.news-detail .meta a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
}

.featured-image {
    width: calc(100% + 200px);
    max-height: 700px;
    object-fit: cover;
    margin: 50px -100px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.content {
    font-size: 19px;
    line-height: 1.9;
    color: var(--text);
    margin-top: 50px;
    font-weight: 400;
    text-align: justify;
}

.content p {
    margin-bottom: 25px;
}


/* ============================================
   NEWS IMAGE & CAPTION
   ============================================ */
.news-image {
    margin: 20px 0;
}

.news-image .featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 0;
}

.image-caption {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
    padding: 8px 0;
    text-align: left;
    line-height: 1.6;
    border-bottom: 1px solid #e0e0e0;
}


/* ============================================
   BACA JUGA BOX - Related Articles
   ============================================ */
.baca-juga-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--primary);
    padding: 30px;
    margin: 50px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.baca-juga-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.baca-juga-header i {
    font-size: 24px;
    color: var(--primary);
}

.baca-juga-header h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 2px;
    margin: 0;
}

.baca-juga-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.baca-juga-item {
    display: flex;
    gap: 20px;
    text-decoration: none;
    padding: 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.baca-juga-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.baca-juga-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.baca-juga-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.baca-juga-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.baca-juga-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s;
}

.baca-juga-item:hover h4 {
    color: var(--primary);
}

.baca-juga-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* ============================================
   END OF PART 2
   ============================================
   Lanjut ke Part 3 untuk Footer & Responsive
   ============================================ */
   
   /* 
====================================================================================================
   CSS PENAHITS.COM - PART 3 of 3 (FINAL)
====================================================================================================
   Berisi: Footer, Responsive (SEMUA DIGABUNG), Animations
   
   CATATAN: Gabungkan dengan Part 1 dan Part 2
====================================================================================================
*/

/* ============================================
   9. FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px 40px;
}

.footer-section h3 {
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media a:hover {
    background: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-info i {
    font-size: 18px;
    min-width: 20px;
}

.contact-info span {
    color: #b0b0b0;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: white;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.stat-item strong {
    display: block;
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 12px;
    color: #b0b0b0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 25px 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.footer-bottom strong {
    color: #ffd700;
}

.footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffd700;
}


/* ============================================
   10. RESPONSIVE - ALL IN ONE SECTION
   ============================================ */

/* ============================================
   TABLET LARGE (max-width: 1200px)
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-layout {
        grid-template-columns: 350px 1fr;
    }
    
    .news-grid-natgeo {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}


/* ============================================
   TABLET (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
    .main-header {
        padding: 15px 0;
    }
    
    .header-content {
        gap: 20px;
    }
    
    .brand-wrapper {
        gap: 20px;
    }
    
    .brand-text h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .header-date {
        font-size: 11px;
        padding-left: 20px;
    }
    
    .header-search-form {
        max-width: 350px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}


/* ============================================
   MOBILE LARGE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* CONTAINER */
    .container {
        padding: 0 20px;
    }
    
    /* BREAKING NEWS */
    .breaking-news-bar {
        font-size: 12px;
        height: 38px;
    }
    
    .breaking-label {
        padding: 0 16px;
        font-size: 10px;
    }
    
    .breaking-content {
        font-size: 12px;
    }
    
    /* HEADER */
    .main-header {
        padding: 12px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo-section {
        flex: 1 1 100%;
        justify-content: center;
    }
    
    .brand-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
    
    .brand-text h1 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .tagline {
        font-size: 8px;
        letter-spacing: 2px;
    }
    
    .header-date {
        font-size: 10px;
        padding-left: 0;
        border-left: none;
        padding-top: 8px;
        border-top: 1px solid rgba(212, 175, 55, 0.3);
    }
    
    .header-right {
        flex: 1 1 100%;
        justify-content: center;
    }
    
    .header-search-form {
        max-width: 100%;
        flex: 1;
    }
    
    .header-search-form input {
        font-size: 12px;
        padding: 10px 45px 10px 16px;
    }
    
    .header-search-form button {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    /* HERO - VERTICAL STACKING */
    .hero-layout {
        display: flex;
        flex-direction: column;
    }
    
    .hero-main {
        order: 1;
        min-height: 450px;
    }
    
    .hero-overlay {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-category {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .todays-picks {
        display: block;
        order: 2;
        border-right: none;
        border-top: 3px solid var(--primary);
        padding: 30px 20px;
    }
    
    .picks-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .picks-list {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .pick-item img {
        width: 70px;
        height: 70px;
    }
    
    .pick-item h3 {
        font-size: 13px;
    }
    
    /* NEWS GRID - 1 COLUMN */
    .news-grid-natgeo {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .card-image-wrapper {
        height: 250px;
    }
    
    .card-content-natgeo h3 {
        font-size: 20px;
    }
    
    /* NEWS LIST - VERTICAL */
    .news-item a {
        flex-direction: column;
    }
    
    .news-item img {
        width: 100%;
        height: 250px;
    }
    
    .news-item-content {
        padding: 25px;
    }
    
    .news-item h3 {
        font-size: 22px;
    }
    
    /* NEWS DETAIL - SAFE PADDING */
    .news-detail {
        padding: 30px 20px;
        margin: 0 auto 40px;
    }
    
    .news-detail h1 {
        font-size: 28px;
    }
    
    .news-detail .meta {
        font-size: 12px;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    /* FEATURED IMAGE - NO NEGATIVE MARGIN */
    .featured-image {
        width: 100%;
        margin: 30px 0;
        max-height: 400px;
    }
    
    .content {
        font-size: 16px;
        line-height: 1.8;
        margin-top: 25px;
    }
    
    /* BACA JUGA - NO NEGATIVE MARGIN */
    .baca-juga-box {
        padding: 20px;
        margin: 30px 0;
        border-radius: 8px;
    }
    
    .baca-juga-header h3 {
        font-size: 16px;
    }
    
    .baca-juga-item {
        gap: 15px;
        padding: 12px;
    }
    
    .baca-juga-item img {
        width: 100px;
        height: 70px;
        min-width: 100px;
    }
    
    .baca-juga-item h4 {
        font-size: 14px;
    }
    
    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 20px 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}


/* ============================================
   MOBILE SMALL (max-width: 576px)
   ============================================ */
@media (max-width: 576px) {
    .main-header {
        padding: 10px 0;
    }
    
    .brand-wrapper {
        gap: 10px;
    }
    
    .brand-link {
        flex-direction: column;
        gap: 10px;
    }
    
    .brand-text h1 {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .tagline {
        font-size: 7px;
    }
    
    .header-date {
        font-size: 9px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .menu-toggle span {
        width: 20px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .news-detail h1 {
        font-size: 24px;
    }
}


/* ============================================
   11. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }


/* ============================================
   ✅ END OF CSS - PART 3 COMPLETE
   ============================================
   
   CARA MENGGUNAKAN:
   1. Copas Part 1 ke file CSS
   2. Lanjut copas Part 2
   3. Terakhir copas Part 3 ini
   
   PERBAIKAN UTAMA:
   ✅ Tidak ada duplikasi responsive
   ✅ Semua @media digabung di section 10
   ✅ overflow-x: hidden di body
   ✅ .news-detail padding aman
   ✅ .featured-image: margin normal
   ✅ .baca-juga-box: margin normal
   ✅ Hero layout: flex-direction column
   
   ============================================ */