/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Syne', sans-serif;
    background-color: #ffffff;
    color: #000000;
    font-size: 1em;
    line-height: 1.6;
    text-align: justify;;
}

.clear {
    clear: both;
}

.btn {
    cursor: pointer;
    padding: 10px 20px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s;
}

.btn.bgOrange:hover {
    background-color: #d33611;
}

.bgOrange {
    background-color: #fd5526;
    color: #fff;
}

.bgBlack {
    background-color: #000;
    color: #fff;
}
.bgWhite{
    background-color: #fff;
    color: #000;
}
.colorWhite{
    color: #fff;
}
.colorWhite .projectNumberValue, .colorWhite a{
    color: #bcbec0;
    text-decoration: none;
}

.sectionContent {
    width: 80%;
    max-width: 1920px;
    margin: auto;
    padding: 10% 0;
}

.sectionContent h2 {
    font-size: 3em;
    line-height: 1;
}

.sectionContentLeft, .sectionContentRight {
    display: inline-block;
    vertical-align: middle;
}

#wrap {
    width: 100%;
}
h1, h2, h3, h4, h5, h6{ font-weight: 500; }










/* Header */
header {
    background: url(img/headerBg.jpg) no-repeat right;
    background-size: cover;
    background-color: #000;
    color: #fff;
    padding: 2% 0 10% 0;
}

.headerInner {
    width: 80%;
    max-width: 1920px !important;
    margin: auto;
    position: relative;
}

.mainmenu img {
    width: 100px;
}

.mainmenu a {
    color: #fff;
    text-decoration: none;
}

.mainmenu {
    float: left;
    width: 60%;
}

.socmenu {
    float: right;
    width: 20%;
}

.socmenu a {
    width: 24px;
    text-decoration: none;
}

.mainmenu ul, .socmenu ul {
    list-style: none;
}

.mainmenu ul li {
    list-style: none;
    margin: 0 20px;
    display: inline-block;
    vertical-align: middle;
    font-size: 1em;
    text-transform: uppercase;
}

.mainmenu ul li:first-child {
    margin-left: 0;
    font-size: 1.8em;
}

.socmenu ul li {
    margin: 0 10px;
    display: inline-block;
    vertical-align: middle;
}

.socmenu img {
    width: 24px;
    height: 24px;
}

.headerContent {
    width: 100%;
    margin: 8% 0 0 0;
}

.headerContent h1 {
    font-size: 4em;
    line-height: 1em;
    font-weight: 500;
    text-transform: uppercase;
}

.headerBtn {
    margin: 30px 0 0 0;
}













/* Projects */

.projectsHeader{
    font-size: 2em;
    text-align: center;
    padding: 40px 0px;
}

.projectBgImg, .projectBgColor{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
    width: 100%;
    height: 100%; 
    z-index: -1;
}

.projectBgImg{
    z-index:-2;
    opacity: 1;
}


.projectGroup {
    width: 100%;
    max-width: 1920px;
    margin: 10% auto 0 auto;
}

.projectGroupHeader {
    cursor: pointer;
    border-bottom: solid 3px #000;
    padding: 10px 0;
}

.projectGroupTitle, .projectGroupIcon {
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s;
}

.projectGroupIcon img {
    width: 100%;
    max-width: 30px;
    margin-left: 10px;
    transition: all 0.3s;
}

.projectGroupTitle {
    font-size: 1.5em;
    font-weight: 500;
    margin-left: 10px;
}

.projectGroupContent {
    display: none;
    margin-top: 30px 0;
}

.projectGroupContent.open {
    display: block;
}

.projectGroupIcon.open {
    transform: rotate(-135deg);
}

.projectImages img {
    width: 48%;
    margin: 1.5%;
    display: inline-block;
    vertical-align: top;
}

.projectImages img:first-child {
    width: 100%;
    margin: 2% 0;
}

.projectImages img:nth-child(2) {
    margin-left: 0;
}

.projectImages img:nth-child(3) {
    margin-right: 0;
}

.projectImages {
    width: 70%;
    margin: auto;
    max-width: 1920px;
    z-index:1;
}

.projectInfo {
    width: 60%;
    display: inline-block;
    vertical-align: top;
    padding-top: 5px;
    z-index:1;
}
.projectInfo div:first-child{ margin-right: 5%; }

.singleProject {

    position:relative;
    text-align: center;
    padding: 150px 0px;
}

