/*
Theme Name: RVK AI CMS
Theme URI: https://rvkai.com
Author: RVK AI
Author URI: https://rvkai.com
Description: A clean, modern one-page theme for the RVK AI CMS. Designed to match the RVK AI brand aesthetic with cyan/blue gradients and professional styling.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rvkai-cms
Tags: one-column, custom-colors, custom-logo, featured-images, theme-options

RVK AI CMS Theme - A branded WordPress theme for content management.
*/

/* ============================================
   CSS Variables - RVK AI Brand Colors
   ============================================ */
:root {
  --rvk-cyan-50: #ecfeff;
  --rvk-cyan-100: #cffafe;
  --rvk-cyan-200: #a5f3fc;
  --rvk-cyan-300: #67e8f9;
  --rvk-cyan-400: #22d3ee;
  --rvk-cyan-500: #06b6d4;
  --rvk-cyan-600: #0891b2;
  --rvk-cyan-700: #0e7490;
  --rvk-cyan-800: #155e75;
  --rvk-cyan-900: #164e63;
  
  --rvk-slate-50: #f8fafc;
  --rvk-slate-100: #f1f5f9;
  --rvk-slate-200: #e2e8f0;
  --rvk-slate-300: #cbd5e1;
  --rvk-slate-400: #94a3b8;
  --rvk-slate-500: #64748b;
  --rvk-slate-600: #475569;
  --rvk-slate-700: #334155;
  --rvk-slate-800: #1e293b;
  --rvk-slate-900: #0f172a;
  
  --rvk-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
  --rvk-gradient-dark: linear-gradient(135deg, #0e7490 0%, #0891b2 50%, #06b6d4 100%);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

/* ============================================
   Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rvk-slate-700);
  background: var(--rvk-slate-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--rvk-slate-900);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--rvk-cyan-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--rvk-cyan-700);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 180, 216, 0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo svg,
.site-logo-img {
  flex-shrink: 0;
  height: 32px;
  width: auto;
}

.footer-logo-img {
  height: 24px;
  width: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--rvk-gradient);
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rvk-slate-700);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(180deg, var(--rvk-slate-50) 0%, white 50%, var(--rvk-slate-100) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at bottom left, rgba(8, 145, 178, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--rvk-cyan-50), var(--rvk-cyan-100));
  border: 1px solid var(--rvk-cyan-200);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rvk-cyan-700);
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  display: block;
}

.hero h1 .gradient-text {
  background: var(--rvk-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--rvk-slate-600);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--rvk-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--rvk-slate-700);
  border: 2px solid var(--rvk-slate-200);
}

.btn-secondary:hover {
  border-color: var(--rvk-cyan-300);
  background: var(--rvk-slate-50);
}

/* ============================================
   Features Section
   ============================================ */
.features {
  background: white;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--rvk-cyan-50), var(--rvk-cyan-100));
  border: 1px solid var(--rvk-cyan-200);
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rvk-cyan-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--rvk-slate-600);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  padding: 2rem;
  background: white;
  border: 1px solid var(--rvk-slate-200);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--rvk-cyan-300);
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--rvk-cyan-100), var(--rvk-cyan-50));
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--rvk-cyan-600);
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--rvk-slate-600);
  margin-bottom: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: var(--rvk-slate-900);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--rvk-slate-400);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--rvk-slate-900);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-primary:hover {
  color: var(--rvk-slate-900);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: white;
  border-top: 1px solid var(--rvk-slate-200);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-text {
  color: var(--rvk-slate-500);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--rvk-slate-600);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--rvk-cyan-600);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--rvk-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   WordPress Specific
   ============================================ */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

/* Admin Bar Adjustment */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

