
/* Fallback font with size-adjust to minimize CLS when web font loads */
@font-face {
    font-family: 'Noto Serif Fallback';
    src: local('Georgia');
    size-adjust: 105%;
    ascent-override: 95%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* CSS Custom Properties (Variables) */
:root {
    --primary-bg-color: #ccbfb3;
    --secondary-bg-color: #dfd6cb;
    --text-dark-color: #5c2e32;
    --light-gray-color: #bcbcbc;
    --text-muted-color: #555;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-shadow-color: rgba(0, 0, 0, 0.15);
    --font-family-primary: "Noto Serif", "Noto Serif Fallback", Georgia, serif;
    --transition-standard: all 0.3s ease-in-out;
    --transition-quick: 0.2s ease-in-out;
    --border-radius: 0.375rem;

      /* === ADD THESE LINES TO OVERRIDE BOOTSTRAP DEFAULTS === */
    --bs-body-color: var(--text-dark-color);
    --bs-body-color-rgb: 92, 46, 50; /* The RGB version of #5c2e32 */
    --bs-heading-color: var(--text-dark-color);
    --bs-link-color: var(--text-dark-color);
    --bs-link-hover-color: #000; /* Or another color you prefer */
    --bs-navbar-active-color: var(--text-dark-color);


}

/* Base Styles */
body {
    background-color: var(--primary-bg-color);
    font-family: var(--font-family-primary);
    font-weight: 400;
    color: var(--text-dark-color);
}
body a,
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body li, body span, body strong, body em {
  color: inherit;
}

/* Navigation */
.nav-link.active {
    font-weight: italic;
}

.nav-link:hover {
    text-decoration: underline;
}

/* Buttons */

.btn.outline-dark {
  border-width: 2px;
  color: var(--text-dark-color);
  border-color: var(--text-dark-color);
}

.btn-hover-lighten {
    transition: color var(--transition-quick), font-weight var(--transition-quick);
}

.btn-hover-lighten:hover {
    color: var(--light-gray-color) !important;
    font-weight: 300 !important;
}

.custom-btn {
    background-color: transparent;
    border-radius: 50px;
    padding: 8px 30px;
    font-size: 1rem;
    font-family: var(--font-family-primary);
    letter-spacing: 0.1em;
    transition: var(--transition-standard);
}

.custom-btn:hover,
.custom-btn:focus {
    background-color: #000;
    color: #fff !important;
    border-color: #000 !important;
}

/* Layout Components */
.custom-footer {
    background-color: var(--secondary-bg-color);
}

.custom-footer h5 {
    margin-bottom: 1rem;
}

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

/* Tables */
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: var(--secondary-bg-color);
}

/* Images and Media */
.responsive-iframe {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

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

.custom-image {
    object-fit: cover;
    object-position: left;
    width: 100%;
    height: 100%;
}

.image-container {
    margin-bottom: 30px;
}

.image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.image-caption {
    margin-top: 10px;
    font-style: italic;
    color: var(--text-muted-color);
}

/* Instagram Gallery */
.instagram-gallery .ratio img {
    object-fit: cover;
}

.instagram-gallery a {
    display: block;
    transition: transform var(--transition-quick), box-shadow var(--transition-quick);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.instagram-gallery a:hover {
    transform: scale(1.03);
    box-shadow: 0 0.5rem 1rem var(--hover-shadow-color);
    z-index: 10;
}

/* Utility Classes */
.small-font {
    font-size: 0.5rem;
}

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

.logout-link {
    cursor: pointer;
}

.text-dark-color,
.text-dark-color tr,
.text-dark-color th,
.text-dark-color td {
  color: var(--text-dark-color) !important;
}
