/* Vulcan IT Custom Styles */

/* Hide text cursor on non-input elements */
body, p, h1, h2, h3, h4, h5, h6, span, div, a, li, ul {
  caret-color: transparent;
}

/* Show cursor only in form inputs */
input, textarea {
  caret-color: auto;
}

:root {
  --slate: #255585;
  --slate-dark: #1a3d5c;
  --silver: #c0c0c0;
}

/* Typography */
.smallcaps {
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

/* Navigation */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 1030;
}

/* Offset body content for fixed nav */
body {
  padding-top: 70px;
}

.nav-links {
  display: flex;
}

.nav-link-hover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100%;
  transition: background-color 0.2s ease;
}

.nav-link-hover:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.bg-slate-btn {
  background-color: var(--slate);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

.bg-slate-btn:hover {
  background-color: var(--slate-dark);
  color: white;
}

/* Sections */
.bg-slate {
  background-color: var(--slate);
}

/* Hero Section */
.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(37, 85, 133, 0.3), 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 3px solid rgba(37, 85, 133, 0.2);
  position: relative;
  z-index: 2;
}

.bg-rectangle {
  position: absolute;
  width: 200px;
  height: 100px;
  z-index: 1;
}

.bg-rectangle.silver {
  top: -15px;
  right: 10%;
}

.bg-rectangle.slate {
  bottom: -15px;
  left: 10%;
}

.mission-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Merry-go-round / Carousel */
.merry-go-round-section {
  overflow: hidden;
}

.merry-go-round {
  overflow: hidden;
  width: 100%;
}

.merry-go-round-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.merry-go-round-item {
  flex-shrink: 0;
  width: 220px;
  margin: 0 1rem;
  text-align: center;
}

.merry-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* Services Page */
/* Offset anchor links for sticky nav */
[id^="backup"], [id^="consulting"], [id^="devops"], [id^="tools"],
[id^="automation"], [id^="pentest"], [id^="compliance"], [id^="webdev"] {
  scroll-margin-top: 80px;
}

.service-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.service-text h3 {
  color: var(--slate);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--slate);
  box-shadow: 0 0 0 0.2rem rgba(37, 85, 133, 0.25);
}

/* Tech Stack Section */
.tech-stack-grid {
  padding: 1rem 0;
}

.tech-item {
  width: 80px;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.tech-item:hover {
  transform: translateY(-4px);
}

.tech-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.tech-item:hover .tech-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Testimonials */
.testimonial-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid var(--slate);
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.7;
}

/* Founder Bio */
.founder-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--slate);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Layout */
.layout-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  min-height: 85vh;
}

/* Responsive */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column !important;
    text-align: center;
  }

  .service-image {
    margin: 0 0 1rem 0 !important;
    width: 100%;
    max-width: 300px;
    height: 200px;
  }

  .merry-go-round-item {
    width: 150px;
  }

  .merry-image {
    width: 100px;
    height: 100px;
  }
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--slate);
  color: white;
  padding: 1rem 0;
  z-index: 1050;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-consent a {
  color: white;
  text-decoration: underline;
}

.cookie-consent a:hover {
  color: #e9ecef;
}
