/* CloudMedic.net - Professional Cloud Consulting */

:root {
  --primary-color: #0066cc;
  --primary-dark: #004c99;
  --secondary-color: #00a3e0;
  --text-primary: #1a1a1a;
  --text-secondary: #2d2d2d;
  --text-light: #4a4a4a;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --border-color: #e0e0e0;
  --success: #28a745;
  --error: #dc3545;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--background);
}

/* Header & Navigation */
header {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px var(--shadow);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo span:first-child {
  background: linear-gradient(135deg, #0066cc 0%, #00a3e0 100%);
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 1.3rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.logo span:last-child {
  color: var(--text-primary);
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo span:last-child::after {
  content: '.bg';
  color: var(--primary-color);
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #004c99 0%, #003366 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Styles */
section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Cloud Platforms */
.cloud-platforms {
  background: var(--background-alt);
  padding: 4rem 2rem;
  text-align: center;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.platform-logo {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.platform-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px var(--shadow);
}

.platform-logo span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
}

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

.service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px var(--shadow);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px var(--shadow);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  margin-top: 1rem;
}

.service-card li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* About Section */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--background-alt);
  border-radius: 10px;
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-member .role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--background-alt);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

button[type="submit"] {
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  width: 100%;
}

button[type="submit"]:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

button[type="submit"]:disabled {
  background: var(--text-light);
  cursor: not-allowed;
}

.form-message {
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  display: none;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.recaptcha-notice {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}

/* Footer */
footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 6px var(--shadow);
    display: none;
    border-top: 1px solid var(--border-color);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .services-grid,
  .team {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

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

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

