/* ============================================================
   CSS RESET & NORMALIZE - Mobile first
=============================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  width: 100%;
  background: #F7F6F3;
  color: #1E293B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
main, section, article, aside, nav, header, footer {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.7,.2,.2,1);
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ============================================================
   ROOT VARIABLES per Brand
=============================================================== */
:root {
  --primary: #1E293B;
  --secondary: #9AC6F6;
  --accent: #F7F6F3;
  --dark: #14203c;
  --light: #F7F6F3;
  --shadow: 0 6px 24px rgba(30,41,59, 0.12);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --font-size-h1: 2.4rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.4rem;
}

/* ============================================================
   TYPOGRAPHY & HEADINGS
=============================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.18;
}
h1 {
  font-size: var(--font-size-h1);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 18px;
}
h3 {
  font-size: var(--font-size-h3);
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  color: var(--dark);
  font-weight: 400;
}
strong {
  font-weight: 600;
  color: var(--primary);
}
.text-section h2, .text-section h3 {
  color: var(--secondary);
  font-family: var(--font-display);
  margin-bottom: 12px;
}

/* artistic font accent for creative look */
.text-section h2, .text-section h3, h1 {
  font-family: var(--font-display), serif;
}

/* ============================================================
   CONTAINERS & SECTIONS
=============================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  gap: 10px;
  background: none;
  font-size: 1.1em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 24px 22px 24px;
  transition: box-shadow 0.2s;
  position: relative;
  min-width: 200px;
  flex: 1 1 270px;
  border-left: 7px solid var(--secondary);
}
.card:hover {
  box-shadow: 0 12px 34px rgba(30,41,59,.18);
  border-left-color: var(--primary);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 32px rgba(51,80,124,0.07);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 400px;
  border-bottom: 4px solid var(--secondary);
  color: #242c3a;
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card:hover {
  box-shadow: 0 15px 64px 0 rgba(51,80,124,.16);
  border-bottom-color: var(--primary);
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #212326;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 1em;
  color: var(--primary);
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* Price highlight accent */
.price-highlight {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1em;
  margin-left: 4px;
}

/* Table styles for penthausi.html */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
thead th {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 8px;
  text-align: left;
}
tbody td {
  font-family: var(--font-body);
  color: var(--dark);
  padding: 14px 8px;
  border-bottom: 1px solid #e8e8f9;
  font-size: 0.98rem;
}
tbody tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   BUTTONS & LINKS
=============================================================== */
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  border: none;
  display: inline-block;
  font-size: 1.1em;
  letter-spacing: 0.02em;
  margin-top: 14px;
  margin-bottom: 4px;
  box-shadow: 0 2px 10px rgba(80,174,251,0.16);
  cursor: pointer;
  transition: background 0.22s, color 0.15s, box-shadow 0.25s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(30,41,59,.12);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  padding: 10px 22px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-secondary:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Artistic link underline */
a:not(.btn-primary):not(.btn-secondary):not(.mobile-menu-close):not(.mobile-menu-toggle):hover {
  text-decoration: underline wavy var(--secondary) 2px;
  text-underline-offset: 3px;
}

