:root {

  /* NAVY DEPTH SYSTEM - niewykorzystane */
--navy-900: #1e283A; /* baza */
--navy-850: #222d40;
--navy-800: #27303f;
--navy-750: #2f384a;
--navy-700: #383d4a;
  
  /* ======================
     BACKGROUNDS – DEEP NAVY
  ====================== */

--bg-section: #2c3d60;   /* jaśniejszy nocny granat */
--bg-page:    #27303f;   /* tło strony – wyraźnie lżejsze */

--bg-card: #383d4a;
--black-soft: #161C24;   /* miękka, jaśniejsza „czern” */
--blue-accent: #8F97A6;



  /* ======================
     TEXT – HIGH CONTRAST, NO PURE WHITE
  ====================== */

  --text-primary:   #FBFCFE;
  --text-secondary: #E3E9F2;
  --text-muted:     #aabdc4;
  --text-a-right:   #FBFCFE;
  --text-service:   #E7EDF7;

  /* ======================
     BORDERS / DIVIDERS – SUBTLE STEEL
  ====================== */

  --border-main: #4E5E78;

  /* ======================
     GOLD / HONEY – READABLE ON DARK NAVY
  ====================== */

  --gold-brand:  #ffB060;  /* logo */
  --gold-main:  #D7A55F;  /* CTA – minimalnie cięższe */
  --gold-hover: #E9BC72;  /* hover */
  --gold-iframe: #C18E43;  /* ramki */
  --gold-modal:  #D7A55F;  /* modal */
}
  

::selection {
    background-color: var(--gold-hover);
    color: #000000;
}

::-moz-selection {
    background-color: var(--gold-hover);
    color: #000000;
}

