/* Infradime IT Solutions - Global Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  color: #b8bcc4;
  background-color: #0a0e14;
  font-weight: 400;
}

/* Contact Page Background */
body[data-page="contact"] {
  background-image: linear-gradient(135deg, rgba(10, 14, 20, 0.85), rgba(15, 26, 47, 0.88)), url('images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Home Page Background */
body[data-page="home"] {
  background-image: linear-gradient(135deg, rgba(10, 14, 20, 0.85), rgba(15, 26, 47, 0.88)), url('images/IMG_4937.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
  padding: 35px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(107, 95, 255, 0.1);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-link {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-link:hover .logo {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

header h1 {
  font-size: 28px;
  color: #f5f5f5;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 0;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #9ca3af;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #00d4ff;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #6b5fff);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 50px;
}

section {
  margin-bottom: 50px;
  padding: 50px;
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95), rgba(20, 26, 39, 0.95));
  border-radius: 12px;
  border: 1px solid rgba(107, 95, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

section:hover {
  transform: translateY(-8px);
  border-color: rgba(107, 95, 255, 0.15);
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.08);
}

#hero {
  background: linear-gradient(135deg, #0f2a47 0%, #1a2a3a 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  text-align: center;
  padding: 100px 50px;
  margin-bottom: 60px;
  background-color: rgba(15, 42, 71, 0.75);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.15), 0 0 60px rgba(107, 95, 255, 0.1);
}

#hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.12) 0%, rgba(107, 95, 255, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

#hero h2 {
  font-size: 44px;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

#hero h2::after {
  display: none;
}

#hero p {
  font-size: 18px;
  color: #a0aab5;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

section h2 {
  margin-bottom: 30px;
  font-size: 32px;
  color: #f0f4f8;
  font-weight: 500;
  position: relative;
  padding-bottom: 15px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #6b5fff);
  border-radius: 2px;
}

section h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #e5e9f0;
  font-weight: 500;
  margin-top: 30px;
}

section h3:first-child {
  margin-top: 0;
}

section p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: #b8bcc4;
}

ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

ul li {
  margin-bottom: 16px;
  font-size: 16px;
  color: #b8bcc4;
  position: relative;
  padding-left: 12px;
  line-height: 1.8;
}

ul li::before {
  content: '→';
  color: #00d4ff;
  margin-right: 12px;
  font-weight: 600;
  opacity: 0.8;
}

/* Links */
a {
  color: #00d4ff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

a:hover {
  color: #6b5fff;
}

a[href^="tel"]::before,
a[href^="mailto"]::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

a:hover[href^="tel"]::before,
a:hover[href^="mailto"]::before {
  width: 100%;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
  padding: 50px;
  text-align: center;
  color: #7a7f87;
  font-size: 14px;
  margin-top: 80px;
  border-top: 1px solid rgba(107, 95, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

footer p {
  margin: 8px 0;
  font-weight: 400;
}

/* Contact Form Styles */
#contact-form {
  width: 100%;
}

#contact-form section {
  background: inherit;
  border: inherit;
  box-shadow: inherit;
  padding: 0;
  margin: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

form label {
  color: #e5e9f0;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

form input,
form select,
form textarea {
  padding: 12px 16px;
  border: 1px solid rgba(107, 95, 255, 0.2);
  border-radius: 8px;
  background: rgba(15, 20, 25, 0.5);
  color: #f0f4f8;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(15, 20, 25, 0.8);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

form input::placeholder {
  color: #6b7280;
}

form select {
  cursor: pointer;
}

form select option {
  background: #0a0e14;
  color: #f0f4f8;
}

form textarea {
  resize: vertical;
  font-weight: 400;
  line-height: 1.6;
}

form textarea::placeholder {
  color: #6b7280;
}

.submit-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #00d4ff, #6b5fff);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.contact-link {
  margin-top: 25px;
  text-align: center;
  font-size: 15px;
  color: #9ca3af;
}

.business-note {
  margin-top: 25px;
  font-size: 14px;
  color: #7a7f87;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 25px;
    padding: 25px 30px;
  }

  header h1 {
    font-size: 24px;
  }

  nav {
    gap: 25px;
  }

  nav a {
    font-size: 14px;
  }

  main {
    padding: 50px 30px;
  }

  section {
    padding: 35px 25px;
    margin-bottom: 35px;
  }

  #hero {
    padding: 60px 30px;
    margin-bottom: 40px;
  }

  #hero h2 {
    font-size: 32px;
  }

  section h2 {
    font-size: 26px;
  }

  section h3 {
    font-size: 20px;
  }

  footer {
    padding: 30px;
  }
}
