/* ════════════════════════════════════════════════════════
 * ▶File Information
 *  FILE NAME    : style.css
 *  FILE PATH    : /assets/css/style.css
 *  DESCRIPTION  : Main stylesheet for WoW Armory site
 * ════════════════════════════════════════════════════════ */

/* Font Declarations */
@font-face {
    font-family: 'Fritz Quadrata';
    src: url('../fonts/FritzQuadrata1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fritz Quadrata';
    src: url('../fonts/FritzQuadrataBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'LifeCraft';
    src: url('../fonts/LifeCraft_Font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #f8f8f8;
    background-color: #151515;
    background-attachment: fixed;
}

body {
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fritz Quadrata', serif;
    margin-bottom: 1rem;
    color: #f8f8f8;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #f8ba08;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffd259;
    text-decoration: underline;
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    z-index: 1000;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #f8ba08;
    text-decoration: none;
    background-color: #333;
}

.dropdown-item.active {
    color: #f8ba08;
    background-color: #333;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Header Styles */
#site-header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1.5rem 0;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

#site-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #f8ba08, transparent);
    opacity: 0.7;
}

#site-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #f8ba08, transparent);
    opacity: 0.7;
}

/* Removed red line at the bottom of the header */

#site-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: auto;
    max-width: 175px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(248, 186, 8, 0.5));
}



#site-header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-header nav li {
    margin-left: 1.5rem;
    line-height: 1;
}

#site-header nav a {
    color: #f8ba08;
    font-family: 'Fritz Quadrata', serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0;
    line-height: 1;
}

/* Content Area */
#content {
    flex: 1 0 auto;
    padding: 2rem 0;
}

/* Footer Styles */
#site-footer {
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2rem 0;
    position: relative;
}

#site-footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #f8ba08, transparent);
    opacity: 0.7;
}

#site-footer:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #f8ba08, transparent);
    opacity: 0.7;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    background: none;
    position: relative;
}


.copyright {
    font-size: 0.9rem;
    color: #999;
}

.footer-nav ul {
    display: flex;
    list-style: none;
}

.footer-nav li {
    margin-left: 1.5rem;
}

