/*



Letter Template 



https://templatemo.com/tm-510-letter



*/



body {

	font-family: 'Open Sans', Helvetica, Arial, sans-serif;

	font-size: 24px;

	font-weight: 300;

	overflow-x: hidden;

	

}



a, button {

	transition: all 0.3s ease;

	color: #FFFFFF;

}



button:focus {

    outline: none;

}



a:hover {

	color: #FFFF00;

	text-decoration: underline;

}

a:focus {

	text-decoration: none;

	outline: none;

}



h1 {

	color: #FFFFFF;

	font-size: 4rem;	

}



p {

	color: #FFFFFF;	

}



#particles-js {

    position: absolute;

    top: 0;

    left: 0;

    z-index: 1000;

    width: 100%;

    height: 99%;

}



.cb-slideshow-text-container {

    height: 100vh;

    display: flex;

    align-items: center;

}



.tm-content {

    z-index: 1001;

}



.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */

  color: white;

}

.form-control::-moz-placeholder { /* Firefox 19+ */

  color: white;

}

.form-control:-ms-input-placeholder { /* IE 10+ */

  color: white;

}

.form-control:-moz-placeholder { /* Firefox 18- */

  color: white;

}



.form-control::placeholder {

    color: white;

}



/* Stiluri vechi pentru compatibilitate - păstrate pentru referință */
.form-control {  

    color: #FFFFFF;

    border-radius: .5rem;

    background-color: transparent;

    border: 1px solid #FFFFFF;

    padding-top: 10px;

    padding-bottom: 10px;

    font-size: 1.4rem;

    font-weight: 300;

    padding: 0.75rem 1.2rem;

}



.form-section {  

    color: #FFFFFF;

    background-color: transparent;

    margin-bottom: 20px;

    

}



.contact_email {

	color: #FFFFFF;

}

textarea.form-control {

    resize: vertical;

    min-height: 80px;

    font-family: 'Open Sans', Helvetica, Arial, sans-serif;

}

/* Stiluri pentru formular minimalist */
.contact-form-minimal {
    margin-bottom: 2rem;
}

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

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

