/*
Theme Name: Mountain Massage
Theme URI: https://mountainmassage.ca
Author: Mountain Massage and Laser Therapy
Author URI: https://mountainmassage.ca
Description: Custom WordPress theme for Mountain Massage and Laser Therapy - Professional massage therapy and laser therapy in Hamilton, Ontario
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: mountain-massage
Tags: health, wellness, massage, therapy, business
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #2c7a7b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #234e4f;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

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

.site-main {
    min-height: 60vh;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #2c7a7b;
    color: #fff;
    padding: 10px 0;
}

.header-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-contact .phone-link {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact .phone-link:hover {
    color: #e6f4f1;
}

.header-keywords {
    font-size: 0.9rem;
    opacity: 0.9;
}

.header-main {
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-branding h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c7a7b;
}

.site-logo-text {
    color: #2c7a7b;
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

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

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

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    padding: 10px 5px;
    display: block;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: #2c7a7b;
    color: #fff;
    border-color: #2c7a7b;
}

.btn-primary:hover {
    background: #234e4f;
    border-color: #234e4f;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #2c7a7b;
    border-color: #2c7a7b;
}

.btn-secondary:hover {
    background: #2c7a7b;
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #2c7a7b;
    border-color: #fff;
}

.btn-white:hover {
    background: transparent;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #2c7a7b;
    border-color: #2c7a7b;
}

.btn-outline:hover {
    background: #2c7a7b;
    color: #fff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background: #1a1a1a;
    color: #fff;
    margin-top: 60px;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-column a {
    color: #e6f4f1;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-phone a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #81e6d9;
}

.footer-bottom {
    background: #0d0d0d;
    padding: 20px 0;
    border-top: 1px solid #333;
}

/* Container holds copyright + legal */
.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Legal row right-aligned */
.footer-legal {
    margin-top: 0.25rem;
    text-align: right;
}

/* Make the UL inline + no bullets */
.footer-legal .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
}

/* Inline items */
.footer-legal .menu li {
    display: inline;
}

/* Add | between items */
.footer-legal .menu li + li::before {
    content: "|";
    /*color: #6c757d;*/
	color: #ffffff;
    margin: 0 0.5rem;
}

/* Link styling */
.footer-legal .menu a {
    text-decoration: none;
    font-size: 0.875rem;
    /*color: #6c757d;*/
	color: #ffffff;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}

/* ==========================================================================
   Page Headers
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, #2c7a7b 0%, #234e4f 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    /*margin-bottom: 60px;*/
}

.page-header h1 {
    color: #fff;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #1a1a1a;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c7a7b;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #e53e3e;
}

.form-footer {
    margin-top: 30px;
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    
    .header-contact {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation a {
        padding: 15px 20px;
    }
    
    .header-cta {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Ensure primary menu uses Bootstrap flex layout */
#primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu > li {
    /* let Bootstrap handle layout */
    float: none;
}

#primary-menu a {
    text-decoration: none;
}
.hero-banner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-image {
  width: 100%;
  height: 300px; /* Mobile */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Responsive heights */
@media (min-width: 768px) {
  .hero-image {
    height: 350px;
  }
}

@media (min-width: 992px) {
  .hero-image {
    height: 400px;
  }
}

/* Contact Form 7 Bootstrap Styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
}

.wpcf7 label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.wpcf7 input[type="submit"] {
    background-color: #0d6efd;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #0b5ed7;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

.wpcf7-mail-sent-ok {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}
/* Make current menu item look different */
.navbar-nav .current-menu-item > .nav-link,
.navbar-nav .current_page_item > .nav-link,
.navbar-nav .current-menu-ancestor > .nav-link,
.navbar-nav .current_page_ancestor > .nav-link,
.navbar-nav .nav-item.active > .nav-link {
  color: #2c7a7b !important;      /* highlight color */
  font-weight: 600;
}

/* Optional underline / indicator */
.navbar-nav .current-menu-item > .nav-link::after,
.navbar-nav .current_page_item > .nav-link::after,
.navbar-nav .nav-item.active > .nav-link::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #2c7a7b;
  margin-top: 2px;
}
.post-meta p {
    font-size: x-small;
    padding: 0;
    margin: 0;
    line-height: normal;
}
/* Make header area consistent */
.site-branding {
    display: flex;
    align-items: center;
}

/* Logo sizing */
.site-logo-link img.site-logo {
    max-height: 80px;   /* adjust to match your current title/tagline area height */
    width: auto;        /* keep aspect ratio */
    height: auto;
}

/* Optional: keep it responsive on very small screens */
@media (max-width: 600px) {
    .site-logo-link img.site-logo {
        max-height: 60px;
    }
}
.text-primary {
    color: #2c7a7b !important;
}
.bg-primary {
    background-color: #2c7a7b !important;
}
.wpcf7 input[type="submit"]{
    background-color: #2c7a7b !important;
}
div.dataTables_length {
    margin: .5rem;
}
section.claims-section {
    margin: 0px 20px;
}