/*
Theme Name: Min IT Theme
Theme URI: https://minit.dk
Author: Min IT ApS
Author URI: https://minit.dk
Description: Professionelt WordPress tema til Min IT ApS - Din lokale IT-partner
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minit
Tags: one-column, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ===== CSS Variables ===== */
:root {
  /* Deep navy - trust & professionalism */
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 25%, 15%);

  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 25%, 15%);

  /* Primary: Deep navy blue */
  --primary: hsl(215, 50%, 23%);
  --primary-foreground: hsl(210, 20%, 98%);

  /* Secondary: Light gray-blue */
  --secondary: hsl(210, 20%, 96%);
  --secondary-foreground: hsl(215, 25%, 25%);

  /* Muted tones */
  --muted: hsl(210, 15%, 94%);
  --muted-foreground: hsl(215, 15%, 45%);

  /* Accent: Warm teal for approachability */
  --accent: hsl(174, 60%, 40%);
  --accent-foreground: hsl(0, 0%, 100%);

  --border: hsl(210, 20%, 90%);
  --radius: 0.625rem;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(215, 50%, 23%) 0%, hsl(215, 45%, 32%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(174, 60%, 40%) 0%, hsl(174, 55%, 48%) 100%);

  /* Shadows */
  --shadow-soft: 0 2px 8px -2px hsl(215, 25%, 15%, 0.08);
  --shadow-medium: 0 8px 24px -8px hsl(215, 25%, 15%, 0.12);
  --shadow-card: 0 4px 16px -4px hsl(215, 25%, 15%, 0.1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: hsla(210, 20%, 98%, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

/* Navigation */
.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.main-navigation a {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
  background-color: var(--secondary);
  color: var(--foreground);
}

.header-actions {
  display: none;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.phone-link:hover {
  color: var(--foreground);
}

/* Mobile menu button */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--accent-foreground);
  box-shadow: 0 4px 12px -2px hsl(174, 60%, 40%, 0.3);
}

.btn-accent:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-foreground);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 5rem 0 8rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0 10rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-bg-circle-1 {
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: var(--accent);
}

.hero-bg-circle-2 {
  bottom: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: var(--primary-foreground);
}

.hero-content {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 9999px;
  background: hsla(0, 0%, 100%, 0.1);
  color: hsla(210, 20%, 98%, 0.9);
  font-size: 0.875rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero h1 span {
  color: var(--accent);
}

.hero-description {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: hsla(210, 20%, 98%, 0.8);
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

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

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-trust {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (min-width: 640px) {
  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: hsla(210, 20%, 98%, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-trust-item svg {
  color: var(--accent);
}

/* ===== Services Section ===== */
.services {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .services {
    padding: 7rem 0;
  }
}

.section-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: var(--gradient-accent);
  color: var(--accent-foreground);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ===== Industries Section ===== */
.industries {
  padding: 5rem 0;
  background: var(--secondary);
}

@media (min-width: 1024px) {
  .industries {
    padding: 7rem 0;
  }
}

.industries-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.industry-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.industry-card:hover {
  box-shadow: var(--shadow-card);
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: hsla(174, 60%, 40%, 0.1);
  color: var(--accent);
}

.industry-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Why Us Section ===== */
.why-us {
  padding: 5rem 0;
  background: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 1024px) {
  .why-us {
    padding: 7rem 0;
  }
}

.why-us .section-header h2 {
  color: var(--primary-foreground);
}

.why-us .section-header p {
  color: hsla(210, 20%, 98%, 0.8);
}

.why-us-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-us-item {
  text-align: center;
}

.why-us-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: hsla(210, 20%, 98%, 0.1);
  color: var(--accent);
}

.why-us-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.why-us-item p {
  font-size: 0.875rem;
  color: hsla(210, 20%, 98%, 0.7);
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .cta {
    padding: 7rem 0;
  }
}

.cta-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--gradient-hero);
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 20px 40px -12px hsl(215, 50%, 23%, 0.25);
}

.cta h2 {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .cta h2 {
    font-size: 2.25rem;
  }
}

.cta p {
  margin-bottom: 2rem;
  color: hsla(210, 20%, 98%, 0.8);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: hsla(210, 20%, 96%, 0.3);
}

.footer-main {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-section a,
.footer-section span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--foreground);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Utilities ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
