

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* design tokens — tek yerden yönetim, tekrarı azaltır */
  --bg: #0b0f14;
  --bg-soft: #0e141b;
  --border: #202832;
  --border-soft: #35404c;
  --text: #e8edf2;
  --muted: #aeb8c2;
  --accent: #7c9cff;
  --radius: 10px;
  --section-pad: 100px 8%;
}

html {
  scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 100px 8%;
}



header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b0f14;
  border-bottom: 1px solid #202832;
}

nav {
  min-height: 75px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo{
      width: 70px;
}

.right{
    display: flex;
    justify-content: center;
        align-items: center;

    gap: 1px;
}
nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav ul a {
  color: #aeb8c2;
  transition: 0.3s;
}

nav ul a:hover {
  color: #fff;
}

nav > a:last-child {
  border: 1px solid #35404c;
  padding: 10px 18px;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #35404c;
  color: #e8edf2;
  font-size: 20px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}



#home {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.eyebrow,
.section-heading span,
#contact > .contact-content > span {
  color: #7c9cff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-content h1 {
  margin: 20px 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
}

.hero-content h1 span {
  color: #7c9cff;
}

.hero-content p {
  max-width: 650px;
  color: #aeb8c2;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-buttons a {
  padding: 13px 22px;
  border: 1px solid #35404c;
  border-radius: 6px;
  transition: 0.3s;
}

.hero-buttons a:first-child {
  background: #7c9cff;
  color: #080b10;
  border-color: #7c9cff;
}

.hero-buttons a:hover {
  transform: translateY(-3px);
}

.hero-visual img {
  width: 100%;
}



.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: 42px;
}



.about-content,
.huqan-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.founder-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-image img {
  width: 80%;
  max-width: 290px;
  height: 370px;
  object-fit: cover;
  border-radius: 12px;

  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);

  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);

  mask-composite: intersect;
}
.founder-text p,
.huqan-text p,
.skills-intro p {
  color: #aeb8c2;
  margin-bottom: 20px;
}


#huqan {
  background: #0e141b;
}

.huqan-visual img {
  max-width: 350px;
  margin: auto;
}

.huqan-text p {
  margin-bottom: 22px;
}



.workflow-grid,
.skills-grid,
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.workflow-item,
.skill-card {
  padding: 30px;
  border: 1px solid #202832;
  border-radius: 10px;
  background: #0e141b;
  transition: 0.3s;
}

.workflow-item:hover,
.skill-card:hover {
  transform: translateY(-5px);
  border-color: #7c9cff;
}

.workflow-item span,
.skill-card span {
  color: #7c9cff;
  font-size: 13px;
}

.workflow-item h3,
.skill-card h3 {
  margin-top: 10px;
}



.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid #202832;
  border-radius: 12px;
  background: #0e141b;
}

.project-image img {
  width: 100%;
  border-radius: 8px;
}

.project-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.project-content p {
  color: #aeb8c2;
  margin-bottom: 20px;
}

.project-content a,
.project-note a {
  color: #7c9cff;
}

.project-note {
  padding: 25px 0;
  color: #aeb8c2;
}



.skills-intro {
  max-width: 850px;
  margin-bottom: 40px;
}



.links-grid {
  grid-template-columns: repeat(3, 1fr);
}

.links-grid a {
  padding: 25px;
  border: 1px solid #202832;
  border-radius: 10px;
  background: #0e141b;
  transition: 0.3s;
}

.links-grid a:hover {
  transform: translateY(-5px);
  border-color: #7c9cff;
}

.links-grid span {
  display: block;
  color: #7c9cff;
  font-size: 13px;
  margin-bottom: 8px;
}



#contact {
  text-align: center;
  background: #0e141b;
}

.contact-content h2 {
  max-width: 750px;
  margin: 20px auto 40px;
  font-size: 45px;
}

.contact-info p {
  color: #aeb8c2;
}

.contact-info a {
  display: inline-block;
  margin-top: 10px;
  color: #7c9cff;
}



footer {
  padding: 40px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #202832;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer > p {
  max-width: 450px;
  color: #8d98a4;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #aeb8c2;
}


/* reveal-on-scroll — JS .hidden -> .show */
section.hidden,
section {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
}

@media (min-width: 1440px) {

    nav {
        padding-left: 6%;
        padding-right: 6%;
    }

    section {
        padding-left: 7%;
        padding-right: 7%;
    }

    #home {
        min-height: 88vh;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-content p {
        font-size: 19px;
        max-width: 700px;
    }

    .hero-visual img {
        max-width: 680px;
        margin-left: auto;
    }

    .section-heading h2 {
        font-size: 46px;
    }

    .project-card {
        padding: 40px;
    }
}


