﻿/* ============================================================
   GRAND SAL HOTEL - FINALNY CSS (poĹ‚Ä…czony desktop + mobile)
   ============================================================ */

/* ---------- RESET & ZMIENNE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #e67e22;
  --orange-dark: #b95a0c;
  --orange-light: #fef3e9;
  --orange-glow: rgba(230, 126, 34, 0.15);
  --text-dark: #1e2a32;
  --text-soft: #2c3e44;
  --bg-white: #ffffff;
  --bg-warm: #fefaf5;
  --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 30px 50px -20px rgba(0, 0, 0, 0.25);
  --glass-bg: rgba(0, 0, 0, 0.85);
  --transition-smooth: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a1f2c;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 28px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo a {
  display: inline-block;
}

.logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.logo img:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  transition: 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1f2c;
  overflow: hidden;
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slider {
  display: none !important;
}

.slide {
  display: none !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.45) 100%),
    radial-gradient(circle at 20% 40%, rgba(230,126,34,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230,126,34,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-logo {
  max-width: 380px;
  width: 85%;
  height: auto;
  margin-bottom: 1.8rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  margin-bottom: 2rem;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}

.hero-location {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  font-weight: 500;
}

.hero-location span:not(:last-child)::after {
  content: none !important;
}

.btn {
  background: var(--orange);
  color: #1a1a1a;
  padding: 12px 32px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--orange-dark);
  transform: scale(1.02);
}

.hero .btn {
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 3;
}

@keyframes bounce {
  0%,100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}
/* ---------- SEKCJE ---------- */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  color: #2c3a46;
}

.section-title span {
  color: #a87a3f;
  font-weight: 680;
}

.title-underline {
  width: 100px;
  height: 4px;
  background: var(--orange);
  margin: 1rem 0 2rem;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-premium p {
  color: var(--text-soft);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- POKOJE ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.room-card {
  background: white;
  overflow: hidden;
  transition: 0.35s ease;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.05);
  border: 1px solid #f2eade;
}

.room-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--orange);
}

.room-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: #e9e2d9;
}

.room-info {
  padding: 26px;
}

.room-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #b85d0c;
  margin: 8px 0;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  list-style: none;
}

.room-features li {
  background: var(--bg-warm);
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #7d420a;
  background: transparent;
  padding: 9px 22px;
  font-weight: 600;
  color: #7d420a;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #7d420a;
  color: white;
  border-color: #7d420a;
}

/* ---------- PAKIETY ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.package-card {
  background: white;
  overflow: hidden;
  transition: 0.35s;
  border: 1px solid rgba(230,126,34,0.15);
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.package-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #e2d9cf;
}

.package-info {
  padding: 28px;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #b85d0c;
  margin: 12px 0;
}

/* ---------- DLA BIZNESU ---------- */
.business-offer {
  background: var(--bg-warm);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}

.business-card {
  background: white;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(230,126,34,0.1);
}

.business-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}

.business-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #ddd8cf;
}

.business-card h3 {
  font-size: 1.4rem;
  padding: 24px 24px 0 24px;
}

.business-card p {
  padding: 12px 24px 24px 24px;
  color: var(--text-soft);
}

/* ---------- UDOGODNIENIA ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.single-amenity {
  background: white;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(230,126,34,0.1);
}

.single-amenity:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 20px 30px -15px var(--orange-glow);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.single-amenity h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.single-amenity p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 16px;
  border: 1px solid rgba(230,126,34,0.15);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 28px;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--orange-light);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 28px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-soft);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px 28px;
}

/* ---------- KONTAKT ---------- */
.contact-premium {
  background: linear-gradient(135deg, #ffffff, #fef8f2);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(230,126,34,0.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.contact-main h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.contact-address {
  font-style: normal;
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.4;
}

.contact-details {
  margin-bottom: 28px;
}

.contact-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-label {
  font-weight: 600;
  min-width: 70px;
  color: var(--text-dark);
}

.contact-row a {
  color: var(--orange);
  text-decoration: none;
}

.contact-row a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.contact-departments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.department h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #5f3208;
  font-weight: 700;
}

