/* Seaworks Theme Variables - Matching Logo Colors */
:root {
  --bg-primary: #0A1628;
  --bg-secondary: #162844;
  --bg-overlay: rgba(255, 255, 255, 0.05);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: #7A8BA5;
  --border-subtle: rgba(255, 255, 255, 0.15);
  --border-medium: rgba(255, 255, 255, 0.25);
  --brand-blue: #0052A5;
  --brand-red: #D32F2F;
  --brand-green: #2E7D32;
  --brand-primary: #0052A5;
  --brand-hover: rgba(0, 82, 165, 0.15);
  --brand-active: #003D7A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Header Styles */
.dark-header {
  background: rgba(74, 144, 226, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 7.6923%;
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.dark-header.header-scrolled {
  background: rgba(74, 144, 226, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  text-decoration: none;
}

.header-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.dark-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.dark-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.dark-nav-link:hover {
  color: #FFFFFF;
}

.dark-nav-link.active {
  color: #FFFFFF;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  font-size: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(74, 144, 226, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  gap: 16px;
}

.mobile-menu.show {
  display: flex;
}

.mobile-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  padding: 12px;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #FFFFFF;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  padding: 0 7.6923%;
  width: 100%;
}

.hero-text-container {
  max-width: 800px;
}

.hero-title {
  font-size: 66px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.62px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 0px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  min-height: 56px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.2;
  letter-spacing: 0;
}

.btn-primary:hover {
  background: var(--brand-active);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 82, 165, 0.4);
}

.btn-primary:active {
  background: #002952;
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(0, 82, 165, 0.15);
  color: #FFFFFF;
  border: 2px solid var(--brand-blue);
  border-radius: 0px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  min-height: 56px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.2;
  letter-spacing: 0;
}

.btn-secondary:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

.btn-secondary:active {
  background: var(--brand-active);
  transform: scale(0.98);
}

/* Section Styles */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 7.6923%;
}

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

.section-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* About Section */
.about-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  color: var(--brand-red);
  flex-shrink: 0;
  font-size: 32px;
}

.stat-number {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-image-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

/* Services Section */
.services-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-blue);
  box-shadow: 0 8px 32px rgba(0, 82, 165, 0.3);
}

.service-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.service-content {
  padding: 32px;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 82, 165, 0.15);
  margin-bottom: 20px;
}

.service-icon {
  color: var(--brand-blue);
  font-size: 32px;
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.service-full-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Projects Section */
.projects-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.projects-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

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

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.project-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-year-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--brand-red);
  color: #FFFFFF;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}

.project-content {
  padding: 40px;
}

.project-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.project-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 20px;
}

.carousel-btn:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

.carousel-btn-prev {
  left: -60px;
}

.carousel-btn-next {
  right: -60px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--brand-blue);
  width: 32px;
  border-radius: 6px;
}

/* Why Choose Us Section */
.why-choose-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.why-choose-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 40px;
  transition: all 0.4s ease-in-out;
}

.why-choose-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
}

.why-icon-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 82, 165, 0.15);
  margin-bottom: 24px;
}

.why-icon {
  color: var(--brand-blue);
  font-size: 40px;
}

.why-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.why-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Clients Section */
.clients-section {
  background: var(--bg-primary);
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.client-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.client-card:hover {
  border-color: var(--brand-blue);
  background: rgba(0, 82, 165, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 82, 165, 0.2);
}

.client-logo-image {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.client-card:hover .client-logo-image {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

.client-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.client-card:hover .client-name {
  color: var(--text-primary);
}

/* News Section */
.news-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.news-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  transition: all 0.4s ease-in-out;
}

.news-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-4px);
}

.news-header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.news-category,
.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.news-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.news-read-more {
  background: none;
  border: none;
  color: var(--brand-blue);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.news-read-more:hover {
  gap: 12px;
  color: var(--brand-red);
}

/* Contact Section */
.contact-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-info-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 24px;
}

.contact-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
}

.map-container {
  width: 100%;
  margin-top: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 0px;
  overflow: hidden;
}

.map-container iframe {
  display: block;
}

/* Contact Form */
.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 40px;
}

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

.form-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-submit-btn {
  width: 100%;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  display: none;
}

.form-message.success {
  background: rgba(46, 125, 50, 0.2);
  border: 1px solid var(--brand-green);
  color: var(--brand-green);
  display: block;
}

.form-message.error {
  background: rgba(211, 47, 47, 0.2);
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  display: block;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 7.6923%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

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

.footer-links a {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text-secondary);
}

.footer-contact i {
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-legal a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

.footer-separator {
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .carousel-btn-prev {
    left: 20px;
  }
  
  .carousel-btn-next {
    right: 20px;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .dark-header {
    padding: 16px 20px;
    height: 70px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-section {
    margin-top: 70px;
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .section-container {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-subtitle {
    font-size: 18px;
  }
  
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .project-image-container {
    height: 300px;
  }
  
  .project-content {
    padding: 24px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