/* ============================================================
   HEADER & NAVIGATION
=============================================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 18px rgba(30,41,59,0.06);
  padding: 0 0 0 0;
  position: relative;
  z-index: 32;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  height: 40px;
  width: auto;
  margin-right: 16px;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.04em;
  font-weight: 600;
  padding: 6px 2px;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  background: rgba(154,198,246,0.10);
}
/* Hide burger by default, show on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 14px;
  border: none;
  padding: 7px 13px 9px 13px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.22s, color 0.15s;
  z-index: 101;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}

/* Hamburger menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,41,59, 0.98);
  color: #fff;
  z-index: 120;
  padding: 32px 24px 24px 32px;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.7,.14,.4,1);
  box-shadow: 5px 0 32px rgba(30,41,59,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  position: absolute;
  top: 22px;
  right: 24px;
  cursor: pointer;
  z-index: 121;
  padding: 6px;
}
.mobile-nav {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--secondary);
  padding: 12px 2px;
  border-radius: 7px;
  transition: background 0.18s, color 0.15s;
  font-weight: 600;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(236,242,255,0.10);
  color: #fff;
}

/* Show/hide navigation for mobile/desktop */
@media (max-width: 992px) {
  header .container nav { display: none; }
  .btn-primary { margin-top: 0; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 600px) {
  .logo img { height: 28px; }
  .footer-brand img { height: 30px; }
}

/* ============================================================
   GENERAL FLEX SPACING
=============================================================== */
ul, ol {
  margin-left: 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
li {
  font-family: var(--font-body);
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.7;
}

/* Spacing for sections (as per instruction) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ============================================================
   FOOTER
=============================================================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 16px 0;
  margin-top: 34px;
  box-shadow: 0 -4px 24px rgba(30,41,59, 0.05);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
footer nav a {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
  border-radius: 4px;
  transition: all 0.19s;
}
footer nav a:hover {
  color: #fff;
  background: var(--secondary);
  padding-left: 8px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--secondary);
  margin-top: 8px;
}
.footer-brand img {
  height: 36px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 3px 18px rgba(154,198,246,0.12);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--secondary);
  font-family: var(--font-body);
}
.footer-contact span {
  white-space: pre-line;
}

/* ============================================================
   COOKIE CONSENT BANNER + MODAL
=============================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 28px 0 rgba(30,41,59,.10);
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: slideUpBanner 0.5s cubic-bezier(.6,.34,.4,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(150%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1em;
  margin: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 1em;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  transition: background 0.17s, color 0.13s, box-shadow 0.17s;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
}

/* Cookie modal popup */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30,41,59,0.68);
  backdrop-filter: blur(1.5px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .35s cubic-bezier(.7,.24,.4,1);
}
.cookie-modal.open { display: flex; }
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(30,41,59,0.20);
  max-width: 410px;
  width: 92%;
  padding: 30px 24px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scaleIn .26s cubic-bezier(.7,1.16,.3,1.13);
}
@keyframes scaleIn {
  from { transform: scale(0.88); opacity: 0.2; }
  to { transform: scale(1.0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  font-family: var(--font-body);
}
.cookie-toggle label {
  flex: 1;
  color: #252a33;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: var(--secondary); /* fallback: normal checkbox coloring */
  width: 20px;
  height: 20px;
  border-radius: 6px;
  margin: 0;
  box-shadow: 0 1px 4px rgba(30,41,59,0.07);
  border: none;
}
.cookie-toggle.essential label {
  color: #b3b6ce;
  font-style: italic;
}
.cookie-toggle.essential input {
  pointer-events: none;
  filter: grayscale(0.6);
}

/* ================================
   ARTISTIC ELEMENTS & EFFECTS
=================================== */
.section, .card, .testimonial-card, .content-wrapper, .text-section, .cookie-modal-content {
  position: relative;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 22px;
  top: -24px;
  width: 66px;
  height: 24px;
  background: var(--secondary);
  opacity: 0.12;
  border-radius: 14px;
  z-index: 0;
  pointer-events: none;
}
.section:nth-child(even)::before {
  left: unset;right: 22px;
  background: var(--primary);
  opacity: 0.10;
}
.card::after {
  content: '';
  display: block;
  position: absolute;
  right: 18px; bottom: 16px;
  width: 32px; height: 12px;
  background: var(--secondary);
  opacity: 0.07;
  border-radius: 12px;
  z-index: 0;
}

/* ================
   MICRO-ANIMATIONS
=================== */
.btn-primary, .btn-secondary, .card, .testimonial-card, .mobile-menu, .mobile-menu-close, .cookie-btn, .cookie-modal-content {
  transition: all 0.2s cubic-bezier(.68,.21,.29,.99), box-shadow 0.22s;
}

.card:hover, .testimonial-card:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 18px 48px 0 rgba(154,198,246,0.11);
}

/* ===========================================
   RESPONSIVE LAYOUTS
============================================== */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 880px) {
  .container { max-width: 99vw; padding-left: 8px; padding-right: 8px; }
  .footer-brand span { font-size: 0.92em; }
  .footer-contact span { font-size: 0.92em; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  section, .section { padding: 32px 8px; }
  .content-wrapper, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer .container { flex-direction: column; gap: 18px; align-items: stretch; }
  .footer-brand { flex-direction: row; justify-content: flex-start; align-items: center; }
  .footer-contact { align-items: flex-start; }
  .testimonial-card { min-width: 0; max-width: 100%; }
  .card { min-width: 0; }
}
@media (max-width: 540px) {
  .section, section { padding: 21px 3px; margin-bottom: 38px; }
  .testimonial-card, .card, .cookie-modal-content {
    padding: 15px 8px;
  }
  .cookie-banner {flex-direction: column; gap: 11px; padding: 12px 8px 8px 8px;}
  .cookie-actions { flex-direction: column; gap: 7px; }
}

/* ================================
   CONTACT PAGE
=================================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  color: var(--primary);
  background: #f5f8fd;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 18px rgba(154,198,246,0.05);
  padding: 16px 16px 14px 16px;
  font-size: 1.05em;
  margin-bottom: 8px;
  margin-top: 7px;
}
.contact-info a {
  color: var(--secondary);
  text-decoration: underline dotted var(--secondary) 1px;
}

/* ================================
   GALLERY PAGE
=================================== */
.galerija-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.galerija-card {
  flex: 1 1 220px;
  min-width: 170px;
  max-width: 300px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

/* Table Responsiveness */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead {
    display: none;
  }
  tbody tr {
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 2px 10px rgba(154,198,246,0.04);
    padding: 8px 8px 2px 8px;
  }
  tbody td {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 4px;
    font-size: 1em;
    border: 0;
    border-bottom: 0;
    position: relative;
  }
  tbody td:before {
    content: attr(data-label);
    font-size: 0.96em;
    font-weight: 600;
    color: var(--primary);
    min-width: 98px;
    display: inline-block;
    margin-right: 12px;
  }
}

/* ==========
   MISCELLANEOUS
============ */
dialog, [hidden] {
  display: none !important;
}

::-webkit-input-placeholder { color: #bfc8db; opacity: 1; }
::-moz-placeholder { color: #bfc8db; opacity: 1; }
:-ms-input-placeholder { color: #bfc8db; opacity: 1; }
::placeholder { color: #bfc8db; opacity: 1; }

/* Hide scroll in modal menus */
.mobile-menu.open, .cookie-modal.open {
  overflow-y: auto;
}

/* Prevent accidental text selection on buttons */
button, .btn-primary, .btn-secondary {
  user-select: none;
}

/* End of CSS */
