/* ============================================
   NORVÉGIA MAGYARUL - Custom Stylesheet
   Inspired by National Geographic & Szilárd Utakon
   Built on Bootstrap 5.3
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --nm-navy: #0c1824;
    --nm-navy-light: #1a2d42;
    --nm-blue: #1e6091;
    --nm-blue-light: #4a9ebb;
    --nm-glacier: #7ec8e3;
    --nm-aurora: #2ecc71;
    --nm-aurora-dark: #0f9b58;
    --nm-red: #ba0c2f;
    --nm-gold: #d4a853;
    --nm-white: #ffffff;
    --nm-offwhite: #f5f3ef;
    --nm-gray-100: #f8f9fa;
    --nm-gray-200: #e9ecef;
    --nm-gray-600: #6c757d;
    --nm-gray-800: #343a40;
    --nm-text: #2c3e50;
    --nm-heading: #1a2332;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 15px 60px rgba(0, 0, 0, 0.2);
}

/* ---- Global Styles ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--nm-text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--nm-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--nm-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--nm-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--nm-blue-light);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--nm-blue);
    color: var(--nm-white);
}

/* ---- Navbar ---- */
#mainNav {
    padding: 1rem 0;
    transition: var(--transition-smooth);
    background: transparent;
    z-index: 1050;
}

#mainNav.scrolled {
    background: rgba(12, 24, 36, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    padding: 0;
}

.navbar-logo {
    height: var(--nm-logo-h, 64px);
    width: auto;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    transition: height 0.3s ease;
}

.navbar-logo:hover {
    opacity: 0.85;
}

.navbar.scrolled .navbar-logo {
    height: var(--nm-logo-h-scrolled, 52px);
}

/* Optional logo embedded in the intro section (homepage) */
.intro-logo {
    display: block;
    margin: 0 auto 1.25rem;
    height: var(--nm-logo-intro-h, 120px);
    width: auto;
    max-width: 90%;
}

.brand-text {
    color: var(--nm-white);
}

.brand-accent {
    color: var(--nm-gold);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.3px;
    position: relative;
    text-transform: uppercase;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--nm-white);
}

/* Navbar dropdown */
#mainNav .dropdown-menu {
    background: var(--nm-navy);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 8px;
    margin-top: 0.25rem;
}

#mainNav .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    padding: 0.6rem 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#mainNav .dropdown-item:hover,
#mainNav .dropdown-item:focus {
    background: rgba(212, 168, 83, 0.15);
    color: var(--nm-gold);
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--nm-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    width: 60%;
}

.nav-cta {
    background: var(--nm-red) !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.5rem !important;
    margin-left: 0.5rem;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: #d41141 !important;
    transform: translateY(-1px);
}

/* ---- Hero Carousel ---- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100vh;
    min-height: 600px;
}

#heroCarousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.6);
}

.carousel-caption-custom {
    position: absolute;
    bottom: 15%;
    left: 8%;
    max-width: 600px;
    text-align: left;
    animation: fadeInUp 1s ease;
}

.caption-tag {
    display: inline-block;
    background: var(--nm-red);
    color: var(--nm-white);
    padding: 4px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.carousel-caption-custom h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--nm-white);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.carousel-caption-custom p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 40px;
    height: 3px;
    border: none;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.carousel-indicators button.active {
    opacity: 1;
    width: 60px;
    background: var(--nm-gold);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin: 0 2rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

#hero:hover .carousel-control-prev,
#hero:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

.scroll-indicator a:hover {
    color: var(--nm-white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Section Styles ---- */
.section-padding {
    padding: 100px 0;
}

.section-dark {
    background: var(--nm-navy);
    color: var(--nm-white);
}

.section-light {
    background: var(--nm-offwhite);
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--nm-blue);
    margin-bottom: 1rem;
    position: relative;
    padding: 4px 0;
}

.section-dark .section-badge {
    color: var(--nm-gold);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--nm-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.elegant-divider {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2rem;
}

.elegant-divider span {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--nm-blue), var(--nm-gold));
    border-radius: 2px;
}

/* ---- Intro Section ---- */
.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--nm-gray-600);
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--nm-navy);
    font-weight: 500;
    padding: 1.5rem;
    border-left: 4px solid var(--nm-gold);
    background: var(--nm-offwhite);
    border-radius: 0 8px 8px 0;
}

/* ---- Image Grid ---- */
.image-grid {
    position: relative;
    padding: 2rem;
}

.grid-img-main {
    width: 85%;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
}

.grid-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    border: 4px solid var(--nm-navy);
}

/* ---- Content Block ---- */
.content-block {
    padding: 2rem 0;
}

.content-block .lead {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
}

.opacity-85 {
    opacity: 0.85;
}

