/*!
Theme Name: seaker
Theme URI: http://underscores.me/
Author: Underscores.me
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
Text Domain: seaker
*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #404040;
  background: #fff;
}

a {
  color: #4169e1;
  text-decoration: none;
}

a:hover, a:focus {
  color: #191970;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 40px;
  position: relative;
  z-index: 1000;
}

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

.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav .menu li {
  position: relative;
}

.main-nav .menu li a {
  text-decoration: none;
  font-weight: 600;
  color: #2c3e50;
  padding: 10px;
  transition: color 0.3s ease;
}

.main-nav .menu li a:hover {
  color: #0077b6;
}

/* Dropdown */
.main-nav .menu li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 99;
}

.main-nav .menu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .menu li ul.sub-menu li a {
  padding: 8px 15px;
  color: #333;
}

.main-nav .menu li ul.sub-menu li a:hover {
  background: #f2f2f2;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-outline {
  padding: 8px 20px;
  border: 2px solid #004466;
  border-radius: 30px;
  color: #004466;
  font-weight: 600;
}

.btn-solid {
  padding: 8px 20px;
  border-radius: 30px;
  background: #004466;
  color: #fff;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #0077cc;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #005fa3;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('<?php echo get_theme_mod("hero_bg", get_template_directory_uri()."/assets/img/hero-bg.jpg"); ?>') no-repeat center center/cover;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
}

/* Split headline (span-based animation) */
.hero-title span {
  display: inline-block;
  opacity: 0; /* GSAP will animate */
  transform: translateY(20px);
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
}

/*--------------------------------------------------------------
# Animations (fallback CSS)
--------------------------------------------------------------*/
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes bounceIn {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Hero Section Text Colors */
.hero-content .hero-title,
.hero-content .hero-subtitle {
    color: #ffffff !important; /* forces white color */
}

/* Optional: adjust subtitle font */
.hero-content .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
}

.about-us {
  padding: 80px 20px;
  background: #f9f9f9;
}

.about-us .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-us-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-us-text {
  flex: 1;
  min-width: 300px;
}

.about-us-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.about-us-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.about-us-image {
  flex: 1;
  min-width: 300px;
}

.about-us-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Mega Menu Base */
.main-nav .menu li {
  position: relative;
}

.main-nav .menu li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  padding: 20px 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  z-index: 9999;
}

/* Show on hover */
.main-nav .menu li:hover > ul.sub-menu,
.main-nav .menu li:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mega menu columns */
.mega-menu li {
  flex: 1 1 200px; /* auto-fit multiple columns */
  margin-bottom: 10px;
}

.mega-menu a {
  color: #2c3e50;
  font-weight: 500;
  padding: 8px 15px;
  display: block;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
}

.mega-menu a:hover {
  background: #f2f2f2;
  color: #0077b6;
}

/* About Us Layout */
.about-us {
  padding: 60px 0;
}

.about-us-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-us-text {
  flex: 1;
}

.about-us-image {
  flex: 1;
  position: relative; /* important for ship positioning */
}

.about-us-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

