@font-face {
  font-family: 'Montserrat';
  src: url('../NewBlack/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../NewBlack/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* --- Globalne Ustawienia --- */
:root {
    --primary-color: #000000;
    --secondary-color: #FFFFFF;
    --accent-color: #D4AF37;
    --text-color: #EAEAEA;
    --background-color: #1a1a1a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    margin-bottom: 20px;
    font-weight: 300;
}

section {
    padding: 80px 20px;
	min-height: 100vh;
}

/* --- Nagłówek i Nawigacja --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

header img {
    height: 95px;
	width: 95px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
  font-size: clamp(12px, 2.2vw, 20px);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* --- Przyciski --- */
a[role="button"] {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

a[role="button"]:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* --- Sekcje Główne --- */
main section:first-of-type {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--secondary-color);
    padding: 120px 20px;
}

main section:first-of-type > div {
    max-width: 800px;
}

main section:first-of-type h1 {
    font-size: 4rem;
}

/* Sekcja z usługami */
main section:nth-of-type(2) > div {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

main section:nth-of-type(2) article {
    background: var(--background-color);
    padding: 40px;
    text-align: center;
    border: 1px solid #333;
    flex: 1;
    transition: transform 0.3s ease;
}

main section:nth-of-type(2) article:hover {
    transform: translateY(-10px);
}

main section:nth-of-type(2) article a {
    font-weight: 700;
    color: var(--accent-color);
}


/* Sekcja "O Mnie" */
main section:nth-of-type(3) {
    background-color: var(--background-color);
}

main section:nth-of-type(3) > div {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: auto;
}

main section:nth-of-type(3) img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 50px;
}

/* Sekcja "Opinie" */
main section:nth-of-type(4) > div {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: auto;
}

main section:nth-of-type(4) article {
    background: var(--background-color);
    padding: 30px;
    border-left: 5px solid var(--accent-color);
}

main section:nth-of-type(4) blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 0;
    border: 0;
}

main section:nth-of-type(4) cite {
    font-weight: 700;
}

/* --- Stopka --- */
footer {
    background-color: var(--background-color);
    text-align: center;
    padding: 60px 20px;
}

footer a[role="button"] {
    margin-top: 20px;
}

footer div {
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* --- Ustawienia dla mniejszych ekranów --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 1.8rem; }
    
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    nav ul {
        padding-top: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }

    main section:nth-of-type(2) > div,
    main section:nth-of-type(3) > div {
        flex-direction: column;
    }

    main section:nth-of-type(3) img {
        width: 250px;
        height: 250px;
    }
}


/* --- Style dla formularza kontaktowego --- */

form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

form p {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ccc;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea {
    width: 100%;
    padding: 12px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

input[type="date"],
input[type="time"] {
    cursor: pointer;
}

/* Poprawia wygląd systemowego selektora daty i godziny w trybie ciemnym */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    display: block;
    width: max-content;
    margin: auto;
    background: none;
    color: white;
    padding: 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}







#opinie > div {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 1rem;
  scroll-behavior: smooth;
}

#opinie > div::-webkit-scrollbar {
  display: none; /* ukryj pasek przewijania */
}

#opinie > div > article {
  scroll-snap-align: center;
  background: #111;
  color: #eee;
  padding: 1.5rem;
  border-radius: 1rem;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

#opinie > div > article:hover {
  transform: scale(1.02);
}




#form-status {
  position: fixed;
  width: 100%;
  bottom: 0;
  background: black;
  color: white;
  padding: 40px;
  left: 0;
  right: 0;
  opacity: 1;
  z-index: 9999;
  display: none;
  transition: opacity 1s ease-out;
}

/* Tylko gdy aktywne */
#form-status.active {
  display: block;
  animation: hide 2s ease-out 2s forwards;
}

@keyframes hide {
  from { opacity: 1; }
  to   { opacity: 0; }
}




/* Style dla okna modalnego */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--background-color);
    padding: 30px 40px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid #333;
}

.modal-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

#modal-form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}