/**
 * Gaelic Journeys - Main Stylesheet
 * Traditional design with light colors, responsive layout
 */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #2d5016;
    --primary-light: #4a7c2a;
    --primary-dark: #1a3009;
    --secondary-color: #8b7355;
    --accent-color: #d4af37;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --bg-light: #f8f6f3;
    --bg-white: #ffffff;
    --bg-cream: #faf9f7;
    --border-color: #e0ddd8;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --font-primary: 'Crimson Text', serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-light);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.main-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: var(--bg-cream);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--primary-color);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero-section {
    background: 
        url('../images/hero-background.png') center/cover no-repeat,
        url('../images/shamrock-pattern.png') repeat,
        radial-gradient(circle at 10% 20%, rgba(45, 80, 22, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(248, 246, 243, 0.7) 0%, rgba(250, 249, 247, 0.7) 100%);
    background-size: cover, 150px 150px, auto, auto, auto;
    background-position: center, 0 0, center, center, center;
    background-blend-mode: normal, overlay, normal, normal, normal;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/shamrock-pattern.png') repeat;
    background-size: 150px 150px;
    opacity: 0.1;
    animation: floatPattern 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatPattern {
    0% { background-position: 0 0; }
    100% { background-position: 150px 150px; }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-white), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    z-index: 10;
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
}

.hero-decoration {
    position: relative;
    height: 400px;
    animation: fadeIn 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Анимированные клеверы */
.hero-decoration::before,
.hero-decoration::after {
    content: '☘';
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: floatShamrock 4s ease-in-out infinite;
}

.hero-decoration::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-decoration::after {
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

@keyframes floatShamrock {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.2);
        opacity: 0.5;
    }
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.decoration-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 0;
    animation-delay: 2s;
}

.decoration-circle:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 0;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-secondary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== Features Section ===== */
.features-section {
    padding: 4rem 0;
    background: 
        url('../images/background-pattern.png') center/cover repeat,
        linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(250, 249, 247, 0.85) 100%);
    background-size: 300px 300px, auto;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(250,249,247,0.6) 100%);
    z-index: 0;
}

/* Прыгающие клеверы в features section */
.features-section::after {
    content: '☘';
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    top: 20%;
    right: 10%;
    animation: floatShamrock 5s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 1;
    pointer-events: none;
}

.features-section > .container {
    position: relative;
    z-index: 10;
}

