/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif; /* Fonta ģimene visiem elementiem */
}

body {
    display: flex;
    background-color: #f5f5dc; /* Fona krāsa - bēša */
    height: 100vh;
}

.sidebar {
    width: 60px;
    height: 100vh;
    background-color: #333; /* Tumši pelēks sānu panelis */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0; /* Sānu panelis kreisajā pusē */
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Atstarpe starp ikonām */
    flex-grow: 1;
    justify-content: center; /* Centrē ikonas vertikāli */
}

.sidebar-icons a {
    display: block;
    margin: 15px 0; /* Vertikāla atstarpe starp ikonām */
}

/* Icon default styling */
.sidebar-icons img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); /* Baltas ikonas */
    transition: filter 0.3s, transform 0.3s, filter 0.3s; /* Smooth transitions */
}

/* Active icon styling */
.sidebar-icons a.active img {
    filter: brightness(0.4); /* Tumšākas ikonas krāsa aktīvai lapai */
}

/* Hover effect: Subtle glow effect on the icon itself */
.sidebar-icons a:hover img {
    transform: scale(1.05); /* Slightly increase the size */
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5)) brightness(1.3); /* Subtle glow effect */
}

.content {
    margin-left: 80px;
    padding: 40px;
    width: calc(100% - 80px); /* Pielāgo platumu, lai ņemtu vērā sānu joslu */
    color: #333; /* Tumšāks teksts saturam */
    text-align: center;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px; /* Atstarpe zem logotipa */
}

.logo-container img {
    width: 150px; /* Logotipa izmērs */
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.features-list {
    list-style-type: none; /* Noņem saraksta punktus */
    font-size: 16px;
    line-height: 1.6;
}

.features-list li {
    margin-bottom: 10px; /* Atstarpe starp saraksta vienībām */
}

/* Tooltip styling */
.sidebar-icons a {
    position: relative;
}

.sidebar-icons a:hover::after {
    content: attr(data-tooltip); /* Display tooltip text */
    position: absolute;
    left: 57px; /* Position tooltip to the right of the icon */
    top: 50%;
    transform: translateY(-50%);
    background-color: #444; /* Dark background */
    color: #fff; /* White text */
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

/* Arrow styling */
.sidebar-icons a:hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 48px; /* Center the arrow relative to the icon */
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #444; /* Arrow pointing left */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

/* Display tooltip and arrow on hover */
.sidebar-icons a:hover::after,
.sidebar-icons a:hover::before {
    opacity: 1;
    visibility: visible;
}
