@charset "utf-8";
/* CSS Document */

/* 
Custom Color Palette:
primary blue: #3675D4;
off white: #F2F7FF;
dark blue: #011D49;
soft blue: #84B3E2;
soft purple: #C7CAF2;
soft green: #B4C681;
pale yellow: #F2EFBD;
earth brown: #5E5630;
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Alexandria', sans-serif;
  color: #011D49;
}

p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2em;
  color: #011D49;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 0px;
  background-color: #F2F7FF;
  font-family: 'Playfair Display', serif;
  overflow-x: hidden;
}

/* NAVIGATION */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #3675D4;
  font-family: 'Playfair Display', serif;
  height: 50px;
  display: flex;
  align-items: center;
  z-index: 1000;
  padding: 0 20px;
}

.nav-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  color: #F2F7FF;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.5rem;
}

.nav-links a {
  color: #F2F7FF;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #B4C681;
  color: #011D49;
}

/* HEADER */
.home_header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  padding-top: 60px;
  position: relative;
}

.header-image-box {
  position: relative;
  background: url("../images/forget2400.jpg") no-repeat center center;
  background-size: cover;
  border-radius: 30px;
  width: 80%;
  max-width: 1000px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 0;
}

.header-image-box h1 {
  font-family: 'Alexandria', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: #011D49;
  position: relative; 
  z-index: 2;           /* Places it above the overlay */
  margin: 0 0 1rem 0;
  text-align: left;
}


.header-tagline {
  font-family: 'Alexandria', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: #011D49;
  z-index: 1;
  margin: 0;
}

/* CUSTOM ROW */
.custom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin: 2rem auto;
  padding: 1em;
  max-width: 1200px;
}

.custom-box {
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.text-box {
  flex: 1 1 30%;
  background-color: #3675D4;
  color: #F2F7FF;
}

.text-box h2,
.text-box p {
  color: #F2F7FF;
}

.image-box {
  flex: 1 1 60%;
  background: url("../images/landscape2.jpg") no-repeat center center;
  background-size: cover;
  min-height: 300px;
}

/* FLEX LAYOUT */
.three-column-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  padding: 1em;
  max-width: 1200px;
  margin: 2rem auto;
}

.column {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #3675D4;
  color: #F2F7FF;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.column h2,
.column p,
.column a {
  color: #F2F7FF;
}

.column img {
  width: 100%;
  border-radius: 4px;
  margin: 1em 0;
}

/* FOOTER */
footer {
  background-color: #3675D4;
  color: #F2F7FF;
  text-align: center;
  line-height: 60px;
  height: 60px;
  font-family: 'Alexandria', sans-serif;
  font-size: 0.9em;
  margin-top: 2em;
}

footer p {
  color: #F2F7FF;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .custom-row,
  .three-column-layout {
    flex-direction: column;
    align-items: center;
  }

  .text-box,
  .image-box,
  .column {
    flex: 1 1 100%;
  }

  .header-image-box h1 {
    font-size: 2rem;
  }

  .header-tagline {
    font-size: 1.2rem;
  }
}


/* ABOUT PAGE HEADER */
.about-header {
  position: relative;
  background: url("../images/forget2400.jpg") no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0; /* no gap under nav */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 0;
}

.about-text {
  position: relative;
  text-align: center;
  background-color: transparent;
  padding: 2rem;
  z-index: 1;
}

.about-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #011D49;
  font-family: 'Alexandria', sans-serif;
}

.about-text h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #011D49;
  font-family: 'Alexandria', sans-serif;
  margin-top: 1rem;
}

/* ABOUT PAGE CONTENT */
.about-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 1rem;
}

.about-block {
  background-color: #84B3E2; /* soft blue */
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.about-block h2 {
  font-family: 'Alexandria', sans-serif;
  font-size: 2rem;
  color: #011D49;
  margin-bottom: 1rem;
}

.about-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1em;
  color: #011D49;
  line-height: 1.6;
}

/* ABOUT PAGE IMAGES */
.about-image {
  text-align: center;
  margin: 2rem 0;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


/* CONTACT PAGE HEADER */
.contact-header {
  position: relative;
  background: url("../images/forget2400.jpg") no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-header .about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 0;
}

.contact-header .about-text {
  position: relative;
  text-align: center;
  background-color: transparent;
  padding: 2rem;
  z-index: 1;
}

.contact-header h1,
.contact-header h2 {
  color: #011D49;
  font-family: 'Alexandria', sans-serif;
  margin: 0.5rem 0;
}

/* CONTACT CONTENT LAYOUT */
.contact-container {
  max-width: 1000px;
  margin: 3rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
}

.contact-column {
  flex: 1 1 45%;
  background-color: #84B3E2;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.25);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1.1em;
  color: #011D49;
}

.contact-info i {
  color: #011D49;
  margin-right: 10px;
}

.contact-info a {
  color: #011D49;
  text-decoration: underline;
}

/* TUTORIAL LANDING PAGE */

.tutorial-header {
  position: relative;
  background: url("../images/forget2400.jpg") no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tutorial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 0;
}

.tutorial-text {
  position: relative;
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.tutorial-text h1 {
  font-family: 'Alexandria', sans-serif;
  font-size: 3rem;
  color: #011D49;
}

.tutorial-text h2 {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.5rem;
  color: #011D49;
}

.tutorial-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
}

.tutorial-section h2 {
  font-family: 'Alexandria', sans-serif;
  color: #011D49;
  margin-top: 2rem;
}

.section-intro {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #011D49;
  margin-bottom: 1.5rem;
}

/* Grid layout */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tutorial-box {
  background-color: #84B3E2;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  text-align: center;
}

.tutorial-box:hover {
  transform: translateY(-5px);
}

.tutorial-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.tutorial-box h4 {
  font-family: 'Alexandria', sans-serif;
  color: #011D49;
  font-size: 1.4rem;
  margin: 0.5rem 0;
}

.tutorial-box p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #011D49;
  line-height: 1.5;
}
