:root {
  --masonic-blue: #0d3b66;
  --masonic-gold: #d4af37;
  --masonic-light-blue: #4a6fa5;
  --masonic-cream: #f8f6f0;
  --masonic-crimson: #8b1538;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --header-height: 70px;
  --sidebar-width: 260px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--masonic-cream) 0%, #ffffff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--masonic-gold);
  color: var(--masonic-blue);
  padding: 8px 12px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 10px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 100%;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--masonic-blue), var(--masonic-light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--masonic-gold);
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--masonic-blue);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.nav-btn.primary {
  background: linear-gradient(135deg, var(--masonic-gold), #e6c547);
  color: var(--masonic-blue);
  box-shadow: var(--shadow-sm);
}

.nav-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-btn.secondary {
  color: var(--masonic-blue);
  border-color: var(--masonic-blue);
}

.nav-btn.secondary:hover {
  background: var(--masonic-blue);
  color: white;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid rgba(13, 59, 102, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--masonic-blue);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.1) 0%, rgba(74, 111, 165, 0.05) 50%, rgba(212, 175, 55, 0.1) 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%230d3b66'%3E%3Cpath d='M50 50m-20 0a20 20 0 1 1 40 0a20 20 0 1 1 -40 0'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  flex: 1 1 480px;
  max-width: 640px;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--masonic-blue);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--masonic-blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--masonic-light-blue);
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  line-height: 1.7;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-btn {
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 160px;
  justify-content: center;
}

.hero-btn.primary {
  background: linear-gradient(135deg, var(--masonic-blue), var(--masonic-light-blue));
  color: white;
  box-shadow: var(--shadow-md);
}

.hero-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-btn.secondary {
  background: white;
  color: var(--masonic-blue);
  border: 2px solid var(--masonic-gold);
  box-shadow: var(--shadow-sm);
}

.hero-btn.secondary:hover {
  background: var(--masonic-gold);
  color: var(--masonic-blue);
}

/* Hero media (photo) */
.hero-media {
  flex: 1 1 420px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 480px;
}

.hero-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid white;
  outline: 2px solid rgba(212, 175, 55, 0.35);
  outline-offset: 4px;
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  transition: transform 0.6s ease;
}

.hero-media-frame:hover img {
  transform: scale(1.05);
}

.hero-media-badge {
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--masonic-blue);
  color: var(--masonic-gold);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Quote Section */
.quote-section {
  background: white;
  padding: 4rem 2rem;
  position: relative;
}

.quote-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-portrait {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--masonic-cream);
  outline: 3px solid var(--masonic-gold);
  outline-offset: 3px;
  box-shadow: var(--shadow-md);
}

.quote-portrait img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.quote-icon {
  font-size: 3rem;
  color: var(--masonic-gold);
  margin-bottom: 2rem;
}

blockquote {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--masonic-blue);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--masonic-gold);
  font-style: normal;
}

/* Values Section */
.values-section {
  background: linear-gradient(135deg, var(--masonic-cream) 0%, #ffffff 100%);
  padding: 5rem 2rem;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--masonic-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--masonic-light-blue);
  max-width: 600px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--masonic-gold), #e6c547);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--masonic-blue);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--masonic-blue);
  margin-bottom: 1rem;
}

.value-description {
  color: var(--text-dark);
  line-height: 1.6;
  opacity: 0.9;
}

/* Gallery Section */
.gallery-section {
  background: white;
  padding: 5rem 2rem;
}

.gallery-container {
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  grid-column: span 2;
  grid-row: span 1;
  transition: var(--transition);
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

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

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

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(13, 59, 102, 0.85), rgba(13, 59, 102, 0));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: var(--masonic-blue);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--masonic-gold);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p {
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--masonic-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--masonic-gold);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--masonic-gold);
  color: var(--masonic-blue);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.8;
}

/* Scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-on-scroll {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ============ Responsive breakpoints ============ */
/* Tablets */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
}
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    padding: 3rem 1.5rem 4rem;
  }
  .hero-content {
    text-align: center;
    max-width: 640px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-media {
    max-width: 340px;
  }
  .hero-media-frame {
    aspect-ratio: 4/4.2;
  }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-actions {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-actions.open {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-btn {
    text-align: center;
    width: 100%;
  }
}
/* Mobile */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  .hero-container {
    padding: 3rem 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-btn {
    width: 100%;
    max-width: 300px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .quote-section,
  .values-section,
  .gallery-section {
    padding: 3rem 1rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
    gap: 1rem;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
  .gallery-item--tall {
    grid-row: span 1;
  }
  .gallery-item figcaption {
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 0.75rem 0.6rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .hero-media {
    max-width: 280px;
  }
}/*# sourceMappingURL=hero.css.map */
