/*------------------------------------------*/
/*  Custom Styles for Kadin Gresik - Bootstrap 5
/*------------------------------------------*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #0A9FD8;
  --secondary-color: #444;
  --text-color: #212529;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
  --dark-bg: #222;
}


/* Custom Body & Background */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff; /* default putih */
}

/* Top Bar Custom */
.top-bar {
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.top-bar .contact-details a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar .contact-details a:hover {
  color: var(--primary-color);
}

/* Navbar Custom */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* Custom styles for navbar (from previous code) */
.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item:hover {
  background-color: #0A9FD8;
  color: white;
}

.nav-link.active {
  color: #0A9FD8 !important;
  font-weight: 600;
}
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1); /* Sedikit memperbesar saat dihover */
}
/* Meningkatkan kontras pada ukuran kecil */
@media (max-width: 576px) {
    .navbar-brand img {
        width: 50px; /* Lebih kecil pada mobile */
    }
}

/* Service Box Custom */
.kadin-service-box {
  margin-bottom: 35px;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.kadin-service-box:hover {
  transform: translateY(-5px);
}

.kadin-service-icon-left .kadin-service-icon {
  float: left;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
}

.kadin-service-icon-left .kadin-service-content {
  padding-left: 65px;
}

/* Portfolio Custom */
.portfolio-filter {
  margin-bottom: 30px;
  text-align: center;
}

.portfolio-filter li {
  display: inline-block;
  margin: 0 5px;
}

.portfolio-filter li a {
  display: block;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-filter li a:hover,
.portfolio-filter li a.selected {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.portfolio-item {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.portfolio-item:hover .portfolio-thumb .thumb-overlay {
  background: rgba(10, 159, 216, 0.8);
}

/* Blog Custom */
.blog-post {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.blog-post .post-type {
  position: absolute;
  left: 0;
  top: 5px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
/* Footer Styles */
.footer {
    background-color: #0077be;
    color: #ffffff;
    padding: 50px 0;
}

.footer h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #ffd700;
}

.footer-widget {
    margin-bottom: 35px;
}

/* Footer Styles */
.footer {
    background-color: #0077be;
    color: #ffffff;
    padding: 50px 0;
}

.footer h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #ffd700;
}

/* Logo Widget Styling */
#logo-bawah {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

#logo-bawah img {
    width: 25%;
    max-width: 150px;
    transition: transform 0.3s ease;
}

#logo-bawah img:hover {
    transform: scale(1.05);
}

/* Address Widget Styling */
#alamat {
    text-align: left;
}

#alamat ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#alamat ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#alamat ul li span {
    min-width: 60px;
    font-weight: 600;
    color: #ffd700;
}

#alamat ul li {
    display: flex;
    align-items: flex-start;
}


#alamat ul li i {
    margin-right: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(255, 215, 0, 0.1); /* Latar belakang semi-transparan */
}

/* Other Widgets (Menu, News, Social) remain the same */

/* Menu Widget */
.menu-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-widget ul li {
    margin-bottom: 10px;
}

.menu-widget ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-widget ul li a:hover {
    color: #ffd700;
}

/* News Widget */
.news-widget .post-row {
    display: flex;
    margin-bottom: 20px;
}

.news-widget .left-meta-post {
    margin-right: 15px;
}

.news-widget .post-date {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 4px;
}

.news-widget .day {
    font-size: 18px;
    font-weight: 600;
    display: block;
}

.news-widget .month {
    font-size: 14px;
    text-transform: uppercase;
}

.news-widget .post-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.news-widget .post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-widget .post-title a:hover {
    color: #ffd700;
}

/* Social Icons */
.social-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.social-widget ul li {
    margin-right: 15px;
}

.social-widget ul li:last-child {
    margin-right: 0;
}

.social-widget ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-widget ul li a:hover {
    background-color: #ffd700;
    color: #0077be;
    transform: translateY(-3px);
}



/* Copyright Section */
.copyright-section {
    background-color: #1a1a1a; /* Latar belakang hitam pekat */
    color: #ffffff; /* Teks putih */
    padding: 20px 0;
    margin-top: 0px; /* Ruang antara footer dan copyright */
}

.copyright-section p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8; /* Transparansi untuk tampilan elegan */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ffd700;
    color: #0077be;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #ffc107;
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer {
        padding: 40px 0;
    }

    .news-widget .post-row {
        flex-direction: column;
    }

    .news-widget .left-meta-post {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .footer h4 {
        font-size: 16px;
    }

    .contact-widget ul li {
        flex-direction: column;
    }

    .contact-widget ul li span {
        margin-bottom: 5px;
    }

    .social-widget ul {
        justify-content: center;
    }
}
/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .kadin-service-icon-left .kadin-service-icon {
    float: none;
    margin: 0 auto 15px;
  }
  
  .kadin-service-icon-left .kadin-service-content {
    padding-left: 0;
    text-align: center;
  }


/* =========================================
   BREADCRUMB SECTION GLOBAL
   ========================================= */
.breadcrumb-section {
  background: #0056b3; /* warna biru solid */
  padding: 40px 0;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.breadcrumb-section h2,
.breadcrumb-section p,
.breadcrumb-section .breadcrumb,
.breadcrumb-section .breadcrumb a,
.breadcrumb-section .breadcrumb-item.active {
  color: #ffffff; /* teks putih agar jelas */
}

.breadcrumb-section .breadcrumb a:hover {
  color: #ffd700; /* kuning saat hover */
}

/* Untuk jika ingin background gambar */
.breadcrumb-section.with-image {
  background: url('../images/patterns/1.png') center center no-repeat;
  background-size: cover;
}

.breadcrumb-section {
  min-height: 100px;
  background: red !important; /* TEST */
}

body .breadcrumb-section {
  background: #0099cc !important; /* warna biru solid */
  padding: 40px 0;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
