@font-face {
  font-family: 'TASA';
  src: url('./assets/fonts/TASAOrbiter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TASA';
  src: url('./assets/fonts/TASAOrbiter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TASA';
  src: url('./assets/fonts/TASAOrbiter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TASA';
  src: url('./assets/fonts/TASAOrbiter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root{
	--main-background: #0b0c0f;
	--main-fonts-color: #fff;
	--main-decor-color:#00a9e2;
    --main-header-background:#21252e;
	--main-font-family: 'TASA', sans-serif;
    --footer-bg: #0f172a;
    --footer-fg: #e2e8f0;
    --footer-muted: #94a3b8;
    --footer-link: #60a5fa;
    --footer-link-hover: #034086;
    --footer-border: rgba(148,163,184,.25);
}
*{
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}
main{
	padding: 0;
	width: 100%;
	height: 100%;
    font-family: var(--main-font-family);
	background: var(--main-background);
}
header{
	margin: 0 auto;
	width: 100%;
	height: 70px;
	display: flex;
    align-items: center; 
	justify-content: space-around; 
    background: transparent;
	position: fixed;
	top: 0;
	transition: 0.3s;
	z-index: 5;
}
.nav-show{
	opacity: 0;
}
header:hover{
	opacity: 1;
	background: var(--main-header-background);
}
.logo img{
	padding-top: 5px;
	height: 50px;
	cursor: pointer;
}
.nav-bar{
	list-style:none;
	position: relative;
	display: inline-flex;
}
a.nav-link{
	margin: 2px;
	padding: 5px 10px;
	text-decoration: none;
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
	text-transform: uppercase;
}
.active{
	background: var(--main-decor-color);
}
.nav-link:hover {
	color: #000000;
    background: var(--main-decor-color);
}
#home{ 	
	margin: auto;
	height: 100vh;
	color: var(--main-fonts-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
}
#home .filter{
	background: url('assets/img/code.jpg') no-repeat;
	background-size: contain;
	background-position:center;
    position: absolute;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
	opacity:.20;
}  
.intro {
	text-align:center;
    color: var(--main-fonts-color);
	z-index: 1;
	margin: auto;
	padding: 20px;
}
.intro  p{
    margin: 5px;
	font-size:1.2rem;
	font-family: var(--main-font-family);
	text-align:center;
} h3{
	padding-bottom: 15px;
    letter-spacing: normal;
    font-family: var(--main-font-family);
	font-style: normal;
	font-size: 60px;
	color: var(--main-fonts-color);
	text-shadow: 0px 0px 40px var(--main-decor-color);
}
.social-media{
	padding: 10px;
	display: flex;
	position: center;
        align-items: space-around;
	justify-content:center;
}
.social-media a {
    margin: 10px;
    font-size: 2rem;
    text-align:center;
    display: inline-block;
    color: var(--main-fonts-color);
}
.social-media a i{
	cursor: pointer;
}
.social-media  a:hover {
	color: var(--main-decor-color);
	text-shadow: 0 0 50px var(--main-decor-color);
}
#projects{
	margin-top:100px;
        height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
        justify-content: center;
	text-align:center;
	color: var(--main-fonts-color);
}
#projects h3{
    padding-top: 70px;
}
#projects p{
	font-family: var(--main-font-family);
	font-size:1.2rem;
	padding: 10px;
}
.work{
	display: flex; 
	flex: 1;
    flex-wrap: wrap;
    justify-content:center;
	align-items: center;
	padding: 20px;
}
.card{
	display: flex;
	flex-direction: column;
	margin: 20px;
	width: 200px;
	height:250px;
	border-radius:12px;
    background:var(--main-decor-color);
}
.card img{
	width: 100%;
	height:70%;
	border-radius:10px 10px 0px 0px;
}
.card .work-content{
	text-align: center;
	padding: 10px 5px;
	font-size: 1rem;
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
}
.card a{
	text-decoration: none;
}
.card .work-content:hover{
    color:#202020;
}
.card:hover{
	box-shadow: 0 0 1.5rem gray;
}
#contact{
	margin: auto;
	padding-bottom: 20px;
	height: 600px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--main-fonts-color);
}
#contact p{
	padding:10px;
	text-align:center;
	font-size:1.2rem;
	font-family: var(--main-font-family);
}
footer {
	width: 100%;
	height: 100%;
        background-color: var(--main-header-background);
}
.copyright {
	color: #fff;
	font-size: 1.2rem;
	line-height: 40px;
	text-align: center;
}
.copyright a{
	color: #fff;
	font-size: 1rem;
	letter-spacing: 1px;
    text-decoration: none;
}
.copyright a:hover{
	color: var(--main-decor-color);
}
hr {
    background: var(--main-decor-color);
	margin: 2px;
	height: 3px;
	width: 150px;
        border-radius:5px;
	border: hidden;
	margin-inline-start: auto;
        margin-inline-end: auto;
}
::-webkit-Scrollbar{
    width: 5px; 
	background: rgba(5,5,5,1);
}
::-webkit-Scrollbar-thumb{
	border-radius: 10px;
	background: var(--main-decor-color);
	box-shadow: inset 0 0 20px var(--main-decor-color);
}
::-webkit-Scrollbar-track{
	margin-top: 80px;
	border-radius: 10px;
}
.hamburger {
	display: none;
}

