/*
# Project:     Mallacoota Holidays ~ mallacootaholidays.com.au
# Author:      Colin Dixon BSc, DipEd, Cert IV TAE
# Contact:     crdixon@gmail.com
# Timestamp:   22/10/2025 01:48 PM AEDT (Mallacoota)
# Version:     [25.10.037]
# File Name:   style.css
# Description: Corrected styles for wide screen, header, buttons, and hover effects.
*/
:root {
  --font-family-sans: system-ui, -apple-system, "Segoe UI", "Roboto",
    "Helvetica Neue", "Arial", sans-serif;
  --border-radius: 12px;
  --spacing-unit: 1rem;
  --transition-speed: 0.3s;
  --max-width: 1400px; /* Wider max-width for content */
  --bg-color-light: #f0f2f5;
  --text-color-light: #1c1e21;
  --link-color-light: #0056b3;
  --glass-fill-light: rgba(255, 255, 255, 0.75);
  --glass-border-light: rgba(255, 255, 255, 0.5);
  --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
  --btn-bg-light: #007bff;
  --btn-text-light: #ffffff;
  --btn-hover-bg-light: #0056b3;
  --bg-color-dark: #121212;
  --text-color-dark: #e4e6eb;
  --link-color-dark: #66b0ff;
  --glass-fill-dark: rgba(40, 40, 40, 0.7);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  --shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --btn-bg-dark: #007bff;
  --btn-text-dark: #ffffff;
  --btn-hover-bg-dark: #0056b3;
}
[data-theme="light"] {
  --bg-color: var(--bg-color-light);
  --text-color: var(--text-color-light);
  --link-color: var(--link-color-light);
  --glass-fill: var(--glass-fill-light);
  --glass-border: var(--glass-border-light);
  --shadow: var(--shadow-light);
  --btn-bg: var(--btn-bg-light);
  --btn-text: var(--btn-text-light);
  --btn-hover-bg: var(--btn-hover-bg-light);
}
[data-theme="dark"] {
  --bg-color: var(--bg-color-dark);
  --text-color: var(--text-color-dark);
  --link-color: var(--link-color-dark);
  --glass-fill: var(--glass-fill-dark);
  --glass-border: var(--glass-border-dark);
  --shadow: var(--shadow-dark);
  --btn-bg: var(--btn-bg-dark);
  --btn-text: var(--btn-text-dark);
  --btn-hover-bg: var(--btn-hover-bg-dark);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}

/* --- General Layout --- */
body {
  font-family: var(--font-family-sans);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: background-color var(--transition-speed),
    color var(--transition-speed);
  display: flex;
  flex-direction: column;
}
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: calc(var(--spacing-unit) * 1.5);
  padding: var(--spacing-unit);
  width: 100%;
  padding-top: 6rem; /* Space for floating pills */
  padding-bottom: 2rem;
}
a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover {
  text-decoration: none; /* Removed underline */
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--glass-fill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  padding: calc(var(--spacing-unit) * 2);
  transition: background var(--transition-speed), border var(--transition-speed);
  width: 100%;
  max-width: var(--max-width); /* Uses the wider value */
}
.hero-card {
  text-align: center;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
}
p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}
.glass-card ul {
  list-style-position: inside;
  padding-left: 0.5rem;
}
.glass-card ul li {
  margin-bottom: 0.5rem;
}
.small-text {
  font-size: 0.9rem;
  opacity: 0.9;
}
.note-card {
  padding: 1.5rem;
}
.note-card p {
  margin-bottom: 0;
}

/* --- Responsive Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablet */
  }
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr); /* Desktop */
  }
}

@media (min-width: 1400px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr); /* Widescreen */
  }
}

.feature-card-link {
  text-decoration: none;
  color: var(--text-color);
}
.feature-card {
  background: var(--glass-fill);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.4);
}
.feature-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}
.feature-card p {
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* --- Social Button Row & Pill Button Link --- */
.social-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.social-button,
.pill-button-link {
  /* Apply styles to both */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* Reduced gap */
  background: var(--glass-fill); /* Match floating pills */
  color: var(--text-color);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem; /* Reduced padding */
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem; /* Match floating pills */
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  margin: 0 0.25rem;
  box-shadow: var(--shadow); /* Add shadow */
  backdrop-filter: blur(6px); /* Ensure consistent blur */
  -webkit-backdrop-filter: blur(6px);
}
.social-button:hover,
.pill-button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.4); /* Stronger hover shadow */
  text-decoration: none;
}
.social-button svg {
  width: 16px; /* Match floating pills */
  height: 16px;
  fill: currentColor;
}

/* --- Floating Pills --- */
.floating-pill {
  position: fixed;
  top: 1rem;
  z-index: 1000;
  background: var(--glass-fill);
  color: var(--text-color);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem; /* Standardized size */
}
.floating-pill:hover {
  text-decoration: none;
}
.pill-left {
  left: 1rem;
}
.pill-right {
  right: 1rem;
}
#theme-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* --- Header Logo Layout --- */
.header-title-row {
  display: flex;
  flex-direction: column; /* Stack logo above title */
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
.header-title-row img {
  height: 100px;
  width: auto;
}
.header-title-row h1 {
  margin: 0;
}

/* --- Footer --- */
footer {
  width: 100vw;
  left: 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-sizing: border-box;
  padding: 2rem 0;
  margin: 0;
  background: var(--glass-fill);
  backdrop-filter: blur(8px); /* Added blur for consistency */
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  max-width: 100%;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--max-width); /* Constrain content */
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}
.footer-section {
  text-align: center;
}
.footer-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
}
.footer-links-container .separator {
  display: none;
}
@media (min-width: 768px) {
  .footer-links-container .separator {
    display: inline;
  }
}
.social-links a {
  display: inline-block;
  margin: 0 0.75rem;
  color: var(--text-color);
  transition: color var(--transition-speed), transform 0.2s;
}
.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.social-links a:hover {
  transform: scale(1.1);
  color: var(--link-color);
  text-decoration: none;
}
.copyright-section {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