.projectNumbers, .projectAddon, .projectUrl, .projectDescription {
    margin-top: 50px;
    z-index:1;
}
.projectDescription{
    text-align:justify;
    display: inline-block;
    vertical-align: middle;
    width: 70%;
}
.projectDescription p{
    margin-top: 15px;
}
.projectDetails{
    display: inline-block;
    vertical-align: middle;
    width: 20%;
}
.projectDetail{
    margin-top: 40px;
}
.projectDetailTitle{
    font-size: 0.9em;
    line-height: 1;
}
.projectDetailValue{
    font-size: 3em;
    line-height: 1;
    font-weight: 500;
}
.projectDetailValueSmall{
    font-size: 0.9em;
    line-height: 1;
    
}

.projectNumber {
    text-align: center;
    display: inline-block;
    margin: 0 5%;
    
}

.projectNumberTitle {
    font-weight: regular;
    font-size: 1.2em;
    line-height: 1;
    z-index:1;
}

.projectNumberValue {
    font-size: 0.9em;
    line-height: 1;
    font-weight: regular;
}

.projectAddon {
    margin-top: 100px;
}

.projectAddonTitle {
    font-weight: 500;
    font-size: 1.2em;
    line-height: 1;
}

.projectAddonText {
    padding-top: 10px;
}

.projectTitle {
    font-size: 2em;
    line-height: 1;
    font-weight: 500;
}

.projectGalery .item img, .projectGalery .item{
    height: 100%;
}
.projectGalery{ height: 600px; margin-top: 50px; }













/* Donate */
#donate {
    background-color: #000;
    color: #fff;
}

#donate a{color: #fff; }

.prieksrocibasLinija {
    width: 30%;
    height: 4px;
    margin: 70px auto 0px auto;
    display: block;
}

.prieksrocibasContainer {
    width: 90%;
    margin: auto;
    margin: 30px auto;
}

.prieksrocibasTitle {
    font-size: 1.2em;
    line-height: 1;
    
}

.prieksrocibasText {
    margin-top: 15px;
}

#donate .sectionContent p {
    margin-top: 25px;
    width: 60%;
    display:block;
}

.prieksrocibas ul ol{
    margin: 10px;
}

.prieksrocibas {
    color: #fd5526;
    width: 44%;
    display: inline-block;
    vertical-align: top;
    margin: 2%;
}

#donate .prieksrocibas p{
    width: 100%; 
}












/* About */
#about img {
    width: 100%;
}

#about .sectionContentRight {
    width: 20%;
    margin-left: 10%;
}

#about .sectionContentLeft {
    width: 60%;
}

#about .sectionContentLeft p {
    margin-top: 30px;
    width: 90%;
}













/* Biedri */
.biedriList {
    margin-top: 30px;
    text-align: center;
}

.biedrs {
    width: 28%;
    margin: 2%;
    display: inline-block;
    vertical-align: top;
}

.biedrsImage {
    width: 100%;
    border: solid 2px #000;
    background-color: #000;
    background: url(img/headerBg.jpg) no-repeat center;
    background-size: cover;
    color: #fff;
    aspect-ratio: 1/1;
    font-weight: bold;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;
}
.biedrsBg{
    content: '';
    display: block;
    width: 100%; 
    height: 100%;
    top: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position:absolute;   
    z-index:0;
}.biedrsName{
    z-index:3;
}

.biedrsImage img {
    width: 100%;
}
















/* Contacts */
.contactItemIcon {
    width: 48px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.contactItemText {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.5em;
    line-height: 1;
}

.contacts .sectionContentRight {
    width: 35%;
    display: block;
    float: right;
    margin-right: 10%;
    margin-top: 50px;
}

.contacts .sectionContentLeft {
    display: block;
    float: left;
    width: 30%;
    margin-left: 10%;
    margin-top: 50px;
}

.contactItems {
    margin-top: 30px;
}

#contactForm input, #contactForm textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    font-family: 'Syne', sans-serif;
    font-size: 1em;
    line-height: 1.1;
}


#contactForm input.error, #contactForm textarea.error{
    border-color: #ff0000;
}

#formResponse{
    display: none;
}

#contacts a{ color: #fff; text-decoration: none; }












/* Footer */
footer .sectionContent {
    padding: 20px 0;
}

#footerMenu {
    color: #000;
    display: inline-block;
    vertical-align: middle;
}

