/* --- Główne style --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

h1,
h2,
h3 {
    color: #007bff;
    /* Główny kolor akcentu */
}

/* --- Nawigacja i nagłówek --- */
header {
    background-color: #007bff;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    margin-left: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #0056b3;
    border-radius: 4px;
}

.admin-link {
    background-color: #dc3545;
    border-radius: 4px;
}

/* --- Sekcje Główne --- */
main section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section:nth-child(even) {
    background-color: #f0f4f7;
}

/* --- 1. HERO SECTION (Zdjęcie w tle) --- */
.hero-section {
    height: 60vh;
    /* Wysokość ekranu */
    background-image: url('images/main_photo.jpg');
    /* Zmień na ścieżkę do Twojego zdjęcia! */
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    /* Półprzezroczysta nakładka */
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.5em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* --- 2. ABOUT SECTION (Opis) --- */
.about-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.about-content p {
    flex: 2;
    line-height: 1.6;
}

.about-content ul {
    flex: 1;
    list-style: none;
    padding-left: 0;
}

.about-content ul li {
    margin-bottom: 10px;
    font-weight: bold;
}

.about-content ul li i {
    color: #28a745;
    margin-right: 10px;
}

/* --- 3. GALERIA POKOI --- */
.rooms-gallery h2 {
    text-align: center;
    margin-bottom: 10px;
}

.rooms-gallery p {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.room-card h3 {
    margin: 15px 0 5px;
}

.room-card p {
    padding: 0 15px 20px;
    margin: 0;
    text-align: center;
}

/* --- 4. MAPA DOJAZDU --- */
.location-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    /* Wysokość dla mapy */
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 5. STOPKA I KONTAKT --- */
.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #495057;
}

.footer h3 {
    color: white;
    margin-top: 0;
}

.contact-info p {
    margin: 8px 0;
}

.contact-info i {
    color: #007bff;
    margin-right: 10px;
}

.social-media a {
    color: white;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #007bff;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
}