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

:root {
  --brand: #67d0e0;    
  --accent: #5eadb4;   
  --muted: #888;
  --card-bg: #ffffff;
  --page-width: 1400px; 
  --radius: 8px;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #212121;
}

body.home-page { background-color: #f4f8f7; }
body.about-page { background-color: #fdf8e1; }
body.attractions-page { background-color: #e3f2fd; }
body.beaches-page { background-color: #fff9c4; }
body.contact-page { background-color: #fce4ec; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 15px;
}

p {
  margin-bottom: 10px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

header {
  background: var(--brand);
  color: white;
  padding: 0.4rem 0;
  text-align: center;
}

header h1 {
  margin: 0;
  color: white;
}

header h1 .site-title {
  color: white;
  text-decoration: none;
  font-size: 2em;
}

header h1 .site-title:hover {
  color: #ebe12a;
}

.site-title .subtitle {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.7em;
  font-weight: 400;
  color: #f20707;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

.main-grid {
  display: grid;
  grid-template-columns: 280px 1fr; 
  gap: 30px;
  max-width: var(--page-width); 
  margin: 30px auto; 
  padding: 0 20px; 
}

.left-sidebar {
  position: -webkit-sticky; 
  position: sticky;
  top: 30px; 
  align-self: start; 
  background-color: var(--brand);
  color: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-height: 90vh; 
  overflow-y: auto; 
}

.sidebar-title {
  color: white;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.6em;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 10px;
}

.sidebar-nav .sidebar-btn {
  display: block;
  background-color: var(--accent);
  color: white;
  padding: 12px 15px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.sidebar-nav .sidebar-btn:hover {
  background-color: #0f1cd7; 
}

.main-content-area {
}

.sections-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 25px;
}

.section-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--card-bg);
  overflow: hidden; 
}

.section-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.section-card {
  padding: 0; 
}

.section-card .card-image {
  width: 90%;
  height: 380px; 
  object-fit: cover;
  border-radius: 0; 
}

.card-content {
  padding: 20px; 
}

.card-content h3 {
  color: var(--brand);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-content {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.page-content h2 {
  text-align: center;
  margin-bottom: 25px;
}

.content-image, .attraction-image {
  margin: 20px 0; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 80%;
  height: 300px; 
  object-fit: cover;
}

.attraction-item {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.attraction-item h3 {
  margin-top: 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%; 
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  box-sizing: border-box;
  font-size: 1em;
  font-family: 'Roboto', sans-serif;
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #ddda0c;
}

.contact-info {
  margin-top: 40px;
  padding: 20px;
  background-color: #e0f2f1;
  border-radius: var(--radius);
  text-align: center;
}

footer {
  background: #333;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.9em;
}

footer p {
  margin: 5px 0;
}

@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr; 
    margin: 20px auto;
    gap: 20px;
  }

  .left-sidebar {
    position: static; 
    max-height: none; 
  }

  .sidebar-nav ul {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 10px;
  }

  .sidebar-nav li {
    margin-bottom: 0;
  }

  .sidebar-nav .sidebar-btn {
    text-align: center;
  }
}