@media (min-width: 1025px) and (max-width: 1439px) {

    nav {
        padding: 0 6%;
    }

    section {
        padding: 90px 6%;
    }

    #home {
        min-height: 88vh;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 4vw, 48px);
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-visual img {
        max-width: 600px;
        margin: auto;
    }

    .about-content,
    .huqan-content {
        gap: 45px;
    }

    .founder-image img {
        width: 85%;
        max-width: 280px;
    }

    .workflow-grid,
    .skills-grid,
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-card {
        gap: 30px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    nav {
        min-height: 70px;
        padding: 0 5%;
        gap: 20px;
    }

    .right {
        gap: 7px;
        flex-shrink: 0;
    }

    .logo {
        width: 55px;
    }

    nav ul {
        gap: 18px;
    }

    nav ul a {
        font-size: 14px;
    }

    nav > a:last-child {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }


    section {
        padding: 80px 5%;
    }


    /* HERO */

    #home {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .hero-content h1 {
        font-size: clamp(34px, 4.2vw, 44px);
        line-height: 1.08;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .hero-buttons a {
        padding: 12px 18px;
    }

    .hero-visual img {
        width: 100%;
        max-width: 500px;
        margin: auto;
    }


    /* SECTION HEADINGS */

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 38px;
    }


    /* ABOUT */

    .about-content,
    .huqan-content {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 35px;
    }

    .founder-image img {
        width: 90%;
        max-width: 250px;
        height: 330px;
    }

    .founder-text p,
    .huqan-text p,
    .skills-intro p {
        font-size: 15px;
    }


    /* HUQAN */

    .huqan-visual img {
        max-width: 280px;
    }


    /* WORKFLOW */

    .workflow-grid,
    .skills-grid,
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .workflow-item,
    .skill-card {
        padding: 25px;
    }

    .workflow-item h3,
    .skill-card h3 {
        font-size: 18px;
    }


    /* PROJECTS */

    .project-card {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 25px;
    }

    .project-content h3 {
        font-size: 24px;
    }

    .project-content p {
        font-size: 15px;
    }


    /* CONTACT */

    .contact-content h2 {
        font-size: 40px;
    }


    /* FOOTER */

    footer {
        padding: 35px 5%;
        gap: 25px;
    }
}

@media (min-width: 601px) and (max-width: 768px) {

    nav {
        padding: 12px 5%;
        min-height: 65px;
    }

    .right {
        gap: 6px;
    }

    .logo {
        width: 50px;
    }

    .right span {
        font-size: 15px;
    }

    nav ul {
        display: none;
    }

    nav > a:last-child {
        padding: 8px 13px;
        font-size: 13px;
    }


    section {
        padding: 75px 6%;
    }


    /* HERO */

    #home {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        min-height: auto;
        padding-top: 80px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        width: 80%;
        max-width: 500px;
        margin: auto;
    }

    .hero-content h1 {
        font-size: clamp(34px, 6vw, 44px);
    }

    .hero-content p {
        max-width: 650px;
        margin: auto;
        font-size: 17px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }


  

    .about-content,
    .huqan-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .founder-image img {
        width: 250px;
        height: 330px;
    }

    .huqan-visual img {
        max-width: 280px;
    }


    /* GRIDS */

    .workflow-grid,
    .skills-grid,
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .workflow-item,
    .skill-card {
        padding: 24px;
    }


    /* PROJECTS */

    .project-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }

    .project-image img {
        width: 100%;
    }

    .project-content h3 {
        font-size: 25px;
    }


    /* CONTACT */

    .contact-content h2 {
        font-size: 34px;
    }


    /* FOOTER */

    footer {
        flex-direction: column;
        text-align: center;
        padding: 35px 6%;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (min-width: 481px) and (max-width: 600px) {

    nav {
        min-height: 62px;
        padding: 10px 5%;
    }

    .logo {
        width: 48px;
    }

    .right {
        gap: 5px;
    }

    .right span {
        font-size: 14px;
    }

    nav ul {
        display: none;
    }

    nav > a:last-child {
        padding: 7px 10px;
        font-size: 12px;
    }


    section {
        padding: 65px 6%;
    }


    #home {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
        min-height: auto;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        width: 88%;
        max-width: 430px;
        margin: auto;
    }

    .eyebrow,
    .section-heading span,
    #contact > .contact-content > span {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .hero-content h1 {
        font-size: clamp(30px, 8vw, 40px);
        margin: 16px 0;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons a {
        padding: 11px 16px;
        font-size: 14px;
    }


    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 32px;
    }


    .about-content,
    .huqan-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .founder-image img {
        width: 230px;
        height: 310px;
    }

    .founder-text p,
    .huqan-text p,
    .skills-intro p {
        font-size: 14px;
    }

    .huqan-visual img {
        width: 75%;
        max-width: 250px;
    }


    .workflow-grid,
    .skills-grid,
    .links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .workflow-item,
    .skill-card {
        padding: 22px;
    }


    .project-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 18px;
    }

    .project-content h3 {
        font-size: 22px;
    }

    .project-content p {
        font-size: 14px;
    }

    .project-note {
        font-size: 14px;
    }


    .contact-content h2 {
        font-size: 30px;
    }

    .contact-info p,
    .contact-info a {
        font-size: 14px;
    }


    footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 6%;
    }

    footer > p {
        font-size: 13px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}