footer .socmenu {
    display: inline-block;
    vertical-align: middle;
}

#footerMenu ul {
    list-style: none;
    text-align: left;
}

#footerMenu ul li {
    display: inline-block;
    margin: 0 10px;
}

#footerMenu ul li a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
}

#footerMenu ul li:first-child {
    margin-left: 0;
    font-size: 1.8em;
}

.copyrights {
    text-align: center;
    margin-top: 20px;
    color: #000;
} 






/* LIAA block */
.liaaBlock{
    text-align:center;
    background-color: #ddd;
    padding: 10px 20px;
    
    width: 100%;
    margin: 0 auto;
    position:relative;

}
.liaaBlock img{
    width: 250px;
	clear:both; display:block;
	margin:auto;
}

.liaaText{
    text-align:center; 
    margin: auto;
    font-size: 0.9em;
    line-height: 0.9;
    width: 80%;
	margin-top: 10px;
}

.liaaLogo{
width: 100%; 
text-align:center; clear:both; display: block;
}




/* Burger Button */
.burger-menu{
    position: absolute;
    top: 20px;
    right: 0px; 
    z-index: 999;
    text-align:right;
}
.burger-button {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 999;
    right: 10px;
    text-align: right;
    margin-right: 10px;
}

.burger-button span {
    display: block; 
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.burger-menu.active .burger-button span{
    background-color: #000;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 80px; /* Adjust based on your header height */
    right: 0px;
    width: 100%; 
    height:auto;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 998;
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.dropdown-menu ul li {
    padding: 10px 20px;
}

.dropdown-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.dropdown-menu ul li:hover {
    background-color: #f0f0f0;
}

/* Active State for Dropdown */
.burger-button.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-button.active span:nth-child(2) {
    opacity: 0;
}

.burger-button.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.dropdown-menu.active {
    display: block;
}





/* Modal background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background with transparency */
    z-index: 2000; /* Ensure it appears above other elements */
    justify-content: center;
    align-items: center;

}

/* Modal content */
.modal-content {
    width: 80%;
    max-height: 80%;
    background-color: #fff;
    border-radius: 8px;
    overflow-y: auto; /* Enable scrolling for long content */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10%;
    color: #333;
    font-size: 0.8em;
    position:relative;
}
.modal-content p{
    margin-top: 10px; 
}

/* Close button */
.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index:9999;
}

/* Modal body content */
.modal-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}
.modal-content .footerSubtext a{ color: #ffd786; }

.modal-body table{
    border-collapse: collapse;
    width: 90%; 
}
.modal-body td, .modal-body th{
    border: solid 1px #ddd;
    padding: 10px;
}
.modal-body th{font-weight: bold;}
.modal-body h2{ width: 90%; }




.gdpr-popup {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 30%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    text-align: left;
    z-index: 1000;
    display: none; /* Hidden by default */
    font-size: 0.7em;
} 

.gdpr-content {
    max-width: 800px;
    margin: 0 auto; 
    display: block;
    text-align:left;
    gap: 10px;
}

.gdpr-button {
    background-color: #fd5526;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    margin: 10px 0px 0px 0px;
}

.gdpr-button:hover {
    background-color: #d33611;
}

.gdpr-button.decline {
    background-color: #fff; /* Red background for decline button */
    color: #333;
}

.gdpr-button.decline:hover {
    background-color: #ddd; /* Darker red on hover */
}












.pc{ display:block; }
.mob{ display:none; }



/* Media Queries */
@media all and (max-width: 1200px) {
    .mainmenu ul li{ margin: 0 10px; }
    .mainmenu{ width: 70%; }

}




@media all and (max-width: 980px) {
    

    header {
        background: url(img/headerBgMob.jpg) no-repeat center;
    }

    .headerInner, .sectionContent {
        width: 80%;
    }

    .sectionContent {
        padding: 15% 0;
    }

    .mainmenu, .socmenu {
        width: 30%;
        text-align: left;
        float: none;
        display:inline-block;
    }

    .mainmenu ul li {
        display: block;
        margin: 10px 0; 
    }

    .socmenu {
        text-align:right;
        float:right;
        margin-top: 20px;
        margin-right: 60px;
        width: 20%;
    }

    .projectImages, .projectInfo {
        width: 100%;
        margin: 0;
    }

    .projectImages img {
        width: 100%;
        margin: 10px 0;
    }

    .prieksrocibas {
        width: 100%;
        margin: 20px 0;
    }

    .contacts .sectionContentRight, .contacts .sectionContentLeft {
        width: 100%;
        float: none;
        margin: 20px 0;
    }
    #donate .sectionContent p{
        width: 100%;
    }
    .sectionContentLeft, .sectionContentRight, #about .sectionContentLeft, #about .sectionContentRight{
        width: 100%; 
        display: block;
    }
    #about .sectionContentRight{
        width: 60%;
        margin: 20%;
    }
    .biedrs{
        width: 47%;
        margin: 1%;
    }
    .sectionContent h2{
        font-size: 2em;
    }

    .prieksrocibasLinija {
        width: 100%;
        margin: 40px auto 0px auto;
    }

    #donate .sectionContent p{
        width: 100%;
    }

    .prieksrocibasContainer{
        width: 100%;
    }

    .projectDescription, .projectDetails{
        margin: 20px auto 0px auto; 
        display: block;
        width: 90%; 
        
    }
    .projectDescription{ order: 1; }
    .projectDetails{ order: 2; }
    .projectDetail{ width: 45%; margin: 5% 2%; display: inline-block;
                    vertical-align:top;  }
    .projectDetailValue{ font-size: 2em; }

    .projectGalery2, .projectGalery3{
        height: auto;
        width: 90%;
    }
    .projectGalery .item{width: 100%; height: auto;}
    .projectGalery .item img{ width: 100%; }
    
    .projectNumbers{
        text-align: center; margin-top: 10px;
    }
    .projectNumber{margin-top: 15px;}
    .projectAddon{margin-top: 50px; }
    .singleProject{margin-top: 0px;}



    .pc, .mainmenu ul li.pc, #footerMenu ul li.pc{ display: none; }
    .mob{ display: block; }

    .gdpr-popup {
        bottom: 0px;
        left: 0px;
        width: 100%;
        }

}



