/* 
 * Zeritech Consulting - Main Stylesheet
 * Author: Claude
 */

/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --zeritech-primary: #363062;
  --zeritech-secondary: #4d4c7d;
  --zeritech-accent: #f99417;
  --zeritech-light: #f5f5f5;
  --zeritech-white: #ffffff;
  --zeritech-dark: #222222;
  --zeritech-gray: #777777;
  --zeritech-light-gray: #eeeeee;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;

  /* Typography */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Raleway', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--zeritech-dark);
  background-color: var(--zeritech-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--zeritech-primary);
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--zeritech-accent);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--zeritech-primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

.zeritech-section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.zeritech-section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.zeritech-section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--zeritech-accent);
}

.zeritech-section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--zeritech-gray);
}

/* ===== Layout ===== */
.zeritech-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* ===== Header & Navigation ===== */
.zeritech-header {
  position: sticky;
  top: 0;
  background-color: var(--zeritech-white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
  z-index: 1000;
}

.zeritech-header .zeritech-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zeritech-logo h1 {
  font-weight: 700;
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: 1px;
  color: var(--zeritech-primary);
}

.zeritech-logo h1::first-letter {
  color: var(--zeritech-accent);
}

.zeritech-nav {
  display: flex;
  align-items: center;
}

.zeritech-menu {
  display: flex;
  gap: var(--space-lg);
}

.zeritech-menu a {
  position: relative;
  font-weight: 500;
  padding: var(--space-xs) 0;
}

.zeritech-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--zeritech-accent);
  transition: width var(--transition-normal);
}

.zeritech-menu a:hover::after {
  width: 100%;
}

.zeritech-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.zeritech-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--zeritech-primary);
  transition: var(--transition-normal);
}

/* ===== Buttons ===== */
.zeritech-button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.zeritech-button-primary {
  background-color: var(--zeritech-accent);
  color: var(--zeritech-white);
}

.zeritech-button-primary:hover {
  background-color: #e88207;
  color: var(--zeritech-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.zeritech-button-secondary {
  background-color: var(--zeritech-primary);
  color: var(--zeritech-white);
}

.zeritech-button-secondary:hover {
  background-color: var(--zeritech-secondary);
  color: var(--zeritech-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Hero Section ===== */
.zeritech-hero {
  padding: var(--space-xxl) 0;
  background: linear-gradient(
    135deg,
    var(--zeritech-primary) 0%,
    var(--zeritech-secondary) 100%
  );
  color: var(--zeritech-white);
}

.zeritech-hero .zeritech-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.zeritech-hero-content {
  flex: 1;
}

.zeritech-hero-content h2 {
  color: var(--zeritech-white);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.zeritech-hero-content p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.zeritech-hero-actions {
  display: flex;
  gap: var(--space-md);
}

.zeritech-hero-image {
  flex: 1;
}

.zeritech-image-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(800px) rotateY(-8deg);
  transition: transform var(--transition-normal);
}

.zeritech-image-container:hover {
  transform: perspective(800px) rotateY(0);
}

/* ===== Services Section ===== */
.zeritech-services {
  background-color: var(--zeritech-light);
}

.zeritech-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.zeritech-service-card {
  background-color: var(--zeritech-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.zeritech-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.zeritech-service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--zeritech-primary);
  border-radius: 50%;
  color: var(--zeritech-white);
}

.zeritech-service-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.zeritech-service-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

/* ===== About Section ===== */
.zeritech-about .zeritech-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.zeritech-about-content {
  flex: 1;
}

.zeritech-about-text {
  margin-bottom: var(--space-lg);
}

.zeritech-about-stats {
  display: flex;
  gap: var(--space-lg);
}

.zeritech-stat {
  text-align: center;
}

.zeritech-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--zeritech-accent);
  margin-bottom: var(--space-xs);
}

.zeritech-stat-label {
  font-size: 0.9rem;
  color: var(--zeritech-gray);
}

.zeritech-about-image {
  flex: 1;
}

.zeritech-image-zoom {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.zeritech-image-zoom img {
  transition: transform var(--transition-slow);
}

.zeritech-image-zoom:hover img {
  transform: scale(1.1);
}

/* ===== Products/Pricing Section ===== */
.zeritech-products {
  background-color: var(--zeritech-light);
}

.zeritech-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.zeritech-pricing-card {
  background-color: var(--zeritech-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
  text-align: center;
}

.zeritech-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.zeritech-pricing-card.zeritech-featured {
  background-color: var(--zeritech-primary);
  color: var(--zeritech-white);
  position: relative;
  z-index: 1;
}

.zeritech-pricing-card.zeritech-featured h3,
.zeritech-pricing-card.zeritech-featured .zeritech-price {
  color: var(--zeritech-white);
}

.zeritech-pricing-header {
  margin-bottom: var(--space-lg);
}

.zeritech-pricing-header h3 {
  margin-bottom: var(--space-sm);
}

.zeritech-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--zeritech-primary);
  line-height: 1;
}

.zeritech-currency {
  font-size: 1rem;
  vertical-align: super;
}

.zeritech-period {
  font-size: 1rem;
  color: var(--zeritech-gray);
}

.zeritech-featured .zeritech-period {
  color: var(--zeritech-light);
}

.zeritech-pricing-features {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.zeritech-pricing-features li {
  padding: var(--space-xs) 0;
  position: relative;
  padding-left: 25px;
}

.zeritech-pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--zeritech-accent);
}

.zeritech-featured .zeritech-pricing-features li::before {
  color: var(--zeritech-accent);
}

/* ===== Benefits Section ===== */
.zeritech-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.zeritech-benefit-card {
  text-align: center;
  padding: var(--space-md);
}

.zeritech-benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--zeritech-light);
  border-radius: 50%;
  color: var(--zeritech-primary);
  transition: all var(--transition-normal);
}

