/* ============================================
   TURNUSY ZAKOPANE - Custom Styles
   Child template of Cassiopeia
   ============================================ */

/* === 1. ROOT VARIABLES - KOLORY I FONTY === */
:root {
    /* KOLORY GŁÓWNE - Material Blue */
    --cassiopeia-color-primary: #1e88e5;
    --cassiopeia-color-link: #1e88e5;
    --cassiopeia-color-hover: rgba(30, 136, 229, 0.8);
    --link-color: #1e88e5;
    
    /* Bootstrap 5 variables */
    --bs-link-color: #1e88e5;
    --bs-link-hover-color: rgba(30, 136, 229, 0.8);
    --bs-primary: #1e88e5;
    
    /* Kolory akcentów */
    --cassiopeia-color-secondary: #C47D4D;
    --cassiopeia-color-info: #21aba9;
    
    /* FONTY */
    --cassiopeia-font-family-body: "Roboto", sans-serif;
    --cassiopeia-font-family-headings: "Roboto", sans-serif;
    --cassiopeia-font-weight-headings: 300;
    --cassiopeia-font-weight-normal: 400;
    
    /* Bootstrap colors */
    --primary: #784523;
    --secondary: #C47D4D;
    --info: #21aba9;
    
    /* Typography */
    --body-font-size: 1.2rem;
    --body-color: #383838;
}

/* === 2. GLOBALNE RESETOWANIE KOLORÓW LINKÓW === */
a {
    color: var(--cassiopeia-color-link) !important;
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--cassiopeia-color-hover) !important;
}

a:not([class]) {
    text-decoration: none;
}

/* Wyjątki dla elementów menu (zachowanie turkusowego) */
.metismenu.mod-menu a,
.navbar-brand a {
    color: #21aba9 !important;
}

.metismenu.mod-menu a:hover {
    color: rgba(33, 171, 169, 0.7) !important;
}


/* Wyjątki dla buttonów */
a.btn-primary,
a.btn-secondary,
a.btn-info {
    color: #fff !important;
}

a.btn-primary:hover,
a.btn-secondary:hover,
a.btn-info:hover {
    color: #fff !important;
}

/* Outline buttony - tekst koloru borderu */
a.btn-outline-primary {
    color: #1e88e5 !important;
}

a.btn-outline-primary:hover {
    color: #fff !important;
}

a.btn-outline-secondary {
    color: #21aba9 !important;
}

a.btn-outline-secondary:hover {
    color: #fff !important;
}
/* === 3. HEADER === */
.container-header {
    background-color: #fff;
    background-image: none;
}

.header.container-header.full-width {
    display: grid;
    grid-template-columns: minmax(0,1fr) repeat(4,minmax(0,19.875rem)) minmax(0,1fr);
    grid-gap: 0 1em;
    align-items: center;
}

.container-header .grid-child:first-child {
    grid-column: 2/2;
}

.container-header .container-nav {
    grid-column: 3/5;
}

.brand-logo img {
    min-width: 100px;
}

.container-header .navbar-toggler {
    border: 1px solid #000;
    color: #000;
    cursor: pointer;
    margin-left: 40px;
}

.container-header .site-description {
    color: #000;
    font-size: 1.1rem;
    white-space: normal;
    font-weight: 600;
}

@media (max-width: 767px) {
    .container-header .site-description {
        display: none;
    }
    .container-banner .banner-overlay {
        background-attachment: inherit;
        height: 40vh;
    }
}

/* === 4. MENU === */
.container-header .mod-menu {
    color: #21aba9;
    font-weight: 500;
    text-transform: uppercase;
}

@media (min-width: 985px) {
    .metismenu.mod-menu .metismenu-item.level-1 > a {
        border-bottom: 3px solid #ececec;
    }
    .metismenu.mod-menu .metismenu-item.level-1 > a:hover {
        border-bottom: 3px solid #21aba9;
    }
}

.metismenu.mod-menu .metismenu-item > a {
    font-weight: 400;
}

.metismenu.mod-menu .metismenu-item {
    flex-wrap: nowrap;
    padding: .5em .5em;
}

.metismenu.mod-menu .metismenu-item.level-1 > a.redpfron {
    color: #ff0023;
}

/* === 5. TYPOGRAPHY === */
.mod-breadcrumbs__wrapper {
    text-align: center;
    margin: 0 auto;
}

.breadcrumb {
    background-color: #fff;
}

.mod-breadcrumbs {
    font-weight: 300;
}

.card-header {
    color: #000;
    text-transform: uppercase;
    font-weight: 300;
    background-color: #e6f4f4;
    border-bottom: 1px solid #e6f4f4;
}

.newsflash-title {
    margin: 0 auto;
    text-align: center;
}

.page-header h1 {
    text-align: center;
    padding: 20px 0;
    font-weight: 300;
    color: #21aba9;
}

/* POPRAWKA: h3.icon-box-title */
h3.icon-box-title {
    font-weight: 400;
    font-size: .9em;
    line-height: 1.4em;
    text-transform: lowercase;
    margin-bottom: 0.5rem;
}

/* Pierwsza litera wielka */
h3.icon-box-title::first-letter {
    text-transform: uppercase;
}

