/* JPYara Traveler - Editorial Nomad Theme */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
    --primary: #4A044E; /* Deep Plum */
    --primary-light: #701a75;
    --accent: #F59E0B; /* Amber / Sunrise */
    --accent-hover: #d97706;
    --bg-main: #FFFBEB; /* Warm Cream */
    --bg-white: #FFFFFF;
    --text-dark: #1e293b;
    --text-body: #475569;
    --border: #fde68a;
    --font-heading: 'Lora', serif;
    --font-body: 'Work Sans', sans-serif;
    --container: 1200px;
    --shadow: 0 4px 20px rgba(74, 4, 78, 0.08);
}

* { 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.8; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--primary); font-weight: 600; line-height: 1.3; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
header { background-color: var(--bg-white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--primary); letter-spacing: -0.5px; }
.logo span { color: var(--accent); font-style: italic; }
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Buttons */
.btn { display: inline-block; background-color: var(--accent); color: var(--primary); padding: 15px 35px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; transition: all 0.3s; text-align: center; }
.btn:hover { background-color: var(--primary); color: var(--bg-white); transform: translateY(-2px); }
.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: 120px 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--bg-white); }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(74, 4, 78, 0.6), rgba(74, 4, 78, 0.9)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { color: var(--bg-white); font-size: clamp(40px, 6vw, 64px); margin-bottom: 20px; font-weight: 500; }
.hero p { font-size: 20px; font-weight: 300; margin-bottom: 40px; color: #fef3c7; }

/* Block 2 & 5: SEO Story Text */
.story-block { background-color: var(--bg-white); text-align: center; }
.story-content { max-width: 900px; margin: 0 auto; }
.story-content h2 { font-size: 42px; margin-bottom: 30px; position: relative; display: inline-block; padding-bottom: 15px; }
.story-content h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--accent); }
.story-content p { font-size: 18px; margin-bottom: 25px; color: var(--text-body); }
.story-content .dropcap { float: left; font-size: 64px; line-height: 50px; padding-top: 4px; padding-right: 8px; padding-left: 3px; font-family: var(--font-heading); color: var(--accent); }

/* Block 3: Features Grid */
.features-wrapper { background-color: var(--bg-main); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--bg-white); padding: 50px 30px; text-align: center; border: 1px solid var(--border); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature-icon { font-size: 48px; color: var(--primary); margin-bottom: 20px; display: block; }
.feature-card h3 { font-size: 24px; margin-bottom: 15px; }

/* Block 4: Blog Cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }
.blog-card { background: var(--bg-white); display: flex; flex-direction: column; transition: all 0.3s; border: 1px solid transparent; }
.blog-card:hover { box-shadow: var(--shadow); border-color: var(--border); }
.blog-img-wrapper { overflow: hidden; position: relative; padding-top: 66%; }
.blog-img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img-wrapper img { transform: scale(1.05); }
.blog-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 10px; font-weight: 600; }
.blog-title { font-size: 26px; margin-bottom: 15px; line-height: 1.4; }
.blog-title a:hover { color: var(--accent); }
.blog-excerpt { flex-grow: 1; margin-bottom: 20px; }
.read-more { font-family: var(--font-heading); font-style: italic; font-size: 18px; color: var(--primary); border-bottom: 1px solid var(--accent); display: inline-block; padding-bottom: 2px; align-self: flex-start; }
.read-more:hover { color: var(--accent); }

/* Block 6: Newsletter */
.newsletter { background-color: var(--primary); color: var(--bg-white); text-align: center; padding: 100px 0; }
.newsletter h2 { color: var(--bg-white); font-size: 40px; margin-bottom: 20px; }
.newsletter p { color: #e2e8f0; font-size: 18px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; gap: 10px; }
.newsletter-form input { flex: 1; padding: 15px 20px; border: none; font-family: var(--font-body); font-size: 16px; outline: none; }
.newsletter-form .btn { padding: 15px 30px; }

/* Article Layout */
.article-header { text-align: center; max-width: 900px; margin: 60px auto 40px; }
.article-title { font-size: 56px; margin-bottom: 20px; }
.article-meta-info { font-style: italic; color: var(--text-body); font-family: var(--font-heading); font-size: 18px; }
.article-hero { width: 100%; height: 500px; object-fit: cover; margin-bottom: 60px; }
.article-body { max-width: 800px; margin: 0 auto 80px; font-size: 20px; line-height: 1.9; color: #334155; }
.article-body h2 { font-size: 36px; margin: 50px 0 20px; }
.article-body h3 { font-size: 28px; margin: 40px 0 15px; }
.article-body p { margin-bottom: 25px; }
.article-body ul, .article-body ol { margin-bottom: 25px; padding-left: 20px; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote { font-family: var(--font-heading); font-size: 28px; font-style: italic; color: var(--primary); border-left: 4px solid var(--accent); padding: 10px 0 10px 30px; margin: 40px 0; }

/* Contact Form */
.form-group { margin-bottom: 25px; text-align: left; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary); text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.form-control { width: 100%; padding: 15px; border: 1px solid #cbd5e1; font-family: var(--font-body); font-size: 16px; background-color: var(--bg-white); transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--accent); }

/* Footer */
footer { background-color: var(--text-dark); color: #cbd5e1; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand { font-family: var(--font-heading); font-size: 32px; color: var(--bg-white); margin-bottom: 20px; display: block; }
.footer-brand span { color: var(--accent); font-style: italic; }
.footer-heading { color: var(--bg-white); font-size: 18px; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; border-top: 1px solid #334155; padding-top: 30px; font-size: 14px; }

/* Responsive */
@media (max-width: 992px) {
    .features-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 40px; }
    .story-content h2, .article-title { font-size: 36px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
}
