/* 
=========================
US-Okinawa Styles
=========================
*/

/* Base Reset and Typography */
:root {
  --primary-color: #006994;       /* Ocean blue */
  --secondary-color: #8a5a44;     /* Terracotta - representing Okinawan pottery */
  --accent-color: #d4b483;        /* Sandy gold */
  --dark-color: #333333;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --light-text: #ffffff;
  --header-height: 80px;
  --container-max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

.section {
  padding: 100px 0;
}

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

.section-header p {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--dark-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  padding-top: var(--header-height);
  background: linear-gradient(rgba(0, 105, 148, 0.8), rgba(0, 105, 148, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="600" viewBox="0 0 1000 600"><rect width="1000" height="600" fill="%23006994"/><path d="M0,450 Q250,400 500,450 T1000,450 V600 H0 Z" fill="%238ecaed"/><path d="M0,500 Q250,450 500,500 T1000,500 V600 H0 Z" fill="%23d4b483"/><circle cx="800" cy="150" r="60" fill="%23ff9933"/><path d="M750,400 C800,350 850,300 900,350 C950,400 980,450 1000,500 V600 H700 V450 C700,425 725,425 750,400 Z" fill="%23006633"/><path d="M800,400 C800,390 805,385 810,385 S820,390 820,400 V600 H800 Z" fill="%23663300"/></svg>');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--light-text);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-btns {
  margin-top: 20px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-text h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  background-color: rgba(138, 90, 68, 0.1);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text h4 {
  margin-bottom: 5px;
  color: var(--secondary-color);
}

/* Culture Section */
.culture-section {
  background-color: #f1f8fb;
}

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

.culture-card {
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.culture-card:hover {
  transform: translateY(-10px);
}

.culture-icon {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(102, 58, 31, 0.1);
  border-radius: 50%;
}

.culture-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Travel Section */
.travel-section {
  background-color: #fff;
}

.travel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tip-item {
  display: flex;
  gap: 20px;
}

.tip-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 105, 148, 0.2);
  line-height: 1;
}

.tip-content h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.destination-card {
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 20px;
  transition: var(--transition);
}

.destination-card:hover {
  box-shadow: var(--box-shadow);
  transform: translateY(-5px);
}

.destination-icon {
  margin-bottom: 15px;
}

.destination-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.destination-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* News Section */
.news-section {
  background-color: #f1f8fb;
}

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

.news-column h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.news-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-list a {
  font-weight: 600;
  color: var(--secondary-color);
}

.news-list a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.date {
  font-size: 0.9rem;
  color: #777;
}

/* Contact Section */
.contact-section {
  background-color: #fff;
}

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

.contact-info h3,
.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.info-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  background-color: rgba(138, 90, 68, 0.1);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item h4 {
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(138, 90, 68, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
}

.social-links svg path, 
.social-links svg rect,
.social-links svg circle {
  transition: var(--transition);
}

.social-links a:hover svg path, 
.social-links a:hover svg rect,
.social-links a:hover svg circle {
  stroke: var(--light-text);
}

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

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

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 105, 148, 0.1);
}

/* Footer */
.footer {
  background-color: #003550;
  color: var(--light-text);
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 80px;
  margin-bottom: 15px;
}

.footer-logo h3 {
  color: var(--light-text);
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

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

.footer-column h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul li a {
  color: var(--light-text);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    flex-direction: column;
    background-color: var(--light-text);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    gap: 15px;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .about-content,
  .travel-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image {
    order: -1;
  }
  
  .destinations-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .news-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tip-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .section-header {
    margin-bottom: 40px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-btns .btn {
    display: block;
    margin-bottom: 15px;
    width: 100%;
  }
  
  .footer-links,
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  
  .culture-grid,
  .about-features {
    grid-template-columns: 1fr;
  }
}
