* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #050505;
  color: #e5e5e5;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
.navbar {
  height: 120px;
  padding: 0 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080808;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 150px;
  width: auto;
  display: block;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
  text-transform: uppercase;
}

.nav-btn {
  margin-left: 60px;
  border: 1px solid #c9a35a;
  padding: 14px 28px;
  border-radius: 6px;
  color: #c9a35a;
}

nav a {
  text-decoration: none;
  color: #fff;
  position: relative;
  transition: 0.3s ease;
}

nav a:hover {
  color: #c9a35a;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #c9a35a;
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  min-height: 650px;
  padding: 80px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: radial-gradient(circle at right, #1a1a1a, #050505 60%);
}

.hero-text {
  width: 50%;
}

.small-title {
  color: #c9a35a;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  color: #bcbcbc;
}

.hero h1 span {
  color: #c9a35a;
}

.hero-desc {
  margin: 25px 0;
  max-width: 520px;
  color: #aaa;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}

.gold {
  background: #c9a35a;
  color: #050505;
}

.outline {
  border: 1px solid #c9a35a;
  color: #c9a35a;
}

.hero-image {
  width: 60%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image picture {
  display: block;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: cover;
  display: block;
  margin-left: 40px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

/* SERVICES */
.services,
.portfolio {
  padding: 90px 5%;
  text-align: center;
}

.center {
  text-align: center;
}

.services h2,
.portfolio h2 {
  font-size: 38px;
  margin-bottom: 15px;
}

.section-desc {
  color: #999;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-grid .card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.card {
  text-align: left;
  padding: 35px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0d0d0d, #111);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #c9a35a;
  box-shadow: 0 10px 30px rgba(201, 163, 90, 0.15);
}

.card i {
  font-size: 30px;
  color: #c9a35a;
  margin-bottom: 20px;
  display: block;
  transition: 0.3s;
}

.card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.card h3 {
  margin-top: 10px;
  margin-bottom: 15px;
  color: #fff;
}

.card p {
  color: #aaa;
  line-height: 1.6;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: left;
}

.project-img {
  height: 220px;
  border-radius: 12px;
  background: linear-gradient(135deg, #222, #080808);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 18px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project h3 {
  margin-bottom: 8px;
}

.project p {
  color: #aaa;
}

/* CTA */
.cta {
  margin: 50px 5%;
  padding: 40px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta p {
  color: #aaa;
}

/* FOOTER */
.footer {
  background: #0f0f0f;
  color: #b8c4d6;
  padding: 70px 8% 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 55px;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 25px;
}

.footer-brand p {
  max-width: 480px;
  line-height: 1.7;
}

.footer-contact {
  margin-top: 25px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-contact i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #182338;
  color: #c9a35a;
  border-radius: 8px;
}

.footer-links h3 {
  color: #fff;
  margin-bottom: 22px;
}

.footer-links a {
  display: block;
  color: #b8c4d6;
  text-decoration: none;
  margin-bottom: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #c9a35a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #182338;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.socials a:hover {
  background: #c9a35a;
  color: #080808;
}

/* PAGE TITLE UTIL */
.page-title {
  margin-top: 90px;
  margin-left: 5%;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #c9a35a;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #c9a35a;
  border-radius: 3px;
  transition: 0.3s;
}

/* MOBILE MENU & BACKDROP */
body.menu-open::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* TABLET & MOBILE */
@media (max-width: 768px) {

  nav,
  .nav-btn {
    display: none;
  }

  #navMenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background: #080808;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.4s ease;
    z-index: 1000;
    display: flex;
  }

  #navMenu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .logo img {
    height: 100px;
  }

  .navbar {
    height: 96px;
    padding: 0 5%;
  }

  .hero {
    flex-direction: column;
    text-align: left;
    min-height: auto;
    padding: 64px 5% 78px;
    gap: 34px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 73%, rgba(201, 163, 90, 0.14), transparent 36%),
      radial-gradient(circle at top right, #1a1a1a, #050505 62%);
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 14px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 13px;
  }

  /* PROFESSIONAL MOBILE HERO IMAGE */
  .hero-image {
    padding: 0;
    margin-top: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
  }

  .hero-image::before {
    content: "";
    position: absolute;
    width: 82%;
    max-width: 390px;
    height: 78%;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(201, 163, 90, 0.22), transparent 68%);
    filter: blur(28px);
    opacity: 0.85;
    z-index: -2;
  }

  .hero-image::after {
    content: "";
    position: absolute;
    width: 72%;
    max-width: 340px;
    height: 28px;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
    filter: blur(7px);
    z-index: -1;
  }

  .hero-image picture {
    width: min(92vw, 410px);
    aspect-ratio: 4 / 5;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(201, 163, 90, 0.28);
    background: linear-gradient(145deg, rgba(201, 163, 90, 0.35), rgba(255, 255, 255, 0.04));
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.03),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .hero-image picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent 28%),
      linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent 45%);
    pointer-events: none;
    z-index: 2;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    margin-left: 0;
    display: block;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
    transform: scale(1.015);
    filter: contrast(1.04) saturate(1.06);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .portfolio {
    padding: 75px 5%;
  }

  .services h2,
  .portfolio h2 {
    font-size: 32px;
  }

  .cta {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding: 34px 24px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .navbar {
    height: 90px;
  }

  .logo img {
    height: 90px;
  }

  #navMenu {
    width: 78%;
  }

  .hero {
    padding: 52px 5% 70px;
    gap: 30px;
  }

  .small-title {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-desc {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 13px 16px;
  }

  .hero-image picture {
    width: min(91vw, 370px);
    border-radius: 24px;
  }

  .hero-image::before {
    width: 88%;
    height: 74%;
    filter: blur(24px);
  }

  .hero-image::after {
    width: 70%;
    bottom: -12px;
  }

  .services h2,
  .portfolio h2 {
    font-size: 28px;
  }

  .section-desc {
    font-size: 14px;
  }

  .card {
    padding: 28px;
  }

  .footer {
    padding: 60px 6% 0;
  }

  .footer-brand img {
    width: 145px;
  }

  .footer-contact p {
    align-items: flex-start;
    font-size: 14px;
  }

  .cta {
    margin: 40px 5%;
  }

  .cta h2 {
    font-size: 24px;
  }
}

/* VERY SMALL MOBILE */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image picture {
    width: 92vw;
    border-radius: 22px;
  }
}

/* ============================= */
/* PREMIUM MOBILE HERO MOCKUP */
/* ============================= */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: left;
    min-height: auto;
    padding: 58px 5% 76px;
    gap: 36px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 74%, rgba(201, 163, 90, 0.16), transparent 35%),
      radial-gradient(circle at top right, #1a1a1a, #050505 62%);
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .hero-image {
    padding: 0;
    margin-top: 4px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
  }

  .hero-image::before {
    content: "";
    position: absolute;
    width: 76%;
    max-width: 360px;
    height: 72%;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(201, 163, 90, 0.24), transparent 70%);
    filter: blur(34px);
    opacity: 0.9;
    z-index: -2;
  }

  .hero-image::after {
    content: "";
    position: absolute;
    width: 68%;
    max-width: 300px;
    height: 26px;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58), transparent 72%);
    filter: blur(8px);
    z-index: -1;
  }

  .hero-image picture {
    width: min(82vw, 340px);
    aspect-ratio: 9 / 16;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(201, 163, 90, 0.32);
    background: #050505;
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.62),
      0 0 38px rgba(201, 163, 90, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .hero-image picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.06), transparent 24%),
      linear-gradient(to top, rgba(0, 0, 0, 0.20), transparent 38%);
    pointer-events: none;
    z-index: 2;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    margin-left: 0;
    display: block;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
    transform: scale(1.01);
    filter: contrast(1.05) saturate(1.08) brightness(1.02);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 5% 70px;
    gap: 32px;
  }

  .hero-image picture {
    width: min(84vw, 330px);
    border-radius: 32px;
  }

  .hero-image::before {
    width: 84%;
    height: 70%;
    filter: blur(30px);
  }
}

