﻿body {
    font-family: 'Montserrat', sans-serif;
}

/* NAVIGATION BAR */
.custom-navbar {
    width: 100%;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.navbar-top {
    background-color: #0A2E36;
    padding: 1rem;
    position: relative;
}

.navbar-bottom {
    background-color: #1F3F47;
    padding: 1rem 0.7rem;
    position: relative;
}

.owner-photo-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    z-index: 5;
}

    .owner-photo-wrapper a {
        display: inline-block;
        text-decoration: none;
    }

.owner-photo {
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 230px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 5;
}

.navbar-title {
    font-size: 2.5rem;
    font-weight: 600;
}

.navbar-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
}

.navbar-logo {
    height: 48px;
    width: 48px;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

    .social-icon:hover {
        transform: scale(1.2);
        color: #e0e0e0;
    }

.flag-icon {
    height: 18px;
    object-fit: cover;
}

.language-toggle {
    background: transparent;
    border: none;
    padding: 0;
    color: white;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
}

    .nav-link:hover {
        text-decoration: underline;
    }

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 400;
}

    .phone-link:hover {
        text-decoration: underline;
    }

.navbar-btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .navbar-btn {
        display: none !important;
    }
}

.dropdown {
    position: relative !important;
    z-index: 20;
}

.dropdown-menu {
    background-color: #0A2E36;
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .dropdown-menu .dropdown-item {
        color: white;
        font-size: 0.9rem;
    }

        .dropdown-menu .dropdown-item:hover {
            background-color: #12414c;
            color: white;
        }

@media (max-width: 1140px) {
    .owner-photo-wrapper {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-title {
        font-size: 1.5rem;
    }

    .navbar-subtitle {
        font-size: 0.75rem;
    }

    .navbar-logo {
        height: 36px;
        width: 36px;
    }

    .social-icon {
        font-size: 1rem;
    }
}

.navbar-toggler {
    z-index: 10;
    position: relative;
    color: white;
}

@media (max-width: 768px) {
    .navbar-top,
    .navbar-bottom {
        padding: 0.7rem 1rem;
    }

    .navbar-title {
        font-size: 1.2rem;
    }

    .navbar-subtitle {
        font-size: 0.7rem;
    }

    .phone-link {
        font-size: 0.95rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 490px) {
    .custom-navbar .navbar-top > .d-flex:last-child {
        flex-direction: column;
        gap: 0rem !important;
        margin-left: 3px;
    }

    .custom-navbar .social-icon {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }

    .custom-navbar .dropdown {
        align-self: flex-start;
    }
}

/* FOOTER */
.site-footer {
    background-color: #0A2E36;
    font-size: 0.95rem;
}

    .site-footer a.footer-link {
        color: #ffffff;
        text-decoration: none;
    }

        .site-footer a.footer-link:hover {
            text-decoration: underline;
        }

    .site-footer p {
        margin-bottom: 0.35rem;
    }

    .site-footer .btn {
        border-radius: 30px;
        padding: 0.5rem 1.5rem;
        font-weight: 500;
        font-size: 0.95rem;
    }

/* HOME PAGE - HERO SECTION 1 */
.hero-section {
    background-color: #E6EFE9;
}

.text-left {
    font-size: 3rem;
    font-weight: 600;
    color: #0A2E36;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

    .text-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

@media (max-width: 768px) {
    .text-left {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .text-left {
        font-size: 1.6rem;
    }
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.btn-dark-custom {
    background-color: #0A2E36;
    color: white;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: larger;
}

    .btn-dark-custom:hover {
        background-color: #12414c;
        color: #fff;
        transform: scale(1.05);
    }

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent;
    mask-image: linear-gradient(to left, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-repeat: no-repeat;
    mask-position: center;
}

/* HOME PAGE - SECTION 2 */
.achievements-section {
    background-image: url('/assets/Siemienczuk/home2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #0A2E36;
    position: relative;
}

    .achievements-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgb(255 255 255 / 92%);
        z-index: 1;
    }

    .achievements-section .container {
        position: relative;
        z-index: 2;
    }

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0A2E36;
}

.card.shadow-custom {
    border: none;
    background-color: #ffffff;
    border-radius: 0.6rem;
    box-shadow: 0 6px 6px 6px #0A2E36;
    transition: transform 0.3s ease;
}

    .card.shadow-custom:hover {
        transform: translateY(-5px);
    }

.icon-large {
    font-size: 2rem;
    color: #0A2E36;
}

.section-news-post {
    position: relative;
    min-height: 550px;
    z-index: 1;
    overflow: hidden;
}

.section-news-background-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.section-news-post::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(230, 239, 233), rgba(255, 255, 255, 0));
    z-index: 1;
}

.section-news-post .container {
    position: relative;
    z-index: 2;
}

.section-news-content {
    max-width: 600px;
}

.section-news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2E36;
}

.section-news-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #0A2E36;
}

.section-news-content i {
    font-size: 1.2rem;
    color: #0A2E36;
}

.section-news-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease-in-out;
}

    .section-news-content.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .section-news-title {
        font-size: 1.5rem;
    }

    .section-news-description {
        font-size: 0.95rem;
    }
}

