
/*
Theme Name: Eagle Rose School of Karate
Theme URI: https://eaglerose.local
Author: Eagle Rose School of Karate
Description: Custom theme for Eagle Rose School of Karate featuring traditional Wado Ryu aesthetics with modern dark header / light body layout.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eagle-rose
*/

:root {
  --er-black: #111111;
  --er-white: #ffffff;
  --er-red: #b30000;
  --er-gold: #d4b652;
  --er-grey-bg: #f5f5f5;
  --er-font-body: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --er-font-heading: Georgia,"Times New Roman",Times,serif;
}

body {
  margin: 0;
  font-family: var(--er-font-body);
  color: #111;
  background-color: var(--er-white);
  line-height: 1.6;
}

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

.site-header {
  background-color: var(--er-black);
  color: var(--er-white);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--er-white);
  text-decoration: none;
}

.site-branding-logo {
  width: 48px;
  height: 48px;
  background-color: var(--er-white);
  color: var(--er-black);
  font-size: .6rem;
  font-weight: 700;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.site-title {
  font-family: var(--er-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--er-white);
  margin: 0;
  line-height: 1.2;
}

.site-subtitle {
  color: var(--er-white);
  opacity: .8;
  font-size: .8rem;
  line-height: 1.2;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-nav a {
  color: var(--er-white);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--er-red);
}

/* HERO */
.hero { 
  position: relative;
  color: var(--er-white);
  background-color: var(--er-black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 1.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.hero-heading {
  font-family: var(--er-font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 .5rem 0;
  color: var(--er-white);
  line-height: 1.25;
}

.hero-sub {
  font-size: 1rem;
  color: var(--er-white);
  margin: 0 0 .75rem 0;
  line-height: 1.4;
}

.hero-slogan {
  color: var(--er-red);
  font-family: var(--er-font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.hero-details {
  color: var(--er-white);
  font-size: .9rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.btn-red {
  background-color: var(--er-red);
  color: var(--er-white);
  border-radius: 4px;
  padding: .6rem 1rem;
  font-size: .9rem;
  text-decoration: none;
  font-weight: 600;
}
.btn-red:hover {
  opacity: .9;
}

.btn-outline {
  background-color: transparent;
  color: var(--er-white);
  border: 2px solid var(--er-white);
  border-radius: 4px;
  padding: .6rem 1rem;
  font-size: .9rem;
  text-decoration: none;
  font-weight: 600;
}
.btn-outline:hover {
  background-color: var(--er-white);
  color: var(--er-black);
}

/* SECTIONS */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-light {
  background-color: var(--er-white);
  color: var(--er-black);
}

.section-grey {
  background-color: var(--er-grey-bg);
  color: var(--er-black);
  border-top: 4px solid var(--er-red);
}

.section-heading {
  font-family: var(--er-font-heading);
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 .5rem 0;
  color: var(--er-black);
}

.section-text {
  margin: 0 0 1rem 0;
  font-size: .95rem;
}

.columns-3 {
  display: grid;
  gap: 1.5rem;
}

@media(min-width:768px){
  .columns-3 {
    grid-template-columns: repeat(3,1fr);
  }
}

.feature-box {
  background-color: var(--er-white);
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
}

.feature-heading {
  font-weight: 600;
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  color: var(--er-black);
}

.feature-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
}

/* TIMETABLE PREVIEW TABLE */
.table-wrapper {
  overflow-x:auto;
}

.table-basic {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: .9rem;
}

.table-basic th {
  text-align: left;
  background-color: var(--er-black);
  color: var(--er-white);
  padding: .6rem .75rem;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.table-basic td {
  border-bottom: 1px solid #ddd;
  padding: .6rem .75rem;
  background-color: var(--er-white);
}

/* FOOTER */
.site-footer {
  background-color: var(--er-black);
  color: var(--er-white);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: .85rem;
  line-height: 1.5;
}

.site-footer small {
  display:block;
  opacity:.7;
  font-size:.75rem;
  margin-top:.5rem;
}
