/* ========================================
   HARDSCAPE FLOW — Premium Theme
   ======================================== */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #22223a;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --accent: #c8a04e;
  --accent-light: #dbb868;
  --accent-dark: #a07830;
  --gradient: linear-gradient(135deg, #c8a04e, #e8c86e, #c8a04e);
  --border: #2a2a40;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; font-weight: 800; }

/* --- Utility --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 2.4rem; text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 48px; font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--gradient); color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(200,160,78,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(200,160,78,0.5); color: #0a0a0f; }
.btn-secondary {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover { background: rgba(200,160,78,0.1); color: var(--accent-light); }
.btn-full { width: 100%; justify-content: center; }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); height: var(--header-height);
}
.header-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; color: var(--text-primary); }
.logo:hover { color: var(--text-primary); }
.logo-icon { color: var(--accent); font-size: 1.4rem; }
.logo-accent { color: var(--accent); }
.main-nav { display: flex; gap: 32px; }
.nav-link { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 1px; }
.header-cta { font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.header-cta:hover { color: var(--accent-light); }
.cta-icon { font-style: normal; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: 0.3s; }

/* --- Hero --- */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: calc(var(--header-height) + 40px) 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,160,78,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 100%, rgba(200,160,78,0.06) 0%, transparent 40%);
}
.hero-content { position: relative; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 50px;
  background: rgba(200,160,78,0.1); border: 1px solid rgba(200,160,78,0.3);
  color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 24px;
}
.hero-title { font-size: 3.8rem; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: var(--text-muted); font-size: 0.9rem; }

/* --- Services Grid --- */
.services-section { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 28px; transition: all 0.3s; display: block; color: var(--text-primary);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lg); background: var(--bg-card-hover); color: var(--text-primary); }
.service-icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }
.card-link { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* --- Why Section --- */
.why-section { padding: 100px 0; background: var(--bg-secondary); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-card { padding: 32px; }
.why-number { font-size: 3rem; font-weight: 900; color: rgba(200,160,78,0.2); margin-bottom: 12px; font-family: var(--font-heading); }
.why-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.why-card p { color: var(--text-secondary); }

/* --- Posts Grid --- */
.posts-section { padding: 100px 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.post-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.3s; display: block; color: var(--text-primary);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lg); color: var(--text-primary); }
.post-image { height: 200px; background-size: cover; background-position: center; background-color: var(--bg-secondary); }
.post-content { padding: 24px; }
.post-category { display: inline-block; padding: 4px 12px; border-radius: 50px; background: rgba(200,160,78,0.1); color: var(--accent); font-size: 0.8rem; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.4; }
.post-card p { color: var(--text-secondary); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-date { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; display: block; }
.section-cta { text-align: center; }

/* --- Service Areas --- */
.areas-section { padding: 100px 0; background: var(--bg-secondary); }
.areas-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.area-tag {
  padding: 8px 18px; border-radius: 50px; background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-secondary);
  font-size: 0.9rem; transition: all 0.2s;
}
.area-tag:hover { border-color: var(--accent); color: var(--accent); }
.areas-cta { text-align: center; }
.areas-cta p { color: var(--text-secondary); margin-bottom: 16px; }

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0; text-align: center;
  background: radial-gradient(ellipse at center, rgba(200,160,78,0.08) 0%, transparent 60%);
}
.cta-section h2 { font-size: 2.4rem; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); font-size: 1.15rem; margin-bottom: 32px; }

