/*
Theme Name: RC Ashfall
Theme URI: https://rcashfall.lv
Author: RC Ashfall
Author URI: https://rcashfall.lv
Description: Custom WordPress theme for RC Ashfall Riding Club
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: rc-ashfall
*/

:root {
  --black: #0b0b0b;
  --dark-gray: #1a1a1a;
  --gray: #8a8a8a;
  --red: #c1121f;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--black);
  color: var(--white);
}

.rc-like-box {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rc-like-btn {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.rc-like-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.rc-like-count {
    font-size: 1.2rem;
}


/* =========================
   HEADER / NAVIGĀCIJA
========================= */

.site-header {
    background: #000;
    border-bottom: 1px solid #222;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: #c1121f;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
}

/* MOBĪLĀ IZVĒLNE */
@media (max-width: 768px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* ATVERAMĀ MOBILĀ IZVĒLNE */
    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        background: #000;
        width: 200px;
        padding: 1rem;
        z-index: 999;
    }

    .main-nav.open ul {
        flex-direction: column;
        gap: 1rem;
    }
}



/* =========================
   HERO
========================= */

.hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: 1px solid #444;
}

.btn.primary {
    background: #c1121f;
    color: #fff;
    border-color: #c1121f;
}

.btn.secondary {
    color: #fff;
}

.btn:hover {
    opacity: 0.85;
}



.hero {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    pointer-events: none;
}


.hero-inner {
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.biedri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.biedrs-card {
    background: #111;
    padding: 2rem;
    border: 1px solid #222;
    text-align: center;
}

.biedrs-card h2 {
    color: #fff;
    margin: 0;
}