/* ---- Service Cards ---- */
.service-card {
    background: var(--nm-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--nm-blue), var(--nm-glacier));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(30, 96, 145, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nm-gold), #c8922a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--nm-white);
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--nm-gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nm-blue);
}

.service-link:hover {
    color: var(--nm-navy);
}

.service-link i {
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ---- Gallery ---- */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 24, 36, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay i {
    color: var(--nm-white);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Gallery Page - Full Gallery */
.gallery-page .gallery-item {
    aspect-ratio: auto;
}

.gallery-masonry .gallery-item img {
    height: auto;
}

/* ---- About Preview ---- */
.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
}

.about-image-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--nm-blue);
    color: var(--nm-white);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.about-image-badge .years {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ---- Statement Section ---- */
.section-statement {
    background: linear-gradient(135deg, var(--nm-navy) 0%, var(--nm-navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.section-statement::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
}

.statement-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-style: italic;
}

/* ---- CTA Section ---- */
.section-cta {
    background: var(--nm-offwhite);
    padding: 60px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--nm-blue) 0%, var(--nm-navy-light) 100%);
    border-radius: 20px;
    padding: 3rem;
    color: var(--nm-white);
    box-shadow: var(--shadow-strong);
}

.cta-card h3 {
    color: var(--nm-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

/* ---- Buttons ---- */
.btn-primary {
    background: var(--nm-blue);
    border-color: var(--nm-blue);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: var(--nm-navy-light);
    border-color: var(--nm-navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 96, 145, 0.35);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-width: 2px;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

.btn-light {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--nm-navy);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ---- Page Hero ---- */
.page-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center; /* overridden by inline style with focal point */
    background-repeat: no-repeat;
    /* Parallax/fixed disabled deliberately so the focal point set in admin
       always remains visible while scrolling. */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(12, 24, 36, var(--nm-hero-overlay-top, 0.35)),
        rgba(12, 24, 36, var(--nm-hero-overlay-bottom, 0.55))
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--nm-white);
}

.page-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--nm-white);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-content .breadcrumb {
    justify-content: center;
    margin-top: 1.5rem;
}

.page-hero-content .breadcrumb-item a {
    color: var(--nm-gold);
}

.page-hero-content .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Content Pages ---- */
.page-content {
    padding: 80px 0;
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.page-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--nm-offwhite);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-card h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nm-gold);
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--nm-gray-200);
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li i {
    color: var(--nm-blue);
    margin-right: 0.5rem;
}

/* ---- Oslo Page Specific ---- */
.oslo-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--nm-offwhite);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.oslo-feature:hover {
    background: var(--nm-white);
    box-shadow: var(--shadow-soft);
}

.oslo-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--nm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oslo-feature-icon i {
    color: var(--nm-white);
    font-size: 1.2rem;
}

.oslo-feature h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.oslo-feature p {
    font-size: 0.9rem;
    color: var(--nm-gray-600);
    margin: 0;
}

/* ---- Services Page ---- */
.service-detail-card {
    background: var(--nm-white);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--nm-blue);
}

.service-detail-card h3 {
    color: var(--nm-blue);
    margin-bottom: 1rem;
}

.service-detail-card .service-list {
    list-style: none;
    padding: 0;
}

.service-detail-card .service-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--nm-gray-200);
}

.service-detail-card .service-list li::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--nm-aurora-dark);
    font-size: 1rem;
}

/* ---- Contact Page ---- */
.contact-info-card {
    background: var(--nm-navy);
    color: var(--nm-white);
    border-radius: 16px;
    padding: 3rem;
    height: 100%;
}

