/*
Theme Name: Simple Presence Bootstrap
Theme URI: https://yourwebsite.com
Author: Your Agency Name
Author URI: https://yourwebsite.com
Description: A clean, professional WordPress theme built with Bootstrap 5 for web design and online presence agencies. Built with simplicity, effectiveness, and reliability in mind.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
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: simple-presence
Tags: business, portfolio, bootstrap, custom-colors, custom-menu, featured-images, translation-ready, responsive
*/

:root {
  --color-primary: #2C3E50;
  --color-secondary: #34495E;
  --color-accent: #3498DB;
  --color-bg-light: #FFFFFF;
  --color-bg-dark: #F8F9FA;
  --color-text-header: #2C3E50;
  --color-text-body: #4A5568;
  --color-text-emphasis: #2980B9;
  --color-border: #E2E8F0;
  --color-success: #27AE60;
  --color-danger: #E74C3C;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
}

/* Override Bootstrap defaults with brand colors */
body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  -webkit-font-smoothing: antialiased;
}

/* Typography - Brand Fonts */
h1, h2, h3,
.h1, .h2, .h3 {
  font-family: var(--font-secondary);
  color: var(--color-text-header);
  font-weight: 600;
  line-height: 1.3;
}

h4, h5, h6,
.h4, .h5, .h6 {
  font-family: var(--font-primary);
  color: var(--color-text-header);
  font-weight: 600;
}

h1, .h1 { font-size: 48px; font-weight: 700; }
h2, .h2 { font-size: 36px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 24px; }
h5, .h5 { font-size: 20px; }
h6, .h6 { font-size: 18px; }

p { 
  margin-bottom: 1em;
}

.entry-content p,
.page-content p {
  max-width: 75ch;
}

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-text-emphasis);
}

/* Header / Navbar */
.site-header {
  background-color: var(--color-primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
  padding: 20px 0;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 700;
  color: white !important;
}

.navbar-nav .nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,0.95) !important;
  padding: 0.5rem 1rem !important;
  transition: opacity 0.3s;
}

.navbar-nav .nav-link:hover {
  opacity: 0.8;
  color: white !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-logo {
  max-height: 50px;
  width: auto;
}

/* Main Content */
.site-main {
  padding: 60px 0;
  min-height: 60vh;
}

.content-area {
  max-width: 800px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 40px;
}

.entry-content {
  font-size: 18px;
  line-height: 1.7;
}

.entry-content > * + * {
  margin-top: 1.5em;
}

.post-thumbnail {
  margin-bottom: 30px;
}

.post-thumbnail img {
  border-radius: 4px;
}

/* Buttons - Override Bootstrap */
.btn-primary,
.wp-block-button__link,
button[type="submit"] {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn-primary:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover {
  background-color: var(--color-text-emphasis);
  border-color: var(--color-text-emphasis);
}

.btn-primary:focus,
.btn-primary:active {
  background-color: var(--color-text-emphasis);
  border-color: var(--color-text-emphasis);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: white;
  padding: 40px 0 20px;
  margin-top: 80px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget h3,
.footer-widget .widget-title {
  color: white;
  font-size: 18px;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

.footer-widget a {
  color: white;
  opacity: 0.9;
  text-decoration: none;
}

.footer-widget a:hover {
  opacity: 1;
}

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

.footer-widget li {
  margin-bottom: 8px;
}

.footer-navigation {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-nav-container {
  display: block;
}

.footer-navigation .nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-navigation .nav-item {
  display: block;
}

.footer-navigation .nav-link {
  color: white;
  opacity: 0.9;
  padding: 0.25rem 0.5rem;
  font-size: 14px;
  display: block;
  text-align: center;
  text-decoration: none;
}

.footer-navigation .nav-link:hover {
  opacity: 1;
  color: white;
}

.site-info {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 20px;
  width: 100%;
}

.site-info p {
  margin: 0 auto;
  text-align: center;
  max-width: none !important;
  width: 100%;
}

/* Forms - Bootstrap Override */
.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--color-text-header);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1, .h1 { font-size: 32px; }
  h2, .h2 { font-size: 28px; }
  h3, .h3 { font-size: 24px; }
  h4, .h4 { font-size: 20px; }
  h5, .h5 { font-size: 18px; }
  h6, .h6 { font-size: 16px; }
  
  .entry-content { font-size: 16px; }
  .site-main { padding: 40px 0; }
}

/* WordPress Specific */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

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

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* WordPress Block Editor Support */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-column {
  margin-bottom: 1em;
}
