/*
Theme Name: Solo Digital Marketing
Description: A modern, professional one-page WordPress theme for Solo Digital Marketing Agency. Features responsive design, SEO optimization, and conversion-focused layouts.
Version: 1.0.0
Author: Solo Digital
Author URI: https://solodigital.com
Tags: business, marketing, one-page, responsive, professional
Text Domain: solo-digital
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===== DESIGN SYSTEM & CSS VARIABLES ===== */
:root {
  /* Solo Digital Brand Colors - Professional & Modern */
  --background: 0 0% 100%;
  --foreground: 210 11% 15%;
  
  /* Brand Primary - Sophisticated Charcoal */
  --primary: 210 11% 15%;
  --primary-foreground: 0 0% 100%;
  
  /* Brand Secondary - Strategic Light Blue */
  --secondary: 213 94% 68%;
  --secondary-foreground: 210 11% 15%;
  
  /* Professional Neutrals */
  --muted: 210 16% 96%;
  --muted-foreground: 215 16% 47%;
  
  --accent: 213 94% 68%;
  --accent-foreground: 0 0% 100%;
  
  /* Cards & Surfaces */
  --card: 0 0% 100%;
  --card-foreground: 210 11% 15%;
  
  /* Interactive Elements */
  --border: 214 32% 91%;
  --input: 214 32% 91%;
  --ring: 213 94% 68%;
  
  /* Status Colors */
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  
  /* Design System Variables */
  --radius: 0.75rem;
  
  /* Professional Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(210, 11%, 15%) 0%, hsl(210, 20%, 25%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%) 0%, hsl(210, 16%, 98%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(213, 94%, 68%) 0%, hsl(213, 94%, 78%) 100%);
  
  /* Professional Shadows */
  --shadow-sm: 0 2px 4px -1px hsl(210, 11%, 15%, 0.06);
  --shadow-md: 0 4px 12px -2px hsl(210, 11%, 15%, 0.08);
  --shadow-lg: 0 8px 24px -4px hsl(210, 11%, 15%, 0.12);
  --shadow-hero: 0 20px 40px -8px hsl(210, 11%, 15%, 0.15);
  
  /* Smooth Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-quick: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  font-feature-settings: "rlig" 1, "calt" 1;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== TYPOGRAPHY ===== */
.text-hero {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.text-subhero {
  font-size: 1.25rem;
  line-height: 1.7;
}

.text-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .text-hero {
    font-size: 3rem;
  }
  .text-subhero {
    font-size: 1.5rem;
  }
  .text-section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .text-hero {
    font-size: 3.75rem;
  }
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== COMPONENTS ===== */

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsla(var(--background), 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: hsl(var(--primary));
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-accent);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: hsl(var(--accent-foreground));
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-quick);
}

.main-nav a:hover {
  color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-quick);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-hero {
  background: var(--gradient-accent);
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-sm);
}

.btn-hero:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-social-proof {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
  .hero-social-proof {
    flex-direction: row;
    align-items: center;
  }
}

/* Card Styles */
.card {
  background: var(--gradient-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-content {
  padding: 2rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-accent);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: var(--transition-quick);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsla(var(--ring), 0.2);
}

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

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

/* Utility Classes */
.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.text-white {
  color: white;
}

.text-primary {
  color: hsl(var(--primary));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.bg-muted {
  background-color: hsla(var(--muted), 0.3);
}

/* Footer */
.site-footer {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-bottom {
  border-top: 1px solid hsla(var(--primary-foreground), 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  color: hsl(var(--primary));
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-quick);
}

.mobile-menu a:hover {
  color: hsl(var(--primary));
}

/* Responsive Design */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .text-hero {
    font-size: 2rem;
  }
  
  .text-section-title {
    font-size: 1.75rem;
  }
}