/*
Theme Name: Remedy Edge Global
Theme URI: https://example.com/remedy-edge-global
Author: Remedy Edge
Author URI: https://example.com
Description: Custom corporate communications theme for Remedy Edge.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: remedy-edge-global
*/

:root {
  --reg-color-bg: #000;
  --reg-color-surface: #10221f;
  --reg-color-text: #ffffff;
  --reg-color-accent: #0d7a5f;
  --reg-color-accent-dark: #084d3c;
  --reg-space: 1rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: var(--reg-color-text);
  background-color: var(--reg-color-bg);
  background: fixed radial-gradient(circle at 50% 100%, #471f2e 0%, #471f2e 20%, rgba(35, 31, 32, 1) 55%, #000 100%);
}

body {
  color: #fff;
  min-height: 100vh;
  position: relative;
  top: 0;
}


.privacy-policy {
  margin: 4rem auto;
  width: 90%;
  max-width: 75rem;
  padding: 45px 20px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;

  a.back-to-home {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    background-color: #fff;
    margin-bottom: 50px;
  }

  a { color: #000; }
}

#page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.homepage-main {
    height: calc(100vh - 60px);
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-hero {
  width: 90%;
  max-width: 55rem;
  margin: 0 auto;
  padding: 75px 0;
  text-align: center;

  nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    
    li a {
        font-size: 2.3rem;
        color: rgba(163, 160, 159, 1);
        text-decoration: none;
        font-weight: 100;
        white-space: nowrap;
        position: relative;
        text-transform: uppercase;

        &::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 2px;
            background: #d93366;
            bottom: -6px;
            left: 0;
            transform: scaleX(0);
            transition: transform 0.3s ease;
            transform-origin: 0 0;
        }
        
        &:hover::before, &:focus::before {
            transform: scaleX(1);
        }   
    }
  }
}

.home-logo {
  width: 100%;
  height: auto;
}

.home-tagline {
  margin: 6rem 0 3.5rem 0;
  font-size: 1.9rem;
  font-weight: 100;

  span {
    position: relative;
    display: inline-block;
    padding-bottom: 0;
    border-bottom: 3px solid #d93366;
  }
}

.footer-inner {
    width: 100%;
    height: 60px;
    padding: 0 75px;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    justify-content: space-between;

    .footer-menu {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .footer-menu a {
        color: var(--reg-color-text);
        text-decoration: none;

        &:hover, &:focus {
            text-decoration: underline;
        }

    }
}

@media (max-width: 768px) {
  .homepage-main {
    height: calc(100vh - 80px);
  }

  .homepage-hero nav ul {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0 0 0;
  }
    .home-logo { width: 100%; }
    .home-tagline {
        margin: 3rem 0 2rem 0;
        font-size: 1.5rem;
    }
    .home-description {
        font-size: 1.1rem;
        line-height: 1.35rem;
        width: 75%;
    }

  .footer-inner {
    height: 80px;
    font-size: 0.7rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 8px;
  }

  .footer-nav {
    margin: 0 0 1rem 0;
    .footer-menu {
      justify-content: center;
      row-gap: 3px;
    }
  }

  .footer-menu {
    flex-wrap: wrap;
  }
}
