:root {
    --brand-primary: #0F4C75;         /* 보다 깊고 고급스러운 네이비 */
    --brand-secondary: #BBE1FA;       /* 고급 요트 느낌의 깊은 블루 */
    --text-on-dark: #e5eaef;          /* 어두운 배경에 더 선명한 텍스트 */
    --body-background: #1B262C;       /* 더 밝고 전문적인 배경색 */
    --button-accent: #0096c7;         /* 보다 세련된 아쿠아 블루 */
    --text-dark: #0a2342;             /* 더 깊고 선명한 텍스트 */
    --text-white: #ffffff;            /* 흰색 그대로 유지 */
    --text-subdued: #5c6a7a;          /* 전문적인 느낌의 부드러운 텍스트 */
    --button-primary: #1e7fbd;        /* 덜 튀는 신뢰감 있는 블루 */
    --card-background: #ffffff;       /* 카드는 완전한 화이트로 */
    --text-secondary: #546a7b;        /* 보다 세련된 보조 텍스트 색상 */
}
  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
h1, h2, h3 {
    font-family: 'Inter', sans-serif;
}
  
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--body-background);
    color: var(--text-dark);
}

p, label, input, button {
    font-family: 'Lato', sans-serif;
}
  
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
  
header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand-secondary);
}
  
.logo span {
    color: var(--button-primary);
}
  
nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-on-dark);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}
  
nav a:hover {
    color: var(--button-primary);
}
  
.mobile-menu-btn,
.close-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--brand-primary);
}
  
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('./images/hero-bg.jpeg') center/cover no-repeat;
    position: relative;
    z-index: 0;
}
  
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 31, 43, 0.6);
    z-index: 1;
}
  
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
  
h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to left, var(--button-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
  
.tagline {
    font-size: 22px;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}
  
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-primary);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
}
  
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 180, 216, 0.5);
}

/* Features section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
  
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--brand-secondary);
}
  
.feature-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 119, 182, 0.2);
}
  
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.3);
}
  
.feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--brand-secondary);
}
  
.feature-title {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Fleet section */
.fleet {
    background: rgba(0, 119, 182, 0.05);
    padding: 80px 0;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fleet .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.fleet .tagline {
    color: var(--text-on-dark);
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 100%; /* Ensures the text respects the parent container width */
}

.vessel-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vessel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vessel-card:hover .vessel-image {
    transform: scale(1.05);
}

.vessel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(10, 26, 47, 0.85), transparent);
    color: var(--text-white);
}
  
.vessel-title {
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--text-white);
}

/* Contact section */
.contact {
    padding: 80px 0;
}

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

.contact-info {
    padding: 30px 0;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--text-on-dark);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-on-dark)
}

.contact-info i {
    color: var(--text-on-dark);
    margin-right: 10px;
}

.contact-form {
    background: rgba(0, 119, 182, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 119, 182, 0.1);
}

.form-group {
    margin-bottom: 20px;
    color: var(--text-on-dark)
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 119, 182, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--brand-primary);
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-secondary);
}

textarea.form-control {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--button-primary) 0%, var(--brand-secondary) 100%);
    color: var(--text-white);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
}
  
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 119, 182, 0.5);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 119, 182, 0.2);
}

.copyright {
    font-size: 14px;
    color: var(--brand-primary);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    display: none;
}

.overlay.active {
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    h1 {
      font-size: 44px;
    }
    .tagline {
      font-size: 20px;
    }
}
  
@media (max-width: 768px) {
    .mobile-menu-btn {
      display: block;
    }
    nav {
      position: fixed;
      top: 0;
      right: -280px;
      width: 280px;
      height: 100vh;
      background: var(--brand-primary);
      flex-direction: column;
      padding: 80px 30px;
      transition: right 0.3s ease;
      z-index: 100;
    }
    nav.active {
      right: 0;
    }
    nav a {
      margin: 0 0 20px 0;
      font-size: 18px;
      color: var(--text-white);
    }
    .close-menu {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      color: var(--text-white);
      font-size: 24px;
      cursor: pointer;
      display: block;
    }
    .fleet-grid {
      grid-template-columns: 1fr;
    }
    .contact-wrap {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    h1 {
      font-size: 36px;
    }
    .tagline {
      font-size: 18px;
    }
    .section-title {
      font-size: 30px;
      margin-bottom: 40px;
    }
}
  
@media (max-width: 576px) {
    .features-grid {
      grid-template-columns: 1fr;
    }
    .hero {
      height: 70vh;
    }
    .vessel-card {
      height: 300px;
    }
    h1 {
      font-size: 32px;
    }
    .logo {
      font-size: 24px;
    }
    .feature-card {
      padding: 20px;
    }
    .contact-form {
      padding: 20px;
    }
}