.form-control-minimal {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 300;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-control-minimal:focus {
    outline: none;
    border-bottom-color: #FFFFFF;
    box-shadow: none;
}

.form-control-minimal::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

textarea.form-control-minimal {
    resize: vertical;
    min-height: 80px;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

.btn-minimal {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
}

.btn-minimal:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-minimal:focus {
    outline: none;
    box-shadow: none;
}

.btn-minimal.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-minimal.loading::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    margin: auto;
    border: 1px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

/* Stiluri pentru mesaje de confirmare */
.message-container {
    margin-top: 1rem;
}

.message-success, .message-error {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 300;
    border-radius: 0;
    background: transparent;
    border: none;
}

.message-success {
    color: #90EE90;
}

.message-error {
    color: #FFB6C1;
}

.message-success i, .message-error i {
    margin-right: 0.5rem;
}

/* Stiluri pentru secțiunea proiectului */
.project-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.project-title {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.project-image {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.project-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-info {
    text-align: center;
}

.project-name {
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.project-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    text-decoration: none;
}

.project-link i {
    margin-right: 0.5rem;
}

/* Stiluri pentru loading state */
.tm-btn-subscribe.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.tm-btn-subscribe.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tm-btn-subscribe {

	background-color: #006699;

	border-radius: .5rem;

    border-color: white;

	padding: 0.75rem 1.6rem;

    font-weight: 300;

    font-size: 1.4rem;

    cursor: pointer;

}



.tm-btn-subscribe:hover {

    background-color: #055278;

}



.tm-social-icons-container {

    margin: 10px;

}



.tm-social-link {

    border-color: #FFFFFF;

    color: black;

    display: inline-block;

    width: 50px;

    height: 50px;

    transition: all 0.3s ease;

}

.tm-social-link:hover {

    transform: scale(1.1);

    color: #FFFF00;

}

.cv-download {

    background-color: #006699;

    border-radius: 50%;

    color: white !important;

}

.cv-download:hover {

    background-color: #055278;

    color: #FFFF00 !important;

}

.tm-social-icons-container {

    text-align: center;

}



.fa {

    color: #FFFFFF;

}



.footer-link {

    margin: 20px;

	font-size: 18px;

    position: absolute;

    bottom: 0;

    left: 0;

    color: white;

    text-align:center;

    width:100%;

    z-index: 1001;

}



/* Animation */

.cb-slideshow,

.cb-slideshow:after {

    position: fixed;

    width: 100%;

    height: 100%;

    top: 0px;

    left: 0px;

    z-index: 0;

}



.cb-slideshow li {

    width: 100%;

    height: 100%;

    position: absolute;

    top: 0px;

    left: 0px;

    color: transparent;

    background-size: cover;

    background-position: 50% 50%;

    background-repeat: none;

    opacity: 0;

    z-index: 0;

    -webkit-backface-visibility: hidden;

    -webkit-animation: imageAnimation 72s linear infinite 0s;

    -moz-animation: imageAnimation 72s linear infinite 0s;

    -o-animation: imageAnimation 72s linear infinite 0s;

    -ms-animation: imageAnimation 72s linear infinite 0s;

    animation: imageAnimation 72s linear infinite 0s;



}





.cb-slideshow li:nth-child(1) { 

    background-image: url(../img/letter_bg_01.jpg)

}

.cb-slideshow li:nth-child(2) { 

    background-image: url(../img/letter_bg_02.jpg);

    -webkit-animation-delay: 12s;

    -moz-animation-delay: 12s;

    -o-animation-delay: 12s;

    -ms-animation-delay: 12s;

    animation-delay: 12s; 

}

.cb-slideshow li:nth-child(3) { 

    background-image: url(../img/letter_bg_03.jpg);

    -webkit-animation-delay: 24s;

    -moz-animation-delay: 24s;

    -o-animation-delay: 24s;

    -ms-animation-delay: 24s;

    animation-delay: 24s; 

}

.cb-slideshow li:nth-child(4) { 

    background-image: url(../img/letter_bg_01.jpg);

    animation-delay: 36s; 

}

.cb-slideshow li:nth-child(5) { 

    background-image: url(../img/letter_bg_02.jpg);

    animation-delay: 48s; 

}

.cb-slideshow li:nth-child(6) { 

    background-image: url(../img/letter_bg_03.jpg);

    animation-delay: 60s; 

}





@keyframes imageAnimation { 

	0% {

	    opacity: 0;

	    animation-timing-function: ease-in;

	}

	8% {

	    opacity: 1;

	    transform: scale(1.15);

	    animation-timing-function: ease-out;

	}

	17% {

	    opacity: 1;

	    transform: scale(1.20);

	}

	25% {

	    opacity: 0;

	    transform: scale(1.40);

	}

	100% { opacity: 0 }

}





@media screen and (max-width: 1140px) { 

    .cb-slideshow li div h3 { font-size: 140px }

}

@media screen and (max-width: 600px) { 

    .cb-slideshow li div h3 { font-size: 80px }

	.tm-content {

		margin-top: 80px;

	}
	
	.project-container {
		padding: 1.2rem;
	}
	
	.project-img {
		max-height: 250px;
		width: 100%;
		object-fit: contain;
	}

}



@media screen and (max-width: 576px) { 

    .cb-slideshow li div h3 { font-size: 80px }

	

	.btn-minimal {

		margin-top: 20px;

	}
	
	.message-success, .message-error {
		font-size: 0.8rem;
		padding: 0.3rem 0;
	}
	
	.form-control-minimal {
		font-size: 1rem;
		padding: 0.3rem 0;
	}
	
	textarea.form-control-minimal {
		min-height: 60px;
	}
	
	.btn-minimal {
		font-size: 0.9rem;
		padding: 0.4rem 1rem;
	}
	
	.tm-social-link {
		width: 40px;
		height: 40px;
	}
	
	.cv-download {
		width: 40px;
		height: 40px;
	}
	
	.project-section {
		margin-top: 2rem;
	}
	
	.project-title {
		font-size: 1.3rem;
	}
	
	.project-container {
		padding: 1rem;
	}
	
	.project-img {
		border-radius: 6px;
		max-height: 300px;
		width: 100%;
		object-fit: contain;
	}
	
	.project-name {
		font-size: 1.1rem;
	}
	
	.project-description {
		font-size: 0.9rem;
	}
	
	.project-link {
		font-size: 0.8rem;
		padding: 0.4rem 0.8rem;
	}
}