/* Дополнительные клеверы для features section */
.features-section .section-title::after {
    content: '☘';
    position: absolute;
    top: -30px;
    right: 20%;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: floatShamrock 3s ease-in-out infinite;
    animation-delay: 1.5s;
    width: auto;
    height: auto;
    background: none;
    transform: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.section-title::before {
    content: '☘';
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.3;
    animation: floatShamrock 3s ease-in-out infinite;
}

/* Переопределение для features section */
.features-section .section-title::before {
    content: '☘';
    position: absolute;
    top: -30px;
    left: 20%;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: floatShamrock 3s ease-in-out infinite;
    animation-delay: 0.5s;
    transform: none;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    animation: expandLine 1s ease-out;
}

/* Декоративный элемент справа */
.section-title {
    background-image: 
        radial-gradient(circle at -40px 50%, rgba(45, 80, 22, 0.1) 0%, transparent 20px),
        radial-gradient(circle at calc(100% + 40px) 50%, rgba(45, 80, 22, 0.1) 0%, transparent 20px);
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

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

.point-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    backdrop-filter: blur(3px);
}

/* Разные стили для карточек */
.point-card:nth-child(odd) {
    border-top: 4px solid var(--primary-color);
}

.point-card:nth-child(even) {
    border-top: 4px solid var(--accent-color);
    background: linear-gradient(to bottom, #ffffff 0%, #faf9f7 100%);
}

.point-card:nth-child(3n) {
    border-left: 4px solid var(--secondary-color);
}

.point-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.point-card:nth-child(even):hover {
    transform: translateY(-8px) rotate(-1deg);
}

.point-card-header {
    padding: 1rem;
    color: var(--bg-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.point-card:nth-child(odd) .point-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.point-card:nth-child(even) .point-card-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.point-card:nth-child(3n) .point-card-header {
    background: linear-gradient(135deg, #6b8e23, var(--primary-light));
}

.point-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.point-category {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.point-location {
    font-size: 0.9rem;
    opacity: 0.8;
}

.point-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    position: relative;
}

.point-card:nth-child(2n) .point-card-body::before {
    content: '☘';
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 3rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.point-card:nth-child(3n) .point-card-body::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 2.5rem;
    opacity: 0.15;
}

.point-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}

.point-card:nth-child(odd) .point-name {
    border-left: 3px solid var(--primary-color);
    padding-left: 0.75rem;
}

.point-card:nth-child(even) .point-name {
    border-left: 3px solid var(--accent-color);
    padding-left: 0.75rem;
}

.point-description {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.point-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===== Info Section ===== */
.info-section {
    padding: 4rem 0;
    background: 
        url('../images/irish-landscape.png') center/cover no-repeat,
        url('../images/shamrock-pattern.png') repeat,
        radial-gradient(circle at 20% 50%, rgba(45, 80, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(248, 246, 243, 0.75) 0%, rgba(250, 249, 247, 0.75) 100%);
    background-size: cover, 120px 120px, auto, auto, auto;
    background-position: center, 0 0, center, center, center;
    background-blend-mode: normal, overlay, normal, normal, normal;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(250, 249, 247, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Клеверы в info section */
.info-section::after {
    content: '☘ ☘ ☘';
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.15;
    top: 15%;
    left: 5%;
    animation: floatShamrock 6s ease-in-out infinite;
    animation-delay: 0s;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 30px;
}

.info-section > .container {
    position: relative;
    z-index: 10;
}

/* Клеверы на карточках */
.info-card::before {
    content: '☘';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    opacity: 0.2;
    animation: floatShamrock 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.info-card:nth-child(2)::before {
    animation-delay: 1s;
    top: -10px;
    right: -10px;
}

.info-card:nth-child(3)::before {
    animation-delay: 2s;
    top: -20px;
    right: -20px;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    z-index: 5;
    backdrop-filter: blur(3px);
}

.info-card::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: left 0.5s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:nth-child(1) {
    border-top: 4px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 100%);
}

.info-card:nth-child(2) {
    border-top: 4px solid var(--accent-color);
    background: linear-gradient(135deg, #ffffff 0%, #fffef5 100%);
    border-radius: 20px 12px 12px 12px;
}

.info-card:nth-child(3) {
    border-top: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #faf8f3 100%);
    border-radius: 12px 20px 12px 12px;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Разные стили для разных страниц */
body:has(.page-header) .page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

/* Специфичные стили для страницы About */
body:has(.content-section) .content-section {
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(45, 80, 22, 0.02) 2px,
            rgba(45, 80, 22, 0.02) 4px
        );
}

.page-title {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}


/* ===== Content Section ===== */
.content-section {
    padding: 4rem 0;
}

.content-block {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px var(--shadow-light);
    position: relative;
    border-left: 5px solid var(--primary-color);
}

.content-block:nth-child(even) {
    border-left-color: var(--accent-color);
    background: linear-gradient(to right, #ffffff 0%, #faf9f7 100%);
}

.content-block:nth-child(3n) {
    border-left-color: var(--secondary-color);
    border-radius: 20px 12px 12px 12px;
}

.text-content {
    line-height: 1.8;
    color: var(--text-dark);
}

.text-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.text-content h2:first-child {
    margin-top: 0;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.text-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* ===== Routes Section ===== */
.routes-section {
    padding: 4rem 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(45, 80, 22, 0.02) 50%, transparent 100%),
        var(--bg-light);
    background-size: 100% 100px;
    background-repeat: repeat-y;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
    pointer-events: none;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.filter-btn.active {
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.points-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.point-article {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px var(--shadow-light);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
    position: relative;
    overflow: hidden;
}

.point-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s;
}

.point-article:hover::before {
    width: 8px;
}

.point-article.hidden {
    display: none;
}

.point-article:hover {
    box-shadow: 0 12px 30px var(--shadow-medium);
    transform: translateX(8px) scale(1.01);
}

/* Разные стили для разных категорий */
.point-article[data-category="natural"] {
    border-left-color: #4a7c2a;
    background: linear-gradient(to right, #f0f8f0 0%, #ffffff 100%);
}

.point-article[data-category="historic"] {
    border-left-color: #8b7355;
    background: linear-gradient(to right, #faf8f3 0%, #ffffff 100%);
}

.point-article[data-category="cultural"] {
    border-left-color: #d4af37;
    background: linear-gradient(to right, #fffef5 0%, #ffffff 100%);
}

.point-article[data-category="archaeological"] {
    border-left-color: #6b8e23;
    background: linear-gradient(to right, #f5f5f0 0%, #ffffff 100%);
}

.point-article[data-category="scenic route"] {
    border-left-color: #2d5016;
    background: linear-gradient(to right, #f8f6f3 0%, #ffffff 100%);
}

.point-article[data-category="educational"] {
    border-left-color: #8b4513;
    background: linear-gradient(to right, #faf9f7 0%, #ffffff 100%);
}

.point-article-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.point-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
    min-width: 60px;
    text-align: center;
    padding-top: 0.5rem;
    position: relative;
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-white));
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: var(--transition);
}

.point-article:hover .point-number {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border-color: var(--accent-color);
}

.point-header-info {
    flex-grow: 1;
}

.point-article-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.point-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.point-location-badge,
.point-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-cream);
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.point-category-badge {
    background-color: var(--primary-light);
    color: var(--bg-white);
}

.point-article-body {
    margin-top: 1.5rem;
}

.point-description-full,
.point-history-full {
    margin-bottom: 2rem;
}

.point-description-full h3,
.point-history-full h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.point-description-full p,
.point-history-full p {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* ===== Booking Section ===== */
.booking-section {
    padding: 4rem 0;
    background: 
        url('../images/background-pattern.png') center/cover repeat,
        linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    background-size: 300px 300px, auto;
    background-blend-mode: overlay;
    position: relative;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(250, 249, 247, 0.7) 100%);
    z-index: 0;
}

.booking-section > .container {
    position: relative;
    z-index: 10;
}

.booking-content {
    max-width: 1000px;
    margin: 0 auto;
}

.booking-intro {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.booking-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.booking-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

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

.booking-info-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(3px);
}

.booking-info-card:nth-child(2) {
    border-top-color: var(--accent-color);
}

.booking-info-card:nth-child(3) {
    border-top-color: var(--secondary-color);
}

.booking-info-card:nth-child(4) {
    border-top-color: var(--primary-light);
}

.booking-info-card::before {
    content: '☘';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    opacity: 0.2;
    animation: floatShamrock 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.booking-info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.booking-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.booking-info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.booking-contact-main {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.booking-contact-hours,
.booking-contact-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.booking-note {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-left: 5px solid var(--accent-color);
    backdrop-filter: blur(3px);
}

.booking-note-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.booking-note-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.booking-note-content p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 4rem 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(45, 80, 22, 0.02) 49%, rgba(45, 80, 22, 0.02) 51%, transparent 52%),
        var(--bg-light);
    background-size: 30px 30px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.05), transparent);
    transition: left 0.5s;
}

.contact-item:hover::after {
    left: 100%;
}

.contact-item:nth-child(1) {
    border-top: 4px solid var(--primary-color);
    border-radius: 20px 12px 12px 12px;
}

.contact-item:nth-child(2) {
    border-top: 4px solid var(--accent-color);
    border-radius: 12px 20px 12px 12px;
}

.contact-item:nth-child(3) {
    border-top: 4px solid var(--secondary-color);
    border-radius: 12px 12px 20px 12px;
}

.contact-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.contact-icon {
    font-size: 2.5rem;
    min-width: 60px;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.8;
}

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

.decoration-pattern {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    opacity: 0.1;
    border-radius: 50%;
    position: relative;
}

.decoration-pattern::before,
.decoration-pattern::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
}

.decoration-pattern::before {
    top: -50px;
    left: -50px;
}

.decoration-pattern::after {
    bottom: -50px;
    right: -50px;
}

/* ===== Footer ===== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--bg-white);
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 4px 15px var(--shadow-medium);
        transition: var(--transition);
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .points-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-info-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-note {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .point-article-header {
        flex-direction: column;
    }
    
    .point-number {
        align-self: flex-start;
    }
    
    .content-block {
        padding: 2rem 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-decoration {
        height: 300px;
    }
    
    .hero-image {
        max-width: 90%;
    }
    
    .info-card-image {
        max-width: 150px;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .point-card {
        margin: 0 10px;
    }
}

