/* EMBRACECANVAS LTD - Main Stylesheet */

:root {
  --primary-color: #4f46e5; /* Keep rich indigo */
  --primary-hover-color: #4338ca; /* Slightly darker indigo for hover */
  --secondary-color: #1e293b; /* Dark blue/slate (Slate 800) - Slightly lighter */
  --accent-color: #6366f1; /* Lighter indigo for accents/hovers (Indigo 500) */
  --light-color: #f8fafc; /* Light gray/blue (Slate 50) */
  --dark-color: #1e293b; /* Use Slate 800 for dark elements */
  --text-color: #334155; /* Slate gray for main text (Slate 700) */
  --text-secondary-color: #64748b; /* Lighter slate for secondary text (Slate 500) */
  --success-color: #10b981; /* Green for success messages */
  --warning-color: #f59e0b; /* Amber for warnings */
  --error-color: #ef4444; /* Red for errors */
  --border-color: #e2e8f0; /* Light gray for borders (Slate 200) */
  --font-main: 'Geist', sans-serif;
  --font-heading: 'Geist', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(79, 70, 229, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 7rem 0;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Services Section */
.services {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary-color); /* Lighter slate for subtitles */
}

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

.service-card {
  background-color: white;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var (--dark-color);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 600;
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: #ffffff;
  text-align: center;
}

.testimonial-slider {
  max-width: 800px;
  margin: 3rem auto 0;
}

.testimonial {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-color);
}

/* Call to Action */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.1;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-main);
  transition: all 0.3s;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 0;
    text-align: center;
    padding: 0.8rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* Hosting page specific styles */
.pricing {
  padding: 5rem 0;
}

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

.pricing-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
  height: 100%;
}

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

.pricing-card.featured {
  border: 2px solid var(--accent-color);
  position: relative;
  z-index: 1;
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card.featured::after {
  content: "Popular";
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom-left-radius: 8px;
}

.pricing-header {
  background-color: var(--dark-color);
  color: white;
  padding: 2rem;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-features ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-features ul li:last-child {
  border-bottom: none;
}

.pricing-features ul li i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

/* Legal content styles */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h2 {
  color: var(--dark-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.legal-content h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal-content .last-updated {
  font-style: italic;
  color: var(--text-secondary-color);
  margin-bottom: 2rem;
}

/* Add animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title, .service-card, .about-content, .testimonial, .contact-form, .pricing-card {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Add additional utility classes */
.text-gradient {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.card-hover-effect {
  transition: transform 0.3s, box-shadow 0.3s;
}

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