
:root {
    --primary-color: #3a5a40;
    --secondary-color: #588157;
    --accent-color: #a3b18a;
    --light-color: #dad7cd;
    --dark-color: #344e41;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/header.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

section {
    padding: 4rem 0;
}

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

h1, h2, h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    margin-bottom: 2.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

p {
    margin-bottom: 1.5rem;
}

.intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Rooms */
.rooms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

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

.room-img {
    height: 200px;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-info {
    padding: 1.5rem;
}

.room-info h3 {
    margin-bottom: 0.5rem;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card:hover .service-icon {
    color: white;
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

/* Gallery */
.gallery-section {
    margin-bottom: 3rem;
}

.gallery-title {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-color);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}



/* Location */

.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dokładnie dwie równe kolumny */
    gap: 2rem;
    margin-bottom: 2rem;
}

.location-info > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.location-info ul {
    list-style-position: inside;
    padding-left: 0;
    margin-bottom: 1rem;
}

.location-info li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.location-info h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-info h4 {
    color: var(--secondary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.map-container {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 2rem;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: bold;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}
/* Styl dla telefonów */
@media (max-width: 768px) {
    .location-info {
        grid-template-columns: 1fr; /* Jedna kolumna na telefonach */
    }
    
    .location-info > div {
        margin-bottom: 2rem;
    }
    
    .location-info ul {
        padding-left: 0;
    }
    
    .location-info li {
        text-align: left;
        line-height: 1.4;
        margin-bottom: 0.8rem;
        padding-left: 0;
    }
    
    .location-info h3 {
        text-align: center;
        margin-bottom: 1rem;
    }
}
  
}
