/*
Theme Name: ESpinCity Modern
Theme URI: https://espincity.com/
Author: ESpinCity AI
Description: A modern WordPress theme inspired by the React design from the updated euc-main.zip. Features a fixed navbar, hero with two columns, about section with feature cards, services grid, benefits section with image, and a contact/booking form.
Version: 1.0
License: GPL-2.0-or-later
*/

/* Base resets */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #4b5563;
}

a {
  color: #0d9488;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0f766e;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.navbar .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
}

.brand span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: #374151;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu li a:hover {
  color: #0d9488;
}

.cta-button {
  padding: 0.6rem 1.5rem;
  background: #0d9488;
  color: #ffffff;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #0f766e;
}

/* General section styling */
.section {
  padding: 6rem 1.5rem;
}

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

/* Hero Section */
.hero {
  padding-top: 120px; /* account for fixed nav */
  padding-bottom: 5rem;
  background: linear-gradient(to bottom right, #f9fafb, #ecfdf5);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  color: #0d9488;
}

.hero-text p {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  flex: 1 1 450px;
  max-width: 550px;
}

.hero-image .bg-box {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
  transform: rotate(3deg);
}

.hero-image img {
  position: relative;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.secondary-button {
  padding: 0.6rem 1.5rem;
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary-button:hover {
  background: #f9fafb;
}

/* About Section */
.about {
  background: #ffffff;
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.about-card {
  flex: 1 1 280px;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #e0f2fe, #ecfeff);
}

.about-card:nth-child(2) {
  background: linear-gradient(135deg, #cffafe, #e0f2fe);
}

.about-card:nth-child(3) {
  background: linear-gradient(135deg, #bae6fd, #dbeafe);
}

.about-card h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.about-card p {
  color: #475569;
  margin-bottom: 0;
}

/* Services Section */
.services {
  background: #f8fafc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  transition: box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.service-card .price {
  font-size: 1.5rem;
  color: #0d9488;
  margin-bottom: 1rem;
}

.service-card ul {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.service-card ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  color: #475569;
}

.service-card ul li::before {
  content: '\25B6';
  color: #0d9488;
  position: absolute;
  left: 0;
  top: 0;
}

.service-card button {
  width: 100%;
  padding: 0.75rem;
  background: #0d9488;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.service-card button:hover {
  background: #0f766e;
}

/* Benefits Section */
.benefits {
  background: #ffffff;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.benefits-text {
  flex: 1 1 500px;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  font-size: 24px;
  flex-shrink: 0;
}

.benefits-image {
  flex: 1 1 450px;
  position: relative;
  max-width: 550px;
}

.benefits-image .bg-box {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #5eead4, #0ea5e9);
  transform: rotate(-3deg);
}

.benefits-image img {
  position: relative;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
  background: linear-gradient(to bottom right, #f0fdfa, #ecfeff);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 400px;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

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

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-form {
  flex: 1 1 450px;
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  color: #0f172a;
}

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

.contact-form button {
  padding: 0.75rem 1.5rem;
  background: #0d9488;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: #0f766e;
}

/* Footer */
footer {
  background: #0f172a;
  color: #ffffff;
  padding: 3rem 1.5rem;
}

footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

footer h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul li a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

footer ul li a:hover {
  color: #5eead4;
}

footer .footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}