/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* ==========================================================================
   Project Styles
   ========================================================================== */

/* ===== Base Styles ===== */
:root {
  --primary-color: #2a7f62;
  --secondary-color: #fcf5e1;
  --text-color: #333;
  --background-color: #fff;
  --error-color: #dc3545;
  --success-color: #28a745;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Basic setup */
body {
  font-family: Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* ===== Typography ===== */
h1,
h2,
h3 {
  font-family: 'Times New Roman', serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 700;
}

/* ===== Layout Components ===== */
.container {
  width: 100%;
  max-width: 1280px;
  padding: 0 2rem;
  margin: 0 auto;
}

.section-padding {
  padding: 4rem 0;
}

/* ===== Header Styles ===== */
.main-header {
  background-image: linear-gradient(0deg, rgb(255 255 255 / 50%), #fcf5e1);
  position: sticky;
  top: 0;
  backdrop-filter: blur(40px);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo-img {
  width: 90%;
  height: auto;
}

/* ===== Navigation ===== */
.primary-nav {
  position: relative;
}

.nav-toggle {
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
  display: none;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-color);
  position: relative;
  transition: var(--transition-speed);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 100%;
  left: 0;
  background: inherit;
  transition: inherit;
}

.hamburger::before {
  transform: translateY(-6px);
}
.hamburger::after {
  transform: translateY(6px);
}

.nav-toggle.active .hamburger {
  width: 0;
}
.nav-toggle.active .hamburger::before {
  transform: rotate(-45deg);
  left: -25px;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(45deg);
  left: -25px;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-color);
  display: inline-block;
  width: max-content;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color var(--transition-speed);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero-section {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content .cta-button {
  margin-top: 2rem;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* ===== Zimmer Section ===== */
.zimmer {
  background-color: var(--secondary-color);
}

/* ===== Features List ===== */
.features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features li {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* ===== Buttons & CTAs ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  gap: 0.75rem;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.cta-button:hover {
  background-color: #1f604d;
  transform: translateY(-2px);
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

form > div.form-group:first-of-type {
  display: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* ===== Messages ===== */
.message {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: var(--border-radius);
}

.message.success {
  background-color: #d4edda;
  color: var(--success-color);
}

.message.error {
  background-color: #f8d7da;
  color: var(--error-color);
}

/* ===== Map Section ===== */
.map-container {
  margin: 2rem 0;
  max-height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-consent {
  padding: 2rem;
  background: #f8f9fa;
  background-image: url("images/map.png");
  background-position: center;
  text-align: center;
  border-radius: var(--border-radius);
}

.map-consent .cta-button {
  margin: 1rem 0;
}

/* ===== Footer ===== */
.main-footer {
  background-color: var(--secondary-color);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: underline;
}

.footer-links a:hover {
  text-decoration: none;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-content {
    padding: 1rem;
}

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: min(80%, 300px);
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    transition: left var(--transition-speed);
  }

  .nav-menu.active {
    left: 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .card-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .price {
    font-size: 1.8em;
  }

  .cta-button {
    width: 100%;
    padding: 1rem;
  }
}

/* Room Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.room-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Card Image */
.room-card .card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.room-card .price-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.95);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.room-card .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.room-card .price-note {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 0.25rem;
}

/* Card Content */
.room-card .card-content {
    padding: 1.5rem;
}

.room-card .card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* CTA Button */
.room-card .cta-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background 0.3s ease;
}

.room-card .cta-button:hover {
    background: #1f604d;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Price Disclaimer */
.price-disclaimer {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .room-card .card-image {
        height: 200px;
    }
    
    .room-card .price {
        font-size: 1.5rem;
    }
}

/* Amenities Section */
.amenities-section .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.amenities-section .info-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.amenities-section .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Card Header */
.amenities-section .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.amenities-section .card-icon {
    font-size: 1.75rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature List */
.amenities-section .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
}

.amenities-section .feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.amenities-section .feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.amenities-section .feature-content p {
    font-weight: 500;
    margin: 0;
}

/* Timing Card */
.amenities-section .timing-card .card-icon {
    background: #4a90e2;
}

.amenities-section .timing-grid {
    display: grid;
    gap: 1.5rem;
}

.amenities-section .time-block {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.amenities-section .time-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(74,144,226,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenities-section .time-label {
    font-weight: 500;
    margin: 0;
}

.amenities-section .time-value {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0.25rem 0;
}

.amenities-section .time-note {
    font-size: 0.9em;
    color: #666;
}

/* Notice Card */
.amenities-section .notice-card {
    background: #f8fafc;
    border: 2px solid var(--primary-color);
}

.amenities-section .notice-card .card-icon {
    background: var(--primary-color);
}

.amenities-section .notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

.amenities-section .notice-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.amenities-section .notice-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.amenities-section .price-badge {
    background: rgba(74,144,226,0.1);
    color: #4a90e2;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .amenities-section .info-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-section .card-header {
        gap: 0.75rem;
    }
    
    .amenities-section .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* Address Box */
.address-box {
    margin-top: 2rem;
}

.address {
    font-style: normal;
    margin-bottom: 1rem;
}

.address strong {
    font-weight: bold;
}

.contact-info {
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Mobile Navigation Close Button */
/* Hide the close button on larger screens */
@media (min-width: 769px) {
    /* Style for the close button */
    .nav-close {
        display: none;
    }
}
