/*
Theme Name: Beyond Freight Solutions
Description: Custom theme for Beyond Freight Solutions client
Author: Your Name
Version: 1.0
License: GPL v2 or later
Text Domain: beyond-freight-solutions
*/

/* Import Miriam Libre font */
@import url('https://fonts.googleapis.com/css2?family=Miriam+Libre:wght@400;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Miriam Libre', sans-serif;
    line-height: 1.6;
    color: #d03737;
    background-color: #d2d2d2;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    color: #0c1248;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header strap */
.site-header {
    background: transparent;
    padding: 25px 0;
    margin-top: 30px;
    position: relative;
    border-top: 3px solid #d03737;
    border-bottom: 3px solid #d03737;
}

.header-strap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Left side - Title and strapline */
.site-branding {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0c1248;
    text-decoration: none;
    margin: 0;
}

.site-strapline {
    font-size: 1.2rem;
    font-weight: 400;
    color: #d03737;
    margin: 0;
}

/* Center - Logo */
.site-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Right side - Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #d03737;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #a02a2a;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Alternative selector for better specificity */
#primary-menu .current-menu-item a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Main content */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
}

/* Homepage content */
.homepage-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.homepage-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0c1248;
    text-transform: capitalize;
}

.homepage-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    color: #0c1248;
    text-transform: capitalize;
}

.homepage-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.services-preview,
.contact-preview {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Body buttons - full caps */
.homepage-content a,
.entry-content a,
.site-main a:not(.main-navigation a):not(.site-title) {
    display: inline-block;
    background: transparent;
    color: #d03737;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #d03737;
    border-radius: 8px;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.homepage-content a:hover,
.entry-content a:hover,
.site-main a:not(.main-navigation a):not(.site-title):hover {
    background: #d03737;
    color: white;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

.site-footer a {
    color: #d03737;
    text-decoration: none;
}

.site-footer a:hover {
    color: #a02a2a;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-strap {
        flex-direction: column;
        gap: 20px;
    }
    
    .site-logo {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    
    .site-branding {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation ul {
        gap: 20px;
    }
}

/* Static page styling */
.static-page {
    max-width: 800px;
    margin: 0 auto;
}

.static-page .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.static-page .entry-title {
    font-size: 2.5rem;
    color: #0c1248;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.static-page .entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #d03737;
}

.static-page .entry-content h2 {
    font-size: 1.8rem;
    color: #0c1248;
    margin: 40px 0 20px 0;
    text-transform: capitalize;
}

.static-page .entry-content h3 {
    font-size: 1.4rem;
    color: #0c1248;
    margin: 30px 0 15px 0;
    text-transform: capitalize;
}

.static-page .entry-content p {
    margin-bottom: 20px;
}

.static-page .entry-content ul,
.static-page .entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.static-page .entry-content li {
    margin-bottom: 10px;
} 