/* Cabin 1A - Premium Travel Editorial */

:root {
  --color-bg: #f8f6f3;
  --color-text: #1a1a1a;
  --color-accent: #b8860b;
  --color-muted: #666;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
}

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

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--color-accent);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  padding: 120px 20px;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 15px;
}

.hero .tagline {
  font-size: 20px;
  font-weight: 300;
  opacity: 0.9;
}

/* Articles Section */
.articles {
  padding: 80px 0;
  background: #fff;
}

.articles h2 {
  font-family: var(--font-display);
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
}

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

.article-card {
  background: var(--color-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
}

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

.card-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.card-content p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Newsletter */
.newsletter {
  padding: 80px 20px;
  background: #1a1a1a;
  color: #fff;
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 15px;
}

.newsletter p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 30px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
}

.newsletter-form button {
  padding: 15px 30px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: #9a7209;
}

/* Footer */
footer {
  padding: 50px 20px;
  text-align: center;
  background: var(--color-bg);
  border-top: 1px solid #e0e0e0;
}

.logo-footer {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.logo-footer span {
  color: var(--color-accent);
}

footer p {
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.disclosure {
  font-size: 12px;
  max-width: 600px;
  margin: 20px auto 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }
  
  nav {
    gap: 15px;
  }
  
  nav a {
    font-size: 13px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Article Page Styles */
.article-header {
  padding: 100px 20px 50px;
  text-align: center;
  background: #fff;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: 42px;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

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

.article-hero-image {
  max-height: 500px;
  overflow: hidden;
}

.article-hero-image img {
  width: 100%;
  object-fit: cover;
}

.article-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 40px 0 20px;
}

.article-content h3 {
  font-size: 22px;
  margin: 30px 0 15px;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 10px;
  font-size: 17px;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  font-style: italic;
  font-size: 18px;
}

/* CTA Box */
.cta-box {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d5 100%);
  border-radius: 8px;
  text-align: center;
}

.cta-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 15px;
}

.cta-box p {
  margin-bottom: 20px;
}

.cta-box .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}

.cta-box .cta-button:hover {
  background: #9a7209;
}

/* Ranking Table */
.ranking-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.ranking-table th {
  background: var(--color-bg);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranking-table tr:hover {
  background: #fafafa;
}

.rank-number {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
}
