/* 
    PT. Arya Putra Mandiri Karawang (PT. APMK)
    Corporate Style Sheet
    Theme: Navy Blue (#0a2351) & Gold (#ffcc00)
*/

:root {
  --navy-blue: #0a2351;
  --navy-light: #16366d;
  --gold: #ffcc00;
  --gold-dark: #e6b800;
  --white: #ffffff;
  --light-bg: #f4f7f6;
  --text-dark: #2d3436;
  --text-muted: #636e72;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.navbar-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

/* --- Navbar --- */
.navbar {
  background-color: var(--navy-blue);
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--white) !important;
  letter-spacing: 1px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

.btn-nav {
  background-color: var(--gold);
  color: var(--navy-blue);
  font-weight: 700;
  border-radius: 5px;
  padding: 8px 20px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(to right, rgba(5, 20, 48, 0.9) 0%, rgba(5, 20, 48, 0.4) 100%), url('https://sewajasa.intikonstruksi.com/wp-content/uploads/2024/06/pexels-photo-8671344.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* --- Utility Section Styling --- */
section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.title-line {
  width: 60px;
  height: 4px;
  background-color: var(--gold);
  margin: 15px auto;
}

/* --- Review Cards --- */
.review-card {
  border: none;
  border-radius: 12px;
  padding: 30px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stars {
  color: var(--gold);
  margin-bottom: 15px;
}

/* --- Contact & Map --- */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
  display: flex;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(10, 35, 81, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-blue);
  font-size: 1.2rem;
  margin-right: 20px;
}

/* --- Footer --- */
footer {
  background-color: #051430;
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 20px;
}

/* --- Service Cards --- */
.service-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--gold);
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 35, 81, 0.08) !important;
    border-color: #fff;
}

.service-img-container {
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.05);
}

/* --- Custom Slider CSS --- */
.project-slider::-webkit-scrollbar {
  display: none;
}
.project-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- Responsive Enhancements --- */
.about-img {
    height: 500px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .about-img {
      height: 400px;
  }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero {
        text-align: center;
        padding-top: 80px;
    }
    .hero .offset-lg-1 {
        margin-left: 0;
    }
    .hero .d-flex {
        justify-content: center;
        flex-direction: column;
    }
    .hero .btn {
        width: 100%;
    }
    .display-5 {
        font-size: 2rem;
    }
    .display-6 {
        font-size: 1.8rem;
    }
    .about-img {
        height: 300px;
    }
    .project-slider .project-item {
        /* Show 1 full item and a peek of the next on mobile */
        flex: 0 0 85% !important; 
    }
}

