:root {
    --primary: #198754;
    --primary-light: #198754;
    --secondary: rgb(248, 249, 250);
    --text: #2d3748;
    --text-light: #718096;
    --accent: #ed8936;
    --background: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;*/
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    /*height: 100vh;*/
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    min-height: 60vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)),
    url('../images/costa_smeralda.webp');


    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-size: cover;
    background-position: center
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(0,0,0,0.7) 0%,
            rgba(0,0,0,0.4) 50%,
            rgba(0,0,0,0.2) 100%
    );
    z-index: 2;
}

.hero-section .container {
    z-index: 3;
}

.min-vh-50 {
    min-height: 50vh;
}
#alt-search iframe {
    width: 100%;
    min-height: 1000px;
    height: 75vh;
    border: 0;
}

header {
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--primary-light);
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.header-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
}

.example-section {
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.6em;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 0 .75em .5em 0;
    border-bottom: 2px solid #198754;
    display: inline-block;
}
.card-body h2 {
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: none;
    margin-bottom: 0rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
p {
    text-align: left;
}
.not-found-page {
    text-align: center;
    padding: 100px 20px;
}

.btn-custom {
    background-color: #00a88d;
    border: none;
    color: #fff;
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-custom:hover {
    background-color: #008f79;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn-outline-custom {
    color: #00a88d;
    border-color: #00a88d;
}

.btn-outline-custom:hover {
    background-color: #00a88d;
    color: #fff;
}
.card {
    transition: all 0.4s ease;
    cursor: pointer;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15)
}

.card:hover .btn-outline-custom {
    background-color: #00a88d;
    color: #fff;
}
.btn-outline-custom-light {
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.85rem;
    border-color: #dee2e6;
}

.btn-outline-custom-light:hover {
    color: #00a88d;
    border-color: #00a88d;
    background-color: rgba(0,168,141,0.1);
}
.btn-equal {
    display: inline-block;
    min-width: 8rem; /* Bootstrap rem egységgel */
    text-align: center;
}
@media (min-width: 992px) {
    p {
        text-align: justify;
        hyphens: auto;
        text-justify: inter-word;
    }
}

.example-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
    border-left: 3px solid var(--primary);
    padding-left: 0.75rem;
}

.breadcrumb-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.showcase-item {
    background-color: var(--secondary);
    border-radius: 12px;
    padding: 0 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.showcase-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.showcase-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0.5rem 0;
    position: relative;
}

.breadcrumb-item {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-link {
    position: relative;
    color: inherit;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
    white-space: nowrap;
}

.breadcrumb-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-link:hover:after {
    width: calc(100% - 1rem);
    left: 0.5rem;
}

.breadcrumb-separator {
    margin: 0 0.25rem;
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb-item:last-child .breadcrumb-link {
    color: var(--text);
    font-weight: 500;
}

.breadcrumb-item:last-child .breadcrumb-link:hover:after {
    background-color: var(--accent);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Responsive styles */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.25rem;
    }

    .showcase-item {
        padding: 1rem;
    }
}

/* Navbar custom */
.navbar {
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-center{
    max-width: 1200px;
}
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #292c31;
    color: #aeb3bd;
}
footer li {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: .05em;
    line-height: 1.5;
    margin-bottom: 10px;
}
footer h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: 500;
    color: #aeb3bd;
    border-bottom: none;
    margin-bottom: 0rem;
}
.divider {
    padding: 2rem 0 0;
    margin: 2rem 0 0;
    border-top: 1px solid #62656a;
}
#toTheTop {
    display: none;
    position: fixed;
    text-decoration: none;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border:  1px solid #ccc;
    outline: 0;
    background-color: #fff;
    color: #198754;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
}
#toTheTop:hover {
    background-color: #198754;
    color: white;
}
ul {
    list-style-type: none;
    padding-left: 0;
}
a:hover {
    text-decoration: none; /* Aláhúzás eltávolítása */
    color: rgb(174, 179, 189);
}
a {
    text-decoration: none; /* Aláhúzás eltávolítása */
    color: #666;
}

@media (max-width: 768px) {

    footer {
        padding: 60px 60px;
        position: relative;
        bottom: 0;
        width: 100%;
    }
}
.ferry-offers {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}