@import url("https://fonts.googleapis.com/css2?family=Marhey:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap");

/* ========== BASE STYLES ========== */
body {
  font-family: "Raleway", sans-serif !important;
  background-color: #060030;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none !important;
}

h1 {
  color: #ec8f49;
  font-weight: bold;
}

p {
  font-size: 20px;
  color: #ffffff;
}

.section {
  text-align: center;
}

.hide {
  display: none;
}

.display {
  display: block;
}

/* ========== FLASH ALERTS ========== */
.flash-container {
  width: 100%;
  position: fixed;
  z-index: 700;
  padding-top: 20px;
  font-weight: bold;
}

.alert {
  width: 500px !important;
  margin: 0 auto !important;
  color: #211809 !important;
  text-align: center !important;
}

/* ========== NAVIGATION ========== */
.nav-screen {
  position: fixed;
  right: -285px;
  top: 0;
  width: 285px;
  height: 100%;
  background-color: #000;
  opacity: 1;
  z-index: 500;
  -webkit-font-smoothing: antialiased;
}

.nav-screen .active {
  display: block;
}

.nav-brand {
  position: fixed;
  left: 0;
  z-index: 600;
  padding: 10px;
}

.nav-brand img {
  width: 50px;
}

.fa-bars {
  display: none !important;
  position: fixed;
  right: 0;
  z-index: 500;
  padding: 20px;
  color: #ec8f49;
  cursor: pointer;
}

.fa-times {
  float: right;
  padding: 20px;
  right: 0;
  z-index: 600;
  color: #ec8f49;
  cursor: pointer;
}

/* Header Links */
.header-links {
  position: fixed;
  width: 100%;
  z-index: 500;
}

.header-links li {
  display: inline;
  float: right;
  padding: 15px;
  font-size: 16px;
  color: white;
}

.header-links a {
  color: #757575;
  transition: all 0.2s ease-in;
}

.header-links a:hover {
  color: #ec8f49 !important;
}

/* Slide-Out Menu */
.nav-container {
  padding-top: 10%;
}

.nav-links {
  width: 250px;
  text-align: center;
  margin: 0 auto;
}

.nav-links ul {
  margin-top: 15%;
  padding-top: 10%;
  text-align: center;
}

.nav-links a {
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  line-height: 2.5;
  margin: 0 auto;
  transition: all 0.6s ease-in-out;
}

.nav-links a:hover {
  color: #ec8f49;
}

#fp-nav ul li .fp-tooltip {
  color: #5f5f5f !important;
}

/* Header Link Border Animation */
.header-links a::after {
  display: block;
  margin: 5px auto 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  content: "";
  opacity: 0;
  transition: width 0.6s, opacity 0.8s;
}

.header-links a:hover::after,
.header-links a:focus::after {
  opacity: 1;
  width: 100%;
}

/* ========== MAIN HEADER ========== */
.opaque-bg {
  margin: 0 auto;
  max-width: 380px;
  padding: 1px 1px 5px 5px;
}

.aboutme {
  background: url("assets/img/bg.png") no-repeat;
  background-size: cover;
}

.aboutme p {
  color: white;
  font-weight: 100;
  font-size: 17.4px;
}

/* Bouncing Arrow */
.fa-chevron-down {
  position: absolute;
  bottom: 10px;
  margin-left: -30px;
  color: #ec8f49 !important;
  cursor: pointer;
  opacity: 0;
  transition: 1.2s ease;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* ========== PORTFOLIO SECTION ========== */
.card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 10%;
  margin: 0 auto;
  color: #fff;
}