.zeritech-benefit-card:hover .zeritech-benefit-icon {
  background-color: var(--zeritech-primary);
  color: var(--zeritech-white);
  transform: rotateY(180deg);
}

.zeritech-benefit-icon svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
  transition: transform var(--transition-normal);
}

.zeritech-benefit-card:hover .zeritech-benefit-icon svg {
  transform: rotateY(180deg);
}

/* ===== Contact Section ===== */
.zeritech-contact {
  background-color: var(--zeritech-light);
}

.zeritech-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.zeritech-contact-info .zeritech-section-header {
  text-align: left;
}

.zeritech-contact-info .zeritech-section-header h2::after {
  left: 0;
  transform: none;
}

.zeritech-contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.zeritech-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.zeritech-contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--zeritech-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zeritech-white);
  flex-shrink: 0;
}

.zeritech-contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.zeritech-contact-text h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.zeritech-contact-text p {
  margin: 0;
  color: var(--zeritech-gray);
}

.zeritech-contact-form {
  background-color: var(--zeritech-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.zeritech-form-group {
  margin-bottom: var(--space-md);
}

.zeritech-form-full {
  grid-column: 1 / -1;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--zeritech-primary);
}

input,
select,
textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--zeritech-light-gray);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-normal);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--zeritech-accent);
  outline: none;
}

.zeritech-form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.zeritech-form-check input {
  width: auto;
  margin-top: 5px;
}

.zeritech-form-check label {
  margin: 0;
  font-weight: normal;
}

/* ===== Footer ===== */
.zeritech-footer {
  background-color: var(--zeritech-primary);
  color: var(--zeritech-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.zeritech-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.zeritech-footer-brand .zeritech-logo h2 {
  color: var(--zeritech-white);
  margin-bottom: var(--space-md);
}

.zeritech-footer-brand .zeritech-logo h2::first-letter {
  color: var(--zeritech-accent);
}

.zeritech-footer-brand p {
  color: var(--zeritech-light);
  opacity: 0.8;
}

.zeritech-footer h3 {
  color: var(--zeritech-white);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.zeritech-footer-links ul,
.zeritech-footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.zeritech-footer a {
  color: var(--zeritech-light);
  opacity: 0.8;
  transition: opacity var(--transition-normal);
}

.zeritech-footer a:hover {
  opacity: 1;
  color: var(--zeritech-accent);
}

.zeritech-footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zeritech-footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--zeritech-light);
  opacity: 0.6;
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }

  .zeritech-menu-toggle {
    display: flex;
  }

  .zeritech-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--zeritech-white);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal),
      opacity var(--transition-normal);
    z-index: 999;
    gap: var(--space-md);
  }

  .zeritech-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .zeritech-hero .zeritech-container,
  .zeritech-about .zeritech-container {
    flex-direction: column;
  }

  .zeritech-hero-image {
    order: -1;
    margin-bottom: var(--space-lg);
  }

  .zeritech-contact-grid {
    grid-template-columns: 1fr;
  }

  .zeritech-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  section {
    padding: var(--space-lg) 0;
  }

  .zeritech-section-header {
    margin-bottom: var(--space-lg);
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .zeritech-hero-content h2 {
    font-size: 2.2rem;
  }

  .zeritech-about-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .zeritech-services-grid,
  .zeritech-benefits-grid {
    grid-template-columns: 1fr;
  }

  .zeritech-pricing-grid {
    grid-template-columns: 1fr;
  }

  form {
    grid-template-columns: 1fr;
  }

  .zeritech-hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .zeritech-button {
    width: 100%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .zeritech-hero-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .zeritech-container {
    padding: 0 var(--space-sm);
  }

  .zeritech-logo h1 {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .zeritech-hero-content h2 {
    font-size: 1.8rem;
  }

  .zeritech-about-image,
  .zeritech-hero-image {
    display: none;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .zeritech-container {
    padding: 0 var(--space-xs);
  }

  .zeritech-logo h1 {
    font-size: 1.3rem;
  }
}
