/* 
Nusantara Marine Services - Main Stylesheet
Colors:
- Primary: #002B5B (Deep Indonesian Blue)
- Secondary: #E94560 (Coral Red)
- Accent: #FFD700 (Traditional Gold)
*/

/* Base Styles and Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif', serif;
  margin-bottom: 1rem;
  color: #002B5B;
}

a {
  text-decoration: none;
  color: #002B5B;
  transition: all 0.3s ease;
}

a:hover {
  color: #E94560;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #E94560;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #d03a53;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #002B5B;
}

.btn-primary:hover {
  background-color: #00234a;
}

.btn-accent {
  background-color: #FFD700;
  color: #002B5B;
}

.btn-accent:hover {
  background-color: #e6c200;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto;
}

/* Header and Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Noto Serif', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #002B5B;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 600;
  position: relative;
}

.nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #E94560;
  transition: width 0.3s ease;
}

.nav-menu a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #002B5B;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Services Section */
.services {
  background-color: white;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 20px;
}

.service-card h3 {
  color: #002B5B;
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 20px;
}

/* About Section */
.about {
  background-color: #f9f9f9;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1 1 500px;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Apply Section */
.apply {
  background-color: white;
}

.apply-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.apply-text {
  flex: 1 1 400px;
}

.apply-form {
  flex: 1 1 500px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #002B5B;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Noto Sans', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #002B5B;
}

.form-group .file-input {
  background-color: white;
  padding: 12px;
  border: 1px dashed #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}

.payment-options {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.payment-option {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover,
.payment-option.active {
  border-color: #002B5B;
  background-color: rgba(0, 43, 91, 0.05);
}

/* News and Blog Sections */
.news, .blog {
  background-color: #f9f9f9;
}

.post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.post-card {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-content {
  padding: 20px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #777;
}

.post-category {
  display: inline-block;
  padding: 3px 10px;
  background-color: #FFD700;
  color: #002B5B;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-card h3 {
  margin-bottom: 10px;
}

.post-card p {
  margin-bottom: 20px;
}

/* Contact Section */
.contact {
  background-color: white;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: #002B5B;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-form {
  flex: 1 1 500px;
}

.map {
  margin-top: 30px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: #002B5B;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 30px;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #FFD700;
  margin-top: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: #FFD700;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #FFD700;
  color: #002B5B;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .about-content, 
  .apply-content, 
  .contact-content {
    gap: 30px;
  }
  
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 10px 15px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .hero {
    height: 90vh;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .service-card,
  .post-card {
    max-width: 100%;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.accent-text {
  color: #E94560;
}

.highlight {
  background-color: rgba(255, 215, 0, 0.2);
  padding: 2px 5px;
  border-radius: 3px;
}
