/*
Theme Name: Open Copyright
Theme URI: https://opencopyright.com
Author: Open Copyright
Author URI: https://opencopyright.com
Description: Professional Elementor-compatible theme for Open Copyright
Version: 1.0.0
License: GPL v2 or later
Text Domain: open-copyright
*/

:root {
  --primary-teal: #0d8b8b;
  --primary-dark: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #5a6c7d;
  --white: #ffffff;
  --border-light: #e0e0e0;
}

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

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

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

a:hover {
  color: #086666;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin-bottom: 1rem;
}

/* Header/Navigation */
.site-header {
  background: var(--white);
  padding: 20px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  flex: 1;
}

.site-title {
  font-size: 24px;
  font-weight: 700;
}

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

.main-navigation {
  flex: 1;
  text-align: right;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: flex-end;
}

.main-navigation a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: var(--primary-teal);
}

/* Main Content */
.site-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
}

/* Buttons */
button,
.button,
a.button {
  background-color: var(--primary-teal);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

button:hover,
.button:hover,
a.button:hover {
  background-color: #086666;
  transform: translateY(-2px);
}

/* Elementor Overrides */
.elementor-section {
  padding: 0 !important;
}

.elementor-container {
  max-width: 1400px;
  padding: 0 40px;
}

.elementor-heading-title {
  color: var(--primary-dark);
}

.elementor-button {
  background-color: var(--primary-teal) !important;
}

.elementor-button:hover {
  background-color: #086666 !important;
}

/* Typography */
.wp-block-heading,
.elementor-widget-heading .elementor-heading-title {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    gap: 20px;
  }

  .main-navigation {
    text-align: left;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .site-main {
    padding: 20px;
  }

  .elementor-container {
    padding: 0 20px;
  }
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 50px 40px;
  text-align: center;
  margin-top: auto;
}

.site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.site-footer a {
  color: #ccc;
}

.site-footer a:hover {
  color: var(--white);
}

.site-info {
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
  color: #999;
  font-size: 14px;
}
