/* Modern CSS - Four Strokes Of Luck
   Replaces deprecated inline styles and adds modern utilities
   ------------------------------------------------------------ */

/* Responsive Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 1em 0;
}

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

/* Text Alignment Utilities */
.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

/* Smooth image loading */
img[loading="lazy"] {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Form improvements */
input::placeholder,
textarea::placeholder {
  color: #888;
  opacity: 1;
}

input:focus,
textarea:focus {
  outline: 2px solid #f7941d;
  outline-offset: 2px;
}

/* Modern focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #f7941d;
  outline-offset: 2px;
}

/* Skip link for accessibility (hidden until focused) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #f7941d;
  color: #fff;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Site Navigation */
.site-nav {
  background: rgba(0, 0, 0, 0.9);
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-nav .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px; /* Match standard col-full */
  margin: 0 auto;
  padding: 0 1rem;
}

.site-nav .brand {
  font-family: 'Lobster', cursive;
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.site-nav .brand:hover {
  color: #f7941d;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #f7941d;
}

/* Adjust body padding to account for fixed nav */
body {
  padding-top: 70px;
}

/* Header adjustments */
#header {
  background-image: url(../uploads/2013/08/header-bg.jpg);
  background-repeat: no-repeat;
  background-position: top left;
  background-attachment: scroll;
  background-size: cover;
}

#header p {
  font: normal 6em/1em 'Just Me Again Down Here', arial, sans-serif;
  color: #ffffff;
}

/* Site title */
body #wrapper #header .site-title a {
  font: bold 70px/1em 'Lobster', arial, sans-serif;
  color: #000000;
}

/* Logo/title visibility overrides */
#logo img { display: none; }
.site-title { display: block !important; }
.site-description { display: none !important; }

/* Form styling */
#contact-area form input {
  color: #000;
}

/* Emoji styling */
img.wp-smiley,
img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

/* Form message styling */
.form-message {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Cloudflare Turnstile container */
.cf-turnstile {
  margin: 0.5rem 0;
}
