/*
Theme Name: Cured Hosting
Theme URI: https://curedhosting.com
Description: Premium boutique WordPress hosting theme with integrated security plugins showcase
Version: 1.0.1
Author: Cured Hosting
Author URI: https://curedhosting.com
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cured-hosting
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
*/

/* Cured Hosting - Light Theme (Warm Off-White #F8F6F3) */
:root {
  --primary-color: #D4A574;      /* Warm Gold */
  --secondary-color: #6B5B4E;    /* Deep Brown */
  --accent-color: #C8936A;       /* Lighter Gold */
  --bg-primary: #F8F6F3;         /* Off-white background */
  --bg-secondary: #FAFAF8;       /* Slightly darker off-white */
  --text-primary: #2C2520;       /* Dark brown text */
  --text-secondary: #6B5B4E;     /* Medium brown */
  --border-color: #E8E4DD;       /* Light border */
  --success-color: #7CB342;      /* Green */
  --error-color: #E74C3C;        /* Red */
  --spacing-unit: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  margin-bottom: calc(var(--spacing-unit) * 2);
  font-weight: 600;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Header/Navigation */
header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  gap: var(--spacing-unit);
}

.logo-symbol {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: calc(var(--spacing-unit) * 6);
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background-color: var(--border-color);
  color: var(--primary-color);
}


.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.cta-button-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 2.5);
}

.cta-button-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 4);
  text-align: center;
  background: radial-gradient(circle at 50% 12%, rgba(212, 165, 116, 0.18), transparent 24%), radial-gradient(circle at 50% 92%, rgba(255, 255, 255, 0.16), transparent 30%), linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.22), transparent 42%), radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.08), transparent 48%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 8%;
  left: 50%;
  width: 118%;
  height: 82%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.18), transparent 40%);
  pointer-events: none;
}


.hero h1,
.hero-subtitle,
.hero-cta {
  position: relative;
  z-index: 2;
}

.hero-brand {
  position: relative;
  z-index: 2;
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.hero-logo {
  width: clamp(160px, 22vw, 240px);
  max-width: 260px;
  display: block;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto calc(var(--spacing-unit) * 4);
}

.hero-cta {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  justify-content: center;
  flex-wrap: wrap;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 4);
}

.section {
  padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4);
}

.section-title {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.section-title h2 {
  margin-bottom: var(--spacing-unit);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 4);
}

.feature-card {
  background: white;
  padding: calc(var(--spacing-unit) * 3);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(107, 91, 78, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.feature-card h3 {
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing-unit) * 6);
  margin-top: calc(var(--spacing-unit) * 6);
  position: relative;
  z-index: 10;
}

.pricing-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: calc(var(--spacing-unit) * 4);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(212, 165, 116, 0.15);
  transform: scale(1.05);
}

.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(107, 91, 78, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.price {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: calc(var(--spacing-unit) * 2) 0;
}

.price-period {
  color: var(--text-secondary);
  font-size: 1rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: calc(var(--spacing-unit) * 3) 0;
}

.pricing-features li {
  padding: calc(var(--spacing-unit) * 1.5) 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: "✓ ";
  color: var(--success-color);
  font-weight: 700;
  margin-right: var(--spacing-unit);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  margin-top: calc(var(--spacing-unit) * 3);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 3);
  margin-top: calc(var(--spacing-unit) * 4);
}

.icon-pack {
  background: linear-gradient(180deg, rgba(212, 165, 116, 0.08), rgba(248, 246, 243, 0.96));
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  align-items: stretch;
}

.icon-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: calc(var(--spacing-unit) * 4);
  text-align: center;
  box-shadow: 0 18px 40px rgba(44, 37, 32, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(44, 37, 32, 0.08);
}

.icon-shape {
  width: 72px;
  height: 72px;
  margin: 0 auto calc(var(--spacing-unit) * 2);
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(212, 165, 116, 0.15), transparent 48%), linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 243, 0.96));
  font-size: 2rem;
}

.icon-card h3 {
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.icon-card p {
  color: var(--text-secondary);
}

.testimonial {
  background: white;
  padding: calc(var(--spacing-unit) * 3);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(107, 91, 78, 0.08);
}

.stars {
  color: var(--primary-color);
  margin-bottom: var(--spacing-unit);
  font-size: 1.2rem;
}

.testimonial-text {
  margin-bottom: calc(var(--spacing-unit) * 2);
  font-style: italic;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: #E8E4DD;
  padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 4);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-unit);
}

.footer-section a {
  color: #E8E4DD;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(232, 228, 221, 0.2);
  padding-top: calc(var(--spacing-unit) * 3);
  text-align: center;
  color: #D0CCC5;
  font-size: 0.875rem;
}

/* Forms */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: calc(var(--spacing-unit) * 2);
}

label {
  display: block;
  margin-bottom: var(--spacing-unit);
  font-weight: 500;
  color: var(--text-primary);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1.5);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background-color: white;
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Icons & Utility */
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: var(--spacing-unit);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-secondary);
}

.mt-4 {
  margin-top: calc(var(--spacing-unit) * 4);
}

.mb-4 {
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.my-8 {
  margin-top: calc(var(--spacing-unit) * 8);
  margin-bottom: calc(var(--spacing-unit) * 8);
}

/* Highlight Box */
.highlight-box {
  background-color: rgba(212, 165, 116, 0.08);
  border-left: 4px solid var(--primary-color);
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
  border-radius: 4px;
  margin: calc(var(--spacing-unit) * 2) 0;
}

.highlight-box strong {
  color: var(--text-primary);
}

/* WordPress Specific */
.wp-block-image {
  margin: calc(var(--spacing-unit) * 4) 0;
}

.entry-content {
  max-width: 900px;
  margin: 0 auto;
}

.entry-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  margin: 1rem 0 1rem 2rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  nav {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
  }

  .nav-links {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
    width: 100%;
  }

  .hero {
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 2);
    min-height: auto;
  }

  .hero-cta {
    flex-direction: column;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .section {
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2);
  }

  .container {
    padding: 0 calc(var(--spacing-unit) * 2);
  }
}
