/* ----------------------------------------------------------------
	Custom CSS - Professional Styling for Manorway Lodge
-----------------------------------------------------------------*/

:root {
  --primary-color: #1a365d;
  --secondary-color: #2c5282;
  --accent-color: #d4af37;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--primary-color);
}

/* Header Improvements */
#header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.mobile-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-menu-trigger:hover {
  background: var(--bg-light);
}

.menu-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Navigation */
.menu-link {
  position: relative;
  padding: 12px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.menu-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu-link:hover::after {
  width: 80%;
}

/* Page Sections */
.page-section {
  padding: 80px 0;
  position: relative;
}

.topmargin-lg {
  margin-top: 40px !important;
}

/* Hide empty sections */
.page-section:empty {
  display: none;
}

.page-section:not(:has(*)) {
  display: none;
}

.page-section:nth-child(even) {
  background: var(--bg-light);
}

/* Headings */
.heading-block {
  margin-bottom: 60px;
}

.heading-block h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

.heading-block.center h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-box {
  padding: 30px;
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-box img {
  border-radius: 8px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Buttons */
.button, .btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.button:hover, .btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: white;
}

/* Forms */
.form-control, .sm-form-control {
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.form-control:focus, .sm-form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
  outline: none;
}

/* Tables */
.table {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  border: none;
  padding: 16px;
}

.table td {
  padding: 12px 16px;
  border-color: var(--border-color);
}

.table-striped tbody tr:nth-of-type(odd) {
  background: var(--bg-light);
}

/* Blog/Entry Styles */
.entry {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.entry:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.entry-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.entry-content {
  padding: 24px;
}

.entry-title h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.entry-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.entry-meta i {
  margin-right: 6px;
  color: var(--accent-color);
}

/* Badges */
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.bg-danger {
  background: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .heading-block h2 {
    font-size: 2rem;
  }
  
  .page-section {
    padding: 60px 0;
  }
  
  .feature-box {
    margin-bottom: 30px;
  }
}

/* Loading Animation */
.loading-gif {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}


