/**
 * Custom styles for Rotaract Poland theme
 */

:root {
  --primary-color: #d91b5c;
  --primary-dark: #b01549;
  --primary-light: #f14b84;
  --text-color: #333333;
  --text-light: #666666;
  --text-muted: #888888;
  --background-light: #f9f9f9;
  --border-color: #e5e7eb;
  --font-primary:
    "Avenir LT Std 45 Book", "Avenir", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-headings:
    "Avenir LT Std 45 Book", "Avenir", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Typography */
body {
  color: var(--text-color);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* Font Face Declaration - Uncomment and adjust paths if hosting the font locally */
/*
@font-face {
  font-family: "Avenir LT Std 45 Book";
  src: url("../fonts/AvenirLTStd-Book.woff2") format("woff2"),
       url("../fonts/AvenirLTStd-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std 45 Book";
  src: url("../fonts/AvenirLTStd-Medium.woff2") format("woff2"),
       url("../fonts/AvenirLTStd-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std 45 Book";
  src: url("../fonts/AvenirLTStd-Heavy.woff2") format("woff2"),
       url("../fonts/AvenirLTStd-Heavy.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  border-radius: 0.375rem;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
}

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

.btn-secondary {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-color);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-align: center;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-secondary:hover {
  background-color: var(--background-light);
  border-color: var(--text-muted);
}

/* Header */
.site-header {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.main-navigation a {
  color: var(--text-color);
  font-family: var(--font-primary);
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

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

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.language-switcher a {
  background-color: var(--background-light);
  border-radius: 0.25rem;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.language-switcher a:hover {
  background-color: var(--border-color);
  color: var(--text-color);
}

.language-switcher a.active {
  background-color: var(--primary-color);
  color: white;
}

/* Footer */
.site-footer {
  background-color: #1f2937;
  color: white;
  font-family: var(--font-primary);
}

.site-footer h3 {
  color: var(--primary-light);
  font-family: var(--font-headings);
}

.site-footer a {
  color: white;
  transition: color 0.2s ease-in-out;
}

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

/* Hero Banner */
.hero-banner {
  position: relative;
}

.hero-banner::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.hero-banner > * {
  position: relative;
  z-index: 2;
}

/* Club Grid */
.club-item {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.club-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Filter Buttons */
.filter-btn {
  font-family: var(--font-primary);
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* WordPress Core Styles */
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Widget Styles */
.widget-title {
  font-family: var(--font-headings);
  font-weight: 700;
}

.widget {
  font-family: var(--font-primary);
}

/* Form Elements */
input,
textarea,
select,
button {
  font-family: var(--font-primary);
}
