/* ============================================================
   DraytonIsland.com — Shared Stylesheet
   Theme: Natural / Earthy
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.75;
  color: #2d2416;
  background-color: #f5edd8;
}

a { color: #4a7a2e; text-decoration: none; }
a:hover { text-decoration: underline; color: #2d5a18; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', serif;
  color: #3a2a10;
  line-height: 1.3;
}

p { margin-bottom: 1.1em; }

/* --- Navigation --- */
nav {
  background-color: #2d4a1e;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  flex-wrap: wrap;
}

nav .nav-logo {
  font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', serif;
  font-size: 1.25rem;
  color: #e8d59a;
  font-weight: bold;
  padding: 0.75rem 0;
  letter-spacing: 0.03em;
  text-decoration: none;
}
nav .nav-logo:hover { text-decoration: none; color: #f5e8b0; }

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

nav ul li a {
  display: block;
  color: #c8e0a0;
  padding: 1rem 0.85rem;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f0e0a0;
  border-bottom-color: #c9a85c;
  text-decoration: none;
}

/* --- Page Hero Banner --- */
.hero {
  background: linear-gradient(135deg, #3a6b3a 0%, #5a7a3a 40%, #7a6030 100%);
  color: #f5edd8;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-home {
  background: linear-gradient(160deg, #1e3d1e 0%, #3a6b3a 35%, #6b8a3a 65%, #8a7030 100%);
  padding: 5rem 1.5rem 4.5rem;
}

.hero h1 {
  color: #f5edd8;
  font-size: 2.6rem;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
  position: relative;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #d4e8a8;
  font-style: italic;
  margin-bottom: 0;
  position: relative;
}

.hero-home h1 { font-size: 3.2rem; }
.hero-home .subtitle { font-size: 1.3rem; margin-top: 0.5rem; }

.hero-badge {
  display: inline-block;
  background: rgba(201,168,92,0.25);
  border: 1px solid rgba(201,168,92,0.6);
  color: #e8d59a;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-family: Verdana, Geneva, sans-serif;
  position: relative;
}

/* --- Main Content Container --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* --- Section Headings --- */
.section-title {
  font-size: 1.7rem;
  color: #3a4a1a;
  border-bottom: 2px solid #c9a85c;
  padding-bottom: 0.4rem;
  margin-bottom: 1.2rem;
  margin-top: 2.2rem;
}

.section-title:first-child { margin-top: 0; }

/* --- Cards (home page) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.card {
  background: #fff8ee;
  border: 1px solid #d4c090;
  border-radius: 6px;
  padding: 1.5rem 1.3rem;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(60,40,10,0.15);
  text-decoration: none;
  color: inherit;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.card h3 {
  font-size: 1.1rem;
  color: #3a4a1a;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: #5a4a30;
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Info Boxes --- */
.info-box {
  background: #eef5e0;
  border-left: 4px solid #5a8a3a;
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.3rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.info-box strong { color: #2d4a1e; }

.tip-box {
  background: #fdf5e0;
  border-left: 4px solid #c9a85c;
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.3rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}

/* --- Fact List --- */
.fact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.fact-list li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-bottom: 1px solid #e0d0a8;
  position: relative;
  font-size: 0.97rem;
}

.fact-list li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.fact-list li:last-child { border-bottom: none; }

/* --- Image Placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, #c8dda8 0%, #a8c888 50%, #88b870 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #3a5a2a;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  padding: 1rem;
  min-height: 200px;
  border: 2px dashed #7aaa5a;
}

.img-placeholder .ph-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

/* --- Merchandise Cards --- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.merch-card {
  background: #fff8ee;
  border: 1px solid #d4c090;
  border-radius: 6px;
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.merch-card .merch-icon { font-size: 2.5rem; margin-bottom: 0.6rem; }
.merch-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #3a4a1a; }
.merch-card p { font-size: 0.88rem; color: #5a4a30; margin-bottom: 0.9rem; }

.btn {
  display: inline-block;
  background: #4a7a2e;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: Verdana, Geneva, sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover { background: #2d5a18; text-decoration: none; color: #fff; }

.btn-outline {
  background: transparent;
  border: 2px solid #4a7a2e;
  color: #4a7a2e;
}

.btn-outline:hover { background: #4a7a2e; color: #fff; }

/* --- External Link indicator --- */
a[target="_blank"]::after {
  content: ' ↗';
  font-size: 0.8em;
  opacity: 0.7;
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid #d0b880;
  margin: 2rem 0;
}

/* --- Footer --- */
footer {
  background-color: #1e3010;
  color: #a8c080;
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.85rem;
  font-family: Verdana, Geneva, sans-serif;
}

footer a { color: #c8e090; }
footer a:hover { color: #e8f0a0; }

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-home h1 { font-size: 2.3rem; }
  nav .nav-inner { flex-direction: column; align-items: flex-start; }
  nav ul { gap: 0; width: 100%; overflow-x: auto; }
  nav ul li a { padding: 0.7rem 0.65rem; font-size: 0.75rem; }
}
