/* ===================================================================
   BASE + RESET
=================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body { color: #111827; background:#fff;}
img { max-width: 100%; height: auto; display:block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background:none; }


/* ===================================================================
   CONTAINER (Tailwind Accurate)
=================================================================== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media(min-width:640px){
    .container { max-width: 640px; padding-left:1.5rem; padding-right:1.5rem; }
}
@media(min-width:768px){
    .container { max-width: 768px; }
}
@media(min-width:1024px){
    .container { max-width: 1024px; }
}
@media(min-width:1280px){
    .container { max-width: 1280px; }
}

@media (min-width: 1024px) {
  #mobile-menu {
    display: none !important;
  }
}


/* ===================================================================
   UTILITY CLASSES 
=================================================================== */
.flex { display:flex; }
.flex-col { flex-direction:column; }
.flex-center { display:flex; justify-content:center; align-items:center; }
.flex-end { display:flex; justify-content:flex-end; align-items:center; }

.items-center { align-items:center; }
.justify-center { justify-content:center; }
.justify-between { justify-content:space-between; }

.w-full { width:100%; }
.h-full { height:100%; }

.hidden { display:none; }
.block { display:block; }

.text-center { text-align:center; }

.rounded { border-radius: .25rem; }
.rounded-full { border-radius:9999px; }

.shadow { box-shadow:0 1px 3px rgba(0,0,0,.1); }
.shadow-lg { box-shadow:0 10px 15px rgba(0,0,0,.15); }

.transition { transition:all .2s ease; }

.mt-20 { margin-top:1.25rem; }
.mb-40 { margin-bottom:2.5rem; }

/* ===================================================================
   TYPE
=================================================================== */
 .hero-title,
    h1 {
        margin-top: 48px;
    }


    h1.hero-title {
        font-size: 2rem;
        line-height:1.2;
        font-weight:800;
        color:#fff;
    }

    @media(min-width:640px){
        h1.hero-title { font-size:2.75rem; }
    }
    @media(min-width:1024px){
        h1.hero-title { font-size:3.5rem; }
    }

    h2 {
        font-size:1.875rem;
        font-weight:700;
        margin-bottom:.5rem;
    }

    h3 {
        font-size:1.25rem;
        font-weight:600;
    }

    p {
        font-size:1rem;
        line-height:1.6;
        color:#4b5563;
    }

