/* css/dcyoga.css */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  /* primary text colour */
  background-color: #fff;
  /* page background */
}

/* rule to prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1250px;
  /* keeps side space */
  margin: 0 auto;
  padding: 0 40px;
  /* adds breathing space on left/right */
}

/* Top Bar */
.top-bar {
  background-color: #f8f8f8;
  /* light neutral background */
  border-bottom: 1px solid #eaeaea;
  /* light border */
  padding: 8px 0;
  font-size: 0.9em;
}

.top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 30px;
  /* Space between phone and email */
  justify-content: center;
}

.contact-info span {
  margin-right: 0;
  /* Remove the right margin since we're using gap */
}

.contact-info i {
  margin-right: 5px;
  color: #694ec2;
  /* new accent color */
}

/* Main Header */
.main-header {
  background-color: #fff;
  border-bottom: 1px solid #eaeaea;
  padding: 15px 0;
  position: relative;
  /* Ensures z-index will work */
  z-index: 1001;
  /* FIXED: Puts the header bar above the menu (z-index: 1000) */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  /* Anchor for the absolute-positioned menu toggle */
}

.logo {
  margin-left: 0;
  /* Ensure logo starts from left */
}

.logo img {
  height: 70px;
  width: auto;
}

.main-nav {
  margin-left: auto;
  /* Push nav to right */
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 55px;
  /* Reduced gap between navigation items */
  margin-right: 0;
  /* Remove any right margin */
}

.main-nav li {
  margin-left: 0;
  /* Remove the left margin since we're using gap */
}

/* Navigation links */
.main-nav a {
  text-decoration: none;
  color: #2b2849;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
  /* Prevent text wrapping */
}

.main-nav a:hover,
.main-nav a.active {
  color: #694ec2;
  /* new navigation hover color */
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2b2849;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
}

.hero-image {
  width: 100%;
  height: 500px; /* Keep the height consistent */
  background-color: #2b2849; /* Dark fallback background */
  /*
  Once you have an image, uncomment these lines and update the path:
  background-image: url('../images/datacenter/your-dcyoga-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  */
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
}

.hero-text-centered {
  width: 100%;
  /* Ensure it takes full width */
  text-align: center;
  /* Center all text */
}

.hero-text-centered h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  /* Ensure h1 is centered */
}

.hero-text-centered p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 700px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: center;
  /* Center the paragraph text */
  margin-left: auto;
  /* Center the paragraph container */
  margin-right: auto;
  /* Center the paragraph container */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #5e57e3, #377ddf);
  /* gradient background */
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: linear-gradient(135deg, #4d46c9, #2c6bc7);
  /* darker gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(94, 87, 227, 0.3);
}

/* Section Styling */
.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: #f8f9fa;
  /* very light neutral */
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
  font-size: 2.2rem;
  font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| DC YOGA - Page Under Construction Styles
|--------------------------------------------------------------------------
*/
.main-content-dcyoga {
  position: relative; /* Anchors the overlay */
  min-height: 400px; /* Ensures section has height */
  overflow: hidden; /* Prevents diagonal text from spilling out */
  /* background-color: #f8f9fa; */ /* Light background */
}

.main-content-dcyoga .container {
  position: relative;
  z-index: 5;
}

.construction-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: rgba(255, 255, 255, 0.7); */ /* Light overlay */
  z-index: 10;
  /* backdrop-filter: blur(2px); */
}

.construction-text {
  font-size: 3rem;
  font-weight: 700;
  color: #2b2849;
  opacity: 0.8;
  border: 4px solid #2b2849;
  padding: 20px 40px;
  border-radius: 8px;
  transform: rotate(-10deg); /* The diagonal effect */
  text-align: center;
  white-space: nowrap;
}

/* Placeholder for future content (visible underneath overlay) */
.future-content-placeholder {
  text-align: center;
  color: #aaa;
  padding: 40px;
}
.future-content-placeholder h2 {
  color: #888;
  margin-bottom: 15px;
}

/*
|--------------------------------------------------------------------------
| Get In Touch Section (Copied from about.css)
|--------------------------------------------------------------------------
*/
.get-in-touch {
  background-color: #edeef4;
  padding: 80px 0;
  position: relative;
}

.get-in-touch-container {
  display: flex;
  align-items: flex-start;
  /* change this line */
  justify-content: space-between;
  gap: 60px;
}

.get-in-touch-text {
  margin-top: 0px;
  /* adjust up/down to fine tune alignment */
}

.get-in-touch-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a144d;
  margin-bottom: 10px;
}

.get-in-touch-text p {
  color: #7a7d90;
  font-size: 1.1rem;
}

.get-in-touch-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 60%;
}

