/*
Theme Name: My Builders Merchant
Theme URI: https://mybuildersmerchant.uk
Author: My Builders Merchant
Author URI: https://mybuildersmerchant.uk
Description: A custom WordPress theme for mybuildersmerchant.uk featuring software demo and investment pitch pages with downloadable Investment Report.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mybuildersmerchant
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Main styles for mybuildersmerchant WordPress theme */

:root {
    --primary-color: #2E5EAA;
    --secondary-color: #FF6B35;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --body-color: #212529;
    --body-bg: #ffffff;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--body-color);
    background-color: var(--body-bg);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1d4080;
    text-decoration: none;
}

/* Header Styles */
.site-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.site-title {
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
}

/* Navigation */
.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--body-bg);
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0% 100%);
}

/* Card Styles */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-title {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1d4080;
    border-color: #1d4080;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #e55a24;
    border-color: #e55a24;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* WordPress specific styles */
.wp-caption {
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}