.baris {
  width: 32%;
  height: auto;
  margin: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.baris:hover {
  transform: scale(1.02);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.card-content {
  flex: 2;
  text-align: left;
  max-width: 500px;
  margin: 0;
}

.card-content h1,
.card-content h2 {
  color: #ec8f49;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.card-content p,
.card-content li {
  font-size: 1.1rem;
  line-height: 1.8em;
}

/* Title Hover Effect */
.card-content h1 {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.card-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ec8f49;
  transition: width 0.4s ease;
}

.card-content h1:hover {
  cursor: pointer;
  color: #ffb266;
}

.card-content h1:hover::after {
  width: 100%;
}

.card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 70%;
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    text-align: center;
  }

  .baris {
    width: 80%;
  }

  .card-content {
    text-align: center;
  }
}

/* ========== CONTENT ========== */
.content,
.content-slide {
  margin: 0 auto;
  max-width: 800px;
}

.content-slide img {
  width: 70%;
}

/* Fullpage Navigation Arrows */
.fp-controlArrow.fp-next {
  right: 45px !important;
  border-color: transparent transparent transparent #ec8f49 !important;
}

.fp-controlArrow.fp-prev {
  left: 45px !important;
  border-color: transparent #ec8f49 transparent transparent !important;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background: #ffffff !important;
}

/* ========== CONTACT FORM ========== */
.fa-paper-plane {
  color: #ffffff;
}

.plane-animated {
  animation: shake 6s infinite;
  animation-play-state: paused;
}

.fa-paper-plane:hover {
  animation-play-state: running;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.contact-form {
  padding: 0 15px;
}

.form-control {
  width: 100%;
  height: 3em;
  padding: 1em;
  margin: 0.5em 0 2em 0;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid rgba(0, 0, 0, 0.27);
}

textarea {
  min-height: 10em;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

#submit {
  padding: 12px;
  min-width: 200px;
  border-radius: 2px;
  border: 2px solid #ec8f49;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  color: #ec8f49;
  background-color: white;
  transition: all 0.3s ease-out;
}

#submit:hover {
  background-color: #ec8f49;
  color: white;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #060030;
  height: 100px;
  padding-top: 10px;
}

.footer p {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.social-links a {
  color: white;
  padding: 0 5px;
  transition: all 0.2s ease-in-out;
}

.social-links a:hover {
  color: #ec8f49;
}

/* ========== SMALLER SCREENS ========== */
@media (max-width: 500px) {
  .fa-bars {
    display: block !important;
  }
  .header-links {
    display: none;
  }
}

@media (max-width: 400px) {
  .content {
    max-width: 300px;
  }
  .aboutme h1 {
    font-size: 28px;
  }
}

/* ========== LOADING SPINNER ========== */
.spinner {
  position: fixed;
  width: 100%;
  height: 100%;
  padding: 25%;
  background-color: #ffffff;
  text-align: center;
  font-size: 10px;
  z-index: 1000;
}

.spinner > div {
  display: inline-block;
  width: 6px;
  height: 100%;
  background-color: #ec8f49;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 { animation-delay: -1.1s; }
.spinner .rect3 { animation-delay: -1s; }
.spinner .rect4 { animation-delay: -0.9s; }
.spinner .rect5 { animation-delay: -0.8s; }

@keyframes sk-stretchdelay {
  0%, 40%, 100% { transform: scaleY(0.4); }
  20% { transform: scaleY(1); }
}

/* ========== CURSOR BLINK ========== */
.blinking-cursor {
  margin-left: 4px;
  font-size: 20px;
  font-weight: 500;
  color: white !important;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { color: transparent; }
  50% { color: white; }
}

/* ========== FORM STATUS MESSAGES ========== */
.success {
  padding: 1em;
  margin-bottom: 0.75rem;
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  border-radius: 4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.error {
  padding: 1em;
  margin-bottom: 0.75rem;
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid rgba(185, 74, 72, 0.3);
  border-radius: 4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.fa-bars,
.nav-screen {
  display: none !important;
}



/* ========== RESPONSIVE ENHANCEMENTS ========== */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
    .aboutme {
  background: url("assets/img/bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  }
  .card {
    padding: 40px 5%;
    gap: 30px;
  }

  .baris {
    width: 45%;
  }

  .card-content h1,
  .card-content h2 {
    font-size: 1.8rem;
  }

  .card-content p {
    font-size: 1rem;
  }

  .nav-links a {
    font-size: 26px;
  }
}

/* Small tablets / large phones (≤768px) */
@media (max-width: 768px) {
    .aboutme {
  background: url("assets/img/bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  }
  .card {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .baris {
    width: 85%;
    margin: 20px 0;
  }

  .card-content {
    text-align: center;
    max-width: 90%;
  }

  .card-content h1,
  .card-content h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 18px;
  }

  .nav-links a {
    font-size: 24px;
  }

  .fa-chevron-down {
    bottom: 20px;
  }
}

/* Phones (≤600px) */
@media (max-width: 600px) {
  .aboutme {
  background: url("assets/img/bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  }

  .nav-brand img {
    width: 40px;
  }

@media (max-width: 500px) {
  .header-links {
    display: block;
    text-align: right;
    background-color: #060030;
  }
}


  h1 {
    font-size: 26px;
  }

  .card-content h1 {
    font-size: 1.2rem;
    margin-top: -7%;
  }

  .card-content p {
    font-size: 0.9rem;
    line-height: 1em;
  }

  .baris {
    width: 60%;
    margin-top: 30%;
  }

  

  #submit {
    width: 100%;
  }
}

/* Small phones (≤400px) */
@media (max-width: 400px) {
    .aboutme {
  background: url("assets/img/bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  }
  .content {
    max-width: 90%;
    padding: 0 10px;
  }

  .aboutme h1 {
    font-size: 24px;
  }

  p {
    font-size: 12px;
  }

  .nav-links a {
    font-size: 22px;
  }

  .footer p {
    font-size: 14px;
  }
}
