/* ========================================
   VALENCOSTA.SHOP - Unique Sage Green Blog Theme
   Fully custom modern asymmetric layout, never repeated
   Responsive, clean, Google Ads safe, text-focused
   ======================================== */

:root {
  --sage: #5C7A5E;
  --sage-dark: #3A4F3C;
  --sage-light: #A8C5A8;
  --sage-pale: #E6F0E6;
  --bg: #F8FBF6;
  --card: #FFFFFF;
  --text: #2A352B;
  --text-muted: #5A665B;
  --accent: #7BA37D;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(92, 122, 94, 0.08);
  --shadow-soft: 0 4px 12px rgba(92, 122, 94, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--sage-dark);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--sage-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.85rem; }

p {
  margin-bottom: 1.1rem;
  color: var(--text);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER - Unique floating style ========== */
header {
  background: rgba(248, 251, 246, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--sage-pale);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.logo {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--sage-dark);
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.4rem 0.1rem;
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width 0.25s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--sage-dark);
  cursor: pointer;
}

/* ========== HERO - Asymmetric Split Screen Unique ========== */
.hero {
  background: linear-gradient(135deg, var(--sage-pale) 0%, #F0F7ED 100%);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.15rem;
  margin-bottom: 1.35rem;
  letter-spacing: -1.2px;
}

.hero-text p {
  font-size: 1.15rem;
  max-width: 38ch;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-visual {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  color: white;
  position: relative;
  box-shadow: var(--shadow);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.hero-visual h3 {
  color: white;
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.hero-visual p {
  color: rgba(255,255,255,0.92);
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.35rem;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 999px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--sage-dark);
  color: white;
}

.btn-primary:hover {
  background: #2E3F30;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(58, 79, 60, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage);
  padding: 0.85rem 2.1rem;
}

.btn-secondary:hover {
  background: var(--sage-pale);
  border-color: var(--sage-dark);
}

/* ========== INTRO / LONG TEXT SECTION ========== */
.intro {
  padding: 4.5rem 0;
  background: var(--card);
  border-radius: var(--radius);
  margin: 2.5rem 0;
  box-shadow: var(--shadow-soft);
}

.intro h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.intro-content {
  max-width: 860px;
  margin: 0 auto;
}

.intro-content p {
  font-size: 1.05rem;
}

/* ========== ASYMMETRIC GRID + SIDEBAR - UNIQUE LAYOUT ========== */
.content-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.75rem;
  padding: 3rem 0 5rem;
}

.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--sage-pale);
}

.sidebar h4 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--sage-pale);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 0.65rem;
}

.sidebar a {
  font-size: 0.95rem;
  display: block;
  padding: 0.35rem 0;
  color: var(--text-muted);
}

.sidebar a:hover {
  color: var(--sage);
  padding-left: 4px;
}

.author-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sage-pale);
  font-size: 0.9rem;
}

.author-box strong {
  color: var(--sage-dark);
}

.blog-main {
  min-width: 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0;
}

/* ========== ASYMMETRIC ARTICLE CARDS - MAGAZINE STYLE UNIQUE ========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.65rem;
  grid-auto-rows: minmax(180px, auto);
}

.article-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.65rem 1.55rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--sage-pale);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sage-light);
}

.article-card.wide {
  grid-column: span 2;
}

.article-card .category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--sage-pale);
  color: var(--sage-dark);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
  align-self: flex-start;
}

.article-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.article-card .excerpt {
  flex: 1;
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.article-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--sage-pale);
}

.article-card .meta .read-time {
  background: var(--sage-pale);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
}

/* ========== CONTACT PAGE UNIQUE LAYOUT ========== */
.contact-hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
}

.contact-form-wrapper {
  max-width: 620px;
  margin: 2.5rem auto;
  background: var(--card);
  padding: 2.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.45rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1.5px solid var(--sage-pale);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(92, 122, 94, 0.08);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ========== PRIVACY & TERMS - LONG READABLE PAGES ========== */
.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page h1 {
  text-align: center;
  margin-bottom: 0.6rem;
}

.legal-page .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  padding: 3rem 3.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sage-pale);
}

.legal-content h3 {
  margin-top: 1.65rem;
  color: var(--sage);
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1.5rem 1.35rem;
}

.legal-content li {
  margin-bottom: 0.55rem;
}

/* ========== THANK YOU PAGE ========== */
.thankyou {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.thankyou h1 {
  font-size: 2.65rem;
  margin-bottom: 1.25rem;
}

.thankyou .big-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

.disclaimer-box {
  background: var(--sage-pale);
  padding: 1.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 2.5rem auto 0;
  text-align: left;
}

/* ========== FOOTER ========== */
footer {
  background: var(--sage-dark);
  color: var(--sage-pale);
  padding: 3.25rem 0 2.25rem;
  margin-top: 4rem;
  font-size: 0.92rem;
}

footer a {
  color: var(--sage-light);
}

footer a:hover {
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-col h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col p, .footer-col li {
  color: var(--sage-light);
  margin-bottom: 0.4rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(168, 197, 168, 0.2);
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ========== RESPONSIVE - FULLY ADAPTIVE ========== */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 200;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.75rem; }
  
  .article-card.wide {
    grid-column: span 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-form-wrapper {
    padding: 1.85rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .intro { margin: 1.5rem 0; padding: 2rem 1.25rem; }
}