/* Global Styles */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html, body {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1 0 auto;
}

main {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a3a6e;
}

a {
    color: #224f9d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1c4080;
}

.btn-primary {
    background-color: #d9534f; /* A contrasting red for CTAs */
    border-color: #d9534f;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #c9302c; /* Darker red */
    border-color: #ac2925;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header & Navbar */
.navbar-dark {
    background-color: #1a3a6e; /* Dark blue */
}

.navbar-brand strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover, .dropdown-item:hover {
    color: #d9534f !important; /* Highlight color on hover */
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 58, 110, 0.8), rgba(26, 58, 110, 0.8)), 
              url('/images/gallery/landscape view of valley near oban.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Trust Arsenal */
.trust-arsenal-container {
    background-color: #f8f9fa;
}

.trust-item .trust-logo {
    max-height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.trust-item i {
    transition: color 0.3s ease;
}

.trust-item:hover i {
    color: #d9534f !important; /* Red highlight on hover */
}

/* Footer */
.footer {
    background-color: #1a3a6e;
    flex-shrink: 0;
}

.footer a:not(.btn) {
    color: #adb5bd;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Back to Top Button */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #224f9d;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s;
}

#backToTopBtn:hover {
    background-color: #d9534f;
    transform: scale(1.1);
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Service Cards */
.service-card {
    border: 1px solid #eee;
    border-radius: 0.25rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.service-card i {
    color: #224f9d;
}
