/* Zmienne CSS */
:root {
    --primary-color: #0a192f; /* ciemny navy */
    --secondary-color: #64ffda; /* teal */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
}

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Przyciski */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

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

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-teal {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
}

.btn-teal:hover {
    background-color: #52d4b9;
    color: var(--primary-color);
}

/* Nawigacja */
.navbar {
    background-color: rgba(10, 25, 47, 0.9);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Sekcja Hero */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #172a45 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    padding: 0 1.5rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Sekcje ogólne */
.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-header h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 3px;
}

/* Sekcja O nas */
.about-card {
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-card i {
    color: var(--secondary-color);
}

/* Parallax */
.parallax-section {
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Sekcja Atrakcje */
.attraction-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

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

.attraction-card:hover .attraction-img img {
    transform: scale(1.1);
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-icons {
    margin-top: 1rem;
}

.attraction-icons i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Sekcja Pokoje */
.room-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    height: 100%;
}

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

.room-content {
    padding: 1.5rem;
}

.room-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.room-features li {
    margin-bottom: 0.5rem;
}

.room-features i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.room-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.room-price span {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Sekcja Kontakt */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* Stopka */
footer {
    background-color: var(--primary-color);
    color: white;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Animacje */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Responsywność */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-card, .attraction-card, .room-card {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

/* Lazy load */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Leaflet map */
#map {
    z-index: 1;
}

.leaflet-control-attribution {
    font-size: 0.7rem;
}

















/* Admin Panel Styles */
.bg-teal {
    background-color: var(--secondary-color);
}

.text-teal {
    color: var(--secondary-color);
}

.badge.bg-teal {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.table th {
    background-color: var(--primary-color);
    color: white;
}

/* Responsywność tabeli */
@media (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Formularz logowania */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


/* pokoje  */


        .hero-section {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 5rem 0;
            margin-bottom: 3rem;
        }
        
        .article-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            margin-bottom: 30px;
            background: white;
        }
        
        .article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .article-img {
            height: 250px;
            object-fit: cover;
            width: 100%;
        }
        
        .article-body {
            padding: 2rem;
        }
        
        .article-title {
            font-weight: 700;
            color: var(--secondary-color);
            margin-bottom: 1rem;
        }
        
        .article-subtitle {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
        
        .article-meta {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }
        
        .article-content {
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }
        
        .badge-custom {
            background-color: var(--accent-color);
            color: white;
            padding: 0.5em 1em;
            border-radius: 50px;
            font-weight: 600;
        }
        
        .features-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .features-list li {
            padding: 0.5rem 0;
            position: relative;
            padding-left: 2rem;
        }
        
        .features-list li:before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: var(--primary-color);
            position: absolute;
            left: 0;
        }
        
        .animate-delay-1 {
            animation-delay: 0.1s;
        }
        
        .animate-delay-2 {
            animation-delay: 0.2s;
        }
        
        .animate-delay-3 {
            animation-delay: 0.3s;
        }
        
        footer {
            background-color: var(--secondary-color);
            color: white;
            padding: 3rem 0;
            margin-top: 5rem;
        }
     