/* ============================================
   HOTEL SEEROSE - Modern Responsive CSS
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #367032;
  --secondary-color: #50954b;
  --accent-color: #b9e4b6;
  --text-dark: #333;
  --text-light: #ecf0f1;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
  font-family: "aptos", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}


/*
Aptos Light
font-family: "aptos", sans-serif;
font-weight: 300;
font-style: normal;
Aptos Light Italic
font-family: "aptos", sans-serif;
font-weight: 300;
font-style: italic;
Aptos Regular
font-family: "aptos", sans-serif;
font-weight: 400;
font-style: normal;
Aptos Italic
font-family: "aptos", sans-serif;
font-weight: 400;
font-style: italic;
Aptos SemiBold
font-family: "aptos", sans-serif;
font-weight: 600;
font-style: normal;
Aptos SemiBold Italic
font-family: "aptos", sans-serif;
font-weight: 600;
font-style: italic;
Aptos Bold
font-family: "aptos", sans-serif;
font-weight: 700;
font-style: normal;
Aptos Bold Italic
font-family: "aptos", sans-serif;
font-weight: 700;
font-style: italic;
*/


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

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

/* Typography */
h1, h2, h3, h4 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "aptos", sans-serif;
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  min-height: 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
 /* height: 50px;*/
  width: auto;
}

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

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary-color);
  background: var(--accent-color);
}

.nav-links a.btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.nav-links a.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
/*  background: url('../image/lago-di-caldaro.jpg') center/cover no-repeat;*/
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  margin-left: 1rem;
}

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

/* Section Styles */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-header .subtitle {
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  padding: 2rem;
}

.about-text ul {
  list-style: none;
  margin-top: 1.5rem;
}

.about-text li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.about-text li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

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

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Video Section */
.video-container {
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Info Cards */
.info-cards {
  display: grid;
/*  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
  gap: 2rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.info-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-card-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.info-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(88%) sepia(11%) saturate(813%) hue-rotate(73deg) brightness(96%) contrast(89%);
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Centra il box quando c'è solo una card */
.info-cards.single-card {
  justify-content: center;
}

.info-cards.single-card .info-card {
  max-width: 400px;
}

/* Price section with background */
.price-section-with-bg {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.price-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.price-section-with-bg .info-cards {
  position: relative;
  z-index: 2;
  margin: 0;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(88%) sepia(11%) saturate(813%) hue-rotate(73deg) brightness(96%) contrast(89%);
}

.contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--secondary-color);
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Menu */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    width: 100%;
    text-transform: uppercase;
  }

  /* Menu Toggle Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Hero */
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
    color: var(--text-light);
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Sections */
  section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .info-cards,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

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

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

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition);
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 30px;
  padding: 16px 20px;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border-radius: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    padding: 10px 15px;
    font-size: 24px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-image {
    max-width: 95%;
    max-height: 85vh;
  }
}

/* Print Styles */
@media print {
  header,
  footer,
  .menu-toggle,
  .btn {
    display: none;
  }
}



.price-table-wrap { max-width: 900px; margin: 0 auto 2rem; }
.price-table-wrap h2 { font: 600 1.1rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0 0 .5rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e3e3e3; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
caption { text-align: left; font-weight: 600; padding: .75rem; }
th, td { padding: .75rem .9rem; text-align: left; border-top: 1px solid #f0f0f0; vertical-align: top; font-size: 0.95rem; }
thead th { background: #f8f9fb; font-weight: 600; border-top: none; }
tbody tr:nth-child(even) td { background: #fcfdff; }
.tag { display: inline-block; padding: .15rem .45rem; border-radius: .4rem; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.tag.vor { background:#dff2f7; }
.tag.neben { background:#f7dff5; }
.tag.haupt { background:#ffe89c; }

/* Mobile optimization for price tables */
@media (max-width: 768px) {
  table { min-width: 100%; }
  th, td {
    padding: .5rem .4rem;
    font-size: 0.85rem;
  }
  .price-table-wrap h2 {
    font-size: 1rem;
  }
  .tag {
    font-size: .75rem;
    padding: .1rem .3rem;
  }
}

.preise-image {
  max-width: 100%;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.preise-image img {
  width: 100%;
  height: auto;
  display: block;
}
.back-nav {
  text-align: center;
  margin: 2rem 0;
}

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; padding: .5rem 1rem; background: #fff; border: 1px solid #000; }

/* Price Modal Styles */
.price-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.price-modal-content {
  background-color: var(--bg-white);
  margin: 2rem auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.price-modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem;
  text-align: center;
  border-radius: 12px 12px 0 0;
}

.price-modal-header h2 {
  margin: 0;
  color: white;
  font-size: 1.8rem;
}

.price-modal-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.price-modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition);
  line-height: 1;
  user-select: none;
}

.price-modal-close:hover,
.price-modal-close:focus {
  color: var(--accent-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .price-modal-content {
    width: 95%;
    margin: 1rem auto;
  }

  .price-modal-header {
    padding: 1.5rem;
  }

  .price-modal-header h2 {
    font-size: 1.5rem;
  }

  .price-modal-body {
    padding: 1.5rem;
  }

  .price-modal-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }
}
