/* Variables */
:root {
    --primary-color: #1A365D;    /* Navy Blue */
    --secondary-color: #2A4365;  /* Darker Navy */
    --accent-color: #DD6B20;     /* Orange */
    --light-accent: #ED8936;     /* Light Orange */
    --dark-color: #2D3748;       /* Dark Gray */
    --light-color: #E2E8F0;      /* Light Gray */
    --gray-color: #718096;       /* Medium Gray */
    --text-color: #4A5568;       /* Text Gray */
    --success-color: #38A169;    /* Green */
    --error-color: #E53E3E;      /* Red */
    --warning-color: #D69E2E;    /* Yellow */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --section-padding: 3rem 0;
    --border-radius: 3px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #F7FAFC;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex {
    display: flex;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-between {
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    font-size: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-light {
    color: var(--light-color);
}

.text-dark {
    color: var(--dark-color);
}

.text-gray {
    color: var(--gray-color);
}

.text-small {
    font-size: 0.875rem;
}

.text-large {
    font-size: 1.125rem;
}

.text-uppercase {
    text-transform: uppercase;
}

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

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

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Source Sans Pro', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: white;
}

.top-bar a:hover {
    color: var(--light-accent);
}

.top-bar-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-item {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.top-bar-item i {
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
}

.social-link {
    margin-left: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--light-accent);
    transform: translateY(-2px);
}

.search-form {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.search-input {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--light-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.875rem;
    width: 200px;
}

.search-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: var(--light-accent);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btn {
    margin-right: 1rem;
}

/* Featured Section */
.featured {
    padding: var(--section-padding);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.main-article {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.main-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.main-article-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.main-article-title {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.main-article-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.main-article-meta span {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.main-article-meta i {
    margin-right: 0.25rem;
}

.side-articles {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}

.side-article {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 215px;
}

.side-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.side-article-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.side-article-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.side-article-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
}

.side-article-meta span {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.side-article-meta i {
    margin-right: 0.25rem;
}

/* News Section */
.news {
    padding: var(--section-padding);
    background-color: white;
}

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

.news-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background-color: white;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.875rem;
    border-top: 1px solid #E2E8F0;
    padding-top: 1rem;
}

.news-author {
    display: flex;
    align-items: center;
}

.news-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.news-date {
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 0.25rem;
}

/* Entertainment Section */
.entertainment {
    padding: var(--section-padding);
    background-color: #F7FAFC;
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.entertainment-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.entertainment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.entertainment-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.entertainment-card:hover .entertainment-img img {
    transform: scale(1.05);
}

.entertainment-content {
    padding: 1.5rem;
}

.entertainment-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.entertainment-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.entertainment-content a {
    color: var(--accent-color);
    font-weight: 600;
}

.entertainment-content a:hover {
    text-decoration: underline;
}

/* Subscribe Section */
.subscribe {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: white;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscribe h2 {
    color: white;
    margin-bottom: 1rem;
}

.subscribe p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
}

.subscribe-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background-color: var(--light-accent);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding-top: 4rem;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--light-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    opacity: 1;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--accent-color);
}

.footer-contact span {
    opacity: 0.8;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.footer-logo-text span {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-bottom img {
    height: 20px;
    width: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .main-article {
        height: 400px;
    }
    
    .side-articles {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
    }
    
    .side-article {
        height: 250px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .top-bar {
        display: none;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .search-form {
        margin: 1rem 0;
    }
    
    .side-articles {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
    }
    
    .main-article-title {
        font-size: 1.5rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .main-article {
        height: 350px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-input {
        border-radius: var(--border-radius);
        margin-bottom: 0.5rem;
    }
    
    .subscribe-btn {
        border-radius: var(--border-radius);
        padding: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}
