/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #2d5fff;
    --secondary-color: #1a1a1a;
    --background-color: #ffffff;
    --text-color: #333333;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --gradient-primary: linear-gradient(45deg, #2d5fff, #2d9fff);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-small: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.15);
    --shadow-large: 0 10px 30px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-small: 5px;
    --radius-medium: 10px;
    --radius-large: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* Responsive Grid */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
}

/* Navbar */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    padding-left: 2rem;
    margin-right: auto;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
}

.site-title {
    font-size: 1.2rem;
    margin: 0;
    color: #fff;
    font-weight: normal;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 2rem;
    margin-left: auto;
}

.municipality {
    font-size: 1rem;
    color: #fff;
}

.admin-login {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border: 1px solid #fff;
    border-radius: 25px;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem;
    }
    
    .brand {
        gap: 1rem;
        padding-left: 1rem;
    }
    
    .right-section {
        gap: 1.5rem;
        padding-right: 1rem;
    }
}

/* Navigation Bar */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.municipality {
    font-size: 0.9rem;
    font-weight: 800;
    color: #333;
}

.admin-login {
    padding: 0.8rem 1.5rem;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-login:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
    margin-top: 0;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 1s; animation-duration: 14s; width: 4px; height: 4px; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 2s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; top: 60%; animation-delay: 3s; animation-duration: 13s; width: 8px; height: 8px; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 5s; animation-duration: 11s; width: 5px; height: 5px; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-delay: 6s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; top: 25%; animation-delay: 7s; animation-duration: 14s; width: 7px; height: 7px; }
.particle:nth-child(9) { left: 85%; top: 85%; animation-delay: 8s; animation-duration: 12s; }
.particle:nth-child(10) { left: 15%; top: 55%; animation-delay: 9s; animation-duration: 16s; width: 4px; height: 4px; }
.particle:nth-child(11) { left: 45%; top: 15%; animation-delay: 10s; animation-duration: 13s; }
.particle:nth-child(12) { left: 75%; top: 45%; animation-delay: 11s; animation-duration: 15s; width: 6px; height: 6px; }

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) translateX(-10px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-40px) translateX(20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
    color: #fff;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-number::after {
    content: '+';
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceArrow 2s infinite;
}

.scroll-arrow svg {
    opacity: 0.8;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* Hero Mobile Responsive */
@media (max-width: 768px) {
    .hero-stats {
        bottom: 100px;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 90%;
    }

    .hero-stat .stat-number {
        font-size: 1.75rem;
    }

    .hero-stat .stat-label {
        font-size: 0.7rem;
    }

    .particle {
        display: none;
    }

    .particle:nth-child(-n+6) {
        display: block;
    }
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform-style: preserve-3d;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-segments {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.segment {
    position: relative;
    height: 100%;
    overflow: hidden;
    transform: translateY(100%);
    filter: brightness(0);
}

.active .segment {
    animation: segmentReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.active .segment:nth-child(2) { animation-delay: 0.1s; }
.active .segment:nth-child(3) { animation-delay: 0.2s; }
.active .segment:nth-child(4) { animation-delay: 0.3s; }
.active .segment:nth-child(5) { animation-delay: 0.4s; }

@keyframes segmentReveal {
    0% {
        transform: translateY(100%);
        filter: brightness(0);
    }
    100% {
        transform: translateY(0);
        filter: brightness(1);
    }
}

.segment-inner {
    position: absolute;
    width: 500%;
    height: 100%;
    left: var(--segment-offset);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 123, 255, 0.2) 100%
    );
    mix-blend-mode: multiply;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 2rem;
    text-align: center;
    z-index: 3;
}

.glitch-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(1.2);
}

.active .glitch-text {
    animation: textReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards,
               glowPulse 3s infinite 0.5s;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: scale(1.2);
        filter: blur(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 123, 255, 0.8),
                     0 0 40px rgba(0, 123, 255, 0.4);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 0, 255, 0.8),
                     0 0 80px rgba(255, 0, 255, 0.4);
    }
}

.animate-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.8rem;
    letter-spacing: 2px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