/* --- Blog Post --- */
.post-header { padding: calc(var(--header-height) + 60px) 24px 40px; text-align: center; }
.post-header-container { max-width: 800px; margin: 0 auto; }
.post-category-link { display: inline-block; padding: 6px 16px; border-radius: 50px; background: rgba(200,160,78,0.1); color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.post-header h1 { font-size: 2.8rem; margin-bottom: 16px; }
.post-meta { color: var(--text-muted); font-size: 0.95rem; }
.meta-sep { margin: 0 8px; }
.post-featured-image { max-width: 1000px; margin: 0 auto 40px; padding: 0 24px; }
.post-featured-image img { border-radius: var(--radius-lg); width: 100%; }

.post-body { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 80px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.post-content-wrap h2 { font-size: 1.8rem; margin: 40px 0 16px; color: var(--text-primary); }
.post-content-wrap h3 { font-size: 1.4rem; margin: 32px 0 12px; }
.post-content-wrap p { margin-bottom: 16px; color: var(--text-secondary); }
.post-content-wrap ul, .post-content-wrap ol { margin: 0 0 16px 24px; color: var(--text-secondary); }
.post-content-wrap li { margin-bottom: 8px; }
.post-content-wrap strong { color: var(--text-primary); }
.post-content-wrap a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content-wrap blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 24px 0; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; }

/* --- FAQ --- */
.faq-section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border); }
.faq-item { margin-bottom: 24px; padding: 24px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); }
.faq-question { font-size: 1.15rem; margin-bottom: 10px; color: var(--accent); }
.faq-answer p { margin: 0; color: var(--text-secondary); }

/* --- Post CTA --- */
.post-cta {
  margin-top: 48px; padding: 40px; background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--accent); text-align: center;
}
.post-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }
.post-cta p { color: var(--text-secondary); margin-bottom: 20px; }
.post-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Sidebar --- */
.post-sidebar { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.sidebar-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.sidebar-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 12px; border-radius: 50px; background: var(--bg-primary); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.8rem; }
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* --- CTA Banner (shortcode) --- */
.cta-banner { margin: 32px 0; padding: 36px; background: linear-gradient(135deg, rgba(200,160,78,0.08), rgba(200,160,78,0.02)); border: 1px solid rgba(200,160,78,0.3); border-radius: var(--radius-lg); text-align: center; }
.cta-banner h3 { font-size: 1.4rem; margin-bottom: 8px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 20px; }
.cta-banner-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- List Page --- */
.list-page { padding: calc(var(--header-height) + 60px) 0 80px; }
.list-header { text-align: center; margin-bottom: 48px; }
.list-header h1 { font-size: 2.8rem; margin-bottom: 12px; }
.list-description { color: var(--text-secondary); font-size: 1.1rem; }

/* --- Related Posts --- */
.related-posts { padding: 60px 24px; }
.related-posts h2 { font-size: 1.8rem; margin-bottom: 32px; text-align: center; }

/* --- Footer --- */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 80px 0 32px; }
.footer-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 800; }
.footer-tagline { color: var(--text-secondary); margin: 12px 0 20px; font-size: 0.95rem; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.footer-phone, .footer-text { color: var(--text-secondary); font-size: 0.9rem; }
.footer-phone:hover, .footer-text:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: var(--text-muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--accent); }
.footer-links h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-links a { display: block; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent); }
.footer-areas { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-item .page-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9rem;
}
.pagination .page-item.active .page-link { background: var(--accent); color: #0a0a0f; border-color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .post-body { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.active { display: flex; flex-direction: column; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--bg-primary); border-bottom: 1px solid var(--border); padding: 24px; gap: 16px; }
  .header-cta { display: none; }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .services-grid, .why-grid, .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
  .post-header h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
}

/* --- Our Work Grid --- */
.work-section { padding: 100px 0; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.work-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-item:hover img { transform: scale(1.08); }

/* --- TikTok Section --- */
.tiktok-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.tiktok-showcase { display: flex; justify-content: center; }
.tiktok-profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 4rem;
  background: linear-gradient(135deg, rgba(254,44,85,0.05), rgba(37,244,238,0.05));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  color: var(--text-primary);
}
.tiktok-profile-hero:hover {
  border-color: rgba(254,44,85,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(254,44,85,0.15);
  color: var(--text-primary);
}
.tiktok-icon-large {
  color: #fe2c55;
  margin-bottom: 1rem;
}
.tiktok-profile-hero h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.tiktok-profile-hero p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .tiktok-profile-hero { padding: 2rem; }
}
