/*
Theme Name: Stephens Limosuine Service
Author: Webbie LLC
Author URI: https://www.webbie.dev/
Description: A custom WordPress theme built with the Classic Editor, Bootstrap 5.3.5, and ACF, for Stepehns Limosuine Service.
Version: 1.0.0
Tags: custom-theme, bootstrap, classic-editor, acf, responsive
Text Domain: stephenslimoservice-theme
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1. Base Typography
2. Headings
3. Links
4. Buttons
5. Navigation
6. Footer
7. Hero
--------------------------------------------------------------*/

/* 1. Base Typography */
body {
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  background-color: #fff;
  line-height: 1.6;
}

/* 2. Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  font-weight: 600;
}

h3 {
  font-size: 28px;
  font-weight: 500;
}

h4,
h5,
h6 {
  font-size: 20px;
}

.bg-coal {
  background-color: #000;
  color: #fff;
}

/* 3. Links */
a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover,
a:focus {
  color: #ccc;
  text-decoration: underline;
}

/* 4. Buttons */
.button,
input[type="submit"],
button {
  display: inline-block;
  background-color: #fff;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover,
input[type="submit"]:hover,
button:hover {
  background-color: #ccc;
  transform: translateY(-2px);
}

/* 5. Navigation */
.navbar {
  background-color: #000;
  padding: 16px 0;
  text-align: center;
  border-bottom: none;
}

.navbar a {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 16px;
  letter-spacing: 1px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ccc;
}

.navbar-brand img {
  max-height: 4.5rem;
}

.nav-cta {
  background-color: #fff;
  color: #000 !important;
  padding: 16px 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.nav-cta:hover {
  background-color: #ccc;
}

.nav-cta-black {
  background-color: #000;
  color: #fff !important;
  padding: 16px 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.nav-cta-black:hover {
  background-color: #101010;
}

.navbar-nav .nav-link.show,
.navbar-nav .nav-link:focus {
  color: #ccc;
}

.navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-nav .nav-link.visited {
  color: #fff;
}

/* 5.1 Dropdown Navigation */
ul .dropdown-menu {
  background-color: #000;
  border-radius: 0px;
  padding: 16px;
}

/* 6. Footer */

.site-footer {
  background-color: #000;
  color: #fff;
  padding: 32px 0;
  text-align: center;
}

/* 7. Hero */

header,
#heroSection {
  margin: 0;
  padding: 0;
}

#heroSection {
  border: none;
  padding-top: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero {
  position: relative;
  min-height: 90vh;
  padding: 5rem 0;
  overflow: hidden;
  width: 100%;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

.hero img {
  max-width: 100%;
}

/* ========== Contact Form ========== */

.contact-form-wrapper {
  padding: 1rem;
  background-color: #000;
  border-radius: 0;
}

.contact-form-wrapper .form-label {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #fff;
  background-color: #fff;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  border-radius: 0;
}

.contact-form-wrapper .form-control:focus {
  outline: none;
  border-color: #fff;
}

.contact-form-wrapper .cta-btn {
  background-color: #fff;
  color: #000;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #fff;
  background-color: #fff;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  border-radius: 0;
  color: #000;
}

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
  color: rgba(0, 0, 0, 0.45);
  font-weight: bold;
  text-transform: uppercase;
}

select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.form-control {
  color: rgba(0, 0, 0, 0.65);
}

.wpcf7 .wpcf7-spinner {
  display: none !important;
}

.wpcf7 form .wpcf7-response-output {
  color: #dc3232;
}

.square {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Creates a square aspect ratio (1:1) */
  border: 10px solid black;
  overflow: hidden;
  background-color: #000; /* Ensures black border area has a background */
}

.square-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire square */
}

.square h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem; /* Adjust this as needed */
  z-index: 10;
}

.square::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
  z-index: 5;
}

.square-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.square-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card:hover {
  transform: translateY(-4px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}



/* 8. Media Queries */

@media (max-width: 575.98px) {
}

@media (min-width: 992px) {
  #hero-section img {
    max-width: 80%;
  }
}

@media (max-width: 991.98px) {
}

@media (max-width: 576px) {
}
