/*
Theme Name: Børnenes Kontor Odense
Theme URI: https://bornenes-kontor-odense.dk
Author: Børnenes Kontor Odense
Author URI: https://bornenes-kontor-odense.dk
Description: Et moderne one-page tema til Børnenes Kontor Odense
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bko-theme
Tags: one-page, responsive, custom-menu, featured-images
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: 330 81% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 38 92% 50%;
  --secondary-foreground: 0 0% 100%;
  --accent: 217 91% 60%;
  --accent-foreground: 0 0% 100%;
  --background: 45 100% 98%;
  --foreground: 220 15% 25%;
  --muted: 45 100% 96%;
  --muted-foreground: 220 13% 46%;
  --card: 0 0% 100%;
  --border: 45 100% 90%;
  --radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

/* Navigation */
.site-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.site-navigation.scrolled {
  background-color: hsl(var(--background));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img,
.site-logo .custom-logo {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

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

.nav-menu a {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: hsl(var(--primary));
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* Hero Section */
.hero-section {
  margin-top: 80px;
  padding: 5rem 0;
  background: linear-gradient(135deg, 
    hsl(330 81% 60% / 0.1),
    hsl(38 92% 50% / 0.1),
    hsl(217 91% 60% / 0.1)
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-content p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  animation: float 6s ease-in-out infinite;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Section Backgrounds */
#hjaelp {
  background-color: hsl(var(--card));
  padding: 5rem 0;
}

#stoet {
  background-color: hsl(var(--muted) / 0.3);
  padding: 5rem 0;
}


#dokumenter {
  background-color: hsl(var(--muted));
  padding: 5rem 0;
}

#kontakt {
  background-color: hsl(var(--card));
  padding: 5rem 0;
}

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

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

.card:hover {
  box-shadow: 0 10px 30px -10px hsl(330 81% 60% / 0.2);
  transform: translateY(-4px);
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

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

.card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Two Column Layout */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

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

/* Footer */
.site-footer {
  background-color: hsl(var(--muted));
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

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

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

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

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

.footer-section a {
  color: hsl(var(--foreground));
  text-decoration: none;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: hsl(45, 100%, 98%);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero-grid,
  .two-column-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}


/* Partners Section */
.partners-container {
  background-color: #ffffff;
}

.partners-container .container {
  width: 100%;
  max-width: 1200px;
}

.partners-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  align-items: center;
}

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

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

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  border: 2px solid #f5f5f0;
  transition: all 0.3s ease;
  height: 8rem;
  width: 100%;
}

.partner-card:hover {
  box-shadow: 0 10px 30px -10px hsl(330 81% 60% / 0.2);
  transform: translateY(-4px);
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
}
