/* Responsive CSS for Germa Maritime Website */

/* Tablet and Mobile Styles */
@media (max-width: 1024px) {
  /* Header */
  #header {
    padding: 15px 0;
  }

  #header .logo img {
    max-height: 35px;
  }

  .nav-menu ul li {
    padding: 8px 0 8px 20px;
  }

  /* Hero Section */
  #hero {
    height: 70vh;
    background-attachment: scroll;
  }

  #hero h1 {
    font-size: 2.8rem;
  }

  #hero h2 {
    font-size: 1.2rem;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-title h3 {
    font-size: 28px;
  }

  /* Services */
  .services .icon-box {
    padding: 40px 25px;
  }

  .services .icon-box h4 {
    font-size: 20px;
  }

  /* Team */
  .team .member {
    margin-bottom: 30px;
  }

  .team .member .member-card {
    max-width: 300px;
  }

  /* Contact */
  .contact .info-box {
    padding: 30px 20px;
  }

  .contact .php-email-form {
    padding: 30px;
  }

  /* Fixed Social Icons */
  .fixed-social-icons {
    right: 15px;
  }

  .fixed-social-icons .social-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  /* Top Bar */
  #topbar {
    display: none;
  }

  /* Header */
  #header {
    top: 0;
    padding: 10px 0;
  }

  #header.header-scrolled {
    padding: 10px 0;
  }

  .nav-menu {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: block;
  }

  /* Hero Section */
  #hero {
    height: 100vh;
    text-align: center;
  }

  #hero .hero-content {
    flex-direction: column;
    justify-content: center;
  }

  #hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  #hero h2 {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  #hero .btn-get-started,
  #hero .btn-watch-video {
    font-size: 14px;
    padding: 12px 25px;
    margin: 5px;
  }

  /* Sections */
  section {
    padding: 40px 0;
  }

  .section-title {
    padding-bottom: 30px;
  }

  .section-title h2 {
    font-size: 12px;
  }

  .section-title h3 {
    font-size: 24px;
  }

  .section-title p {
    font-size: 16px;
  }

  /* About */
  .about .row {
    text-align: center;
  }

  .about .col-lg-6 {
    margin-bottom: 30px;
  }

  /* Services */
  .services .row {
    justify-content: center;
  }

  .services .icon-box {
    max-width: 300px;
    margin: 0 auto 30px auto;
  }

  /* Clients */
  .clients img {
    max-width: 50%;
  }

  /* Contact */
  .contact .row {
    flex-direction: column;
  }

  .contact .col-lg-6 {
    margin-bottom: 30px;
  }

  .contact .info-box {
    text-align: center;
  }

  .contact .php-email-form {
    padding: 25px;
  }

  .contact .php-email-form input,
  .contact .php-email-form textarea {
    font-size: 14px;
  }

  .contact .php-email-form button[type="submit"] {
    font-size: 16px;
    padding: 14px 40px;
  }

  /* Team */
  .team .member {
    margin-bottom: 40px;
  }

  .team .member .member-card {
    max-width: 280px;
  }

  .team .member .member-img {
    width: 100px;
    height: 100px;
  }

  .team .member .member-img img {
    width: 80px;
    height: 80px;
  }

  /* Fixed Social Icons */
  .fixed-social-icons {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0;
    right: auto;
    top: auto;
    transform: none;
  }

  .fixed-social-icons .social-icon {
    width: 45px;
    height: 45px;
    margin: 0 5px;
  }

  /* Back to Top */
  .back-to-top {
    bottom: 10px;
    right: 10px;
  }

  .back-to-top i {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  /* Hero Section */
  #hero h1 {
    font-size: 1.8rem;
  }

  #hero h2 {
    font-size: 0.9rem;
  }

  /* Sections */
  section {
    padding: 30px 0;
  }

  .section-title h3 {
    font-size: 20px;
  }

  .section-title p {
    font-size: 14px;
  }

  /* Services */
  .services .icon-box {
    padding: 30px 20px;
  }

  .services .icon-box h4 {
    font-size: 18px;
  }

  .services .icon-box p {
    font-size: 14px;
  }

  /* Contact */
  .contact .info-box {
    padding: 25px 15px;
  }

  .contact .info-box h3 {
    font-size: 20px;
  }

  .contact .info-box p {
    font-size: 14px;
  }

  .contact .php-email-form {
    padding: 20px;
  }

  .contact .php-email-form input,
  .contact .php-email-form textarea {
    padding: 15px;
  }

  .contact .php-email-form button[type="submit"] {
    padding: 12px 30px;
    font-size: 14px;
  }

  /* Team */
  .team .member .member-card {
    max-width: 250px;
  }

  .team .member .member-info h4 {
    font-size: 18px;
  }

  .team .member .member-info .position {
    font-size: 12px;
  }

  .team .member .member-info .contact-info p {
    font-size: 12px;
  }
}

/* Print Styles */
@media print {
  .fixed-social-icons,
  .back-to-top,
  .mobile-nav-toggle,
  #preloader {
    display: none !important;
  }

  body {
    background: white !important;
  }

  section {
    page-break-inside: avoid;
  }

  .section-title {
    margin-bottom: 20px;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --text-color: #000000;
    --bg-light: #ffffff;
  }

  .services .icon-box,
  .contact .info-box,
  .team .member .member-card {
    border: 2px solid #000000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #hero {
    background-attachment: scroll;
  }
}
