/* Ogólne ustawienia */
:root {
    --primary-color: #00bcd4; /* Jasny niebieski/turkusowy */
    --secondary-color: #3f51b5; /* Ciemniejszy niebieski */
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
    --gray-text: #cccccc;
    --font-family-sans: 'Arial', sans-serif;
    --font-family-serif: 'Georgia', serif;
}

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

body {
    font-family: var(--font-family-sans);
    line-height: 1.6;
    background-color: var(--dark-bg);
    color: var(--light-text);
}

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

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

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border: none;
}

.btn-primary:hover {
    background-color: #00a4b8;
    color: var(--light-text);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    text-decoration: none;
}

.btn-tertiary {
    background-color: rgba(0, 188, 212, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    font-size: 0.9em;
}

.btn-tertiary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    text-decoration: none;
}

/* Nagłówek */
.main-header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--light-text);
}

.logo img {
    height: 40px; /* Dostosuj wysokość logo */
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--gray-text);
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    text-decoration: none;
}

/* Sekcje Hero */
.hero-section {
    position: relative;
    height: 700px; /* Dostosuj wysokość */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    overflow: hidden; /* Ważne dla elementów nakładanych */
}

.hero-section::before { /* Ciemna nakładka na tło */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text .tagline {
    font-size: 1.1em;
    color: var(--gray-text);
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text .subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--gray-text);
}

/* Specyficzne dla home-hero - nakładka wirtualnego spaceru */
.home-hero .virtual-tour-nav {
    position: relative; /* lub absolute w zależności od dokładnego pozycjonowania */
    margin-top: 50px; /* Dostosuj */
    min-height: 300px; /* Minimalna wysokość dla widoczności punktów */
    /* Tutaj stylizowałbyś tło z grafiką apartamentu i punkty */
    /* Na przykład: background-image: url('/img/hero-overlay.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex; /* Tylko dla demonstracji, rzeczywiste pozycjonowanie będzie bardziej złożone */
    justify-content: center;
    align-items: center;
}

.virtual-tour-nav .tour-point {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    font-weight: bold;
    color: var(--dark-bg);
    cursor: pointer;
    position: absolute; /* Użyj do precyzyjnego pozycjonowania */
    transform: translate(-50%, -50%); /* Centruje punkty */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.virtual-tour-nav .tour-point:hover {
    opacity: 1;
}

/* Przykładowe pozycje dla punktów (musisz dostosować do swojej grafiki) */
.tour-point.salon { top: 30%; left: 20%; }
.tour-point.kutchin { top: 40%; left: 50%; }
.tour-point.taras { top: 35%; left: 80%; }
.tour-point.basem-kuinity { top: 70%; left: 55%; }
.tour-point.map-icon { top: 80%; left: 10%; background-image: url('/img/icon-map.svg'); background-size: contain; background-repeat: no-repeat; text-indent: -9999px;} /* Ukryj tekst, pokaż ikonę */
.tour-point.vr-icon { top: 70%; left: 90%; background-image: url('/img/icon-vr.svg'); background-size: contain; background-repeat: no-repeat; text-indent: -9999px;}
.tour-point.joystick-icon { top: 85%; left: 80%; background-image: url('/img/icon-joystick.svg'); background-size: contain; background-repeat: no-repeat; text-indent: -9999px;}


/* Sekcja "Jak to działa?" */
.how-it-works-section {
    padding: 80px 0;
    background-color: #222; /* Nieco jaśniejsze tło */
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.how-it-works-grid .grid-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.how-it-works-grid .grid-item:hover {
    transform: translateY(-10px);
}

.how-it-works-grid .grid-item img {
    height: 80px;
    margin-bottom: 20px;
}

.how-it-works-grid .grid-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.how-it-works-grid .grid-item p {
    color: var(--gray-text);
    margin-bottom: 20px;
}

/* Sekcja "Nasze Usługi / Realizacje" */
.our-services-section,
.realized-projects-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
    text-align: center;
}

.our-services-section h2,
.realized-projects-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.services-carousel,
.projects-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-text);
    font-size: 1.5em;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.carousel-btn.prev-btn { left: 0; }
.carousel-btn.next-btn { right: 0; }

.carousel-items {
    display: flex;
    overflow-x: auto; /* Działanie carouselu będzie wymagało JS, ale to podstawa */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 0; /* Dodatkowy padding na wypadek shadowów */
}

/* Ukryj scrollbar */
.carousel-items::-webkit-scrollbar {
    display: none;
}
.carousel-items {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


.service-item,
.project-item {
    flex: 0 0 auto; /* Nie rozciągaj elementów */
    width: 280px; /* Stała szerokość elementu karuzeli */
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.service-item img,
.project-item img {
    width: 100%;
    height: 180px; /* Stała wysokość obrazka */
    object-fit: cover;
    display: block;
}

.service-item h3,
.project-item h3 {
    padding: 15px 20px 5px;
    font-size: 1.2em;
    color: var(--primary-color);
}

.service-item p,
.project-item p {
    padding: 0 20px 20px;
    color: var(--gray-text);
    font-size: 0.9em;
}

/* Sekcja Testimonials (Opinie) */
.testimonials-section {
    padding: 80px 0;
    background-color: #111;
    text-align: center;
}

.testimonial-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    margin-bottom: 15px;
}

/* Stopka */
.main-footer {
    padding: 60px 0 20px;
    background-color: #000;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-nav ul {
    display: flex;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 1.2em;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 0.8em;
    color: #666;
}

/* Responsywność */
@media (max-width: 768px) {
    .main-nav, .btn-primary { display: none; } /* Uproszczenie na mobile */
    .hero-text h1 { font-size: 2.5em; }
    .footer-content { flex-direction: column; gap: 30px; }
}