.get-in-touch-form input {
  padding: 18px 22px;
  border: none;
  border-radius: 30px;
  background: #f6f7fb;
  box-shadow: inset 6px 6px 10px rgba(0, 0, 0, 0.05),
    inset -6px -6px 10px rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
}

.get-in-touch-form :hover {
  background: #ffffff;
}

.get-in-touch-form :focus-within {
  background: #ffffff;
}

.btn-gradient {
  background: linear-gradient(135deg, #6652e8, #3b82f6);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 40px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #5943e1, #2563eb);
  box-shadow: 0 5px 15px rgba(94, 87, 227, 0.4);
  transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| Footer (Copied from about.css)
|--------------------------------------------------------------------------
*/
.main-footer {
  background-color: #161153;
  /* new primary dark color */
  color: #ecf0f1;
  /* light text on dark bg */
  padding: 30px 0 15px;
}

.footer-links-centered {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links-centered a {
  color: #bdc3c7;
  /* medium light link colour */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.footer-links-centered a:hover {
  color: #fff;
}

.footer-contact-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Footer alignment fix */
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 35px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9em;
}

.contact-item i {
  color: #fff;
  /* new accent color for icons */
  width: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Ensures <sup> doesn't push the address line down */
.footer-contact sup {
  font-size: 0.7em;
  vertical-align: top;
  position: relative;
  top: -0.2em;
}

/* Fix alignment of icons and text for all contact items */
.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9em;
}

/* Tighter alignment for multi-line address */
.footer-contact .contact-item span {
  line-height: 1.4;
}

/* Move footer contact & social section to right and closer together */
.footer-contact-social {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 70px;
  margin-right: 50px;
}

.follow-us-text {
  color: #bdc3c7;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons-row {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #5e57e3;
  /* new accent color border */
  border-radius: 10px;
  color: #5e57e3;
  /* new accent color */
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  background: transparent;
}

.footer-social a i {
  font-size: 18px;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #5e57e3, #377ddf);
  color: #fff;
  transform: translateY(-13px);
  border-color: transparent;
}

.footer-bottom {
  border-top: 1px solid #2a2468;
  /* darker border line using primary color */
  padding-top: 15px;
  text-align: center;
  color: #bdc3c7;
  font-size: 0.85em;
}

/*
|--------------------------------------------------------------------------
| Responsive Design (Copied from about.css)
|--------------------------------------------------------------------------
*/
@media (max-width: 768px) {
  .container {
    padding: 0 20px !important;
  }

  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .contact-info span {
    margin: 0;
    /* Reset margin */
  }

  .social-links {
    margin-top: 10px;
  }

  .logo img {
    height: 60px;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    /* This will be relative to .header-content */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    /* This is fine, but it's relative to the header */
  }

  body.menu-open .menu-toggle {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start off-screen */
    width: 70%;
    max-width: 300px;
    /* Added max-width */
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* This menu is on layer 1000 */
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 60px;
    /* Space for a close button or header */
  }

  .main-nav.active {
    right: 0;
    /* Slide in */
  }

  .main-nav ul {
    flex-direction: column;
    margin-top: 15px;
    gap: 0;
    /* Reset gap for column layout */
    width: 100%;
  }

  .main-nav li {
    margin: 0;
    /* Reset margin */
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 15px 20px;
    /* Add horizontal padding */
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
  }

  .hero-image img {
    height: 400px;
  }

  .hero-text-centered h1 {
    font-size: 2rem;
  }

  .hero-text-centered p {
    font-size: 1rem;
  }

  /* Responsive for construction text */
  .construction-text {
    font-size: 2rem;
    padding: 15px 30px;
  }

  .footer-links-centered {
    gap: 20px;
  }

  .footer-contact-social {
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    margin-right: 0;
    /* Reset margin for center alignment */
    align-items: center;
    /* Horizontally center the stacked children */
  }

  .footer-contact {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    margin-top: 5px;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-links-centered {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
    /* Horizontally center the stacked links */
  }

  .footer-contact {
    gap: 12px;
  }

  .hero-text-centered h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Responsive for construction text */
  .construction-text {
    font-size: 1.5rem;
    padding: 10px 20px;
    transform: rotate(-5deg); /* Less aggressive rotation on small screens */
  }
}

/* Responsive layout for Get in Touch */
@media (max-width: 992px) {
  .get-in-touch-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .get-in-touch-form {
    width: 100%;
    align-items: center;
  }

  .get-in-touch-form input {
    width: 90%;
    max-width: 400px;
    /* Added for better control */
  }

  .btn-gradient {
    width: 90%;
    max-width: 400px;
    /* Added for better control */
  }
}