/*
Theme Name: Braddieo Business Theme
Theme URI: http://braddieo.com
Author: Bradford Oliveira
Author URI: http://braddieo.com
Description: A custom business WordPress theme for showcasing a parent company and its brands.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: braddieo-business-theme
*/

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

/*=====Variables====== */
:root {
    --primary-color: #0073e6;
    --primary-hover-color: #005bb5;
    --secondary-color: #666;
    --background-color: #f5f5f5;
    --font-family: 'Roboto', sans-serif;
}





/* === Layout === */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* === Header === */
.site-header:focus,
.site-header:active,
.site-header *:focus,
.site-header *:active {
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
}



.site-header {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    background: var(--background-color);
}

.site-header h1 {
    margin: 0;
}

.site-header p {
    margin: 5px 0 0;
    color: #666;
}

/* === Navigation === */
.main-navigation {
    text-align: center;
    margin: 20px 0;
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .main-menu li {
        display: inline-block;
        margin: 0 15px;
        color: var(--primary-color);
    }

    .main-menu a {
        text-decoration: none;
        color: #0073e6;
        color: var(--primary-hover-color);
        border-bottom: 2px solid var(--primary-hover-color);
    }

.main-menu a:hover {
    color: #005bb5;
    border-bottom: 2px solid #005bb5;
}

/* === Homepage Hero === */
.hero {
    text-align: center;
    padding: 4% 20px;
    background-color: #f0f0f0;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 7px;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
}

/* === Features Section === */
.features {
    padding: 40px 20px;
    text-align: center;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-box {
    background: white;
    padding: 30px;
    border: 1px solid #ccc;
    width: 230px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: bold;
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        opacity: 1;
    }

/* === Contact Section === */
.contact-prompt {
    padding: 40px 20px;
    background-color: #eaf1f8;
    text-align: center;
    height: min-content;
}

/* === Footer === */
.site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding is included in height */
}

/* === Page Styling === */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* === Blog Post Styling === */
.post-preview {
    display: flex;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    border-bottom: 1px solid #ccc;
    padding: 20px;
    box-sizing: border-box;
}

.post-preview h2 {
    font-size: 1.0rem;
    margin-top: 0;
}

.post-image {
    flex: 0 0 200px;
}

.post-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-content {
    flex: 1;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

/* === Logo === */
.site-logo {
    display: block;
    height: auto;
    margin: 0 auto 20px auto;
    max-width: 600px;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-box {
    width: 60%;
  }

  .post-preview {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .post-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .post-content {
    flex: 1;
    width: 100%;
  }

  .main-menu li {
    display: block;
    margin: 10px 0;
  }

  .site-logo {
    max-width: 300px;
  }



    .hero h1 {
        font-size: 1.0rem;
  }


    .hero p {
        font-size: 0.7rem;
    }


    .contact-prompt {
        padding: 20px 20px;
        background-color: #eaf1f8;
        text-align:center;
        height: min-content;
        font-size: 0.7rem;
    }

}
