/* 
 * Main Stylesheet for Deutsche Reise
 * A professional, minimalist design for German tourism website
 */

/* ===== Base Styles ===== */
:root {
  --primary-color: #1d3557;
  --secondary-color: #457b9d;
  --accent-color: #e63946;
  --light-color: #f1faee;
  --dark-color: #1d3557;
  --text-color: #333333;
  --text-light: #666666;
  --border-color: #dddddd;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 22px;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-text {
  color: var(--secondary-color);
  font-weight: 600;
  padding: 0;
  position: relative;
}

.btn-text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.btn-text:hover {
  color: var(--primary-color);
}

.btn-text:hover::after {
  width: 100%;
  background-color: var(--primary-color);
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
}

.bg-light {
  background-color: var(--light-color);
}

/* ===== Header ===== */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.logo img {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== Banner ===== */
.banner {
  padding: 100px 0;
  background-color: var(--light-color);
}

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

.banner-content {
  flex: 1;
  padding-right: 30px;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.banner-image {
  flex: 1;
  text-align: center;
}

.banner-image img {
  max-width: 100%;
  height: auto;
}

/* ===== About Section ===== */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  padding-right: 30px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-stats {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.stat {
  padding: 20px;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 10px;
  width: calc(33.33% - 20px);
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 5px;
}

/* ===== Destinations Section ===== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.destination-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.destination-image {
  height: 200px;
  overflow: hidden;
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.destination-card:hover .destination-image img {
  transform: scale(1.05);
}

.destination-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.destination-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* ===== Experiences Section ===== */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.experience-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.experience-image {
  height: 200px;
  overflow: hidden;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.experience-card:hover .experience-image img {
  transform: scale(1.05);
}

.experience-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.experience-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* ===== Culinary Section ===== */
.culinary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.culinary-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.culinary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.culinary-image {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-color);
}

.culinary-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  padding: 20px;
}

.culinary-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.culinary-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* ===== Blog Section ===== */
.blog-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.center {
  text-align: center;
}

/* ===== Testimonials Section ===== */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
}

.testimonial-author h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== Subscription Section ===== */
.subscription-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.subscription-content {
  flex: 1;
  min-width: 300px;
}

.subscription-content p {
  margin-bottom: 20px;
}

.subscription-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  flex: 1;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info address {
  font-style: normal;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
  padding-right: 20px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  flex: 2;
}

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

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: white;
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a,
.footer-column address p {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ===== Page Banner ===== */
.page-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 100px 0 50px;
  text-align: center;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-banner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== Blog Page Styles ===== */
.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-article {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.blog-date, .blog-category {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-right: 15px;
}

.blog-article h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

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

.subscribe-content {
  max-width: 700px;
  margin: 0 auto;
}

.subscribe-form {
  display: flex;
  margin: 30px 0 20px;
}

.subscribe-form .form-group {
  flex: 1;
  margin-bottom: 0;
  margin-right: 10px;
}

.privacy-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

.categories-section {
  padding-bottom: 100px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.category-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-light);
}

/* ===== Blog Article Page Styles ===== */
.article-header {
  background-color: var(--primary-color);
  color: white;
  padding: 100px 0 50px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-date, .article-category {
  font-size: 1rem;
  margin-right: 20px;
}

.article-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.article-intro p {
  font-size: 1.2rem;
  max-width: 800px;
}

.article-content {
  padding: 60px 0;
}

.article-image {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;

}

.article-body,
.article-image {
  max-width: 800px;
  margin: 0 auto 60px;
}

.article-body p, .article-body ul, .article-body ol {
  margin-bottom: 20px;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 40px 0 20px;
}

.article-body h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 30px 0 15px;
}

.article-tip {
  background-color: var(--light-color);
  border-left: 4px solid var(--secondary-color);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-tip h3 {
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.article-author {
  display: flex;
  align-items: center;
  background-color: var(--light-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 40px;
}

.author-image {
  flex-shrink: 0;
  margin-right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.article-related {
  max-width: 800px;
  margin: 0 auto;
}

.article-related h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.related-article {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--text-color);
}

.related-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-article img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.related-article h4 {
  padding: 15px;
  font-size: 1rem;
}

/* ===== Thank You Page ===== */
.thanks-section {
  padding: 100px 0;
}

.thanks-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.thanks-icon {
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.thanks-content h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.thanks-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.action-buttons {
  margin-top: 40px;
}

.action-buttons .btn {
  margin: 0 10px 10px;
}

.featured-destinations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.featured-destination {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.featured-destination:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.destination-info {
  padding: 20px;
}

.destination-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.destination-info p {
  color: var(--text-light);
  margin-bottom: 15px;
}

/* ===== Legal Pages ===== */
.legal-content {
  padding: 60px 0;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.legal-section h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 30px 0 15px;
}

.legal-section p, .legal-section ul, .legal-section address {
  margin-bottom: 15px;
  line-height: 1.7;
}

.legal-section ul, .legal-section ol {
  padding-left: 20px;
}

.legal-section ul li, .legal-section ol li {
  margin-bottom: 10px;
}

.legal-date {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-style: italic;
  color: var(--text-light);
}

.cookie-table-container {
  overflow-x: auto;
  margin: 20px 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
}

.cookie-table th, .cookie-table td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.cookie-table th {
  background-color: var(--light-color);
  font-weight: 600;
}

.cookie-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.cookie-settings-button {
  margin-top: 40px;
  text-align: center;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .banner-content h1 {
    font-size: 2.5rem;
  }

  .banner .container {
    flex-direction: column;
  }

  .banner-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .stat {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    transition: var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

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

  nav ul li {
    margin: 15px 0;
  }

  .subscription-form {
    flex-direction: column;
  }

  .subscription-form .form-group {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .article-header h1 {
    font-size: 2.2rem;
  }

  .article-intro p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .stat {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo, .footer-column {
    min-width: 100%;
  }
}
