/* REMOVED TEMPORARY TEST */
/*
body {
    background-color: red !important;
}
*/

/* Import Lato font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Apply Lato to the main body text */
body {
    font-family: 'Lato', sans-serif;
    /* You might need to adjust font-size or line-height if the default doesn't look right */
    /* font-size: 16px; */
}

/* Apply Lato (or keep the theme's default heading font if preferred) to headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif; /* Or comment this out to keep the theme's default Oswald font */
    /* You can adjust heading weights or styles here too */
}

/* Example: Increase base font size slightly if needed */
/*
html {
    font-size: 17px; 
}
*/

/* Add any other custom styles below */

/* Add a subtle border below the header */
#header {
    border-bottom: 1px solid #eee; /* Light grey border */
}

/* Style the homepage hero section */
/* Target the correct theme class */
.home-carousel {
    background: url('/img/hero-background.png') no-repeat center center;
    background-size: cover;
    min-height: 400px;
}

/* Remove the theme's default dark mask overlay */
.home-carousel .dark-mask {
    background: none !important;
}

/* Ensure the inner item doesn't have its own interfering background */
.home-carousel .item {
    background: none;
}

/* Center the hero text block (override theme's right-align on wide screens) */
@media (min-width: 992px) {
  .home-carousel .right {
    text-align: center !important;
  }
}

/* Style the text overlay for better readability */
.home-carousel .item .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 5px;
}

/* Adjust spacing for paragraph text within the hero caption */
.home-carousel .item .carousel-caption p {
    line-height: 1.6;
    margin-bottom: 1em;
}

/* Hide the foreground image element added via data file */
.home-carousel .item img {
    display: none;
}

/* Blue overlay for About and Contact page breadcrumbs */
.page-about #heading-breadcrumbs,
.page-contact #heading-breadcrumbs {
    position: relative;
    overflow: hidden; /* keep overlay within banner */
}

/* Move overlay above original texture background but below text */
.page-about #heading-breadcrumbs::before,
.page-contact #heading-breadcrumbs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(52, 152, 219, 0.3); /* Semi-transparent blue */
    z-index: 0; /* was -1 – move it above the texture */
    pointer-events: none; /* ensure no interaction */
}

/* Make sure the text sits above the overlay */
.page-about #heading-breadcrumbs .container,
.page-contact #heading-breadcrumbs .container {
    position: relative;
    z-index: 1;
}

/* Reduce bottom padding/margin on the contact page content */
.page-contact #content {
    padding-bottom: 20px; /* Adjust value as needed */
    margin-bottom: 0;
    /* Text align removed from here, will be handled by block */
}

/* Style the wrapping block for contact text */
.contact-text-block {
    max-width: 600px; /* Adjust as needed */
    margin: 20px auto; /* Top/bottom margin + auto left/right for centering */
    padding: 20px;
    text-align: center;
    /* Optional: Add a subtle background or border */
    /* background-color: #f9f9f9; */
    /* border: 1px solid #eee; */
    /* border-radius: 5px; */
}

/* Apply rounded corners to buttons */
.btn {
    border-radius: 5px !important; /* Add !important if needed to override theme styles */
}

/* Optional: Apply rounded corners to other elements like panels or wells if used */
/*
.panel, .well {
    border-radius: 5px;
}
*/

/* Client logos grid */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Uniform square tiles for all logos */
.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;               /* square tile size */
  height: 84px;
  padding: 8px;              /* inner spacing around image */
  box-sizing: border-box;    /* include padding in fixed size */
  background: #ffffff;       /* white background for transparency */
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.client-logo:hover,
.client-logo:focus {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-decoration: none;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* ensure logo scales nicely inside the square */
  display: block;
  filter: none;
}

/* Smaller tiles on narrow screens */
@media (max-width: 420px) {
  .client-logo { width: 72px; height: 72px; padding: 6px; }
}

/* Prominent resume button styling */
.resume-button {
  display: inline-block;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white !important;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  margin: 20px 10px 20px 0;
  border: none;
}

.resume-button:hover,
.resume-button:focus {
  background: linear-gradient(135deg, #2980b9, #1f4e79);
  color: white !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.resume-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

/* LinkedIn link styling for contact page */
.linkedin-link {
  display: inline-block;
  background: #0077b5;
  color: white !important;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin: 15px 10px 15px 0;
  border: none;
}

.linkedin-link:hover,
.linkedin-link:focus {
  background: #005885;
  color: white !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}
