/* RESET */
* {
    box-sizing: border-box;
}

/* BENDRAS FONAS */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #cfe6ff;
    color: #444;
}

/* HEADER */
.header {
    background-color: #00659A;
    color: white;
    text-align: center;
    font-size: 24px;
    padding: 20px;
    margin: 0;
}

/* WRAPPER */
.content-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
}

/* MENIU */
.left {
    width: 200px;
    background-color: #66A2C2;
    padding: 15px;
}

.left h3 {
    margin-top: 0;
    color: white;
}

.left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.left li a {
    display: block;
    color: white;
    text-decoration: none;
    margin-left: 18px;
    margin-bottom: 8px;
}

.left li a:hover {
    text-decoration: underline;
}

/* BALTA DALIS */
.right {
    flex: 1;
    padding: 20px;
    background-color: white;
}

/* PROJEKTAI */
.project {
    margin-bottom: 40px;
}

/* SLIDERIAI – fade efektas */
.project-slider {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.project-slider img.active {
    opacity: 1;
}

/* APRAŠYMAS */
.project-desc {
    margin-top: 10px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #00659A;
    font-weight: bold;
}

.project-link:hover .link-text {
    text-decoration: underline;
}

/* IKONOS – hover tik ikonoms */
img[src*="icon"] {
    transition: transform 0.5s;
}

img[src*="icon"]:hover {
    transform: scale(1.2);
}

/* KITI paveikslėliai – be hover, centro lygiavimas */
img:not([src*="icon"]):not(.slider-img) {
    transition: none;
    display: block;
    margin: 0 auto;
}

/* TEKSTAS */
p {
    text-align: justify;
    text-indent: 2em;
}

.italic-highlight {
    color: #990000;
    font-style: italic;
}

.italic-highlight-bold {
    color: #990000;
    font-style: italic;
    font-weight: bold;

}

.concept-text {
    font-size: 11pt;       
    font-style: italic;    
    text-align: right;     
    color: #00659A;        
    padding-top: 10px;     
    padding-bottom: 10px;  
    padding-right: 15px;   
}

h2 {
    color: #ff0000;
}

h3 {
    color: #111;
}

html {
  scroll-behavior: smooth;
}

/* FOOTER */
.footer {
    background-color: #00659A;
    color: white;
    text-align: center;
    padding: 10px;
}