@media (max-width: 380px) {
  .hero-image picture {
    width: min(86vw, 310px);
  }
}

/* ===================================== */
/* MOBILE ORDER: IMAGE BEFORE BUTTONS */
/* ===================================== */

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  /*
    Mobilde hero-text içindeki elemanları,
    hero-image ile aynı seviyede sıralayabilmek için.
  */
  .hero-text {
    display: contents;
  }

  .hero .small-title {
    order: 1;
    width: 100%;
  }

  .hero h1 {
    order: 2;
    width: 100%;
  }

  .hero-desc {
    order: 3;
    width: 100%;
  }

  .hero-image {
    order: 4;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 22px;
  }

  .hero-buttons {
    order: 5;
    width: min(92vw, 410px);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 14px;
  }

  .hero-buttons .btn {
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero-image {
    margin-top: 6px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    width: min(91vw, 370px);
    gap: 12px;
  }

  .hero-buttons .btn {
    padding: 14px 14px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* ===================================== */
/* DESKTOP/LAPTOP HERO IMAGE IMPROVEMENTS */
/* ===================================== */
@media (min-width: 769px) {
  .hero {
    min-height: 690px;
    gap: clamp(40px, 5vw, 78px);
  }

  .hero-text {
    width: 46%;
    flex: 0 0 46%;
  }

  .hero-image {
    width: 54%;
    flex: 0 0 54%;
  }

  .hero-image picture {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    width: clamp(540px, 44vw, 720px);
    max-width: 100%;
    height: auto;
    margin-left: 0;
    border-radius: 24px;
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.45),
      0 0 45px rgba(201, 163, 90, 0.08);
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .hero-image img {
    width: clamp(500px, 45vw, 650px);
  }

  .hero h1 {
    font-size: 52px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    gap: 36px;
  }

  .hero-text {
    width: 48%;
    flex-basis: 48%;
  }

  .hero-image {
    width: 52%;
    flex-basis: 52%;
  }

  .hero-image img {
    width: clamp(430px, 46vw, 560px);
  }

  .hero h1 {
    font-size: 46px;
  }
}