/* ===================================================================
   COLORS
=================================================================== */
.bg-light { background:#f9fafb; }
.bg-white { background:#fff; }
.text-white { color:#fff; }
.text-dark { color:#111827; }

/* ===================================================================
   TOP CONTACT BAR
=================================================================== */
.top-contact-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #111827;
    color: #fff;
    padding: 5px 0;
    font-size: 0.85rem;
}

.contact-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}


.contact-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-left a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    white-space: nowrap;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    margin-left: 0.5rem;
    display: none;
}


.contact-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.contact-info {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.contact-info i {
    margin-right: 6px;
    color: #facc15;
}


.top-contact-bar .contact-items {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.top-contact-bar .contact-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    gap: 1rem;
}

.top-contact-bar span {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.btn-blue {
    background:#2563eb;
    color:white;
    padding:.5rem 1rem;
    border-radius:.25rem;
    font-size:.875rem;
    margin-left: 10px;
}

@media (max-width: 767px) {
    .top-contact-bar .contact-mobile {
        justify-content: center; 
    }

    .contact-left {
        justify-content: center;
    }
}



@media (max-width: 768px) {

    /* ===== TOP CONTACT BAR ===== */
    .top-contact-bar {
        font-size: 0.75rem;
        padding: 2px 0;
        line-height: 1;
    }

    /* Remove container padding influence */
    .top-contact-bar .container {
        padding: 0;
    }

    /* Main layout */
    .contact-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        text-align: center;
    }

    /* Stack phone + email */
    .contact-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        line-height: 1.1;
    }

    /* Phone */
    .contact-left a:first-child {
        order: 1;
        font-size: 0.75rem;
    }

    /* ✨ Email centered */
    .contact-email {
        order: 2;
        font-size: 0.72rem;
        opacity: 0.9;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        line-height: 1.1;
    }

    /* Icons */
    .contact-left i {
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    /* CTA button */
    .btn-blue {
        order: 3;
        margin-top: 2px;
        padding: 0.35rem 0.8rem;
        font-size: 0.7rem;
        line-height: 1;
        border-radius: 2px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===================================================================
   DESKTOP DROPDOWN
=================================================================== */
/* ===== DROPDOWN (Kontak) ===== */
.menu-item {
    position: relative;
}

.has-dropdown {
    display: inline-block;
}

/* Button trigger */
.dropdown-trigger {
    background: none;
    border: none;
    font-size: 1rem;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dropdown container */
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #ffffff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    padding: .5rem 0;
    display: none;
    z-index: 999;
}

/* SHOW ONLY WHEN CLICKED */
.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

/* Dropdown links */
.dropdown-menu a {
    display: block;
    padding: .65rem 1rem;
    font-size: .95rem;
    color: #111827;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
    color: #1e3a8a;
}

.dropdown-menu,
.lang-menu {
    position: absolute;
    z-index: 20000;
}

/* MOBILE DROPDOWN FIX */
@media (max-width: 768px) {
    #mobile-menu .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    #mobile-menu .has-dropdown.open .dropdown-menu {
        display: block;
    }

    #mobile-menu .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        font-weight: 600;
    }
}

/* ===================================================================
   NAVBAR
=================================================================== */
   .navbar {
    position: fixed;
    top: 50px; 
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .navbar {
        top: 50px !important;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}




/* Desktop Menu */
.menu-desktop {
    display: none;
    gap: 1.75rem;
    align-items: center;
}

.menu-desktop a {
    color: #111827;
    font-size: 1rem;
    transition: .2s;
}
.menu-desktop a:hover {
    color: #2563eb;
}

.round-yellow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #facc15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.round-yellow:hover {
    background: #eab308;
}

.mobile-menu-btn {
    font-size: 1.5rem;
    color: #111827;
}

/* Desktop breakpoint */
@media (min-width:1024px) {
    .menu-desktop { display: flex; }
    .mobile-menu-btn { display: none; }
}


.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 1.5rem;
    color: #111827;
}

/* DESKTOP BREAKPOINT */
@media (min-width:1024px) {
    .menu-desktop { display: flex; }
    .mobile-menu-btn { display: none; }
}



@media (max-width: 767px) {
    .nav-container {
        display: flex;
        align-items: flex-start; /* move items to top */
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .nav-actions-mobile {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .nav-actions-mobile .mobile-menu-btn {
        margin: 0;
    }
}

/* MOBILE NAV ACTIONS */
.nav-actions-mobile {
    display: none;
}

@media (max-width: 1023px) {
    .nav-actions-mobile {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .mobile-lang-selector button {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 0.9rem;
        font-weight: 600;
    }
    }


/* ===================================================================
   LANGUAGE SELECTOR
=================================================================== */
.lang-selector {
    position: relative;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .25rem;
    min-width: 120px;
    padding: .5rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.lang-selector:focus-within .lang-menu {
    display: block;
}

.lang-menu a {
    display: block;
    padding: .5rem 1rem;
}

.lang-menu a:hover {
    background: #f3f4f6;
}

@media (min-width: 1024px) {
.mobile-lang-selector {
    display: none !important;
}
}

/* ===================================================================
   MOBILE MENU
=================================================================== */
.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 1.25rem;
    position: fixed;
    top: 120px; 
    left: 0;
    width: 100%;
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - 110px);
}

.hidden {
    display: none;
}

.mobile-lang {
    display: flex;
    gap: .5rem;
    margin-top: .5rem;
}

.mobile-btn-yellow {
    background: #facc15;
    padding: .75rem;
    border-radius: .25rem;
    text-align: center;
}

/* Hide mobile menu on desktop */
@media (min-width:1024px) {
    #mobile-menu { display: none !important; }
}

/* ===================================================================
   BLOG DETAIL
=================================================================== */

.blog-article {
  max-width: 760px;
  margin: 6rem auto 3rem;  
  margin-top: 140px;
}


/* ===== Header ===== */

#blog-detail {
  margin-top: 5rem;
  padding-top: 1rem;
}

.blog-header {
  margin-bottom: 2rem;
}

.blog-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #111827;
  margin-bottom: .75rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: #6b7280;
}

.blog-category {
  color: #2563eb;
  font-weight: 600;
}

/* ===== Hero Image ===== */
.blog-hero {
  max-width: 900px;
  margin: 2rem auto;
}

.blog-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;  
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Mobile */
@media (max-width: 768px) {
  .blog-hero img {
    max-height: 240px;
  }
}

/* ===== Company Link ===== */  

.company-link {
  color: #0B6FA4; /* water blue */
  text-decoration: none;
  font-weight: 500;
}

.company-link:hover {
  color: #084F75;
  text-decoration: underline;
}


/* ===== Content ===== */
.blog-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374151;
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  margin-top: 2.25rem;
  margin-bottom: .75rem;
}

.blog-content ul {
  margin: 1.25rem 0 1.25rem 1.25rem;
}

.blog-content li {
  margin-bottom: .5rem;
}

/* ================================
    Back Button
================================ */

.back-wrapper {
  display: flex;
  justify-content: center;
  margin: 3rem 0 4rem;
}

.back-link {
  display: inline-flex;   
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.5rem;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-weight: 600;
  color: #111827;
  transition: all .25s ease;
}

.back-link i {
  transition: transform .25s ease;
}

.back-link:hover {
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.back-link:hover i {
  transform: translateX(-6px);
}

/* ===================================================================
   FOOTER
=================================================================== */
.footer {
    background:#111827;
    color:white;
    padding:3rem 0 1.5rem;
}

.footer p{
    color:white
}

.footer-grid {
    display:grid;
    gap:2rem;
}

@media(min-width:768px){
    .footer-grid {
        grid-template-columns:1fr 1fr;
    }
}

.footer h4 {
    font-size:1.125rem;
    font-weight:600;
    margin-bottom:.75rem;
}

.footer a {
    display:block;
    margin-bottom:.5rem;
    color:#e5e7eb;
    font-size:.95rem;
}
.footer a:hover {
    color:#facc15;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    font-size: .875rem;
    margin-top: 2rem;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: .75rem;
}

.social-links a {
    display: inline-flex; 
}

.social-links :hover {
    color: #facc15;
}
