/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: hsl(340, 82%, 52%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(280, 60%, 55%);
    --background: hsl(18, 18%, 8%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(20, 20%, 12%);
    --muted: hsl(240, 5%, 20%);
    --muted-foreground: hsl(240, 5%, 65%);
    --border: hsl(240, 5%, 20%);
    
    /* Gradients matching React version */
    --gradient-hero: linear-gradient(135deg, hsl(18, 18%, 8%) 0%, hsl(280, 40%, 15%) 50%, hsl(18, 18%, 8%) 100%);
    --gradient-accent: linear-gradient(90deg, hsl(340, 82%, 52%) 0%, hsl(320, 75%, 48%) 100%);
        --tw-gradient-stops: #e920631a, #e920630d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    transition: opacity 0.3s ease;
}

.page-transition {
    animation: fadeIn 0.4s ease-in;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('./img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-bg { background-image: url('./img/hero-bg.jpg'); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.5), var(--background));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 1rem;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), hsl(320, 75%, 48%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle, .hero-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.section {
    padding: 5rem 0;
}

.bg-muted {
    background-color: rgba(255, 255, 255, 0.02);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.max-w-4xl { max-width: 56rem; margin: 0 auto; }

.features-grid, .content-grid, .categories-grid {
    display: grid;
    gap: 1.5rem;
}

.features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.content-grid { grid-template-columns: repeat(2, 1fr); }
.categories-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

@media (min-width: 768px) {
    .content-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .content-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card, .category-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.category-card{
        background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
    border: 1px solid #e9206333;
}

.feature-card:hover, .category-card:hover {
    transform: translateY(-5px);
}

.content-card {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.content-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.content-card:hover .content-overlay {
    opacity: 1;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

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

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.page-container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.05);
}

.page-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.article-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
}

.article-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
}

html { scroll-behavior: smooth; }




.feature-icon {
    background: #e920631a;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    place-content: center;
    text-align: center;
}


.feature-icon svg {
    margin-top: 5px;
    color: #e92063;
}


.feature-card{
        padding: 1.5rem;
    border-radius: 0.5rem;
    background: #18131180;
    place-items: center;
    text-align: center;
}