/* ============================================
   Вести Таджикистана - Стили портала v2.0
   Расширенная версия с интерактивом
   ============================================ */

/* CSS Variables */
:root {
    --primary-dark: #0F2557;
    --primary: #1E3A8A;
    --primary-light: #3B5CB8;
    --gold: #D4AF37;
    --gold-light: #E8C547;
    --gold-dark: #B8941F;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --shadow: rgba(30, 58, 138, 0.1);
    --shadow-gold: rgba(212, 175, 55, 0.2);
    --red: #DC2626;
    --green: #16A34A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BREAKING NEWS TICKER
   ============================================ */
.ticker-wrapper {
    background: linear-gradient(90deg, var(--red), #B91C1C);
    color: white;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    letter-spacing: 1px;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 30px;
    background: var(--gold);
    transform: skewX(-15deg);
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    padding: 10px 0;
    padding-left: 180px;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 50px;
    font-size: 0.95rem;
}

.ticker-item::before {
    content: '●';
    margin-right: 15px;
    color: var(--gold);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

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

.logo-img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(10deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTION WITH PARALLAX
   ============================================ */
.hero {
    background: url('assets/mountains-bg.svg') center bottom no-repeat, 
                linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-size: cover, cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/pattern.svg') repeat;
    opacity: 0.1;
    pointer-events: none;
}

/* Floating particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-up 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 0.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 2.5s; }

@keyframes float-up {
    0% {
        bottom: -10px;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(50px) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-ornament {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.hero-title {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Date & Time Widget in Hero */
.hero-datetime {
    display: inline-flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.datetime-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.datetime-item svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.datetime-value {
    font-size: 1.1rem;
    font-weight: 600;
}

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

/* ============================================
   WIDGETS BAR
   ============================================ */
.widgets-bar {
    background: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    z-index: 10;
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.widget {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

.widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-gold);
    border-color: var(--gold);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.widget-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.widget-title {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}

.widget-sub {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

.widget-change {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 10px;
}

.widget-change.up {
    background: rgba(22, 163, 74, 0.1);
    color: var(--green);
}

.widget-change.down {
    background: rgba(220, 38, 38, 0.1);
    color: var(--red);
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    border-radius: 2px;
}

/* ============================================
   NEWS SLIDER (MAIN NEWS)
   ============================================ */
.main-news-section {
    padding: 60px 0 40px;
    background: var(--bg-white);
}

.news-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 37, 87, 0.95));
    padding: 60px 40px 40px;
}

.slider-category {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.slider-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.slider-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
}

.slider-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.slider-date, .slider-source {
    color: var(--gold);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--gold);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 40px;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* ============================================
   FACTS SECTION
   ============================================ */
.facts-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.facts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/pattern.svg') repeat;
    opacity: 0.05;
}

.facts-section .section-title {
    color: white;
}

.facts-section .section-title::after {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.fact-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.fact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.fact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.fact-icon svg {
    width: 35px;
    height: 35px;
    color: var(--primary-dark);
}

.fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.fact-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Counter animation */
.fact-number[data-target] {
    transition: all 0.3s ease;
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-gold);
    border-color: var(--gold);
}

.news-card:hover::after {
    transform: scaleX(1);
}

.news-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-card-image-wrapper {
    overflow: hidden;
    position: relative;
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-card-content {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--primary);
}

.news-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-source {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(15, 37, 87, 0.9));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-location {
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* ============================================
   INFO SECTIONS
   ============================================ */
.info-section {
    padding: 80px 0;
}

.about-section {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 4px solid var(--gold);
    border-radius: 20px;
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    z-index: -1;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-dark);
}

.feature-text {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Contacts Section */
.contacts-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.contacts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/pattern.svg') repeat;
    opacity: 0.05;
}

.contacts-section .section-title {
    color: white;
}

.contacts-section .section-title::after {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-dark);
}

.contact-card h3 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

/* Privacy Section */
.privacy-section {
    background: var(--bg-white);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-content h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gold);
    border-radius: 2px;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.social-link svg {
    width: 20px;
    height: 20px;
    color: white;
}

.social-link:hover svg {
    color: var(--primary-dark);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-ornament {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .widgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }
    
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
    }
    
    .ticker-label {
        display: none;
    }
    
    .ticker-content {
        padding-left: 20px;
    }
    
    .hero {
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-datetime {
        flex-direction: column;
        gap: 10px;
        padding: 15px 25px;
    }
    
    .widgets-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .slider-image {
        height: 300px;
    }
    
    .slider-title {
        font-size: 1.4rem;
    }
    
    .slider-overlay {
        padding: 40px 25px 25px;
    }
    
    .slider-nav {
        right: 20px;
    }
    
    .slider-dots {
        left: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
        height: 200px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-description {
        margin: 0 auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 12px 15px;
    }
    
    .logo-title {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .hero {
        min-height: 300px;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .widget {
        padding: 15px;
    }
    
    .widget-value {
        font-size: 1.5rem;
    }
    
    .info-section {
        padding: 50px 0;
    }
    
    .fact-number {
        font-size: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.news-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.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; }

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

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 5px;
}

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

/* Selection */
::selection {
    background: var(--gold);
    color: var(--primary-dark);
}
