/*
Theme Name: Rocket Man
Theme URI: https://daccaa.com
Author: DACCAA Ltd
Author URI: https://daccaa.com
Description: A custom WordPress theme called Rocket Man.
Version: 1.0
License: Proprietary — All rights reserved
License URI: https://daccaa.com/wordpress/license.php
Text Domain: rocketman
Tags: custom-theme, rocket, minimal, responsive
*/

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

html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  background-color: #ebebee;
  color: black;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #999;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

p {
  font-size: 18px;
}

a,
input,
textarea,
select,
button {
  transition: background-color 0.8s ease;
  -webkit-appearance: none;
  appearance: none;
  font-family: "Montserrat", sans-serif;
}

.inner {
  max-width: 1400px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* --- Variables --- */

:root {
  --primary: #F37945;
  --primary-hov: #b55a33;
  --primary-text: #ffffff;
  --primary-hov-text: #ffffff;
  --secondary: #121D42;
  --secondary-hov: #060a17;
  --secondary-text: #ffffff;
  --secondary-hov-text: #ffffff;
}

/* --- Main styles --- */

.site-header {
  background-color: white;
  width: 100%;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 8%);
}

.site-header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.site-header .branding img {
  max-width: 250px;
  width: auto;
  height: auto;
}

.site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.site-header nav li {
  margin: 0;
  padding: 0;
}

.site-header nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
}

.site-header nav a:hover {
  text-decoration: underline;
}

.site-header nav .cta a {
  background-color: var(--primary) !important;
  color: var(--primary-text) !important;
  border-radius: 30px;
  padding: 10px 30px;
  text-decoration: none !important;
}

.site-header nav .cta a:hover {
  background-color: var(--primary-hov) !important;
  color: var(--primary-hov-text) !important;
}

.site-header nav li.current_page_item a {
  color: var(--primary-hov) !important;
  text-decoration: none !important;
}

.site-content {
  padding: 50px 0;
}

footer {}

footer .top {
  background-color: black;
  padding: 50px 0;
  color: white;
}

footer .top .inner {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

footer .top .inner .col {
  flex: 1;
}

footer .top a {
  color: white;
}

footer .top h4 {
  margin-bottom: 5px;
}

footer .top ul {
  margin-left: 30px;
}

footer .legal {
  background-color: black;
  color: white;
}

footer .legal .inner {
  border-top: solid 1px #ebebee;
  padding: 30px 0;
}


/* --- Home page --- */
.home .site-content {
  padding: 0 !important;
}

.hero {
  background-color: white;
  border-top: solid 1px #ccc;
}

.hero .inner {
  padding: 150px 0;
  display: flex;
  gap: 50px;
  align-items: center;
}

.hero .inner .content {
  flex: 1;
}

.hero .inner .image {
  flex: 1.5;
}

.hero .inner .image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.hero h1 {
  color: var(--primary);
  font-size: 4rem;
}

.hero p {
  padding: 40px 0;
  font-size: 1.5rem;
  font-weight: 400;
}

.hero a {
  background-color: var(--primary);
  color: var(--primary-text);
  padding: 15px 30px;
  border-radius: 30px;
  display: inline-block;
  text-decoration: none;
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 400;
}

.hero a strong {
  font-weight: 800;
}

.hero a:hover {
  background-color: var(--primary-hov);
  color: var(--primary-hov-text);
}


/* --- Why --- */
.why {
  padding: 100px 0;
}

.why .inner {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  align-items: center;
}

.why .inner .box {
  background: var(--primary);
  padding: 30px;
  border-radius: 30px;
  gap: 30px;
  display: flex;
  flex-direction: column;
  color: white;
  flex: 1;
}

.why .inner .box .stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why .inner .box .stage .number {
  background: var(--secondary);
  display: inline-flex;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.why .inner .text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
} 

.why .inner .text h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

.why .inner .text p {
  font-size: 18px;
}

.why .inner .text p strong {
  font-weight: 800;
}

/* --- What --- */
.what {
  background-color: white;
  padding: 150px 0;
  text-align: center;
}

.what .inner h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

.what .inner .boxes {
  display: flex;
  gap: 50px;
  align-items: stretch; 
  justify-content: center;
  margin-top: 50px;
}

.what .inner .boxes .box {
  flex: 1;
  display: flex;
  flex-direction: column; 
}

.what .inner .boxes .box .text {
  background-color: var(--primary);
  padding: 15px;
  border-radius: 20px;
  color: white;
  flex-grow: 1; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  text-align: center;
  margin-top: 30px;
  font-weight: 400;
}

.what .inner .boxes .box img {
  max-width: 100%;
  border-radius: 20px;
}

/* --- CTA --- */
.ctaSec {
  background-color: var(--primary);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.ctaSec h2 {
  font-size: 2.5rem;
}

.ctaSec p {
  font-size: 1.5rem;
  padding: 30px 0;
}

.ctaSec a {
  background-color: white;
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 30px;
  display: inline-block;
  text-decoration: none;
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.3s ease;
}

.ctaSec a:hover {
  background-color: var(--primary-hov);
  color: var(--primary-hov-text);
}


/* --- Dark mode --- 

@media (prefers-color-scheme: dark) {
  body {
    background-color: #2b2b2b;
    color: #ccc !important;
  }
}

*/

/* Small desktop sizing issues --- */

@media only screen and (max-width: 1410px) {
  .inner {
    width: 85%;
  }
}

/* --- Mobile styles --- */

@media only screen and (max-width: 800px) {
  .inner, .why, .ctaSec, .what, footer .top {
    width: 100%;
    padding: 20px !important;
    gap: 15px !important;
  }
  
  .site-header nav li a {
    padding: 5px 20px;
    text-align: center;
    width: 100%;
    display: inline-block;
  }

  .site-header .site-nav {
    margin-top: 20px;
  }
  
  .site-header .inner, .site-header nav ul, .why .inner, .what .inner .boxes, footer .top .inner, .hero .inner {
    flex-direction: column;
  }
  
}