/* Altayer Tour & Travels - Mystic Twilight Theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

:root {
    --primary: #1E1B4B; /* Twilight Blue */
    --primary-light: #312E81;
    --accent: #EAB308; /* Starlight Yellow */
    --accent-hover: #CA8A04;
    --bg-main: #F8FAFC; /* Frost White */
    --bg-white: #FFFFFF;
    --text-dark: #0F172A;
    --text-body: #475569;
    --border: #E2E8F0;
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --container: 1200px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(30, 27, 75, 0.1);
}

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

body { background-color: var(--bg-main); color: var(--text-body); font-family: var(--font-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-dark); line-height: 1.2; font-weight: 400; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; border-radius: 12px; }

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

/* Header */
header { background-color: var(--bg-white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 84px; }
.logo { font-family: var(--font-heading); font-size: 26px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; margin: 0; padding: 0; }
.nav-links a { font-size: 16px; font-weight: 500; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background-color: var(--accent); color: var(--primary); padding: 16px 36px; font-family: var(--font-body); font-weight: 700; font-size: 16px; border-radius: 8px; border: none; cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.btn:hover { background-color: var(--accent-hover); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--primary); }
.btn-outline { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: var(--bg-white); }

/* Block 1: Hero */
.hero { position: relative; padding: 140px 0; min-height: 85vh; display: flex; align-items: center; justify-content: center; color: var(--bg-white); text-align: center; }
.hero-content { position: relative; z-index: 3; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; padding: 8px 20px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); color: var(--accent); border-radius: 50px; font-weight: 700; font-size: 14px; margin-bottom: 24px; letter-spacing: 2px; text-transform: uppercase; border: 1px solid rgba(234, 179, 8, 0.4); }
.hero h1 { color: var(--bg-white); font-size: clamp(48px, 6vw, 72px); margin-bottom: 24px; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.hero p { font-size: 20px; margin-bottom: 40px; color: #E2E8F0; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Block 2: Story SEO Text */
.seo-story { background-color: var(--bg-white); padding: 100px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-text h2 { font-size: 42px; margin-bottom: 24px; color: var(--primary); }
.story-text p { font-size: 18px; margin-bottom: 20px; line-height: 1.8; }
.story-image img { width: 100%; height: 550px; object-fit: cover; box-shadow: var(--shadow-md); border-radius: 16px; }

/* Block 3: Categories */
.categories { background-color: var(--bg-main); text-align: center; }
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.cat-card { background: var(--bg-white); padding: 48px 32px; border-radius: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s; border-top: 4px solid transparent; }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-top-color: var(--accent); }
.cat-icon { width: 72px; height: 72px; background: var(--primary-light); color: var(--bg-white); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 24px; transform: rotate(-5deg); transition: transform 0.3s; }
.cat-card:hover .cat-icon { transform: rotate(0deg); }
.cat-card h3 { font-size: 26px; margin-bottom: 16px; font-family: var(--font-heading); }

/* Block 4: Blog Grid */
.blog-section { background-color: var(--bg-white); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.blog-header h2 { font-size: 44px; color: var(--primary); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; }
.blog-card { background: var(--bg-main); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-img { height: 260px; width: 100%; object-fit: cover; border-radius: 0; }
.blog-content { padding: 32px; }
.blog-meta { font-size: 14px; font-weight: 700; color: var(--accent-hover); margin-bottom: 12px; display: block; text-transform: uppercase; letter-spacing: 1px; }
.blog-title { font-size: 24px; margin-bottom: 16px; line-height: 1.3; }
.blog-title a:hover { color: var(--primary-light); }
.blog-excerpt { margin-bottom: 24px; font-size: 16px; color: var(--text-body); }
.read-more { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.read-more:hover { color: var(--accent-hover); }

/* Block 5: Deep SEO */
.deep-seo { background-color: var(--primary); color: var(--bg-white); padding: 100px 0; text-align: center; }
.deep-seo h2 { color: var(--accent); font-size: 40px; margin-bottom: 32px; }
.deep-seo-content { max-width: 900px; margin: 0 auto; }
.deep-seo-content p { font-size: 19px; color: #CBD5E1; margin-bottom: 24px; line-height: 1.8; }

/* Block 6: Newsletter */
.newsletter { background-color: var(--accent); padding: 80px 0; color: var(--primary); text-align: center; border-radius: 24px; margin: 64px 24px; }
.newsletter h2 { color: var(--primary); font-size: 40px; margin-bottom: 16px; }
.newsletter p { font-size: 18px; margin-bottom: 40px; font-weight: 500; }
.newsletter-form { display: flex; max-width: 550px; margin: 0 auto; gap: 8px; background: var(--bg-white); padding: 8px; border-radius: 12px; }
.newsletter-form input { flex: 1; padding: 16px 24px; border: none; font-family: var(--font-body); font-size: 16px; outline: none; border-radius: 8px; background: transparent; }
.newsletter-form .btn { padding: 16px 32px; background: var(--primary); color: var(--bg-white); border-radius: 8px; }
.newsletter-form .btn:hover { background: var(--primary-light); }

/* Articles */
.article-container { max-width: 800px; margin: 64px auto; }
.article-header { text-align: center; margin-bottom: 48px; }
.article-tag { display: inline-block; padding: 6px 16px; background: var(--accent); color: var(--primary); border-radius: 4px; font-size: 14px; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.article-title { font-size: 52px; margin-bottom: 24px; line-height: 1.1; color: var(--primary); }
.article-meta-info { color: var(--text-body); font-size: 16px; display: flex; justify-content: center; gap: 16px; align-items: center; font-weight: 500; }
.article-hero { width: 100%; height: 500px; object-fit: cover; margin-bottom: 48px; box-shadow: var(--shadow-md); border-radius: 16px; }
.article-body { font-size: 19px; line-height: 1.8; color: #334155; }
.article-body h2 { font-size: 32px; margin: 56px 0 24px; color: var(--primary); }
.article-body h3 { font-size: 24px; margin: 32px 0 16px; font-family: var(--font-body); font-weight: 700; }
.article-body p { margin-bottom: 24px; }
.article-body ul { margin-bottom: 24px; padding-left: 24px; }
.article-body li { margin-bottom: 12px; }
.article-body blockquote { font-family: var(--font-heading); font-size: 26px; color: var(--primary); font-style: italic; border-left: 4px solid var(--accent); padding-left: 32px; margin: 48px 0; background: var(--bg-white); padding: 32px; border-radius: 0 16px 16px 0; box-shadow: var(--shadow-sm); }

/* Forms */
.contact-form { max-width: 600px; margin: 0 auto; background: var(--bg-white); padding: 48px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.form-group { margin-bottom: 24px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--text-dark); }
.form-control { width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 16px; background-color: var(--bg-main); transition: all 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 27, 75, 0.1); }

/* Footer */
footer { background-color: var(--primary); padding: 80px 0 40px; color: #CBD5E1; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-text { font-size: 16px; margin-top: 16px; max-width: 400px; line-height: 1.8; }
.footer-heading { color: var(--bg-white); font-size: 22px; margin-bottom: 24px; font-family: var(--font-heading); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: #CBD5E1; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; font-size: 15px; }
.footer-logo { font-family: var(--font-heading); font-size: 26px; color: var(--bg-white); display: flex; align-items: center; gap: 8px; }
.footer-logo span { color: var(--accent); }

/* Responsive */
@media (max-width: 992px) {
    .story-grid, .footer-grid { grid-template-columns: 1fr; gap: 48px; }
    .categories-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 48px; }
    .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .newsletter-form { flex-direction: column; background: transparent; padding: 0; }
    .newsletter-form input { border-radius: 8px; background: var(--bg-white); }
    .newsletter-form .btn { border-radius: 8px; }
    .newsletter { margin: 24px 0; border-radius: 0; }
    .article-title { font-size: 36px; }
    .hero { min-height: 60vh; padding: 100px 0; }
}