.contact-info-card h4 {
    color: var(--nm-white);
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-item .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon i {
    color: var(--nm-gold);
    font-size: 1.2rem;
}

.contact-info-item h6 {
    color: var(--nm-gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.contact-form-card {
    background: var(--nm-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    height: 100%;
}

.form-control, .form-select {
    border: 2px solid var(--nm-gray-200);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
    border-color: var(--nm-blue);
    box-shadow: 0 0 0 4px rgba(30, 96, 145, 0.1);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--nm-heading);
    margin-bottom: 0.5rem;
}

/* ---- Guestbook ---- */
.guestbook-entry {
    background: var(--nm-white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--nm-gold);
    transition: var(--transition-smooth);
}

.guestbook-entry:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.guestbook-entry .quote-icon {
    color: var(--nm-gold);
    font-size: 2rem;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.guestbook-entry .author {
    font-weight: 700;
    color: var(--nm-heading);
    font-size: 1rem;
}

.guestbook-entry .date {
    color: var(--nm-gray-600);
    font-size: 0.85rem;
}

.guestbook-entry .stars {
    color: var(--nm-gold);
}

/* ---- Norway Page ---- */
.region-card {
    background: var(--nm-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.region-card .region-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.region-card .region-body {
    padding: 1.5rem;
}

.region-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.region-card p {
    color: var(--nm-gray-600);
    font-size: 0.95rem;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--nm-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 56px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--nm-gold);
    border-radius: 8px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-heading {
    color: var(--nm-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nm-gold);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--nm-gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--nm-gold);
    margin-right: 0.5rem;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    color: var(--nm-white);
    margin-right: 0.5rem;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--nm-gold);
    color: var(--nm-navy);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Lightbox ---- */
#lightboxModal .modal-content {
    background: transparent;
}

#lightboxModal img {
    max-height: 90vh;
    object-fit: contain;
}

/* ---- Back to Top Button ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--nm-blue);
    color: var(--nm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--nm-navy);
    transform: translateY(-3px);
}

/* ---- Admin Specific ---- */
.admin-panel {
    padding-top: 100px;
}

.admin-card {
    background: var(--nm-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.admin-card h4 {
    color: var(--nm-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nm-gold);
}

.admin-image-preview {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--nm-gray-200);
}

.admin-image-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--nm-gray-100);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2.2rem;
    }

    .carousel-caption-custom h2 {
        font-size: 2.5rem;
    }

    .carousel-caption-custom {
        left: 5%;
        bottom: 20%;
    }

    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .image-grid {
        padding: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }

    .carousel-caption-custom h2 {
        font-size: 1.8rem;
    }

    .carousel-caption-custom p {
        font-size: 1rem;
    }

    .page-hero {
        height: 50vh;
        min-height: 350px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .cta-card {
        padding: 2rem;
    }

    .grid-img-secondary {
        display: none;
    }

    .content-block {
        padding: 1rem 0;
    }

    .service-detail-card {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .carousel-caption-custom {
        left: 5%;
        right: 5%;
        bottom: 25%;
    }

    .carousel-caption-custom h2 {
        font-size: 1.5rem;
    }

    .highlight-text {
        font-size: 1.05rem;
        padding: 1rem;
    }
}

/* ---- Loading Animation ---- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nm-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--nm-white);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ---- Utility Classes ---- */
.text-gold {
    color: var(--nm-gold) !important;
}

.bg-navy {
    background: var(--nm-navy) !important;
}

.text-navy {
    color: var(--nm-navy) !important;
}

/* ---- Questions / FAQ style on Oslo/Services page ---- */
.question-block {
    background: var(--nm-offwhite);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--nm-gold);
}

.question-block h5 {
    color: var(--nm-blue);
    font-style: italic;
    margin-bottom: 0;
}

/* ---- GDPR Cookie Consent Bar ---- */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nm-navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 1rem 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent a {
    color: var(--nm-gold);
    text-decoration: underline;
}

.cookie-consent .btn {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .cookie-consent .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================================================
   Page-level dynamic gallery (carousel under main content of subpages)
   =================================================================== */
.page-gallery-block {
    margin: 3rem 0 1rem;
}
.page-gallery-block .page-gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--nm-navy);
    text-align: center;
}
.page-gallery-carousel {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(12, 24, 36, 0.18);
    background: #0c1824;
}
.page-gallery-carousel .carousel-item img {
    width: 100%;
    height: clamp(260px, 55vh, 560px);
    object-fit: cover;
    display: block;
}
.page-gallery-carousel .carousel-control-prev,
.page-gallery-carousel .carousel-control-next {
    width: 8%;
}

/* Region cards (Norvégia áttekintés) */
.region-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(12, 24, 36, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(12, 24, 36, 0.14);
}
.region-card .region-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.region-card .region-body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.region-card .region-body h4 {
    font-family: 'Playfair Display', serif;
    color: var(--nm-navy);
    margin-bottom: .6rem;
}
.region-card .region-body p {
    color: #495057;
    flex-grow: 1;
}
.region-card .service-link {
    margin-top: .75rem;
    font-weight: 600;
    color: var(--nm-blue);
    text-decoration: none;
}
.region-card .service-link:hover { color: var(--nm-gold); }

/* Profile picture (Rólam preview, etc.) */
.profile-img-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(12, 24, 36, 0.18);
}
.profile-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
/* ---- Blog Cards ---- */
.blog-card {
    background: var(--nm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(12, 24, 36, 0.15);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.blog-card-title a {
    color: var(--nm-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--nm-gold);
}

.blog-card-excerpt {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #212529;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    font-family: var(--font-heading);
    color: var(--nm-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h2 {
    font-size: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nm-gold);
}

.blog-post-content h3 {
    font-size: 1.5rem;
}

.blog-post-content h4 {
    font-size: 1.25rem;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--nm-gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #495057;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 2rem 0;
}

.blog-post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}