/* 全局样式 */
@font-face {
  font-family: "BaskervilleOldFace";
  src: url("Fronts/baskerville-old-face.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "RageItalic";
  src: url("Fronts/rage-italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Dubai";
  src: url("Fronts/Dubai-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "BaskervilleOldFace", serif;
  color: #222;
}

a {
  text-decoration: none;
  color: #5a77a3;
}

a:hover {
  text-decoration: underline;
}

/* 顶部黑色提示栏 */
.top-bar {
  background: #000;
  color: white;
  text-align: center;
  font-family: "Dubai", serif;
  font-size: 14px;
  padding: 5px;
}

.top-bar a {
  color: #fff;
  font-weight: normal;
  text-decoration: underline;
}

/* Header */
.header {
  display: flex;
  justify-content: center;   /* 让中间内容居中 */
  align-items: center;
  padding: 15px 50px;
  position: relative;        /* 为右边 contact 定位做准备 */
  height: 110px;
}

/* Logo 区域（居中） */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.logo img {
  width: 50px;
  height: 50px;
}

.logo h1 {
  margin: 0;
  font-family: "BaskervilleOldFace", serif;
  font-size: 32px;
}

.logo p {
  margin: 0;
  margin-left: 40px;
  font-size: 14px;
  font-family: "RageItalic", cursive;
  font-style:italic;
}

/* Contact us 放在右边 */
.contact {
  position: absolute;   /* 绝对定位 */
  right: 50px;          /* 距离右边 50px */
  font-family: "BaskervilleOldFace", serif;
  font-size: 14px;
}


/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  border-bottom: 2px solid #d0d8e6;
  background: #fff;
}

.navbar a, .dropbtn {
  font-size: 18px;
  font-family: "BaskervilleOldFace", serif;
  color: #5a77a3;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* 下拉菜单容器 */
.dropdown {
  position: relative;
  display: inline-block;
}

/* 下拉内容 */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 6px;
  padding: 10px 0;
}

/* 下拉菜单里的链接 */
.dropdown-content a {
  color: #5a77a3;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #f0f4f9;
}

/* 鼠标移到 Our Products 时显示下拉 */
.dropdown:hover .dropdown-content {
  display: block;
}


/* ===== 航运页面特有样式 ===== */
.shipping-hero {
    background: linear-gradient(135deg, #5c7693 0%, #2f3a4a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.shipping-hero h1 {
    font-family: "Baskerville Old Face", serif;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.shipping-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.shipping-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.region-section {
    margin-bottom: 50px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.region-title {
    font-family: "Baskerville Old Face", serif;
    font-size: 2.2rem;
    color: #2f3a4a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #5c7693;
    text-align: center;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.country {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    color: #2f3a4a;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.country:hover {
    background: #5c7693;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 118, 147, 0.3);
}

/* ===== 航运信息卡片 ===== */
.shipping-info {
    padding: 60px 0;
    background: white;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-family: "Baskerville Old Face", serif;
    font-size: 1.5rem;
    color: #2f3a4a;
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .shipping-hero {
        padding: 60px 0;
    }
    
    .shipping-hero h1 {
        font-size: 2.2rem;
    }
    
    .region-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .region-title {
        font-size: 1.8rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .country {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar {
        gap: 20px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .shipping-content {
        padding: 40px 0;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .country {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .info-card {
        padding: 30px 20px;
    }
}