body {
  background-color: var(--bg-page);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

img { width:100%; display:block; }

.main {
  width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 55px rgba(0,0,0,0.85);
  overflow: hidden;
}

/* TOP BAR */

.nav-shadow-wrapper {
  filter: drop-shadow(0 12px 12px rgba(0,0,0,0.9));
}

.top-bar {
  background:var(--bg-section);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 20px 14px;
  clip-path: polygon(0 0,100% 0,100% 70%,0 100%);
}

.left {
  display:flex;
  flex-direction:column;
  align-items:center;
}

.left svg { 
  width:90px; 
  fill: currentColor;
  color: var(--gold-brand);
  margin-bottom: 5px;
  }

.brand {
  color:var(--gold-brand);
  font-size:15px;
  font-weight: 500;
  letter-spacing:3px;
  text-decoration:none;
  margin-top:5px;
  text-shadow:2px 2px 5px #000;
}

.right {
  display:flex;
  gap:22px;
  margin-top:-20px;
  font-size:18px;
}

.right a {
  color:var(--text-a-right);
  text-decoration:none;
  text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.9), 
     1px 1px 1px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

.right a:hover { color:var(--gold-hover); }

/* HERO */

.hero {
  background:var(--bg-section);
  padding:35px 50px;
  margin-top:-30px;
    background:
    linear-gradient(
      135deg,
      rgba(30, 40, 58, 0.26) 0%,
      rgba(39, 48, 63, 0.20) 45%,
      rgba(56, 61, 74, 0.15) 100%
    ),
    url('baner.webp');
  background-position: center; /* Obraz będzie wycentrowany */
  background-repeat: no-repeat; /* Obraz nie będzie się powtarzał jako mozaika */
  box-sizing: border-box;       /* Padding nie powiększy teraz wysokości sekcji */
  background-size: cover;
  /**border-bottom: 1.5px solid var(--border-main); */
}

.hero h1 {
  color:var(--text-primary);
  font-size:38px;
  margin-bottom:10px;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(0, 0, 0, 0.75);
}

.hero h2 {
  color:var(--text-primary);
  font-size:32px;
  margin:0px;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(0, 0, 0, 0.75);
}
  
.hero p {
  color:var(--text-secondary);
  font-size:18px;
  max-width:600px;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(0, 0, 0, 0.7);
}

.content {
  background:var(--bg-card);
  padding:40px 60px;
  margin-top:-30px;
  /*border-bottom: 1.5px solid var(--border-main); */
}
.content h2 {
  margin: 0 0 30px;
  text-align: center;
  font-size: 32px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.content p {
  color:var(--text-primary);
  font-size:16px;
  line-height:1.6;   
  letter-spacing: 0.7px;
}

.content iframe {
  border: 2.5px solid var(--gold-iframe);
  border-radius: 6px;
}
.info-row {
  display: flex;
  gap: 100px;
  margin-bottom: 24px;
}

.info-row p {
  margin: 0;
  flex: 0 0 auto;
}

.btn-map {
    display: inline-block;
    margin-top: 24px;

    background: transparent;
    border: 1.5px solid var(--gold-iframe);
    border-radius: 6px;
    color: var(--gold-iframe);

    padding: 14px 36px;
    font-weight: 600;
    letter-spacing: 2px;

    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-map:hover {
  background: var(--gold-iframe);
  color: #1c2023;
}
.map-note {
    display: block;
    font-size: 12px;
    color: var(--text-primary);
    text-align: center;
} 

.map-placeholder {
  background: var(--black-soft);
  border: 1.5px solid var(--border-main);
  border-radius: 6px;
  padding: 30px;
  text-align: center;
}

.map-placeholder.loaded {   /* PO kliknięciu */
  padding: 0;
  border: 0;
}

.map-placeholder p {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.cta {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 36px;
  border: 1.5px solid var(--gold-main);
    border-radius: 6px;
  color: var(--gold-main);
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 2px;
  background: transparent;
  transition: all 0.25s ease;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.cta:hover {
  background: var(--gold-main);
  color: var(--bg-main);
}

.cta-feedback {
  cursor: default;
  pointer-events: none;
}

.cta-feedback.success {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.cta-feedback.error {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}

.cta-feedback {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* SERVICES */

.services {
  background: var(--bg-section);
  padding: 30px 60px 60px;
  /*border-bottom: 1.5px solid var(--border-main);*/
}

.services h2 {
  margin: 0 0 30px;
  text-align: center;
  font-size: 32px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service {
  background:var(--bg-card);
  padding:35px 25px;
  color:var(--text-secondary);
  font-weight: 500;
  font-size:18px;
  /*border:1.5px solid var(--border-main);*/
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;   /* poziomo */
  text-align: center;    /* tekst */
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}
  
.service svg {
  width: 104px;
  height: 104px;
  fill: currentColor;
  color: var(--blue-accent);
  margin-bottom: 12px; /* ⬅️ odstęp pod ikoną */
  filter: drop-shadow(0px 0px 15px rgba(255,255,255, 0.35));
}

.service span {
  display:block;
  color:var(--text-service);
  font-size:14px;
  margin-top:10px;
}

/* INFO */

.info {
  background:var(--bg-card);
  padding:40px 60px;
  color:#ccc;
  font-size:16px;
  /*border-bottom: 1.5px solid var(--border-main); */
}
.info h2 {
  margin: 0 0 30px;
  text-align: center;
  font-size: 32px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.info .cta {
  margin-left:20px;
  font-size:15px;
}
  
    .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;   /* wyśrodkowanie ikon */
  text-align: center;    /* wyśrodkowanie napisów */
  color: #F7F5F3;
}

.why-item svg {
  width: 80px;
  height: 80px;
  fill: currentColor;
  color: var(--gold-main);
  margin-bottom: 15px;
}

.why-item p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

/* GALLERY */

.gallery {
  background:var(--bg-section);
  padding: 30px 60px 60px;
  display:grid;
  gap:25px;
  /*border-bottom: 1.5px solid var(--border-main); */
}

.gallery img {
  border:1px solid rgba(255,255,255,0.08);
}
  .gallery h2 {
  margin: 0 0 30px;
  text-align: center;
  font-size: 32px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-details a {
  color: var(--gold-iframe);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}
.contact-form {
  padding-right: 20px;
}

.contact-form .cta {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: var(--black-soft);
  border: 1.5px solid var(--border-main);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
}

.contact-form button {
  background: transparent;
  border: 1.5px solid var(--gold-iframe);
  border-radius: 6px;
  font-size: 16px;
  color: var(--gold-iframe);
  padding: 14px 36px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Montserrat', sans-serif;
}

.contact-form button:hover {
  background: var(--gold-iframe);
  color: #1c2023;
}

.contact-form input[type="checkbox"] {
  width: auto;
}

.rodo {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-primary);
  cursor: pointer;
}

.rodo input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--gold-iframe);
}

/* FOOTER */

.footer {
  background:var(--black-soft);
  color:var(--text-muted);
  font-size: 16px;
  text-align:center;
  padding:25px 0;
  border-top:1px solid rgba(255,255,255,0.1);
}

.nowrap {
  white-space: nowrap;
}

/* MODAL */

/* tło */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* aktywny modal */
.modal-overlay.active {
  display: flex;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-section) inset;
  -webkit-text-fill-color: var(--text-primary);
  transition: background-color 5000s ease-in-out 0s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold-hover);
}

input::placeholder,
textarea::placeholder{
  color:var(--text-muted);
}

/* okno */
.modal {
  background: var(--bg-page);
  border: 1.5px solid var(--border-main);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: calc(100% - 32px);
  position: relative;
  animation: modalFade 0.3s ease;
}

.modal h2 {
  color: var(--text-primary); 
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* animacja */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* zamknięcie */
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--gold-iframe);
  font-size: 26px;
  cursor: pointer;
}

/* mobile */
@media (max-width: 600px) {
  .modal {
    padding: 24px 20px;
  }

  .main {
    
    width: 600px;
  }

  /* HERO */
  .hero h1 {
    font-size: 32px;
  }
  
  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  /* SERVICES */
  .services {
    padding: 25px 30px 40px;
  }

  .service {
    padding: 20px;
  }

  /* INFO */
  .info {
    padding: 25px 15px;
  }

  /* GALLERY */
  .gallery {
    padding: 25px 30px 60px;
  }
  
  .content {
    padding: 40px 25px;
  }

  .contact-form {
    padding-right: 25px;
  }
  
  .contact-grid {
    gap: 40px;
    grid-template-columns: 220px 2fr;
  }

  textarea {
  field-sizing: content;
  min-height: 80px;
}
  
}

