@import "colors.css";
@import "about.css";   /* adds about page stylizing */
@import "classes.css"; /* adds classes page stylizing */
@import "calendar.css"; /* adds calendar page stylizing */
@import "contact.css"; /* adds contact page stylizing */
@import "gallery.css"; /* adds gallery page stylizing */
@import "registration.css"; /* adds registration page stylizing */
@import "faq.css"; /* adds faq page styling */
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@1,700&display=swap');

/* ==========================================================================
   GLOBAL CONFIGURATION & EDGE MARGIN RESET
   ========================================================================== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* Forces all elements to calculate layout boundaries without layout displacement */
*, *:before, *:after {
  box-sizing: inherit;
}

/*
 * Main Styles INDEX
 */
body {
  background-color: #7d9cae;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='18' viewBox='0 0 100 18'%3E%3Cpath fill='%235d7380' fill-opacity='0.08' d='M61.82 18c3.47-1.45 6.86-3.78 11.3-7.34C78 6.76 80.34 5.1 83.87 3.42 88.56 1.16 93.75 0 100 0v6.16C98.76 6.05 97.43 6 96 6c-9.59 0-14.23 2.23-23.13 9.34-1.28 1.03-2.39 1.9-3.4 2.66h-7.65zm-23.64 0H22.52c-1-.76-2.1-1.63-3.4-2.66C11.57 9.3 7.08 6.78 0 6.16V0c6.25 0 11.44 1.16 16.14 3.42 3.53 1.7 5.87 3.35 10.73 7.24 4.45 3.56 7.84 5.9 11.31 7.34zM61.82 0h7.66a39.57 39.57 0 0 1-7.34 4.58C57.44 6.84 52.25 8 46 8S34.56 6.84 29.86 4.58A39.57 39.57 0 0 1 22.52 0h15.66C41.65 1.44 45.21 2 50 2c4.8 0 8.35-.56 11.82-2z'%3E%3C/path%3E%3C/svg%3E");
}

/* Fonts */
p {
  font-family: 'Helvetica', 'Arial', sans-serif;
}

h1, h2, h3 {
  font-family: "Lobster Two", sans-serif;
  font-weight: 700;
  font-style: italic;
}
/* Main Page Layout Wrapper */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: sans-serif;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

/* Wide Cards Layout for index  */
.info-section {
  margin-bottom: 60px;
}

