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

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: #066239; /* เขียวเข้มตามรูป */
    color: white;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.logo img {
    height: 150px; /* บังคับให้โลโก้สูงแค่ 40px แถบจะหดลงตามทันที */
    width: auto;
    display: block;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 300;
}

.btn-book {
    background: #a4cc3d; /* เขียวมะนาว */
    color: #1a432e !important;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: white;
}

.hero-content {
    display: flex;
    gap: 40px;
    align-items: center;
}



.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-text h1 {
    font-size: 2.5rem;
    color: #1a432e;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: #a4cc3d;
    color: #1a432e;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
}

/* Value Cards */
.values {
    padding: 50px 0;
}

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

.value-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.value-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Update Bar (Freshness) */
.update-bar {
    background: #e8f5c8;
    padding: 15px 0;
    text-align: center;
    border-left: 5px solid #a4cc3d;
}




.footer { 
    background: #066239; 
    color: white; 
    padding: 50px 0 20px; 
    margin-top: 50px;
 } 


 
.footer-wrap { 
    background: #066239; 
    color: white; 
     padding: 20px;
 } 



 .footer-bottom{
    text-align: center;
 }
.column {
  float: left;
  width: 33.33%;
  padding: 10px;
  /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}



/* ===== Mobile Navbar Fix ===== */
@media (max-width: 768px){

  .navbar{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo img{
    height: 56px;   /* ลดจาก 150px */
  }

  nav{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  nav a{
    margin-left: 0;        /* ยกเลิก margin เดิม */
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .btn-book{
    width: 90%;
    text-align: center;
  }
}