/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Custom CSS Variables for Steel Blue Theme */
:root {
  --primary-color: #4682B4;          /* Steel Blue */
  --primary-dark: #36648B;           /* Dark Steel Blue */
  --primary-light: #B0C4DE;          /* Light Steel Blue */
  --secondary-color: #708090;        /* Slate Gray */
  --accent-color: #5F9EA0;           /* Cadet Blue */
  --background-light: #F8F9FA;       /* Light Gray */
  --background-accent: #E6F2FF;      /* Very Light Blue */
  --text-dark: #2F4F4F;              /* Dark Slate Gray */
  --text-muted: #708090;             /* Slate Gray */
  --border-color: #D3D3D3;           /* Light Gray */
  --shadow: 0 0.125rem 0.25rem rgba(70, 130, 180, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(70, 130, 180, 0.25);
}

/* Base Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Custom Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Navigation Styles */
.navbar {
  padding: 1rem 0;
  box-shadow: var(--shadow);
  background-color: white !important;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background-color: var(--background-accent);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--background-accent) 0%, var(--background-light) 50%, #F0F8FF 100%);
  padding: 4rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  max-height: 120px;
  margin-bottom: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--background-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: white;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  color: white;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2,
.cta-section h3,
.cta-section h4,
.cta-section p {
  color: white !important;
}

.cta-section .btn {
  margin: 0.5rem;
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
  font-weight: 600;
}

.btn-light:hover {
  background-color: var(--background-light);
  color: var(--primary-dark);
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  background-color: white;
  padding: 4rem 0;
}

.contact-card {
  background: var(--background-light);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #343a40 0%, #495057 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-logo {
  max-height: 60px;
  border-radius: 0.5rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-light-custom {
  background-color: var(--background-light) !important;
}

.shadow-custom {
  box-shadow: var(--shadow) !important;
}

.shadow-lg-custom {
  box-shadow: var(--shadow-lg) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .feature-card {
    margin-bottom: 2rem;
  }

  /* Make photo gallery images more responsive on mobile */
  .gallery-image {
    max-height: 300px !important;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Enhanced Steel Blue Theme Additions */
.card {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

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

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

.border-primary {
  border-color: var(--primary-color) !important;
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.alert-success {
  background-color: var(--background-accent);
  border-color: var(--primary-light);
  color: var(--text-dark);
}

.alert-info {
  background-color: var(--background-accent);
  border-color: var(--accent-color);
  color: var(--text-dark);
}

/* Steel Blue Accent Elements */
.steel-blue-accent {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
}

.steel-blue-border {
  border: 2px solid var(--primary-color);
}

.steel-blue-gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Remove focus outline from non-interactive elements */
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus,
p:focus, div:focus, section:focus, main:focus, header:focus, footer:focus,
.hero-section:focus, .hero-title:focus, .hero-subtitle:focus,
.feature-card:focus, .contact-card:focus {
  outline: none;
}

/* Ensure focus styles remain on interactive elements for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus,
.btn:focus, .nav-link:focus, .navbar-toggler:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}