.wide-card {
  display: flex;
  background-color: var(--card-white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  padding: 20px;
  align-items: center;
  gap: 20px;
}
.card-img-placeholder {
  width: 120px;
  height: 120px;
  aspect-ratio: 1 / 1;
  background-color: var(--thumb-gray);
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-text h3 {
  margin: 0 0 10px 0;
  color: var(--primary-blue);
}

/* 3-Column Grid Layout for index */
.classes-section {
  margin-bottom: 60px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-card {
  background-color: var(--card-white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: left;
}

.grid-img-placeholder {
  width: 100%;
  height: 180px;
  aspect-ratio: 16 / 9;
  background-color: var(--thumb-gray);
  border-radius: 6px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.grid-card h3 {
  margin: 0 0 10px 0;
  color: var(--primary-blue);
}

/* Responsive Fix for Mobile Screens */
@media (max-width: 768px) {
  .wide-card {
    flex-direction: column;
    text-align: center;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }
}









/*
 * Footer Styles
 */
/* Base Layout */
.footer {
  background: var(--primary-blue); /* Header and footer color Light Blue */
  border-top: 1px solid var(--header-border-dark);
  border-bottom: 1px solid var(--light-blue);
  /* Left/Right margins removed by pulling padding logic from gallery */
  padding: 50px max(24px, calc((100vw - 1200px) / 2)) 30px;
  font-family: Arial, sans-serif;
  color: var(--text-muted);
  width: 100%;
}

/* INDUSTRY STANDARD OVERHAUL: Flexbox replaced with CSS Grid for robust column track control */
.footer-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-section {
  width: 100%;
}

/* Brand Section (Left) Styling */
.logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.logo-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-section h3 {
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
  font-weight: normal;
  color: #ffffff; /* Brightened accent heading for accessibility */
  margin: 0;
}

.brand-section p {
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0 0 0;
  max-width: 360px;
}

/* Headings for Center/Right Columns */
.footer-section h4 {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 16px 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Links Section Alignment updated to professional left-alignment inside its grid block */
.links-section {
  text-align: left;
}

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

.links-section li {
  margin-bottom: 8px;
}

.links-section a {
  text-decoration: none;
  color: var(--accent-cream);
  font-size: 14px;
  transition: color 150ms ease;
}

.links-section a:hover {
  color: #ffffff;
}

/* Contact Section Alignment updated to clean left-alignment inside its grid block */
.footer .contact-section {
  text-align: left;
}

.footer .contact-section p {
  font-size: 13px;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.footer .contact-section a {
  color: var(--accent-cream);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer .contact-section a:hover {
  color: #ffffff;
}

/* Footer Bottom Border and Copyright Text */
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* Replaced harsh solid line with elegant alpha transparency */
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}


/*
 * Header Styles
 */

.header {
  background: var(--primary-blue); /* Header and footer color Light Blue */
  border-bottom: 1px solid var(--header-border-dark);
  /* Left/Right margins removed by pulling padding logic from gallery */
  padding: 20px max(24px, calc((100vw - 1200px) / 2));
  font-family: Arial, sans-serif;
  width: 100%;
}

.header-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ADDED: Keeps logo and name together on the left side */
.brand-group {
  display: flex;
  align-items: center;
  gap: 10px; /* Adds space between the logo image and the text */
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(182, 201, 206, 0.55);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0;
}

.menu-toggle::before {
  content: "\2630";
  font-size: 26px;
  line-height: 1;
}

.menu-toggle[aria-expanded="true"]::before {
  content: "\00d7";
  font-size: 32px;
}

.menu-toggle:focus-visible,
.nav a:focus-visible,
.btnClasses:focus-visible {
  outline: 3px solid var(--accent-cream);
  outline-offset: 3px;
}

.main-name {
  font-size: 30px;
  font-weight: bold;
  color: var(--text-muted);
  margin: 0;
}

.main-icon {
  display: block;
}

/* UPDATED STYLING: Restores the clean capsule style pills you liked from the previous turn */
.nav a {
  display: inline-block;
  margin-left: 12px;
  text-decoration: none;
  font-weight: bold;
  color: var(--text-muted);
  font-size: 15px;
  border-radius: 100px;
  border: 1px solid rgba(182, 201, 206, 0.4);
  padding: 8px 18px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover, .nav a.active {
  background: var(--card-white);
  color: var(--primary-blue);
  border-color: var(--card-white);
}

/*
 * Hero Styles
 */
body, html {
  min-height: 100%;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/home/home_1.png");

  /* Set a specific height */
  min-height: clamp(420px, 58vh, 640px);

  /* Position and center the image to scale nicely on all screens */
  background-position: 50% 25%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: min(760px, calc(100% - 40px));
}

.hero-text h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.08;
}

.hero-text p {
  margin: 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}



/* CSS */
.btnClasses {
  transform: none;
  background-color: var(--primary-blue);
  border-radius: 100px;
  box-shadow: rgba(52, 84, 97, 0.2) 0 -25px 18px -14px inset,
  rgba(52, 84, 97, 0.15) 0 1px 2px,
  rgba(52, 84, 97, 0.15) 0 2px 4px,
  rgba(52, 84, 97, 0.15) 0 4px 8px,
  rgba(52, 84, 97, 0.15) 0 8px 16px,
  rgba(52, 84, 97, 0.15) 0 16px 32px;
  color: var(--btn-text-white);
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular,-apple-system,system-ui,Roboto,sans-serif;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin: 0;

}

.btnClasses:hover {
  box-shadow: rgba(52, 84, 97, 0.35) 0 -25px 18px -14px inset,
  rgba(52, 84, 97, 0.25) 0 1px 2px,
  rgba(52, 84, 97, 0.25) 0 2px 4px,
  rgba(52, 84, 97, 0.25) 0 4px 8px,
  rgba(52, 84, 97, 0.25) 0 8px 16px,
  rgba(52, 84, 97, 0.25) 0 16px 32px;
  transform: scale(1.05) rotate(-1deg);
}

/* NEW TABLET MEDIA QUERY FIXED BLOCK: Optimizes spacing on medium width dimensions */
@media (min-width: 769px) and (max-width: 1040px) {
  .header {
    padding: 16px max(16px, calc((100vw - 1200px) / 2));
  }
  .main-name {
    font-size: 22px;
  }
  .nav a {
    margin-left: 6px;
    padding: 6px 12px;
    font-size: 13px;
  }

  /* Modernizes tablet footer columns spacing down safely */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .brand-section {
    grid-column: span 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
  }
}

/* ADDITIONAL MODERN RESPONSIVE STANDARDS STANDALONE BLOCK FOR MOBILE */
@media (max-width: 768px) {
  /* Toggle Hamburger Interaction Mechanics with JS Active Class Toggle Hooks */
  .header-container {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* List configuration vertical transform rules when container contains an active toggle class */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-blue);
    flex-direction: column;
    padding: 15px 0;
    gap: 12px;
    z-index: 99;
    border-bottom: 2px solid var(--header-border-mobile);
  }

  /* Displays the menu system cleanly when the active class hook triggers via JS toggle */
  .header-container.menu-active .nav {
    display: flex;
  }

  .header {
    padding: 14px 18px;
  }

  .main-name {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
  }

  .brand-group {
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav {
    padding: 12px;
    gap: 8px;
  }

  .nav a {
    display: block;
    margin: 0;
    padding: 10px 14px;
    text-align: center;
  }

  .main-content {
    padding: 32px 18px;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .footer {
    padding: 38px 18px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .brand-section {
    grid-column: auto;
  }

  .hero-image {
    min-height: 520px;
  }

  .hero-text {
    width: calc(100% - 36px);
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .wide-card {
    padding: 18px;
  }

  .card-img-placeholder {
    width: 100%;
  }

}

@media (max-width: 420px) {
  .main-name {
    font-size: 1.05rem;
  }

  .main-icon {
    width: 26px;
    height: 26px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a,
  .hero-actions .btnClasses {
    width: 100%;
  }
}

/* Blueprint Hero Section Styles */
.blueprint-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.classes-blueprint-hero {
  position: relative;
  width: 100%;
  height: 400px;
  aspect-ratio: 16 / 5.3;
  background-color: var(--blueprint-bg);
  border-radius: 12px;
  background-image:
    linear-gradient(to top right, transparent calc(50% - 0.75px), var(--blueprint-line) calc(50% - 0.75px), var(--blueprint-line) calc(50% + 0.75px), transparent calc(50% + 0.75px)),
    linear-gradient(to top left, transparent calc(50% - 0.75px), var(--blueprint-line) calc(50% - 0.75px), var(--blueprint-line) calc(50% + 0.75px), transparent calc(50% + 0.75px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.classes-blueprint-hero h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 2.5rem;
  font-weight: normal;
  color: var(--text-dark);
  margin: 0;
  position: relative;
  z-index: 2;
}

.btnClasses.blueprint-btn {
  transform: none;
  margin: 20px 0 0 0;
  position: relative;
  z-index: 2;
}

.btnClasses.blueprint-btn:hover {
  transform: scale(1.05) rotate(-1deg);
}

.classes-blueprint-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(252, 238, 219, 0.72);
  z-index: 1;
}
