/*
Theme Name: Artisan Volcanic Coffee
Theme URI: https://artisanvolcaniccoffee.com.au
Author: Artisan Volcanic Coffee
Description: Custom WordPress theme for Artisan Volcanic Coffee — specialty coffee from Nariño, Colombia.
Version: 1.0
License: GPL-2.0+
Text Domain: artisanvolcanic
*/

:root {
  --accent: #be9c79;
  --accent-hover: #c7a17a;
  --bg-dark: #121212;
  --text-light: #ffffff;
  --text-muted: #cccccc;
  --font-heading: 'Marcellus', serif;
  --font-body: 'Open Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2.5rem;
  height: 100px;
  background: rgba(18,18,18,0);
  transition: background 0.3s, height 0.3s;
}
.site-header.scrolled {
  background: rgba(18,18,18,0.95);
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.site-logo img { height: 56px; transition: height 0.3s; }
.site-header.scrolled .site-logo img { height: 40px; }
.main-nav { display: flex; gap: 1.8rem; align-items: center; }
.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  transition: color 0.3s, opacity 0.3s;
}
.main-nav a:hover { color: var(--accent); opacity: 1; }
.nav-icons { display: flex; align-items: center; gap: 1.2rem; margin-left: 1rem; }
.nav-icons .icon { font-size: 1.1rem; opacity: 0.7; cursor: pointer; transition: opacity 0.3s; }
.nav-icons .icon:hover { opacity: 1; color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Slider */
.slider {
  position: relative; width: 100%; height: 100vh; overflow: hidden;
}
.slider-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.slider-slide.active { opacity: 1; }
.slide-content {
  text-align: center; max-width: 800px; padding: 0 2rem;
}
.slide-content .slide-logo { width: 180px; margin-bottom: 1.5rem; }
.slide-content .slide-separator { width: 160px; margin: 0 auto 1.5rem; }
.slide-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #fff;
}
.slide-content p {
  font-size: 1rem; font-weight: 300; opacity: 0.85;
  max-width: 600px; margin: 0 auto; line-height: 1.8;
}
.slider-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 2rem; pointer-events: none; z-index: 10;
}
.slider-arrow {
  pointer-events: auto;
  background: none; border: none; color: #fff;
  font-size: 2.5rem; cursor: pointer;
  opacity: 0.6; transition: opacity 0.3s;
}
.slider-arrow:hover { opacity: 1; color: var(--accent); }
.slider-dots {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.8rem; z-index: 10;
}
.slider-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; opacity: 0.5; cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active { background: var(--accent); opacity: 1; }

/* Sections */
.content-section { padding: 5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-center { text-align: center; }
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.section-separator { width: 160px; margin: 0.8rem auto 1.5rem; }
.section-separator img { width: 100%; }
.section-subtitle {
  font-size: 0.95rem; font-weight: 300; opacity: 0.8;
  max-width: 600px; margin: 0 auto;
}
.section-subtitle h6, .section-subtitle h4 {
  font-weight: 400; font-size: 1rem; line-height: 1.8;
}

/* Blog cards */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 3rem;
}
.blog-card { text-align: center; }
.blog-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 2px; margin-bottom: 1rem;
}
.blog-card h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.blog-card p {
  font-size: 0.85rem; opacity: 0.7; line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card .read-more {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent);
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
  transition: all 0.3s;
}
.blog-card .read-more:hover { color: #fff; border-color: #fff; }

/* Parallax */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 8rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.parallax-section .parallax-logo { width: 180px; }

/* Counters */
.counter-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.counter-item .counter-num {
  font-family: var(--font-heading);
  font-size: 3rem; color: var(--accent);
}
.counter-item .counter-label {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; opacity: 0.7; margin-top: 0.5rem;
}

/* CTA */
.cta-section {
  background-size: cover; background-position: center;
  padding: 4rem 1.5rem;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1000px; margin: 0 auto; gap: 2rem;
}
.cta-text {
  font-family: var(--font-heading);
  font-size: 1.3rem; letter-spacing: 0.03em;
}
.btn {
  display: inline-block; padding: 0.8rem 2.5rem;
  background: var(--accent); color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.08em; border-radius: 2px;
  transition: all 0.3s; cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Clients */
.clients-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 3rem; margin-top: 2rem;
}
.clients-grid img { height: 80px; opacity: 0.6; transition: opacity 0.3s; }
.clients-grid img:hover { opacity: 1; }

/* Footer */
.site-footer {
  background: #0a0a0a; text-align: center; padding: 3rem 1.5rem 2rem;
}
.site-footer .footer-logo { width: 120px; margin-bottom: 1.5rem; }
.footer-contact {
  font-size: 0.85rem; opacity: 0.7; line-height: 2;
}
.footer-contact h5 {
  font-family: var(--font-heading);
  font-size: 1rem; opacity: 0.9; margin-bottom: 0.5rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  padding: 2rem 0 0; border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
}
.footer-info { font-size: 0.8rem; opacity: 0.5; text-align: left; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { font-size: 1rem; opacity: 0.5; transition: all 0.3s; }
.footer-social a:hover { opacity: 1; color: var(--accent); }

/* Mobile */
@media (max-width: 768px) {
  .site-header { padding: 0 1.5rem; }
  .main-nav { display: none; }
  .nav-icons { display: none; }
  .menu-toggle { display: block; }
  .blog-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .slide-content .slide-logo { width: 120px; }
}