/* 
 * Stylish Camera Blog - Fashion Magazine Theme
 * A high-end editorial aesthetic reminiscent of luxury print magazines.
 */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,700;1,6..96,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --bg-color: #faf9f6; /* Alabaster / Cream paper look */
  --text-main: #111111;
  --text-muted: #555555;
  --accent-color: #8b0000; /* Deep Crimson */
  --border-color: #dcdcdc;
  
  --font-serif: 'Bodoni Moda', serif;
  --font-sans: 'Montserrat', sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 700;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Navbar (The Masthead Menu) */
.navbar {
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--text-main);
  padding: 1.5rem 0;
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main) !important;
  font-weight: 700;
  line-height: 1;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main) !important;
  margin-left: 1.5rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--text-main);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hero Section / Magazine Cover */
.magazine-cover {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  margin-top: 2rem;
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: contrast(1.1) brightness(0.9);
}

.cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.cover-title {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cover-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 300;
}

/* Editorial Layout Elements */
.editorial-section-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-top: 1px solid var(--text-main);
  border-bottom: 1px solid var(--text-main);
  padding: 0.5rem 0;
  margin-bottom: 3rem;
  display: inline-block;
}

/* Article Spread Grid */
.spread-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.spread-item-large {
  grid-column: span 8;
}

.spread-item-small {
  grid-column: span 4;
}

@media (max-width: 991px) {
  .spread-item-large, .spread-item-small {
    grid-column: span 12;
  }
}

.editorial-card {
  position: relative;
  margin-bottom: 2rem;
}

.editorial-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 1.5rem;
  filter: grayscale(10%);
  transition: filter 0.5s ease;
}

.spread-item-large .editorial-img {
  aspect-ratio: 16/9;
}

.editorial-card:hover .editorial-img {
  filter: grayscale(0%);
}

.editorial-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  display: block;
}

.editorial-card h3 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.editorial-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Article Reading Experience */
.article-header {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 2rem;
}

.article-category {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 0.2rem;
}

.article-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.article-author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Drop Cap */
.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-size: 5rem;
  float: left;
  line-height: 0.8;
  padding-right: 0.5rem;
  padding-top: 0.2rem;
  color: var(--text-main);
}

.article-body {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.article-body p {
  margin-bottom: 2rem;
}

.article-body h2 {
  font-size: 2.5rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.article-image-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 4rem;
  margin-bottom: 1rem;
  max-height: 80vh;
  object-fit: cover;
}

.image-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4rem;
}

/* Buttons */
.btn-editorial {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main);
  border: 1px solid var(--text-main);
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-editorial:hover {
  background: var(--text-main);
  color: var(--bg-color);
}

/* Footer */
.footer-editorial {
  border-top: 1px solid var(--text-main);
  padding: 5rem 0;
  margin-top: 5rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Contact Page Specific */
.contact-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.concierge-email {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--text-main);
  display: inline-block;
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 0.5rem;
  margin: 3rem 0;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.concierge-email:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