.active .animate-text {
    animation: subtextReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.8s forwards;
}

@keyframes subtextReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #0066ff, #00ffff);
    transition: width 3s linear;
}

.active ~ .progress-line::after {
    width: 100%;
}

.slide-index {
    position: absolute;
    right: 3rem;
    bottom: 2rem;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
    font-family: 'Arial', sans-serif;
    transform: translateY(100%);
    opacity: 0;
}

.active .slide-index {
    animation: indexReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards;
}

@keyframes indexReveal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        margin-top: 0;
    }

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

    .segment-inner {
        width: 300%;
    }

    .glitch-text {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .animate-text {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .slide-index {
        right: 1.5rem;
        bottom: 1.5rem;
        font-size: 3rem;
    }
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #1e2024 0%, #23272b 100%);
    color: #fff;
    margin-top: 4rem;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: block;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Tablet Form Page Styles */
.tablet-form-page {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 20px;
}

.tablet-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tablet-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tablet-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.tablet-image:hover img {
    transform: scale(1.02);
}

.tablet-info h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.highlight-text {
    font-size: 1.2rem;
    color: #2d5fff;
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: #2d5fff;
    margin-right: 12px;
    font-size: 1.2rem;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-container {
    width: 100%;
}

.form-container h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.application-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2d5fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45,95,255,0.1);
    background: white;
}

.submit-button {
    background: #2d5fff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius-medium);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.submit-button:hover {
    background: #1e3cad;
    transform: translateY(-2px);
}

.submit-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(3px);
}

/* Categories Section */
.categories {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.category-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    padding: 2rem 4rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius-medium);
    overflow: hidden;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    z-index: 1;
    transition: opacity 0.4s ease;
}

.category-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(45,95,255,0.4), rgba(0,0,0,0.9));
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    color: white;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

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

.card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: transform 0.4s ease;
}

.category-card:hover .card-content h2 {
    transform: scale(1.05);
    color: var(--primary-color);
}

.card-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.category-card:hover .card-content p {
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 1400px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        padding: 2rem;
    }
    
    .category-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .category-card {
        height: 260px;
    }
}

/* Search Section */
.search-section {
    padding: 2rem 1rem;
    background: #fff;
}

.search-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 1rem;
}

.search-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-wrapper input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-wrapper input:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
    background: white;
}

.search-wrapper button {
    padding: 0 25px;
    background: #222;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-wrapper button span {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.search-wrapper button i {
    color: white;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.search-wrapper button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transition: transform 0.6s ease;
}

.search-wrapper button:hover::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.search-wrapper button:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.search-wrapper button:hover i {
    transform: scale(1.1);
}

.search-wrapper button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .search-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .search-wrapper {
        margin: 1rem auto;
    }
    
    .search-wrapper input {
        padding: 12px 15px;
    }
    
    .search-wrapper button {
        padding: 0 20px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tablet-section,
    .form-section {
        padding: 25px;
    }

    .tablet-info h2 {
        font-size: 2rem;
    }

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

    .feature-list {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }

    .feature-list li {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .tablet-form-page {
        padding: 100px 15px 40px;
    }

    .content-wrapper {
        padding: 10px;
    }

    .tablet-section,
    .form-section {
        padding: 20px;
    }

    .tablet-info h2 {
        font-size: 1.8rem;
    }

    .highlight-text {
        font-size: 1.1rem;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .form-container h3 {
        font-size: 1.5rem;
    }

    .submit-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .site-title {
        display: none;
    }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Modern Tab Sistemi */
.tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    padding: 1rem;
}

.tab-btn {
    padding: 1rem 2.5rem;
    border: none;
    background: none;
    color: #333;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    transition: all 0.5s ease;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.tab-btn:hover::before,
.tab-btn:hover::after {
    transform: scaleX(1);
}

.tab-btn.active {
    color: #333;
}

.tab-btn.active::before,
.tab-btn.active::after {
    transform: scaleX(1);
    background: #333;
}

.tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.2) 20%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0.2) 80%, 
        transparent 100%
    );
}

.tab-btn span {
    position: relative;
    display: inline-block;
}