@media all and (max-width: 480px) {
    .headerContent h1 {
        font-size: 2em;
    }

    .sectionContent h2 {
        font-size: 2em;
    }

    .btn {
        padding: 5px 10px;
    }

    .projectGroupTitle {
        font-size: 1.2em;
    }

    .projectNumberTitle, .projectAddonTtitle, .projectTitle {
        font-size: 1em;
    }

    .projectTitle {
        font-size: 2em;
    }

    .projectNumberValue {
        font-size: 1.5em;
    }

    .projectUrl {
        font-size: 1em;
    }

    .prieksrocibasTitle {
        font-size: 1em;
    }

    .contactItemText {
        font-size: 1.2em;
    }

    .liaaText, .liaaLogo{
        display: block;clear:both; 
    }
    .liaaBlock img{
        width: 150px;
    }
    .liaaText{
        width: 100%;
        margin: 10px auto; text-align:justify;
    }
    .liaaBlock{display:block; text-align:left; padding: 10px 10px; width: 100%;}

    #footerMenu{width:100%; display: block; margin: 20px 0px;}
    #footerMenu ul li{ display: block; margin: 10px 0px 0px 0px;}
    footer .socmenu{display: block; width: 100%; clear:both; text-align:left; margin: 20px 0px 0px 0px; }
    footer .socmenu ul li{ display: block; margin: 0px; }

}










@font-face {
    font-family: 'Syne';
    src: url('fonts/Syne-Bold.eot');
    src: url('fonts/Syne-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Syne-Bold.woff2') format('woff2'),
        url('fonts/Syne-Bold.woff') format('woff'),
        url('fonts/Syne-Bold.ttf') format('truetype'),
        url('fonts/Syne-Bold.svg#Syne-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Syne';
    src: url('fonts/Syne-Regular.eot');
    src: url('fonts/Syne-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Syne-Regular.woff2') format('woff2'),
        url('fonts/Syne-Regular.woff') format('woff'),
        url('fonts/Syne-Regular.ttf') format('truetype'),
        url('fonts/Syne-Regular.svg#Syne-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Syne';
    src: url('fonts/Syne-Medium.eot');
    src: url('fonts/Syne-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Syne-Medium.woff2') format('woff2'),
        url('fonts/Syne-Medium.woff') format('woff'),
        url('fonts/Syne-Medium.ttf') format('truetype'),
        url('fonts/Syne-Medium.svg#Syne-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

