/* ==========================================
   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-color: #000033 !important;
  min-height: 100px;
  width: 100%;
}

.header-banner-image {
  height: 100px;
  flex-shrink: 0;
  display: block;
  text-decoration: none;
}

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

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

.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: none;
  background: transparent;
  margin-bottom: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.section-image a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

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

.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 - Teal bar with white text */
.tagline-banner {
  background: linear-gradient(180deg, #006878 0%, #008898 50%, #00a0b0 100%);
  padding: 12px 25px;
  text-align: center;
  margin-top: 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

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

/* COPYRIGHT SECTION - Centered */
.copyright-section {
  background: transparent;
  padding: 15px 25px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

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

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

/* CORP OFFICE FOOTER */
.contact-footer {
  background-color: #000033 !important;
  padding: 20px 30px;
  width: 100%;
}

.contact-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

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

.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 */

/* Hamburger Menu Button - Hidden on desktop */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 51, 0.98);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay a {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  padding: 15px 30px;
  transition: color 0.2s;
}

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

.mobile-nav-overlay .call-now-btn {
  margin-top: 20px;
  background: #ffd700;
  color: #000000 !important;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 4px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-content {
    padding: 15px 20px;
  }
  .contact-footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Header Mobile Layout */
  .header {
    padding: 0 15px !important;
    justify-content: space-between !important;
  }
  
  .header-banner-image {
    height: 60px !important;
  }
  
  .header-banner-image img {
    height: 100% !important;
    width: auto !important;
  }
  
  /* Hide desktop nav, show hamburger */
  .header-right {
    display: none !important;
  }
  
  .hamburger-btn {
    display: block !important;
  }
  
  /* Grid adjustments */
  .section-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
    padding: 0 10px;
  }
  
  .section-item {
    text-align: center;
  }
  
  /* Main content centering */
  .main-content {
    padding: 20px 15px;
  }
  
  /* Tagline banner */
  .tagline-banner {
    margin: 15px 10px;
    padding: 10px 15px;
  }
  
  .tagline-banner p {
    font-size: 13px;
  }
  
  /* Copyright section */
  .copyright-section {
    padding: 15px;
  }
  
  .copyright-line {
    font-size: 12px;
  }
  
  .legal-text {
    font-size: 11px;
    padding: 0 10px;
  }
  
  /* Footer */
  .contact-footer {
    padding: 20px 15px;
  }
  
  .contact-footer-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .contact-phone-block,
  .contact-email-block {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-banner-image {
    height: 50px;
  }
  
  .section-image {
    aspect-ratio: 16/10;
  }
  
  .section-item h3 {
    font-size: 16px;
  }
  
  .section-text {
    font-size: 13px;
  }
}