.oferta-flash h3, 
.com-content-category-blog h1 {
    color: #21aba9;
    font-size: 45px;
    font-weight: 300;
    letter-spacing: .04545em;
    line-height: 1;
    padding: 50px;
    border-top: solid 1px #c2efee;
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 767px) {
    .oferta-flash h3, 
    .com-content-category-blog h1 {
        font-size: 36px;
    }
}

.oferta-flash h5.newsflash-title {
    font-weight: 400;
    line-height: 1.4em;
}

.category-desc p {
    font-size: 1.3em;
    font-weight: 300;
}

.category-desc {
    padding-bottom: 4em;
}

.com-content-category-blog__child h3 a {
    font-weight: 300;
}

.com-content-category-blog .category-desc h2, 
.com-content-article h2, 
.com-contact h2 {
    font-weight: 300;
    padding: 10px 0;
    text-align: center;
    background: #eaffff;
    margin: 20px 0;
    font-size: 2rem;
}

.cat-children figure {
    margin: 0 0 .5em;
}

.cat-children h3 {
    text-align: center;
    margin: 0 auto;
}

.blog-item .item-content p {
    font-weight: 300;
}

.com-content-category-blog h2 {
    font-size: 1.2em;
    font-weight: 400;
    text-align: center;
}

/* === 6. BUTTONS === */
.tags a.btn {
    font-weight: 400;
}

p.readmore .btn {
    margin-left: 10px;
    display: inline-block;
    position: relative;
    padding: 15px 40px 17px 30px;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
}

p.readmore .btn:hover {
    box-shadow: 0 1px 20px 0 rgb(33 171 169 / 18%);
    transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.btn-info {
    background-color: #21aba9;
    border-color: #21aba9;
    color: #fff;
}

.btn-info:hover {
    background-color: #21aba9;
    border-color: #21aba9;
    color: #784523;
}

/* === 7. CARDS & MODULES === */
.card {
    border-color: #c2efee;
}

.card-hover {
    transition: all 0.3s ease !important;
}

.card-hover:hover, 
.card-hover.show {
    box-shadow: 0 0.125rem 0.5rem -0.25rem rgb(31 27 45 / 12%), 
                0 0.25rem 1rem rgb(31 27 45 / 12%) !important;
}

ul.mod-articlesnews-horizontal.newsflash-horiz.mod-list li:hover {
    box-shadow: 0 1px 20px 0 rgb(33 171 169 / 18%);
    transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.no-card .newsflash-horiz li {
    border: 1px solid #c2efee;
}

.mod-articlesnews-horizontal figure img:hover, 
.blog-item figure img:hover {
    transform: scale(1.05);
    transition: transform 1s ease;
}

.mod-articlesnews-horizontal figure img,
.blog-item figure img {
    transition: transform .5s ease;
}

.newsflash-image a img:hover,
.blog-item figure a img:hover {
    opacity: 0.6;
}

/* === 8. ICONS === */
.icon-box-media.bg-faded-primary img:hover {
    opacity: 0.5;
}

a.icon-box.card {
    text-decoration: none;
}

.row.ikony-pokoje .icon-box {
    background: #fff;
    color: #000;
    padding-top: 20px;
    border: none;
    text-align: center;
    height: 100px;
    min-width: 160px;
}

.row.ikony-pokoje i {
    padding-bottom: 10px;
    color: #21aba9;
}

.row.ikony-pokoje p {
    font-weight: 400;
    font-family: Roboto;
}

.row.ikony-pokoje .col {
    padding-bottom: 20px;
}

/* === 9. FOOTER === */
.footer {
    background-color: rgba(230, 244, 244, .4);
    background-image: none;
    color: #626262;
    margin-top: 1em;
}

.footer .grid-child {
    display: block !important;
}

.footer1, 
.footer2 {
    clear: both;
    display: block;
    font-weight: 300;
    font-size: .8em;
    width: 100%;
}

/* === 10. UTILITIES === */
.top-border {
    border-top: solid 1px #c2efee;
    padding-top: 50px;
}

.top25 {
    margin-top: 2em;
}

.view-category .main-bottom.no-card.hidden-category {
    display: none;
}

.view-category .oferta-flash.hiddencategory {
    display: none;
}

.item-content .icons, 
.item-page .icons {
    display: none;
}

.container-banner .banner-overlay {
    height: 50vh;
}

/* Google Maps responsive */
.google-maps {
    position: relative;
    padding-bottom: 55%;
    height: 0;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.oferta-flash .mod-list li a:hover {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* === PRICING TABLE === */
table.pricing-table {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 0.95em;
}

table.pricing-table th {
    background-color: #e6f4f4;
    color: #000;
    font-weight: 600;
    padding: 10px 12px;
    border: 1px solid #c2efee;
    text-align: left;
}

table.pricing-table td {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    color: #333;
}

table.pricing-table tr.group-odd td {
    background-color: #f5fbfb;
}

table.pricing-table tr.group-even td {
    background-color: #ffffff;
}

/* Wiersze bez klasy - naprzemiennie przez nth-child */
table.pricing-table tbody tr:not(.group-odd):not(.group-even):nth-child(odd) td {
    background-color: #f5fbfb;
}

table.pricing-table tbody tr:not(.group-odd):not(.group-even):nth-child(even) td {
    background-color: #ffffff;
}

table.pricing-table tr:hover td {
    background-color: #e6f4f4;
}