.tab-btn span::before {
    content: attr(data-text);
    position: absolute;
    color: #333;
    left: 0;
    width: 0;
    overflow: hidden;
    transition: width 0.5s ease;
    white-space: nowrap;
}

.tab-btn:hover span::before {
    width: 100%;
}

.tab-btn.active span::before {
    width: 100%;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .tabs {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* FAQ Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.faq-icon {
    font-size: 1.5rem;
    color: #666;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.6;
}

.faq-answer ul {
    margin: 0 0 1rem 1.2rem;
    padding: 0;
}

.faq-answer li {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 1rem;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 1.2rem;
    }
}

/* Contact Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #333;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    color: white;
}

.contact-item h3 {
    margin: 0 0 1rem;
    color: #333;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.contact-form {
    padding: 2.5rem;
}

.contact-form h2 {
    margin: 0 0 0.5rem;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.contact-form > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
    background: white;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #444;
    transform: translateY(-2px);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .faq-container {
        padding: 2rem 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.login-page .main-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.login-page .logo {
    color: #000 !important;
}

.login-page .site-title {
    color: #333 !important;
}

.login-page .municipality {
    color: #333 !important;
}

.modern-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #000 0%, #2d2d2d 100%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #4a4a4a 0%, #1a1a1a 100%);
    bottom: -250px;
    right: -250px;
    animation-delay: 7s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #666 0%, #333 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 3.5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.login-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 6rem;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.modern-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-inner {
    max-width: 450px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-book {
    width: 40px;
    height: 40px;
    fill: white;
}

.login-header h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    color: #64748b;
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.input-container {
    position: relative;
}

.input-container input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.input-container input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

.input-container label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 0.5rem;
    font-size: 1rem;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.85rem;
    color: #000;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #000, #333);
    transition: width 0.3s ease;
}

.input-container input:focus ~ .input-highlight {
    width: 100%;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.modern-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.modern-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.modern-checkbox input[type="checkbox"]:checked + .checkbox-mark {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-color: #000;
}

.modern-checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.modern-link {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modern-link:hover {
    color: #333;
    text-decoration: underline;
}

.modern-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #000 0%, #2d2d2d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.modern-button:hover::before {
    left: 100%;
}

.modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.modern-button:active {
    transform: translateY(0);
}

.register-option {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.register-option p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.accent-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accent-link:hover {
    color: #333;
}

.info-card {
    flex: 0.8;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-circles {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

.circle-1 {
    background: linear-gradient(135deg, #000 0%, #2d2d2d 100%);
    animation-delay: 0s;
}

.circle-2 {
    background: linear-gradient(135deg, #4a4a4a 0%, #1a1a1a 100%);
    animation-delay: 0.5s;
}

.circle-3 {
    background: linear-gradient(135deg, #666 0%, #333 100%);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.info-text h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.info-text p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    color: #475569;
    font-size: 1rem;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        padding: 2rem 1rem;
        padding-top: 6rem;
    }

    .info-card {
        flex: 1;
        width: 100%;
    }

    .modern-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding-top: 5rem;
    }

    .modern-card,
    .info-card {
        padding: 2rem 1.5rem;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }

    .info-text h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   STORIES PAGE STYLES
   ======================================== */

.stories-container {
    padding: 120px 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.stories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stories-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.stories-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.story-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.story-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

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

.story-box:hover img {
    transform: scale(1.05);
}

.story-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.story-content {
    margin-bottom: 1rem;
}

.story-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.story-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.story-info p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.story-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.story-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.story-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.story-btn:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateX(5px);
}

.story-btn i {
    transition: transform 0.3s ease;
}

.story-btn:hover i {
    transform: translateX(5px);
}

/* Age Filter */
.age-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #333;
    color: #333;
}

.filter-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Responsive Stories */
@media (max-width: 1024px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stories-container {
        padding: 100px 1rem 2rem;
    }

    .stories-header h1 {
        font-size: 2rem;
    }

    .age-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .story-box {
        aspect-ratio: 16/12;
    }

    .story-info h3 {
        font-size: 1.2rem;
    }
}