/* ============================================
   大理一统江山文旅公司 - 企业官网样式
   ============================================ */

:root {
    --primary: #1a6b4b;
    --primary-dark: #145237;
    --primary-light: #e8f5e9;
    --accent: #c5963e;
    --accent-light: #fdf3e0;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-alt: #f8f9f6;
    --bg-dark: #1a1a2e;
    --border: #e8e8e8;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

a:hover {
    color: var(--accent);
}

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

/* ========== Header ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 36px;
    line-height: 1;
}

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

.logo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 18px;
    font-size: 15px;
    color: var(--text);
    border-radius: 6px;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.nav-link.active {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a2a 0%, #1a6b4b 30%, #28785a 60%, #1a5c40 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(197,150,62,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(26,107,75,0.3) 0%, transparent 50%);
    z-index: 0;
}

.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 1;
    opacity: 0.12;
    background:
        linear-gradient(170deg, transparent 30%, rgba(255,255,255,0.1) 35%, transparent 40%),
        linear-gradient(175deg, transparent 50%, rgba(255,255,255,0.12) 55%, transparent 60%),
        linear-gradient(168deg, transparent 70%, rgba(255,255,255,0.08) 75%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #d4a544;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197,150,62,0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ========== Sections ========== */
.section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Features Grid ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== About Preview ========== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-area {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9 0%, #fdf3e0 100%);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    font-size: 100px;
    opacity: 0.6;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius);
    text-align: center;
}

.about-badge .number {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.about-badge .label {
    font-size: 12px;
    opacity: 0.9;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========== Tour Cards ========== */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tour-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.tour-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-image .img-placeholder {
    font-size: 80px;
    opacity: 0.5;
}

.tour-image-1 { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.tour-image-2 { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.tour-image-3 { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.tour-image-4 { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.tour-image-5 { background: linear-gradient(135deg, #ede7f6, #d1c4e9); }
.tour-image-6 { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }

.tour-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.tour-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.tour-body {
    padding: 20px;
}

.tour-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tour-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.tour-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.tour-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

/* ========== News Cards ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.news-image-1 { background: linear-gradient(135deg, #e3f2fd, #90caf9); }
.news-image-2 { background: linear-gradient(135deg, #e8f5e9, #81c784); }
.news-image-3 { background: linear-gradient(135deg, #fff3e0, #ffb74d); }

.news-body {
    padding: 20px;
}

.news-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-body p {
    font-size: 14px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== CTA Banner ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #0d4d35 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
}

/* ========== Page Banner ========== */
.page-banner {
    background: linear-gradient(135deg, #1a3a2a 0%, #1a6b4b 50%, #28785a 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.page-banner .breadcrumb a:hover {
    color: #fff;
}

.page-banner .breadcrumb span {
    margin: 0 6px;
}

/* ========== About Page ========== */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-story-image {
    background: linear-gradient(135deg, #e8f5e9, #fdf3e0);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
}

.about-story-text h2 {
    font-size: 28px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.about-story-text p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.9;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
}

.timeline-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
}

.timeline-empty {
    visibility: hidden;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== Tours Page ========== */
.tour-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tour-detail-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.tour-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.tour-detail-image {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
}

.tour-detail-body {
    padding: 24px;
}

.tour-detail-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.tour-detail-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.tour-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tour-feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
}

.tour-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ========== Gallery Page ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.gallery-colors-1 { background: linear-gradient(135deg, #a8e6cf, #88d8b0); }
.gallery-colors-2 { background: linear-gradient(135deg, #ffd3b6, #ffaaa5); }
.gallery-colors-3 { background: linear-gradient(135deg, #d4a5a5, #c9cbff); }
.gallery-colors-4 { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.gallery-colors-5 { background: linear-gradient(135deg, #fbc2eb, #a6c1ee); }
.gallery-colors-6 { background: linear-gradient(135deg, #ffeaa7, #dfe6e9); }
.gallery-colors-7 { background: linear-gradient(135deg, #55efc4, #00cec9); }
.gallery-colors-8 { background: linear-gradient(135deg, #fab1a0, #e17055); }
.gallery-colors-9 { background: linear-gradient(135deg, #81ecec, #6c5ce7); }

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    font-size: 150px;
    color: #fff;
    max-width: 90vw;
    max-height: 80vh;
}

.lightbox-caption {
    color: #fff;
    margin-top: 16px;
    font-size: 16px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* ========== News Page ========== */
.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.news-list-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.news-list-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    min-height: 180px;
}

.news-list-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-body .news-date {
    margin-bottom: 6px;
}

.news-list-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-list-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-detail-header h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.news-detail-meta {
    color: var(--text-muted);
    font-size: 14px;
}

.news-detail-content {
    line-height: 2;
    font-size: 16px;
    color: var(--text);
}

.news-detail-content p {
    margin-bottom: 20px;
}

/* ========== Contact Page ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-info-card h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-info-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-form-card h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,107,75,0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border: 1px solid var(--border);
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
}

.footer-heading {
    font-size: 16px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

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

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ========== Success/Error Message ========== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tours-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-story {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-list-item {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
        transition: right var(--transition);
        gap: 0;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 16px;
        border-radius: 8px;
    }

    .header-inner {
        height: 60px;
    }

    .logo-title {
        font-size: 18px;
    }

    .logo-icon {
        font-size: 28px;
    }

    .hero {
        height: 420px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .features-grid,
    .tours-grid,
    .news-grid,
    .gallery-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .news-list-item {
        grid-template-columns: 1fr;
    }

    .news-list-image {
        height: 180px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}