.department .hours {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.department .contact-row {
  margin-bottom: 8px;
}

.map-button-only {
  text-align: center;
  margin-top: 32px;
  padding: 32px 20px;
  background: #ffffff;
  border: 1px solid rgba(230,126,34,0.2);
}

.map-button-text {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.map-button-only .btn {
  display: inline-block;
}

.map-modern {
  display: none;
}

/* ---------- STOPKA ---------- */
.lang-section {
  background: #0f1c24;
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.lang-grid li a {
  color: #b9cfda;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.lang-grid li a:hover {
  color: var(--orange);
}

.main-footer {
  background: #0f1c24;
  color: #b9cfda;
  padding: 48px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-info {
  flex: 2;
}

.footer-info p {
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 0.9rem;
}

.footer-copyright-main {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
}

.footer-social {
  flex: 1;
}

.footer-social h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--orange);
  font-weight: 600;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-icons a {
  color: #b9cfda;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.social-icons a:hover {
  color: var(--orange);
}

.footer-links {
  flex: 1;
}

.footer-links a {
  display: inline-block;
  margin-bottom: 12px;
  color: #b9cfda;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #8a9ba8;
}

.footer-link {
  color: var(--orange);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--orange);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 99;
  font-size: 1.6rem;
  font-weight: bold;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   MOBILE - MEDIA QUERIES
   ============================================================ */

/* Mobile: wyĹ‚Ä…cz ciÄ™ĹĽkie efekty */
@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-particles,
  .particle {
    display: none !important;
  }

  .navbar,
  .hero::before,
  .hero-subtitle,
  .room-card,
  .package-card,
  .business-card,
  .single-amenity,
  .contact-premium {
    backdrop-filter: none !important;
    filter: none !important;
  }

  /* Nawigacja mobilna */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 78%;
    max-width: 320px;
    height: calc(100vh - 72px);
    background: #1a1f2c;
    flex-direction: column;
    padding: 40px;
    gap: 0;
    transition: 0.3s;
    box-shadow: 6px 0 30px rgba(0,0,0,0.3);
    list-style: none;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links a {
    color: #ffffff;
    display: block;
    padding: 14px 24px;
  }

  .nav-links a::after {
    display: none;
  }

  /* Hero mobile */
  .hero {
    min-height: 88vh;
  }

  .hero-picture,
  .hero-bg {
    width: 100%;
    height: 100%;
  }

  .hero-slider,
  .slide {
    display: none !important;
  }

  .hero-content {
    padding: 90px 18px 56px;
  }

  .hero-logo {
    max-width: 300px;
    width: 82%;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    padding: 10px 16px !important;
  }

  .hero-location {
    flex-direction: column;
    gap: 7px;
  }

  .hero-location span:not(:last-child)::after {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  /* Sekcje mobile */
  section {
    padding: 58px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .title-underline {
    width: 78px;
    margin: 14px 0 24px;
  }

  .grid-2col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grid-2col img {
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
  }

  .text-premium p {
    font-size: 1rem;
  }

  /* Pokoje mobile */
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .room-img {
    height: 190px;
  }

  .room-info {
    padding: 20px;
  }

  .room-info h3 {
    font-size: 1.25rem;
  }

  .room-price {
    font-size: 1.35rem;
  }

  /* Pakiety mobile */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .package-img {
    height: 185px;
  }

  .package-info {
    padding: 20px;
  }

  /* Biznes mobile */
  .business-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .business-img {
    height: 185px;
  }

  /* Udogodnienia mobile */
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .single-amenity {
    padding: 22px 18px;
  }

  /* Restauracja mobile */
  #restauracja .grid-2col > div:last-child {
    order: -1;
  }

  #restauracja [style*="background:white"] {
    padding: 24px 18px !important;
    margin-top: 34px !important;
  }

  #restauracja [style*="display:flex"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  #restauracja span[style*="font-size:2rem"] {
    font-size: 1.45rem !important;
  }

  /* Kontakt mobile */
  .contact-premium {
    padding: 24px 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-departments {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-row {
    flex-direction: column;
    gap: 4px;
  }

  .contact-label {
    min-width: auto;
  }

  .contact-main h3 {
    font-size: 1.35rem;
  }

  .map-button-only {
    margin: 18px 0 22px;
    padding: 20px 16px;
  }

  /* FAQ mobile */
  .faq-question {
    padding: 17px 18px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  /* Stopka mobile */
  .footer-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 18px;
  }

  .lang-grid {
    gap: 12px 16px;
  }

  .lang-grid li a {
    font-size: 0.82rem;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 18px;
    font-size: 1.4rem;
  }

  /* Galeria modal mobile */
  .gallery-arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.8rem !important;
  }
  .gallery-arrow-left {
    left: 10px !important;
  }
  .gallery-arrow-right {
    right: 10px !important;
  }
  .gallery-close {
    width: 40px !important;
    height: 40px !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 1.2rem !important;
  }
  .gallery-counter {
    font-size: 0.8rem !important;
    padding: 4px 14px !important;
    bottom: 15px !important;
  }

  .map-modern,
  .map-desktop,
  iframe {
    display: none !important;
  }

  .social-icons {
    display: grid;
    gap: 10px;
  }

  .social-icons a,
  .footer-links a,
  .footer-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 24px 18px 0;
    margin-top: 24px;
    font-size: 0.78rem;
  }
}

/* Bardzo maĹ‚e telefony */
@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 84px;
  }

  .hero-logo {
    max-width: 260px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    padding: 9px 13px !important;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .room-img,
  .package-img,
  .business-img {
    height: 170px;
  }

  .room-info,
  .package-info {
    padding: 18px;
  }
}

/* Tabletowe */
@media (min-width: 769px) and (max-width: 1100px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 70%;
    height: calc(100vh - 72px);
    background: #1a1f2c;
    flex-direction: column;
    padding: 40px;
    gap: 2rem;
    transition: 0.3s;
    box-shadow: 6px 0 30px rgba(0,0,0,0.3);
    list-style: none;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links a {
    color: #ffffff;
  }

  .grid-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-premium {
    padding: 28px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-departments {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}

/* ============================================================
   GALERIA MODAL
   ============================================================ */
.gallery-modal {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-modal-image {
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}