:root {
    --primary-color: #1a4d4a; /* Deep Sage Teal */
    --primary-light: #2c6e69;
    --primary-dark: #123634;
    --accent-color: #8da399; /* Muted Sage */
    --muted-blue: #f2f6f7;
    --neutral-beige: #fdfaf5;
    --text-color: #1a1a1a;
    --text-light: #5a5a5a;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 15px 50px rgba(0, 0, 0, 0.06);
    --shadow-glass: 0 10px 40px rgba(26, 77, 74, 0.1);
    --glow-primary: 0 0 20px rgba(26, 77, 74, 0.2);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --radius-premium: 30px;
    --radius-large: 50px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse-soft 4s ease-in-out infinite;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--neutral-beige);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(26, 77, 74, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(26, 77, 74, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
}

/* Glassmorphism Classes */
/* Premium Card Styling */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.glass-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.glass-premium:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.premium-btn {
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}


/* Hero Immersive Section (Consolidated from index.php) */
.hero-immersive {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../images/posts/home_hero.png') center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 74, 0.8) 0%, rgba(26, 77, 74, 0.4) 100%);
    z-index: 1;
}

/* Slider Controls */
.slider-nav {
    display: flex;
    gap: 1rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    font-weight: 400;
}

.hero .btns {
    display: flex;
    gap: 1.5rem;
}

/* Featured Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.story-card {
    border-radius: var(--radius-premium);
    overflow: hidden;
    transition: var(--transition);
    background: white;
    box-shadow: var(--shadow-premium);
}

.story-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.story-img {
    height: 280px;
    background: #ececec;
    overflow: hidden;
    position: relative;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card:hover .story-img img {
    transform: scale(1.08);
}

.story-body {
    padding: 2.5rem;
}

.story-tag {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent-color);
}

/* Categories Section 2.0: Themes Explorer */
.categories-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.theme-card-premium {
    position: relative;
    padding: 6rem 3rem;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    z-index: 1;
}

.theme-card-premium:hover {
    transform: translateY(-15px);
    background: white;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.bg-index {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: -1;
    transition: var(--transition);
}

.theme-card-premium:hover .bg-index {
    color: rgba(0, 0, 0, 0.06);
    transform: scale(1.1) rotate(-5deg);
}

.icon-glow-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
}

.theme-card-premium:hover .icon-glow-circle {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.icon-glow-circle i {
    font-size: 3rem;
    color: var(--primary-color);
}

.theme-card-premium h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.theme-card-premium p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.discover-pill {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: var(--muted-blue);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.theme-card-premium:hover .discover-pill {
    background: var(--primary-color);
    color: white;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    padding: 4rem;
    margin-bottom: 5rem;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    outline: none;
}


/* Editorial Grid & Cards */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

.editorial-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: white;
    transition: var(--transition);
    height: 550px;
    border: 1px solid rgba(0,0,0,0.05);
}

.editorial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.editorial-img {
    height: 100%;
    width: 100%;
    position: relative;
}

.editorial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover .editorial-img img {
    transform: scale(1.1);
}

.editorial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    z-index: 2;
}

.editorial-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--accent-color);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.editorial-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

/* Voice Card Premium */
.voice-card-premium {
    flex: 0 0 calc(33.333% - 2rem);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 3rem;
    border-radius: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transition: var(--transition);
    scroll-snap-align: start;
}

.voice-card-premium i.quote-icon {
    font-size: 4rem;
    position: absolute;
    top: -15px;
    left: 30px;
    color: var(--accent-color);
    opacity: 0.2;
}

.voice-content {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

