/* ==========================================
   AQUAFIT ACTIVITIES CENTER
   MASTER STYLE SHEET
   ========================================== */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #FFFFFF;
    color: #000000;
}

/* ==========================================
   PAGE STRUCTURE
   ========================================== */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}

/* ==========================================
   HEADER
   ========================================== */

.site-header {

    /* Old code for a static header image 
    background-image: url("../images/header-background.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;*/

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* TOP CONTACT BAR */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 6px 20px;

    background: rgba(0,0,0,0.65);

    color: #FFFFFF;

    font-size: 14px;
    font-weight: bold;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-right img,
.footer-socials img {
    width: 20px;
    height: 20px;
    display: block;
}

.top-right a,
.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   MAIN HEADER AREA
   ========================================== */

.header-main {
    min-height: 170px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 12px;
}

/* LEFT BUTTONS */

.nav-left,
.nav-right {

    display: flex;
    align-items: center;
    gap: 1px;
}

.nav-left a,
.nav-right a {

    display: flex;
    justify-content: center;
    align-items: center;

    width: 130px;
    height: 72px;

    text-decoration: none;

    background: rgba(49,116,113,0.92);

    color: #FFFFFF;

    font-size: 14px;
    font-weight: bold;

    text-transform: uppercase;

    border: 1px solid rgba(255,255,255,0.4);

    transition: 0.25s;
}

.nav-left a:hover,
.nav-right a:hover {

    background: rgba(67,145,141,0.95);
}

/* ==========================================
   LOGO AREA
   ========================================== */

.logo-container {

    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px;
}

.logo-container img {

    max-width: 200px;
    width: auto;
    height: auto;
}

/* ==========================================
   CONTENT AREA
   ========================================== */

.page-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background: #2F7471;
    color: #FFFFFF;
    text-align: center;
    padding: 35px;
}

.site-footer img {
    max-height: 80px;
    margin-bottom: 20px;
}
.footer-quicklinks {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.footer-quicklinks a {
    display: inline-flex;
    transition: transform .2s ease;
}

.footer-quicklinks a:hover {
    transform: translateY(-3px);
}

.footer-quicklinks img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.quick-links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px; /* increased size */
  font-weight: 500;
  letter-spacing: 0.3px;
}
.nav-item img {
  display: block;
  margin-bottom: 0;
  width: 60px;
  height: 60px;
}
.nav-item span {
  margin-top: 2px;
  line-height: 1.1;  /* prevents extra vertical breathing room */
  font-family: Arial, sans-serif;
  color: #ffffff;
  font-size: 14px;
}
.nav-item:hover {
  opacity: 0.7;
}

/* ==========================================
   MOBILE
   ========================================== */

@media screen and (max-width: 900px) {
    .header-main {
        flex-direction: column;
        padding: 15px;
    }
    .nav-left,
    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        margin: 10px 0;
    }
    .nav-left a,
    .nav-right a {
        width: 120px;
        height: 60px;
    }
    .logo-container img {
        max-width: 350px;
    }

    .top-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
	}
	
	
/* =========================
   CSS FADE SLIDESHOW
   ========================= */
   
/* HERO CONTAINER */
.hero {
   position: relative;
   width: 100%;
   height: 50vh;
   overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* SLIDESHOW BACKGROUND */
.css-slideshow {
   position: absolute;
   inset: 0;
   z-index: 0;
}

/* INDIVIDUAL SLIDES */
.css-slideshow .slide {
   position: absolute;
   inset: 0;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;

   opacity: 0;

   animation-name: fadeSlides;
   animation-duration: 24s;
   animation-iteration-count: infinite;
   animation-timing-function: linear;
}

.slide1 {
   background-image: url("../images/SLIDE-EVENT1.jpg");
   animation-delay: 0s;
}

.slide2 {
   background-image: url("../images/SLIDE-EVENT2.jpg");
   animation-delay: 6s;
}

.slide3 {
   background-image: url("../images/SLIDE-EVENT3.jpg");
   animation-delay: 12s;
}

.slide4 {
   background-image: url("../images/SLIDE-EVENT4.jpg");
   animation-delay: 18s;
}

@keyframes fadeSlides {
   0%   { opacity: 0; }
   5%   { opacity: 1; }
   20%  { opacity: 1; }
   25%  { opacity: 0; }
   100% { opacity: 0; }
}

/* =========================
   NEWSLETTERS PAGE
   ========================= */

.newsletter-archive {
    width: 60%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.newsletter-year {
    text-align: center;
    margin: 30px 0;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, .8fr));
    gap: 25px;
}

.newsletter-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    transition: transform .2s ease;
}

.newsletter-card:hover {
    transform: translateY(-5px);
}

.newsletter-card a {
    color: inherit;
    text-decoration: none;
}

.newsletter-card img {
    width: 100%;
    aspect-ratio: 11 / 8;
    object-fit: cover;
    display: block;
}

.newsletter-card h3 {
    margin: 0;
    padding: 12px;
    font-size: 1rem;
}




/* =========================
   CONTACT PAGE (TEMPLATE INTEGRATED)
   ========================= */

.contact-section {
  padding: 60px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-intro {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* FORM CARD */
.contact-form-card,
.contact-info-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary {
  margin-top: 10px;
  padding: 12px;
  border: none;
  background: #222;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.btn-primary:hover {
  background: #444;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

