/* ==========================================
   TOP PHYSIQUE - Main Styles
   ========================================== */

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

body {
  font-family: Arial, Helvetica, sans-serif;
  /* #000033 at top → teal → light grey → white */
  background: linear-gradient(180deg, 
    #000033 0%,
    #000033 100px,
    #002050 160px,
    #004068 220px,
    #006080 280px,
    #008098 340px,
    #00a0b0 400px,
    #20b0c0 480px,
    #40c0c8 560px,
    #60c8d0 640px,
    #80d0d8 720px,
    #a0dce0 800px,
    #c0e8ec 880px,
    #d8f0f2 960px,
    #e8f4f6 1040px,
    #f0f8f8 1120px,
    #f6fafa 1200px,
    #fafcfc 1300px,
    #ffffff 1400px
  );
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.4;
  min-height: 100vh;
}

a {
  color: #00e0e0;
}

a:hover {
  color: #40ffff;
}

/* HEADER - Banner image LEFT, nav RIGHT */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: #000033;
}

.header-banner-image {
  height: 100px;
  flex-shrink: 0;
}

.header-banner-image img {
  height: 100%;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 5px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 20px;
  font-size: 17px;
}

.nav-links a:hover {
  color: #00ffff;
}

.call-now-btn {
  background: #ffd700;
  color: #000000 !important;
  padding: 8px 18px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #cc9900;
  border-radius: 4px;
  font-size: 16px;
  margin-left: 15px;
}

.call-now-btn:hover {
  background: #ffed4a;
}

.header-bullet {
  text-align: center;
  padding: 8px;
  font-size: 8px;
  color: #00ffff;
}

/* MAIN CONTENT - 3x3 Grid */
.main-content {
  padding: 15px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-item {
  text-align: center;
}

.section-image {
  width: 100%;
  aspect-ratio: 16/11;
  border: 2px solid #004060;
  background: rgba(0, 0, 51, 0.3);
  margin-bottom: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.section-image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-item h3 {
  margin: 0 0 5px 0;
  font-size: 17px;
  font-weight: normal;
}

.section-item h3 a {
  color: #00ffff;
  text-decoration: underline;
}

.section-item h3 a:hover {
  color: #80ffff;
}

.section-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.section-text a {
  color: #00ffff;
}

.section-text a:hover {
  color: #80ffff;
}

.section-text .subtitle {
  margin-bottom: 3px;
}

.highlight {
  color: #ffd700;
}

/* TAGLINE BANNER - Flows with gradient */
.tagline-banner {
  background: transparent;
  padding: 12px 25px;
  text-align: center;
  margin-top: 20px;
}

.tagline-banner p {
  color: #ffffff;
  font-size: 15px;
  font-style: italic;
}

/* COPYRIGHT SECTION - Flows with gradient */
.copyright-section {
  background: transparent;
  padding: 15px 25px;
  text-align: center;
}

.copyright-line {
  color: #333333;
  font-size: 14px;
  margin-bottom: 10px;
}

.legal-text {
  color: #333333;
  font-size: 12px;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

/* CORP OFFICE FOOTER */
.contact-footer {
  background: #000033;
  padding: 20px 30px;
}

.contact-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-address-block {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.contact-address-block .label {
  font-weight: bold;
  margin-bottom: 3px;
}

.contact-phone-block,
.contact-email-block {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
}

.contact-phone-block a,
.contact-email-block a {
  color: #ffffff;
  text-decoration: none;
}

.contact-phone-block a:hover,
.contact-email-block a:hover {
  color: #00ffff;
}

/* ABOUT PAGE */
.about-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border-radius: 8px;
}

.about-content h1 {
  color: #006666;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-content {
    padding: 15px 20px;
  }
  .header {
    flex-direction: column;
  }
  .header-right {
    padding: 10px;
  }
  .contact-footer-inner {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contact-footer-inner {
    gap: 15px;
  }
}