.hamburger div{
	width: 30px;
	height: 3px;
	background: #dbdbdb;
	margin: 5px;
	transition:all 0.3s ease;
}
.toggle .line1{
	transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
	opacity: 0;
}
.toggle .line3{
	transform: rotate(45deg) translate(-5px,-6px);
}
@keyframes navLinkFade{
	from{
		opacity:0;
		transform: translatex(50px);
	}
	to{
		opacity: 1;
		transform:translatex(0px);
	}
}
@media only screen and (max-width: 1484px) and (min-width: 1214px) {
	.work{
        padding:20px 20%;
    }
}
@media only screen and (max-width: 1214px) and (min-width: 1000px) {
	.work{
        padding:20px 12%;
    }
}
@media only screen and (max-width: 500px) {
	#home, #projects, #contact{
        overflow-x: hidden;
	}
	header{
		background-color: var(--main-header-background);
	}
	.logo{
		position:absolute;
		top: 2px;
		left: 30px;
	}
	.nav-show{
		opacity: 1;
	}	 
	.nav-bar{
		position:fixed;
		top: 0px;
		right:0;
		width:60%;
		height: 100vh;
		display:flex;
		flex-direction: column;
		align-items: center;
		justify-content:space-evenly;
		background:var(--main-header-background);
		transform:translatex(100%);
		transition: transform 0.5s ease-in;
		z-index: -1;
	}
	.hamburger{
		position:absolute;
		top: 17px;
		right: 25%;
		display: block;
		cursor:pointer;
		z-index: 5;
	}	
	.nav-bar li{
		opacity:0;
	}
}
.nav-active{
	transform:translatex(0%);
}
.feedback-input {
  color:white;
  font-family: 'TASA', Arial, sans-serif;
  font-weight:500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border:2px solid #00A9E2;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}
.feedback-input:focus { border:2px solid #69d2f5; }
textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}
[type="submit"] {
  font-family: 'TASA', Arial, Helvetica, serif;
  width: 100%;
  background:#00A9E2;
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="submit"]:hover { background:#69d2f5; }
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-overlay.is-open {
    display: flex;
}
.modal {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: popIn 0.3s ease;
}
.modal h2 {
    margin-top: 0;
    color: #2c3e50;
    font-family: var(--main-font-family);
}
.modal p {
    line-height: 1.5;
    margin-top: 1rem;
    color: #555;
    font-family: var(--main-font-family);
}
.modal label {
    line-height: 1.5;
    color: #555;
    font-family: var(--main-font-family);
}
.close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    transition: background 0.3s ease;
}
.close-btn:hover {
    background: #c0392b;
}
@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.btn {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--main-font-family, Arial, sans-serif);
}
.btn-cancel {
  background: #bdc3c7;
  color: #2c3e50;
}
.btn-cancel:hover {
  background: #95a5a6;
  transform: translateY(-2px);
}
.btn-confirm {
  background: #3498db;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}
.btn-confirm:hover:enabled {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(41, 128, 185, 0.4);
}
.btn-confirm:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
@media (prefers-color-scheme: light){
  :root{
    --footer-bg: #f8fafc;
    --footer-fg: #0f172a;
    --footer-muted: #475569;
    --footer-link: #2563eb;
    --footer-link-hover: #1d4ed8;
    --footer-border: rgba(15,23,42,.08);
  }
}
.site-footer{
  background: var(--footer-bg);
  color: var(--footer-fg);
  border-top: 1px solid var(--footer-border);
  font-family: var(--main-font-family);
}
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand img{
  height: 60px;
  width: auto;
  display: block;
  filter: saturate(1.05);
}
.footer-nav{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.footer-nav .dot{
  color: var(--footer-muted);
}
.footer-nav a{
  color: var(--footer-link);
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
  font-family: var(--main-font-family);
}
.footer-nav a:hover{
  color: var(--footer-link-hover);
}
.footer-nav a:focus-visible{
  outline: 2px solid var(--footer-link);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (max-width: 640px){
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-brand img{
    height: 48px;
  }
  .footer-nav{
    gap: 10px;
    flex-wrap: wrap;
  }
}
.modal-logo {
  display: block;
  max-width: 400px;
  width: 100%;
  margin: 20px auto;
}


.product-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.product-box img {
  max-width: 90px;
  border-radius: 8px;
  object-fit: cover;
}

.product-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #222;
  text-shadow: none;
}

.product-info p {
  margin: 0.25rem 0 0.75rem;
  color: #555;
  font-size: 0.95rem;
}

.buy-btn {
  display: inline-block;
  background: #0077ff;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--main-font-family);
  font-weight: 500;
  transition: background 0.2s ease;
}

.buy-btn:hover {
  background: #005fd1;
}