/*
Theme Name: TourCo Elementor
Theme URI: https://rockstarmarketingrocks.com
Author: Rockstar Marketing
Author URI: https://rockstarmarketingrocks.com
Description: Elementor-ready starter theme for tour, charter, and attraction businesses. Barebones template layer built to be styled entirely with Elementor page building. Includes header/footer nav, and base typography for non-Elementor screens (search, 404, archives).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tourco-elementor
*/

:root {
  --tc-primary: #0f4c5c;
  --tc-accent: #e08e45;
  --tc-dark: #10241f;
  --tc-light: #f7f4ee;
  --tc-white: #ffffff;
  --tc-text: #1f2a2e;
  --tc-font-heading: Georgia, 'Times New Roman', serif;
  --tc-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--tc-font-body);
  color: var(--tc-text);
  background: var(--tc-white);
  margin: 0;
  line-height: 1.6;
}

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

a { color: var(--tc-primary); text-decoration: none; }
a:hover { color: var(--tc-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tc-font-heading);
  color: var(--tc-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.tc-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Site header */
.tc-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--tc-white);
  border-bottom: 1px solid #ece7dc;
}

.tc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 24px;
}

.tc-logo {
  font-family: var(--tc-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tc-dark);
  white-space: nowrap;
}

.tc-logo img { max-height: 48px; }

.tc-primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.tc-primary-nav a {
  color: var(--tc-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.tc-header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.tc-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--tc-accent);
  color: var(--tc-white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.tc-btn:hover { background: var(--tc-primary); color: var(--tc-white); }

.tc-header-phone {
  font-weight: 700;
  color: var(--tc-dark);
}

.tc-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .tc-primary-nav { display: none; }
  .tc-menu-toggle { display: block; }
  .tc-primary-nav.tc-nav-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tc-white);
    border-top: 1px solid #ece7dc;
    padding: 16px 24px;
  }
  .tc-primary-nav.tc-nav-open ul { flex-direction: column; gap: 16px; }
}

/* Generic content wrapper for non-Elementor pages */
.tc-entry-content {
  max-width: 780px;
  margin: 60px auto;
  padding: 0 24px;
}

.tc-entry-content h1 { font-size: 2.2rem; margin-bottom: 24px; }

/* Footer */
.tc-site-footer {
  background: var(--tc-dark);
  color: #d9e2df;
  padding: 60px 0 24px;
  margin-top: 60px;
}

.tc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.tc-footer-grid h4 {
  color: var(--tc-white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.tc-footer-grid a { color: #d9e2df; }
.tc-footer-grid a:hover { color: var(--tc-accent); }

.tc-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.tc-footer-grid li { margin-bottom: 10px; }

.tc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #93a29d;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 780px) {
  .tc-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 404 / search */
.tc-error-page {
  text-align: center;
  padding: 100px 24px;
}