@media (max-width: 480px) {

    nav {
        min-height: 58px;
        padding: 9px 4%;
        gap: 10px;
    }

    .right {
        gap: 4px;
    }

    .logo {
        width: 42px;
    }

    .right span {
        font-size: 13px;
    }

    nav ul {
        display: none;
    }

    nav > a:last-child {
        padding: 6px 9px;
        font-size: 11px;
        border-radius: 5px;
    }


    section {
        padding: 55px 5%;
    }


    /* HERO */

    #home {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 30px;
        text-align: center;
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        width: 92%;
        max-width: 380px;
        margin: auto;
    }

    .eyebrow,
    .section-heading span,
    #contact > .contact-content > span {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .hero-content h1 {
        font-size: clamp(27px, 8.5vw, 35px);
        line-height: 1.1;
        margin: 15px 0;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 25px;
    }

    .hero-buttons a {
        width: 100%;
        padding: 11px 15px;
        font-size: 14px;
    }


    /* HEADINGS */

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 28px;
        line-height: 1.2;
    }


    /* ABOUT */

    .about-content,
    .huqan-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .founder-image img {
        width: 210px;
        height: 285px;
        border-radius: 10px;
    }

    .founder-text p,
    .huqan-text p,
    .skills-intro p {
        font-size: 13.5px;
        line-height: 1.7;
    }


    /* HUQAN */

    .huqan-visual img {
        width: 70%;
        max-width: 220px;
        margin: auto;
    }


    .workflow-grid,
    .skills-grid,
    .links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .workflow-item,
    .skill-card {
        padding: 20px;
        border-radius: 8px;
    }

    .workflow-item span,
    .skill-card span {
        font-size: 11px;
    }

    .workflow-item h3,
    .skill-card h3 {
        font-size: 16px;
        line-height: 1.4;
    }


    /* PROJECTS */

    .project-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
        border-radius: 9px;
        margin-bottom: 18px;
    }

    .project-image img {
        border-radius: 6px;
    }

    .project-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .project-content p {
        font-size: 13.5px;
        line-height: 1.65;
        margin-bottom: 15px;
    }

    .project-content a {
        font-size: 13px;
    }

    .project-note {
        font-size: 13px;
        line-height: 1.6;
    }


    /* LINKS */

    .links-grid a {
        padding: 20px;
        border-radius: 8px;
    }

    .links-grid span {
        font-size: 11px;
    }

    .links-grid strong {
        font-size: 14px;
    }


    /* CONTACT */

    .contact-content h2 {
        font-size: 27px;
        line-height: 1.25;
        margin: 15px auto 30px;
    }

    .contact-info h3 {
        font-size: 18px;
    }

    .contact-info p,
    .contact-info a {
        font-size: 13px;
    }


    /* FOOTER */

    footer {
        flex-direction: column;
        text-align: center;
        padding: 28px 5%;
        gap: 20px;
    }

    .footer-left {
        justify-content: center;
    }

    footer .logo {
        width: 42px;
    }

    footer > p {
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links a {
        font-size: 13px;
    }
}


@media (max-width: 360px) {

    nav {
        padding-left: 3%;
        padding-right: 3%;
    }

    .logo {
        width: 38px;
    }

    .right span {
        font-size: 12px;
    }

    nav > a:last-child {
        font-size: 10px;
        padding: 6px 8px;
    }

    section {
        padding-left: 4%;
        padding-right: 4%;
    }

    #home {
        padding-top: 55px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .founder-image img {
        width: 190px;
        height: 260px;
    }

    .contact-content h2 {
        font-size: 24px;
    }
}

/* hamburger — fixes huqan.css:665 display:none without menu */
@media (max-width: 768px) {
  nav { position: relative; justify-content: flex-start; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  nav ul { display: none; }
  nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b0f14;
    border-top: 1px solid #202832;
    padding: 16px 5%;
    gap: 14px;
    z-index: 999;
  }
}