/* New Design Foundation Styles - Based on Lovable Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Color palette from the Lovable design */
  --primary: #1a3b5c;     /* Deep blue */
  --secondary: #33c3f0;   /* Light blue */
  --accent: #f0f8ff;      /* Ice blue */
  --dark: #0a1622;        /* Night blue */
  --light: #f6f9fc;       /* Snow white */
  --warm: #ffd700;        /* Golden lights */
  --bright-yellow: #ffeb3b; /* Bright yellow from badges */
  --bright-red: #e53935;  /* Bright red from badges */
  --bright-blue: #2196f3; /* Bright blue from badges */
  --text-dark: #333333;   /* Dark text */
  --text-light: #ffffff;  /* Light text */
  --footer-text: #f1f0fb; /* Very light blue-white for footer text */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

/* Custom utility classes */
.page-content {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content .form-control {
  margin-bottom: 0.5rem;
}

.category-header {
    text-align: center;
    padding-top: 1.2rem;
    padding-bottom: 0.8rem;
}

.bg-primary-custom {
  background-color: var(--primary);
}

.bg-secondary-custom {
  background-color: var(--secondary);
}

.bg-accent-custom {
  background-color: var(--accent);
}

.bg-dark-custom {
  background-color: var(--dark);
}

.text-primary-custom {
  color: var(--primary);
}

.text-secondary-custom {
  color: var(--secondary);
}

/* Button styling */
.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.btn-primary-custom:hover {
  background-color: #254b73;
  border-color: #254b73;
}

.btn-secondary-custom {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--text-dark);
}

.btn-secondary-custom:hover {
  background-color: #2dabd3;
  border-color: #2dabd3;
}

/* Navigation styling */
.nav-custom {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-link-custom {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link-custom:hover {
  color: var(--secondary);
}

/* Search box styling */
.search-box {
  border: 1px solid #ddd;
  border-radius: 50px;
}

.search-box:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(51, 195, 240, 0.25);
}

/* Badge colors from design */
.badge-bright-yellow {
  background-color: var(--bright-yellow);
  color: var(--text-dark);
}

.badge-bright-red {
  background-color: var(--bright-red);
  color: var(--text-light);
}

.badge-bright-blue {
  background-color: var(--bright-blue);
  color: var(--text-light);
}

/* Fixed container styling */
.container-fluid-custom {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1420px;
  }
  .container-fluid-custom {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Mobile hamburger menu alignment */
@media (max-width: 767.98px) {
  .navbar-collapse .navbar-nav {
    align-items: flex-start !important;
    text-align: left;
  }
  
  .navbar-collapse .navbar-nav .nav-item {
    width: 100%;
    text-align: left;
  }
  
  .navbar-collapse .navbar-nav .nav-link {
    text-align: left;
    padding-left: 0;
    justify-content: flex-start;
  }
}

/* Align the logo with the main menu */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

/* Ensure the navigation items are properly aligned */
.navbar-nav {
  align-items: center;
}

.comments {
    border-top: 1px solid lightgrey;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.comments .comment {
    border-bottom: 1px solid lightgrey;
    padding: 0.5rem 0 0 0;
    margin: 1rem 0 0 0;
}

.comments .comment .comment-author {
    float: left;
    font-size: smaller;
}

.comments .comment .comment-meta {
    float: right;
    font-size: smaller;
}

.comments .comment .comment-body {
    clear: both;
}

.comment-info {
    font-size: 0.95rem;
}

.comment-add {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.cookie-disclaimer {
  background: #000000;
  color: #FFF;
  opacity: 0.8;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.cookie-disclaimer .container {
  text-align: center;
  padding-top: 20px;
}

.cookie-disclaimer .cookie-close {
  float: right;
  padding: 10px;
  cursor: pointer;
}
