/*
Theme Name: Villa Fadenfroh Theme
Author: Dein Name
Version: 1.0
Description: Eigenes WordPress-Theme mit zentriertem Content und Hintergrundbild
*/

/* === Schriftart einbinden === */
@font-face {
  font-family: 'Schreibstil';
  src: url('fonts/AmaticSC-Regular.ttf') format('truetype'),
       url('fonts/AmaticSC-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* === Allgemeine Stile === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('http://villafadenfroh.de/wp-content/uploads/2025/07/hardwood-1851071_1920.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  body {
    padding-top: 160px;
  }
}

/* === Links === */
a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Layout-Wrapper === */
.site-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* === Topbar === */
.topbar {
  background-color: #000;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #fff;
  padding: 8px 0;
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 1002;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}
.topbar-left span {
  font-weight: 600;
}
.topbar-right a {
  color: #ccc;
  margin-left: 15px;
  transition: color 0.3s ease;
}
.topbar-right a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
}

/* === Header & Logo === */
header {
  background: transparent;
  box-shadow: none;
  padding: 20px 30px;
  max-width: 1100px;
  margin: 0 auto 20px auto;
  z-index: 10;
  transition: background-color 0.3s ease;
  position: relative;
}
header .container {
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo img {
  max-height: 180px;
  height: auto;
  width: auto;
  transition: max-height 0.3s ease;
}

header.scrolled {
  background-color: rgba(168, 213, 163, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 10px 20px;
}
header.scrolled .site-logo img {
  max-height: 100px;
}
header.scrolled .container {
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  header.scrolled {
    top: 40px;
  }
}

/* === Navigation Desktop === */
nav ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  gap: 15px;
  margin: 0;
  flex-wrap: wrap;
}
nav ul li {
  display: inline;
}
nav ul li a {
  display: inline-block;
  padding: 8px 15px;
  margin: 3px 5px;
  border-radius: 8px;
  color: #333;
  font-family: 'Schreibstil', cursive;
  font-weight: 400;
  font-size: 24px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
nav ul li:nth-child(4n+1) a { background-color: #FDE2E4; }
nav ul li:nth-child(4n+2) a { background-color: #E2F0CB; }
nav ul li:nth-child(4n+3) a { background-color: #C9E4F0; }
nav ul li:nth-child(4n+4) a { background-color: #FFF4D9; }

nav ul li a:hover {
  color: #fff;
  background-color: #8ca6db;
  cursor: pointer;
}

/* === Responsive Navigation === */
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    font-size: 32px;
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 1001;
    color: #333;
  }

  header.scrolled .menu-icon {
    right: 40px;
    color: #fff;
  }

  nav {
    position: fixed;
    top: 60px;
    right: 0;
    width: 200px;
    background: rgba(255,255,255,0.95);
    border-radius: 0 0 0 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  nav ul {
    flex-direction: column;
    padding: 15px;
  }

  #menu-toggle:checked + .menu-icon + nav {
    transform: translateX(0);
  }
}

/* === Slider === */
.start-slider {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
.slider-wrapper {
  display: flex;
  width: 200%;
  animation: scrollSlider 210s linear infinite;
}
.slider-item {
  flex-shrink: 0;
  width: 200px;
  margin-right: 20px;
  object-fit: cover;
  height: 150px;
  border-radius: 8px;
}
@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Shop-Boxen === */
.shop-highlight-box {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  border: 2px solid #000;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.shop-title {
  color: #333;
  font-size: 0.9rem;
  border-bottom: 2px solid #de476d;
  padding-bottom: 2px;
  display: inline-block;
}
.shop-icon {
  height: 92px;
  margin-right: 0.5rem;
  vertical-align: middle;
  display: inline-block;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  color: #fff;
  background-color: #86cbd7;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

.footer-wrapper {
  padding: 2rem;
  background-color: #86cbd7;
  color: #fff;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid #ddd;
  padding-top: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-separator {
  width: 1px;
  background-color: #fff;
  opacity: 0.5;
  margin: 0 1rem;
}

.footer-column h4 {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
}
.footer-column a:hover {
  text-decoration: underline;
}

/* Footer-Menü als Liste */
.footer-menu-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 6px;
}

.footer-menu-list a {
  color: #fff;
  text-decoration: none;
}

.footer-menu-list a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsives Layout */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }
  .footer-separator {
    display: none;
  }
}
/* === Footer Menü Styling === */
.footer-menu-list {
  list-style: disc !important;
  padding-left: 20px;
  margin: 0;
  display: block !important;
  flex-direction: column !important;
}

.footer-menu-list li {
  display: list-item !important;
  margin-bottom: 6px;
}

.footer-menu-list li a {
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: normal !important;
  background: none !important;
  color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
}

.footer-menu-list li a:hover {
  color: #e2f0cb !important;
  text-decoration: underline !important;
}
