/*
Theme Name: CoyoteStrategy
Author: Ian Kelly
Description: A professional theme by Coyote Limited. To learn more, visit https:/coyotelimited.com
Version: 1.11
*/

@font-face {
    font-family: 'AgencyFB-Bold';
    src: url('fonts/AgencyFB-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Iosevka-Bold';
    src: url('fonts/isoveka-bold.ttf') format('truetype');
    src: url('fonts/isoveka-bold.woff2') format('woff2');
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: url('fonts/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans-SemiBold';
    src: url('fonts/OpenSans-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans-Regular';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Roboto', sans-serif;
}

.site-header {
    position: fixed;
    top:0;
    left:0;
    height:75px;
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #d0f0f6, #385b60);
    z-index:1;
}

.custom-logo {
    max-width: 300px;
    height: auto;
    display: block;
    order: 2;
}

.top-menu {
    margin: 0;
    padding: 0;
    display: flex;
    order: 1;
}

.top-menu li {
    list-style-type: none;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left:40px;
    float: left;
    white-space: nowrap;
}

/* Apply the gradient background to the last <li> element */
.top-menu li:last-child {
    background: linear-gradient(to right, #ef6736, #da3924);
    padding-top: 20px;
    padding-bottom :20px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 20px;
    padding-left:20px;
    padding-right:50px;
    height:35px;
}

.top-menu li:last-child a {
    background-color: transparent !important;
}

.top-menu li a {
    font-family: 'OpenSans-SemiBold', sans-serif;
    text-transform: uppercase;
    color: #ccedf6; /* Text color for the menu bar */
    text-decoration: none;
    font-size: 26px;
    transition: color 0.3s ease;
}

.top-menu li a:hover {
    color: #D8DBAB;
}

.top-menu li.current_page_item a {
    color: #cbb668;
    background-color: #6d1517;
    padding: 5px 10px;
    border-radius: 4px;
}

.site-content {
    line-height: 1.6;
    color: #333;
    margin-top:75px;
}

.site-content .bigtitle {
    color: #9ea09e;
    font-family: 'Iosevka-Bold', sans-serif;
}

.ghost {
    display: flex;
    flex-direction:column;
    justify-content: center; /* Horizontally center the contents */
    align-items: center; /* Vertically center the contents */
    text-align:center;
    background-color: #c2bfb5;
    height: 412px;
    padding:50px;
    border-bottom:2px solid black;
    margin-top:-50px;
}

h1 {
    font-family:'OpenSans-Bold', sans-serif;
    font-size:45px;
    margin-bottom:10px;
}

h3 {
    font-family:'OpenSans-Regular', sans-serif;
    font-size:25px;
    margin-top:10px;
}

.ghost .wp-block-button, .billboard .wp-block-button {
    display: inline-block;
    padding: 5px 15px;
    margin-bottom:60px;
    background-color: #05292b;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover styles for the button */
.ghost .wp-block-button:hover, .billboard .wp-block-button:hover {
    background-color: #1a4b4d;
    transform: scale(1.05);
}

/* Additional styles for focus (keyboard navigation) */
.ghost .wp-block-button:focus, .billboard .wp-block-button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.ghost .wp-block-button a, .billboard .wp-block-button a {
    background-color: #05292b;
}

.ghost .wp-block-button a:hover, .billboard .wp-block-button a:hover {
    background-color: #1a4b4d;
}

.bumper {
    display: flex;
    flex-direction:column;
    justify-content: center; /* Horizontally center the contents */
    align-items: center; /* Vertically center the contents */
    text-align:center;
    padding-left:50px;
    padding-right:50px;
}

.grayboard {
    display: flex;
    flex-direction:column;
    justify-content: center; /* Horizontally center the contents */
    align-items: center; /* Vertically center the contents */
    text-align:center;
    padding-left:50px;
    padding-right:50px;
    background-color:#786e66;
    border-top:2px solid black;
    border-bottom:2px solid black;
}

.grayboard h1 {
    color: #c2bfb5;
}

.grayboard h3 {
    font-size: 32px;
}

.grayboard .wp-block-button {
    display: inline-block;
    padding: 5px 15px;
    margin-bottom:60px;
    margin-top:60px;
    background-color: #d94729;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid black;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover styles for the button */
.grayboard .wp-block-button:hover {
    background-color: #bd3114;
    transform: scale(1.05);
}

/* Additional styles for focus (keyboard navigation) */
.grayboard .wp-block-button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.grayboard .wp-block-button a {
    background-color: #d94729;
}

.grayboard .wp-block-button a:hover {
    color: #f8e6e3;
    background-color: #bd3114;
}

.redboard {
    display: flex;
    flex-direction:column;
    justify-content: center; /* Horizontally center the contents */
    align-items: center; /* Vertically center the contents */
    text-align:center;
    padding-left:50px;
    padding-right:50px;
    background-color:#f4a179;
    border-bottom:2px solid black;
}

.redboard h1 {
    color: #786e66;
}

.redboard h3 {
    font-family:'OpenSans-Bold', sans-serif;
    font-size: 30px;
}

.redboard .valuebox .valuebox-image {
    top:20px;
}

.blueboard {
    display: flex;
    flex-direction:column;
    justify-content: center; /* Horizontally center the contents */
    align-items: center; /* Vertically center the contents */
    padding-left:50px;
    padding-right:50px;
    background-color:#ccedf6;
}

.blueboard h1 {
    color:#786e66;
}

/* Container for value boxes */
.boxcontainer {
    font-family: 'OpenSans-SemiBold', sans-serif;
    display: flex;           /* Use Flexbox to line up items in a row */
    justify-content: space-between;  /* Distributes items evenly */
    align-items: center;
    width:100%;
}

/* Individual box styling */
.valuebox {
    flex: 1;                 /* Allows boxes to adjust their width */
    height: 280px;           /* Box height */
    margin: 0 10px;          /* 10px on each side will give 20px between boxes */
    position: relative;     /* To position the image and text correctly */
    box-sizing: border-box;  /* Ensure padding doesn't affect overall dimensions */
    padding: 110px 10px 10px; /* 60px at the top for the image, 10px on the sides and bottom for text */
}

.redboard .valuebox {
    height:375px;
}

.redboard .valuebox ul {
    font-size:16px;
    text-align:left;
}

.valuebox-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Box text styling */
.valuebox-text {
    position: relative;     /* Relative positioning to avoid overlap with image */
}

/* Circle Button Container */
.circle-button {
    display: inline-block;
    float: left;
    text-align: center;
    margin: 10px;
    width: 200px; /* Set a fixed width for each circle button */
    white-space: normal; /* Allow text to wrap */
}

/* Circle Image */
.circle-image {
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    display: inline-block; /* Add inline-block to align circle images horizontally */
    margin-bottom: 10px; /* Add margin at the bottom for spacing */
}

/* Text Below Circle Image */
.circle-button p {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0; /* Remove bottom margin to prevent extra space */
}

.circle-button a {
    color: #0c0114;
    text-decoration: none;
}

/* Hover Effect */
.circle-button a:hover .circle-image {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}


.contact {
    background: linear-gradient(to left, #bbe0eb, #67b4c1);
    padding:40px;
    margin-top:-50px;
    text-align:center;
    height:500px;
}

.contact h2, .services h2, .company h2 {
    display:none;
}

.contact h3 {
    color:#fff;
    font-size:200%;
}

.contactleft, .contactright {
    float: left; /* Float both divs to align them horizontally */
    height: 500px; /* Set the height as required */
}

.contactleft {
    width: 60%; /* Left div takes up 60% of the width */
}

.contactleft table {
    text-align:left;
    width:100%;
}

.contactleft input[type="text"],
.contactleft textarea {
    width: 100%; /* Full width */
    padding: 10px; /* Ample padding for typing comfort */
    margin-bottom: 15px; /* Space between each field */
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 5px; /* Slightly rounded corners for a modern look */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 16px; /* Adequate font size */
    font-family: Arial, sans-serif; /* Consistent font family */
}

.contactleft input[type="text"]:hover,
.contactleft textarea:hover {
    border-color: #999; /* Slightly darker border on hover */
}

.contactleft input[type="text"]:focus,
.contactleft textarea:focus {
    border-color: #d94729; /* Highlight border when focused */
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(217, 71, 41, 0.5); /* Soft glow effect */
}


.contactleft textarea {
    width:100%;
    height:150px;
    resize:none;
}

.contactleft button {
    background-color: #d94729; /* Button background color */
    color: white; /* Button text color */
    border: none; /* No border */
    padding: 10px 20px; /* Top/bottom and left/right padding */
    font-size: 16px; /* Text size */
    font-weight: bold; /* Font weight */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Cursor indicates the button is clickable */
    transition: background-color 0.3s ease; /* Smooth background color transition on hover */
}

.contactleft button:hover,
.contactleft button:focus {
    background-color: #c33e1f; /* Slightly darker background color on hover/focus */
    outline: none; /* Remove the outline on focus */
}

.contactleft button:active {
    background-color: #b23518; /* Even darker background color when the button is clicked */
    transform: translateY(2px); /* Slight downward movement when the button is clicked */
}

.contactright {
    width: 40%; /* Right div takes up the remaining 40% of the width */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
    background-size: 70%; /* Cover the entire div without stretching */
}

.confirmsend {
    color:#fff;
    margin-top:30px;
    font-size:150%;
    font-weight:bold;
}

.services {
    margin-top:-75px;
    padding:40px;
    background-color:#f07c43;
}

.services h3 {
    display:block;
    font-size:200%;
}

.services .servicecontainer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.services .servicebox {
    width: 400px; /* Set the width of the box */
    height: 400px; /* Set the height of the box */
    box-sizing: border-box;
    margin: 10px; /* Set the margins around the box */
    background-color: #ccedf5; /* Set the background color */
    box-sizing: border-box;
    text-align:center;
    padding:10px;
}

.services .servicebox h4 {
  position: relative; 
  display: inline-block;
  text-transform: uppercase;
  font-size:110%;
}

.services .servicebox h4::after {
  content: ''; 
  position: absolute;
  top: 100%; 
  left: 50%; 
  transform: translateX(-50%); /* Center the triangle horizontally */
  width: 0;
  height: 0;
  border-left: 20px solid transparent; /* Size of the left part of the triangle */
  border-right: 20px solid transparent; /* Size of the right part of the triangle */
  border-top: 20px solid #73cbcd; /* Size and color of the triangle */
}

.company .billboard {
    background-color:#05292b;
    height:500px;
    width:100%;
    margin-top:-75px;
    padding-top: 40px;
    text-align:center;
}

.company .billboard .wp-block-button {
    margin:0 auto;
}

.company .billboard h4 {
    margin-left:120px;
    margin-right:120px;
    font-size:240%;
    color:white;
}

.company .team {
    margin-top:-75px;
    margin-bottom:-50px;
    padding-bottom: 50px;
    background-color:#ccedf5;
    text-align:center;
}

.company .team h4 {
    margin-left:120px;
    margin-right:120px;
    font-size:200%;
    color:black;
}

.company .valuebox {
    padding-top:10px;
    height:450px;
}

.company .valuebox .valuebox-image {
    margin-top:10px;
    width:130px;
    height:130px;
}

.company .valuebox-text {
    margin-top:140px;
}

.company .team .valuebox .valuebox-text {
    margin-top:160px;
}

.company .team .valuebox .valuebox-image {
    width:160px !important;
    height:160px !important;
}

.company .team. .valuebox .valuebox-image img {
    width:160px;
    height:160px;
}

body.blog .post {
    padding:40px;
}

body.blog .post img {
    max-height:400px;
}

body.blog .post .wp-block-media-text {
    display:flex;
    flex-direction:column;
    padding:20px;
    font-weight:bold;
}

body.blog .post .wp-block-media-text figure {
    height:400px;
}

body.blog .post .postgal {
    display:flex;
    flex-direction:row;
}

footer {
    padding: 20px 50px;
    background-color: #05292b;
    color: #ccedf6;
    border-top: 2px solid #e5e5e5;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #6d1517;
}

@media (max-width:1250px) {
    .contact {
        height: 550px;
    }
    .contactleft, .contactright {
        height: 550px; /* Set the height as required */
    }
    
    .contactleft textarea {
        height: 90px;
    }
}

/* This breakpoint addresses tablets and smaller screens */
@media (max-width: 1150px) {
    .top-menu li {
        margin-left: 20px;
        font-size: 22px; /* Adjust the font size for smaller screens */
    }
    .custom-logo {
        max-width: 200px; /* Resize the logo for smaller screens */
    }
    .top-menu li:last-child {
        background:transparent;
    }
    .boxcontainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Creates a 2-column grid layout */
        gap: 20px; /* This is the space between the grid items */
    }

    .valuebox {
        width: 100%; 
        height: 250px;
        margin: 0; 
        padding: 20px;
        overflow: hidden; 
        display: flex;  /* Add flexbox layout */
        flex-direction: column; /* Organize children vertically */
        align-items: center; /* Center the items horizontally */
    }

    .redboard .valuebox ul {
        font-size:20px;
    }    
    
    .valuebox-image {
        position:absolute;
        width: 80px;
        height: 80px;
    }
    
    .valuebox-text {
        margin-top: 85px;
    }
    
    .grayboard h3 {
        font-size:28px;
    }
}

/* This breakpoint addresses mobile screens */
@media (max-width: 890px) {
    .top-menu {
        display: block; /* Stack menu items */
        text-align: center;
        margin-top: 20px;
    }
    .top-menu li {
        float: none; /* Clear floating */
        display: inline-block; /* Make the menu items inline */
    }
    .top-menu li a {
        color: #07494d;
        font-size: 20px; /* Adjust font size for better fit */
    }
    .top-menu li.current_page_item a {
        color: #cbb668;
        background-color: #6d1517;
        padding: 2px;
        border-radius: 4px;
    }
    .custom-logo {
        display: block;
        margin: 0 auto; /* Center the logo */
        order: 1; /* Logo first */
    }
    .site-header {
        height: 200px;
        padding: 10px 0; /* Add some padding to make it look more spacious */
        flex-direction: column;
    }
    .site-content {
        margin-top: 220px;
    }
    
    .ghost h1, .bumper h1 {
        font-size:20px;
    }
    
    .ghost h3, .bumper h3 {
        font-size: 15px;
    }
    
    .ghost .wp-block-button {
        margin-bottom: 30px; /* Reduce margin for mobile spacing */
    }

    .boxcontainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* Creates a 2-column grid layout */
        gap: 20px; /* This is the space between the grid items */
    }
    
    .valuebox {
        height:250px;
    }
    
    .redboard .valuebox {
        height:300px;
    }

    .redboard .valuebox ul {
        font-size:20px;
    }
    
    .grayboard h3 {
        font-size:25px;
    }
    
    .contactleft {
        width: 100%
    }
    
    .contactright {
        display: none;
        height: 450px;
    }
    
    .company .billboard h4 {
        font-size:160%;
        padding-top:20px;
    }

    body.blog .post .postgal {
        display:block;
    }
    
    body.blog .post img {
        width:350px;
    }
    
    body.blog .post .wp-block-media-text figure {
        height:auto;
    }
}
