/* ==========================================
   GLOBAL STYLES & TYPOGRAPHY
   ========================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Prevents content hiding under fixed header */
}

/* Global Body Font (EB Garamond) */
body {
    font-family: "EB Garamond", serif;
    font-size: 1.15rem; /* Serif fonts look better slightly larger */
    line-height: 1.6;
    color: #333333;
}

/* Global Heading Font (Montserrat) */
h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link {
    font-family: "Montserrat", sans-serif;
    letter-spacing: -0.02em;
}

/* ==========================================
   FULL-WIDTH TEXT LAYOUT HELPERS
   ========================================== */
.tracking-wide {
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-family: "Montserrat", sans-serif;
}

.display-5 {
    color: #1a1d20;
}

/* Adjust font sizes slightly on smaller devices for structural balance */
@media (max-width: 767.98px) {
    .display-5 {
        font-size: 2rem;
    }
}


/* ==========================================
   RESPONSIVE IMAGES
   ========================================== */
/* Basic responsive image helper (Scales nicely, never overflows container) */
.img-responsive {
    max-width: 85%;
    height: auto;
    display: block;
}

/* Perfect for background or card visuals where the aspect ratio must be locked */
.img-cover {
    width: 100%;
    height: 400px; /* Adjust height as needed per section */
    object-fit: cover;
    object-position: center;
}


/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.custom-header {
    background-color: #ceb9a6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.custom-header .navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-uppercase: uppercase; /* Looks crisp with Montserrat */
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.custom-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 10%;
    background-color: #fff;
    transition: width 0.3s ease;
}

.custom-header .navbar-nav .nav-link:hover::after,
.custom-header .navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ==========================================
   FLEXIBLE ALTERNATING SECTION HELPERS
   ========================================== */
.row h2 {
    color: #1a1d20;
    font-weight: 700;
}

/* Center images vertically and add a subtle hover lift effect if images are used */
/*
.row img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.row img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
*/

/* ==========================================
   FOOTER STYLING (Forced Rule Override)
   ========================================== */
footer, .custom-footer {
    background-color: #f2f2f2 !important; /* Forces the light dove grey color */
    border-top: 1px solid #e5e5e5 !important;
    display: block !important;
    width: 100% !important;
}

/* Forces copyright text settings */
footer p, .custom-footer p {
    font-size: 0.95rem !important;
}

/* Forces links to override default blue browser styles */
footer .footer-link, .custom-footer .footer-link {
    font-family: "Montserrat", sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #555555 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

footer .footer-link:hover, .custom-footer .footer-link:hover {
    color: #469279 !important;
}


/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .custom-header .navbar-nav {
        padding: 1rem 0;
    }
    .call-to-action {
        padding-bottom: 1rem;
    }
}


/* Desktop / Default view */
.mobile {
  display: none;
}

.nomobile {
  display: block; /* or inline-block */
}

/* Mobile view (screens 768px and smaller) */
@media (max-width: 768px) {
  .mobile {
    display: block; /* or inline-block */
  }
  .img-responsive {
    max-width: 100%;
}
  .nomobile {
    display: none;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 0rem !important;
}
.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 0rem !important;
}
  
}

/* Body font bold variation */
bs {
    font-family: "EB Garamond", serif;
    font-size: 1.15rem; /* Serif fonts look better slightly larger */
    line-height: 1.6;
    color: #b4834b;
 
}

a:not(.btn):not(.nav-link) {
  color: #469279; /* Your default link color */
  text-decoration: none;
}

/* Hover, focus, and active states */
a:not(.btn):not(.nav-link):hover,
a:not(.btn):not(.nav-link):focus {
  color: #125840; /* Darker/lighter hover color */
  text-decoration: none; /* Keeps underline off on hover */
}

