/* ==========================================================================
   SEME ZVOKA - Dark Theme Foundation
   ========================================================================== */

/* Local Fonts - Offline Optimized */

/* Megrim Font Family */
@font-face {
    font-family: 'Megrim';
    src: url('../fonts/Megrim-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Alegreya Font Family */
@font-face {
    font-family: 'Alegreya';
    src: url('../fonts/Alegreya-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('../fonts/Alegreya-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('../fonts/Alegreya-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('../fonts/Alegreya-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('../fonts/Alegreya-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Playfair Display Font Family */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */

:root {
    /* Background Colors */
    --color-cosmic-blue: #00092F;
    --color-dark-blue: #002D73;

    /* Text Colors */
    --color-white: #FFFFFF;
    --color-light-blue: #CFE0EA;

    /* Accent Colors */
    --color-gold: #FFB117;
    --color-teal: #2875A2;

    /* Semantic Mappings */
    --bg-primary: var(--color-cosmic-blue);
    --bg-secondary: var(--color-dark-blue);
    --text-primary: var(--color-white);
    --text-secondary: var(--color-light-blue);
    --accent: var(--color-gold);
    --link-color: var(--color-teal);

    /* Typography */
    --font-heading: 'Megrim', cursive;
    --font-body: 'Alegreya', serif;
    --font-numbers: 'Playfair Display', serif;

    /* Transitions */
    --transition-base: all 0.3s ease;

    /* Gradients */
    --gradient-dark: radial-gradient(circle, rgba(0, 45, 115, 1) 0%, rgba(0, 9, 47, 1) 100%);
    --gradient-light: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(207, 224, 234, 1) 100%);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--gradient-dark) !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    font-size: 16.8px;
    line-height: 1.7;
    min-height: 100vh;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 3.15rem;
}

h2 {
    font-size: 2.625rem;
}

h3 {
    font-size: 2.1rem;
}

h4 {
    font-size: 1.575rem;
}

h5 {
    font-size: 1.3125rem;
}

h6 {
    font-size: 1.05rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Numbers styling */
.number, .countdown-number, .price {
    font-family: var(--font-numbers) !important;
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-gold);
    text-decoration: none;
}

/* Only show outline for keyboard navigation, not mouse clicks */
a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Remove outline for mouse clicks */
a:focus:not(:focus-visible) {
    outline: none;
}

/* ==========================================================================
   Navbar - Glassmorphism Sticky Header
   ========================================================================== */

.navbar {
    /* Base dimensions */
    height: 7vh;
    min-height: 50px;

    /* Glassmorphism effect with gold/white undertone */
    background:
        /* Point-based irregular gradient (scattered dots of light) */
        radial-gradient(circle at 10% 20%, rgba(255, 177, 23, 0.15) 0%, transparent 8%),
        radial-gradient(circle at 85% 60%, rgba(255, 255, 255, 0.12) 0%, transparent 6%),
        radial-gradient(circle at 30% 80%, rgba(255, 177, 23, 0.1) 0%, transparent 7%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 5%),
        radial-gradient(circle at 50% 50%, rgba(255, 177, 23, 0.08) 0%, transparent 10%),
        radial-gradient(circle at 95% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 6%),
        radial-gradient(circle at 5% 70%, rgba(255, 177, 23, 0.06) 0%, transparent 8%),
        radial-gradient(circle at 60% 10%, rgba(255, 255, 255, 0.07) 0%, transparent 5%),
        radial-gradient(circle at 40% 40%, rgba(255, 177, 23, 0.05) 0%, transparent 9%),
        /* Base translucent background */
        rgba(0, 9, 47, 0.75) !important;

    /* Glassmorphism blur effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Border for glass edge effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    /* Shadow with gold/white hue blend */
    box-shadow:
        0 4px 16px rgba(255, 191, 70, 0.15),
        0 8px 32px rgba(0, 9, 47, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    /* Feather effect through spread shadow */
    filter: drop-shadow(0 0 8px rgba(255, 191, 70, 0.08));

    /* Smooth transition for shrink animation */
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

/* Shrink state when scrolled */
.navbar.navbar-shrink {
    height: 3.5vh;
    min-height: 35px;

    /* Slightly more opaque when shrunk for better readability */
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 177, 23, 0.12) 0%, transparent 8%),
        radial-gradient(circle at 85% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 6%),
        radial-gradient(circle at 30% 80%, rgba(255, 177, 23, 0.08) 0%, transparent 7%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 5%),
        radial-gradient(circle at 50% 50%, rgba(255, 177, 23, 0.06) 0%, transparent 10%),
        rgba(0, 9, 47, 0.85) !important;

    /* Reduced shadow when shrunk */
    box-shadow:
        0 2px 8px rgba(255, 191, 70, 0.12),
        0 4px 16px rgba(0, 9, 47, 0.3);

    filter: drop-shadow(0 0 4px rgba(255, 191, 70, 0.06));
}

/* Container adjustments for shrink */
.navbar > .container,
.navbar > .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.navbar-shrink > .container,
.navbar.navbar-shrink > .container-fluid {
    padding-top: 0;
    padding-bottom: 0;
}

/* Brand styling */
.navbar-brand {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    color: var(--text-primary) !important;
    letter-spacing: 0.1em;
    transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--color-gold) !important;
}

/* Brand text specific styling */
.navbar-brand .brand-text {
    display: inline-block;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.navbar-shrink .navbar-brand {
    font-size: 1.2rem !important;
}

.navbar.navbar-shrink .navbar-brand .brand-text {
    transform: scale(0.9);
}

/* Navigation links */
.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-style: italic;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease,
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.navbar-shrink .navbar-nav .nav-link {
    padding: 0.3rem 0.8rem !important;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--color-gold) !important;
}

.navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
}

/* Toggler button */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3) !important;
    padding: 0.25rem 0.5rem;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.navbar-shrink .navbar-toggler {
    padding: 0.15rem 0.4rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    transition: width 0.4s ease, height 0.4s ease;
}

.navbar.navbar-shrink .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

/* Mobile menu when expanded */
@media (max-width: 767.98px) {
    .navbar {
        height: auto;
        min-height: 7vh;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar.navbar-shrink {
        min-height: 3.5vh;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .navbar-collapse {
        background:
            radial-gradient(circle at 20% 30%, rgba(255, 177, 23, 0.1) 0%, transparent 10%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 8%),
            rgba(0, 9, 47, 0.95);
        margin-top: 0.5rem;
        padding: 1rem;
        border-radius: 8px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .navbar.navbar-shrink .navbar-collapse {
        margin-top: 0.25rem;
        padding: 0.75rem;
    }
}

/* Logout button in navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: var(--text-secondary) !important;
    background: none;
    border: none;
    transition: var(--transition-base);
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: var(--color-gold) !important;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

/* ==========================================================================
   Main Content
   ========================================================================== */

main > .container {
    padding: 80px 15px 40px;
}

/* Remove horizontal padding on mobile for full-width content */
main > .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    main > .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.footer a {
    color: var(--link-color);
}

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

.footer .text-muted {
    color: var(--text-secondary) !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

/* Primary CTA Button - Gold */
.btn-primary,
.btn-cta {
    background-color: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: var(--bg-primary) !important;
    font-family: var(--font-heading) !important;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 0.75rem 2rem;
    transition: var(--transition-base);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-cta:hover,
.btn-cta:focus {
    background-color: #e69e00 !important;
    border-color: #e69e00 !important;
    color: var(--bg-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 177, 23, 0.4);
}

.btn-primary:active,
.btn-cta:active {
    transform: translateY(0);
}

/* Secondary Button - Teal */
.btn-secondary {
    background-color: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    color: var(--text-primary) !important;
    transition: var(--transition-base);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #1f5f82 !important;
    border-color: #1f5f82 !important;
    color: var(--text-primary) !important;
}

/* Outline Button */
.btn-outline-primary {
    background-color: transparent !important;
    border-color: var(--color-gold) !important;
    color: var(--color-gold) !important;
    transition: var(--transition-base);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: var(--bg-primary) !important;
}

.btn-outline-secondary {
    background-color: transparent !important;
    border-color: var(--text-secondary) !important;
    color: var(--text-secondary) !important;
    transition: var(--transition-base);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--text-secondary) !important;
    border-color: var(--text-secondary) !important;
    color: var(--bg-primary) !important;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-control {
    background-color: rgba(0, 45, 115, 0.5) !important;
    border: 1px solid rgba(207, 224, 234, 0.3) !important;
    color: var(--text-primary) !important;
    transition: var(--transition-base);
}

.form-control:focus {
    background-color: rgba(0, 45, 115, 0.7) !important;
    border-color: var(--color-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 177, 23, 0.25) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder {
    color: rgba(207, 224, 234, 0.6) !important;
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-group {
    margin-bottom: 1rem;
}

.form-text {
    color: var(--text-secondary) !important;
}

/* Form select */
.form-select {
    background-color: rgba(0, 45, 115, 0.5) !important;
    border: 1px solid rgba(207, 224, 234, 0.3) !important;
    color: var(--text-primary) !important;
}

.form-select:focus {
    border-color: var(--color-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 177, 23, 0.25) !important;
}

/* Checkboxes and radios */
.form-check-input {
    background-color: rgba(0, 45, 115, 0.5);
    border-color: rgba(207, 224, 234, 0.5);
}

.form-check-input:checked {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

.form-check-label {
    color: var(--text-secondary);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background-color: var(--bg-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    transition: var(--transition-base);
}

.card:hover {
    border-color: rgba(255, 177, 23, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    background-color: rgba(0, 9, 47, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
}

.card-body {
    color: var(--text-secondary);
}

.card-title {
    color: var(--text-primary) !important;
    font-family: var(--font-heading) !important;
}

.card-footer {
    background-color: rgba(0, 9, 47, 0.3) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.alert {
    border: none;
    border-radius: 8px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2) !important;
    color: #7dcea0 !important;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2) !important;
    color: #f5b7b1 !important;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: rgba(255, 177, 23, 0.2) !important;
    color: var(--color-gold) !important;
    border-left: 4px solid var(--color-gold);
}

.alert-info {
    background-color: rgba(40, 117, 162, 0.2) !important;
    color: var(--text-secondary) !important;
    border-left: 4px solid var(--color-teal);
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table {
    color: var(--text-secondary) !important;
}

.table > thead {
    background-color: var(--bg-secondary);
}

.table > thead > tr > th {
    color: var(--text-primary) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.table > tbody > tr > td {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 45, 115, 0.3) !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(0, 45, 115, 0.5) !important;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumb {
    background-color: rgba(0, 45, 115, 0.3) !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.breadcrumb-item a {
    color: var(--link-color);
}

.breadcrumb-item a:hover {
    color: var(--color-gold);
}

.breadcrumb-item.active {
    color: var(--text-secondary) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary) !important;
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal-content {
    background-color: var(--bg-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.modal-title {
    color: var(--text-primary) !important;
    font-family: var(--font-heading) !important;
}

.modal-body {
    color: var(--text-secondary);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination .page-link {
    background-color: var(--bg-secondary) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-secondary) !important;
    transition: var(--transition-base);
}

.pagination .page-link:hover {
    background-color: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    color: var(--text-primary) !important;
}

.pagination .page-item.active .page-link {
    background-color: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: var(--bg-primary) !important;
}

.pagination .page-item.disabled .page-link {
    background-color: rgba(0, 45, 115, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(207, 224, 234, 0.3) !important;
}

/* ==========================================================================
   Dropdowns
   ========================================================================== */

.dropdown-menu {
    background-color: var(--bg-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: var(--text-secondary) !important;
    transition: var(--transition-base);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(40, 117, 162, 0.3) !important;
    color: var(--text-primary) !important;
}

.dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   GridView Sorting Icons
   ========================================================================== */

a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px var(--text-primary);
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px var(--text-primary);
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.not-set {
    color: #e74c3c;
    font-style: italic;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
}

.error-summary {
    color: #f5b7b1;
    background: rgba(220, 53, 69, 0.2);
    border-left: 3px solid #dc3545;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* Text colors */
.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-accent,
.text-gold {
    color: var(--color-gold) !important;
}

.text-teal {
    color: var(--color-teal) !important;
}

/* Background colors */
.bg-primary {
    background-color: var(--bg-primary) !important;
}

.bg-secondary {
    background-color: var(--bg-secondary) !important;
}

/* ==========================================================================
   Scrollbar Styling
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal);
}

/* ==========================================================================
   Selection Styling
   ========================================================================== */

::selection {
    background-color: var(--color-gold);
    color: var(--bg-primary);
}

::-moz-selection {
    background-color: var(--color-gold);
    color: var(--bg-primary);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.8375rem;
    }

    h3 {
        font-size: 1.575rem;
    }

    body {
        font-size: 15.75px;
    }

    .btn-primary,
    .btn-cta {
        padding: 0.6rem 1.5rem;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 3.675rem;
    }

    h2 {
        font-size: 3.15rem;
    }
}

/* ==========================================================================
   Breadcrumbs - Dark Theme
   ========================================================================== */

.breadcrumb-dark {
    background-color: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-dark .breadcrumb-item {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.breadcrumb-dark .breadcrumb-item a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-dark .breadcrumb-item a:hover {
    color: var(--color-gold);
}

.breadcrumb-dark .breadcrumb-item.active {
    color: var(--text-secondary);
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary);
    content: "/";
    padding-right: 0.5rem;
}

/* Wrapper for breadcrumb with separator styling */
.breadcrumb-dark ol {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   Title Widget
   ========================================================================== */

.title-widget {
    width: 100%;
}

/* Main title styles */
.title-main {
    margin: 0;
    line-height: 1.1;
}

.title-subtitle {
    margin: 0;
    line-height: 1.2;
}

.title-tagline {
    margin: 1.5rem 0 0;
    line-height: 1.4;
}

/* Size variants */
.title-hero .title-subtitle {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.title-hero .title-main {
    font-size: 5rem;
}

.title-hero .title-tagline {
    font-size: 1.1rem;
    margin-top: 3rem;
}

.title-large .title-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.title-large .title-main {
    font-size: 3.5rem;
}

.title-large .title-tagline {
    font-size: 1rem;
}

.title-medium .title-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.title-medium .title-main {
    font-size: 2.5rem;
}

.title-medium .title-tagline {
    font-size: 0.9rem;
}

.title-small .title-subtitle {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.title-small .title-main {
    font-size: 1.75rem;
}

.title-small .title-tagline {
    font-size: 0.85rem;
}

/* Font variants */
.title-font-megrim {
    font-family: var(--font-heading) !important;
}

.title-font-alegreya {
    font-family: var(--font-body) !important;
}

.title-font-playfair {
    font-family: var(--font-numbers) !important;
}

/* Color variants */
.title-color-white {
    color: var(--color-white) !important;
}

.title-color-gold {
    color: var(--color-gold) !important;
}

.title-color-teal {
    color: var(--color-teal) !important;
}

.title-color-light-blue {
    color: var(--color-light-blue) !important;
}

/* Spaced letters for logo-style text (S E M E) */
.title-spaced {
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

/* Responsive title sizes */
@media (max-width: 767px) {
    .title-hero .title-subtitle {
        font-size: 1.5rem;
    }

    .title-hero .title-main {
        font-size: 3rem;
    }

    .title-hero .title-tagline {
        font-size: 0.9rem;
        margin-top: 2rem;
    }

    .title-large .title-subtitle {
        font-size: 1.25rem;
    }

    .title-large .title-main {
        font-size: 2.5rem;
    }

    .title-medium .title-subtitle {
        font-size: 1rem;
    }

    .title-medium .title-main {
        font-size: 2rem;
    }

    .title-spaced {
        letter-spacing: 0.3em;
    }
}

@media (min-width: 1200px) {
    .title-hero .title-subtitle {
        font-size: 3rem;
    }

    .title-hero .title-main {
        font-size: 6rem;
    }

    .title-hero .title-tagline {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

#hero {
    overflow: hidden;
}

#hero .container,
#hero .container-fluid {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Hero logo image */
#hero img {
    max-width: 100%;
    height: auto;
    width: 600px;
}

@media (max-width: 767px) {
    #hero img {
        width: 85%;
        max-width: 350px;
    }
}

@media (min-width: 1200px) {
    #hero img {
        width: 700px;
    }
}

/* Seed graphic placeholder */
.hero-seed-graphic-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.hero-seed-graphic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 177, 23, 0.3) 0%,
        rgba(40, 117, 162, 0.2) 40%,
        transparent 70%
    );
    position: relative;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Concentric ripple rings */
.hero-seed-graphic::before,
.hero-seed-graphic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-seed-graphic::before {
    width: 140%;
    height: 140%;
    animation: ripple-expand 3s ease-out infinite;
}

.hero-seed-graphic::after {
    width: 180%;
    height: 180%;
    animation: ripple-expand 3s ease-out infinite 0.5s;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 60px rgba(255, 177, 23, 0.3);
    }
    50% {
        box-shadow: 0 0 100px rgba(255, 177, 23, 0.5);
    }
}

@keyframes ripple-expand {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Decorative symbols */
.hero-decorative-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-decorative-symbols .symbol {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
}

.hero-decorative-symbols .symbol-1 {
    top: 15%;
    left: 10%;
    color: var(--color-gold);
}

.hero-decorative-symbols .symbol-2 {
    top: 20%;
    right: 15%;
    color: var(--color-white);
}

.hero-decorative-symbols .symbol-3 {
    bottom: 25%;
    left: 15%;
    color: var(--color-white);
}

.hero-decorative-symbols .symbol-4 {
    bottom: 20%;
    right: 10%;
    color: var(--color-gold);
}

/* Responsive hero */
@media (max-width: 767px) {
    .hero-seed-graphic {
        width: 150px;
        height: 150px;
    }

    .hero-seed-graphic-wrapper {
        margin: 2rem 0;
    }

    .hero-decorative-symbols .symbol {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .hero-seed-graphic {
        width: 250px;
        height: 250px;
    }
}

/* ==========================================================================
   Circles Image - Responsive
   ========================================================================== */

.circles-image {
    display: block;
    margin: 2rem auto;
    width: auto;
    height: 80vh;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 768px) {
    .circles-image {
        height: 60vh;
    }
}

@media (min-width: 1200px) {
    .circles-image {
        height: 50vh;
    }
}

/* ==========================================================================
   Section 2 - Kdaj Nazadnje
   ========================================================================== */

#kdaj-nazadnje {
    text-align: center;
}

/* Decorative wave */
.decorative-wave-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.decorative-wave {
    width: 300px;
    height: 60px;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q37.5,10 75,30 T150,30 T225,30 T300,30' stroke='%23002D73' stroke-width='2' fill='none' opacity='0.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Gold stripe */
.gold-stripe {
    width: 100%;
    max-width: 600px;
    height: 3px;
    background: var(--color-gold);
    margin: 2rem auto;
    border-radius: 2px;
}

/* Responsive styles for Kdaj Nazadnje */
@media (max-width: 767px) {
    .decorative-wave {
        width: 200px;
        height: 40px;
    }

    .gold-stripe {
        max-width: 80%;
    }
}
