:root {
  --color-bg: #F7F7F7;
  --color-text: #333333;
  --color-accent: #0f7574;
  --color-link: #ffffff;
  --color-link-hover: #0a3a39;
  --color-link-visited: #dddddd;
}



/* Base reset & box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Lora', serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* Hero section */
.hero {
  position: relative;  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;  /* dock children at top */
  padding-top: 30px;            /* 30px offset from top */
  text-align: center;
  padding-bottom: 1rem;
  /* height: 100vh; */
  background-color: var(--color-bg);
  padding-left: 2rem;
  padding-right: 2rem;
}


/* Corner border */
.corner-border {
  position: absolute;
  top: 10px;         /* push down 30px */
  right: 10px;       /* push in 30px */
  width: 150px;    /* adjust as needed */
  height: 300px;   /* adjust as needed */
  background: url('../img/EGS_borderCorner.png') no-repeat top right;
  background-size: contain;
  pointer-events: none;
}


/* Logo */
.logo {
  max-width: 180px;
  width: 100%;
  margin-bottom: 1rem;
}

/* Main title */
.hero-title {
  font-style: italic;
  font-weight: 700;        /* Bold */
  font-size: 3rem;
  color: var(--color-accent);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

/* Tagline/body copy */
.hero-tagline {
  font-style: normal;
  font-weight: 400;        /* Regular */
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-text);
}


/* Footer */
.footer {
  background-color: var(--color-accent);
  color: var(--color-link);
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Lora', serif;
}

.footer a {
  color: var(--color-link);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

.footer a:visited {
  color: var(--color-link-visited);
}


/* Contact list */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;    /* to center the block */
  text-align: left;         /* keep icons aligned at left */
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-list li img {
  width: 20px;              /* adjust icon size */
  height: 20px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.footer .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .contact-list li {
  margin-bottom: 0.75rem;
}

.footer .contact-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.footer .contact-list li img {
  width: 24px;
  height: auto;
  vertical-align: middle;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}


/* slider gallery settings */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 3rem auto;
  overflow: hidden;
  height: 300px;
}

.slider {
  position: relative;
  height: 100%;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.slides img {
  width: calc(100% / 3);
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0 10px; /* horizontal spacing between images */
  transition: transform 0.4s ease;
}

.slides img:hover {
  transform: scale(1.5);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.699);
}


.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider:hover .nav {
  opacity: 1;
}

.nav-left {
  left: 10px;
}

.nav-right {
  right: 10px;
}

/* Edge fade overlays */
.edge-fade {
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.left-fade {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.right-fade {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}



.announcement {
  max-width: 900px;
  margin: 2rem auto;
  text-align: center;
  color: var(--color-text);
}

.announcement h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.announcement a {
  color: var(--color-accent);
  text-decoration: none;
}

.announcement a:hover {
  text-decoration: underline;
}


.parallax {
  position: relative;
  width: 100%;
  height: 200px;
  background-attachment: scroll;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