/* Theme Styles */
.horde-theme {
    background-image: url('../images/horde-background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.alliance-theme {
    background-image: url('../images/alliance-background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* Character Cards */
.character-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2rem 0;
}

.character-card {
    width: calc(20% - 1rem);
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.character-card.horde {
    border-color: #9c2b27;
}

.character-card.alliance {
    border-color: #0068b1;
}

.character-card-header {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #333;
    position: relative;
}

.character-card.horde .character-card-header {
    border-bottom-color: #9c2b27;
}

.character-card.alliance .character-card-header {
    border-bottom-color: #0068b1;
}

.character-level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #f8ba08;
    color: #000;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.character-name {
    font-family: 'Fritz Quadrata', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.character-info {
    font-size: 0.9rem;
    color: #ccc;
}

.character-card-body {
    padding: 1rem;
}

.character-avatar {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    border-radius: 5px;
}

.character-card.horde .character-avatar {
    border-color: #9c2b27;
}

.character-card.alliance .character-avatar {
    border-color: #0068b1;
}

.character-meta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

.character-meta div {
    margin-bottom: 0.5rem;
}

.character-meta span {
    color: #f8ba08;
}

/* Character Profile */
.character-profile {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-header {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    margin-right: 1.5rem;
    border: 2px solid #f8ba08;
    border-radius: 5px;
}

.profile-info h1 {
    margin-bottom: 0.5rem;
}

.profile-details {
    margin-bottom: 1rem;
    color: #ccc;
}

.profile-details span {
    color: #f8ba08;
}

.profile-navigation {
    margin: 2rem 0;
    border-bottom: 1px solid #333;
}

.profile-navigation ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.profile-navigation li {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.profile-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    color: #ccc;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.profile-navigation a:hover, 
.profile-navigation a.active {
    background-color: rgba(248, 186, 8, 0.1);
    color: #f8ba08;
    text-decoration: none;
}

/* Equipment Slots */
.equipment-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.equipment-slot {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.equipment-slot-icon {
    width: 56px;
    height: 56px;
    margin-right: 1rem;
    border: 1px solid #444;
    border-radius: 3px;
}

.equipment-slot-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.equipment-slot-level {
    font-size: 0.9rem;
    color: #f8ba08;
}

/* Item Quality Colors */
.quality-poor {
    color: #9d9d9d;
}

.quality-common {
    color: #ffffff;
}

.quality-uncommon {
    color: #1eff00;
}

.quality-rare {
    color: #0070dd;
}

.quality-epic {
    color: #a335ee;
}

.quality-legendary {
    color: #ff8000;
}

.quality-artifact {
    color: #e6cc80;
}

.quality-heirloom {
    color: #00ccff;
}

/* Stats Section */
.character-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-category {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
}

.stat-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #444;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-name {
    color: #ccc;
}

.stat-value {
    color: #f8ba08;
    font-weight: bold;
}

/* Achievements Section */
.achievements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.achievement {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.achievement-icon {
    width: 56px;
    height: 56px;
    margin-right: 1rem;
    border: 1px solid #444;
    border-radius: 3px;
}

.achievement-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.achievement-description {
    font-size: 0.9rem;
    color: #ccc;
}

.achievement-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.collection-item {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
}

.collection-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border: 1px solid #444;
    border-radius: 3px;
}

.collection-name {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* PvP Section */
.pvp-ratings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pvp-bracket {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
}

.pvp-bracket-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.pvp-rating {
    font-size: 2rem;
    color: #f8ba08;
    margin-bottom: 0.5rem;
}

.pvp-stats {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    color: #ccc;
}

.pvp-stat {
    margin: 0 0.5rem;
}

/* Mythic+ Section */
.mythic-keystone {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.mythic-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mythic-score {
    font-size: 2rem;
    margin-right: 1rem;
}

.mythic-details {
    flex: 1;
}

.mythic-runs {
    margin-top: 1.5rem;
}

.mythic-run {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.dungeon-info {
    flex: 1;
}

.dungeon-name {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.dungeon-level {
    font-size: 0.9rem;
    color: #f8ba08;
}

.dungeon-time {
    margin-left: 1rem;
    text-align: right;
}

.time-completed {
    font-size: 0.9rem;
    color: #ccc;
}

.in-time {
    color: #1eff00;
}

.not-in-time {
    color: #ff6060;
}

/* Raids Section */
.raid-tiers {
    margin-bottom: 2rem;
}

.raid-tier {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.raid-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-bottom: 1px solid #333;
    cursor: pointer;
}

.raid-name {
    font-size: 1.3rem;
    margin: 0;
}

.raid-progress {
    font-size: 0.9rem;
    color: #ccc;
}

.raid-bosses {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.raid-boss {
    display: flex;
    align-items: center;
}

.boss-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    border: 1px solid #444;
    border-radius: 3px;
}

.boss-info {
    flex: 1;
}

.boss-name {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.boss-status {
    font-size: 0.8rem;
}

.boss-defeated {
    color: #1eff00;
}

.boss-not-defeated {
    color: #ff6060;
}

/* Reputations Section */
.reputation-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.reputation {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
}

.reputation-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.reputation-standing {
    font-size: 0.9rem;
    color: #f8ba08;
    margin-bottom: 0.5rem;
}

.reputation-progress {
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.reputation-bar {
    height: 100%;
    background-color: #f8ba08;
}

.reputation-value {
    font-size: 0.8rem;
    color: #ccc;
    text-align: right;
}

/* General Utility Classes */
.text-center {
    text-align: center;
    font-family: 'Fritz Quadrata', serif;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.hidden {
    display: none;
}

/* Status Section */
.character-status {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.last-online {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.last-online span {
    color: #f8ba08;
}

.recent-activity {
    margin-top: 1.5rem;
}

.activity-item {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.activity-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    border: 1px solid #444;
    border-radius: 3px;
}

.activity-info {
    flex: 1;
}

.activity-type {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.3rem;
}

.activity-description {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #999;
}