/* NEWS PAGE SECTION 2 */
.section-articles {
    background-color: #E6EFE9;
}

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* wszystkie boksy równają się w siatce */
    border: 1px solid #0A2E36;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    background-color: white;
}

    .article-card:hover {
        transform: translateY(-5px);
    }

.article-image {
    width: 100%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-text {
    color: #0A2E36;
    font-weight: 500;
    font-size: 0.95rem;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

    .article-text i {
        font-size: 1.2rem;
        color: #0A2E36;
    }

.article-meta {
    font-size: 0.85rem;
}

/* NEWS POST DETAILS PAGE */
.section-news-detail {
    background-color: #E6EFE9;
}

.news-detail-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.news-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #0A2E36;
}

/* SERVICES PAGE SECTION 1 */
.section-offers {
    background-color: #E6EFE9;
}

.offer-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

    .offer-card:hover {
        transform: translateY(-5px);
    }

.offer-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.offer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-title {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0A2E36;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.offer-body {
    padding: 2.5rem 1.5rem 1.5rem;
    background-color: #E6EFE9;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-description {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    font-size: 0.95rem;
    color: #333;
}

    .offer-description li {
        margin-bottom: 0.5rem;
        position: relative;
        padding-left: 1.5rem;
    }

        .offer-description li::before {
            content: '\f0ab';
            font-family: 'bootstrap-icons';
            position: absolute;
            left: 0;
            top: 0;
            color: #ccc;
            font-size: 1rem;
        }

.offer-button {
    background-color: #D9D9D9;
    color: #93032E;
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: all 0.2s ease;
}

    .offer-button:hover {
        transform: scale(1.05);
        text-decoration: underline;
    }

/* SERVICES PAGE DETAILS SECTION 1 */
.section-extended-offer {
    background-color: #E6EFE9;
}

.extended-offer-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 4;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.extended-offer-description {
    max-width: 800px;
    font-size: 1rem;
    line-height: 1.7;
    color: #0A2E36;
}

    .extended-offer-description p {
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
    }

.btn-dark-custom {
    background-color: #0A2E36;
    color: white;
    border-radius: 30px;
    padding: 0.7rem 1.8rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

    .btn-dark-custom:hover {
        background-color: #12414c;
        color: #fff;
        transform: scale(1.05);
    }

.btn-outline-dark-custom {
    background-color: transparent;
    color: #0A2E36;
    border: 2px solid #0A2E36;
    border-radius: 30px;
    padding: 0.7rem 1.8rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

    .btn-outline-dark-custom:hover {
        background-color: #0A2E36;
        color: white;
        transform: scale(1.05);
    }

/* CONTACT PAGE SECTION */
.contact-card {
    background-color: #EAEAEA;
    border-radius: 25px;
    padding: 2rem;
}

.rounded-input {
    border-radius: 15px;
}

/* TERMS & CONDITIONS PAGE */
.section-legal {
    background-color: #ffffff;
    color: #0A2E36;
}

.legal-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #0A2E36;
}

.legal-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* BOOKING PAGE */
.google-calendar-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.google-calendar-frame {
    border: none;
    width: 100%;
    height: 450px;
    border-radius: 12px;
}

@media (max-width: 576px) {
    .google-calendar-frame {
        height: 350px;
    }
}

/* ERROR PAGES */
.error-section {
    background-color: #E6EFE9;
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.big-error-code {
    font-size: 5rem;
    font-weight: 900;
    color: #93032E;
    line-height: 1;
}

.error-title {
    font-size: 2rem;
    color: #0A2E36;
    font-weight: 700;
}

.error-text {
    font-size: 1.1rem;
    color: #0A2E36;
    line-height: 1.6;
}

.error-img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

@media (max-width: 768px) {
    .big-error-code {
        font-size: 3.5rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-text {
        font-size: 1rem;
    }

    .error-img {
        max-width: 220px;
    }
}
