/*!
Theme Name: superart
Theme URI: https://superart.com.tr/
Author: SuperART
Author URI: https://superart.com.tr
Description: SuperArt
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sp
Tags: superart
--------------------------------------------------------------*/


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #696969;
  background: #fff;
  padding-top: 64px;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: #d7002e;
  color: #fff;
  font-size: 15px;
}

.topbar .topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;      
  margin: 0 auto;           
  padding: 0 20px;          
  height: 50px;             
}


.topbar .info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.topbar .info span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.topbar .info span:last-child {
  border-right: none;
}

.topbar .info i {
  margin-right: 6px;
}

.topbar .social {
  display: flex;
  align-items: center;
}

.topbar .social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  font-size: 14px;
  color: #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.topbar .social a:hover {
  background: #fff;
  color: #d91845;
}

@media (max-width: 1199px) {
  /* Topbar gizleniyor */
  .topbar {
    display: none;
  }
  body {
    padding-top: 0;
  }
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0; /* Logo ile hizalı */
  z-index: 1000;
}

.logo img {
  height: 42px;
}

@media(max-width:767px){
  .logo img {
    position: relative;
    left: 5px; /* 1px sağa kaydır */
  }
}


.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  transition: 0.3s;
}

.nav-item > a:hover {
  color: #d91845;
}


.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  z-index: 999;
}

.submenu a {
  padding: 10px 16px;
  color: #111; /* Siyah yapıldı */
  display: block;
  text-decoration: none;
  transition: 0.3s;
}

.submenu a:hover {
  background: #d91845;
  color: #fff;
}


.icons {
  display: flex;
  gap: 10px;
}

.icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  font-size: 16px;
  color: #111;
  border: 2px solid #e6e6e6;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

.icons a:hover {
  color: #d91845;
  border-color: #d91845;
}


@media (max-width: 991px) {
  .icons {
    display: none;
  }
}

.hero {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  margin-top: -12px;
  color: #ffc139;
  font-size: 30px;
  display: inline-block;
}

.hero__title {
  margin: 0;
  color: #d60231;
  font-size: 82px;
  font-weight: 600;
}

.hero__sub {
  font-size: 36px;
  font-weight: 600;
  color: #362725;
  line-height: 1.5;
  margin: -1px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 37px;
  position: relative;
  z-index: 2;
}


.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.btn--primary {
  background: linear-gradient(to right, #000 50%, #d60231 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: #fff;
  border: 2px solid #d60231;
}

.btn--primary:hover {
  background-position: left center;
  border-color: #000;
}

.btn--outline {
  background: linear-gradient(to right, #000 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: #d60231;
  border: 2px solid #d60231;
}

.btn--outline:hover {
  background-position: left center;
  color: #fff;
  border-color: #000;
}


.about {
  padding: 60px 0;
}

.about__content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about__text {
  flex: 1;
  min-width: 280px;
}

.about__text .welcome {
  margin-bottom: 10px;
  color: #d60231;
  font-size: 30px;
  font-weight: 600;
}

.about__text h3 {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #111;
}

.about__text p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 24px;
}

.about__text .btn--outline {
  margin-top: 10px;
}

.about__art {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about__art img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .hero {
    min-height: 400px;
    flex-direction: column;
  }

  .hero__eyebrow {
    font-size: 24px;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__sub {
    font-size: 28px;
    line-height: 1.4;
  }

  .about__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .about__text h3 {
    font-size: 28px;
  }

  .about__text p {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 350px;
    padding: 30px 15px;
  }

  .hero__eyebrow {
    font-size: 20px;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__sub {
    font-size: 20px;
    line-height: 1.3;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #111;
  border-radius: 2px;
  transition: 0.2s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 8px 20px 12px;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-item > a {
    display: block;
    padding: 14px 0;
  }

  .submenu {
    display: none;
    position: static;
    background: #f8f8f8;
    margin: 6px 0 10px;
    padding: 6px 0 8px 12px;
    border-left: 3px solid #d91845;
    border-radius: 0;
  }

  .nav-item.open .submenu {
    display: block;
  }

  .submenu a {
    padding: 10px 8px;
    color: #111; 
  }
}

@media(min-width:992px) {
  .nav-item:hover .submenu {
    display: flex;      
    flex-direction: column;
  }
  .submenu a {
    color: #111;        
  }
}


@media(max-width:991px){
  .nav-item.open .submenu { 
    display: block; 
    flex-direction: column;
    background:#f8f8f8;
    padding-left:12px;
  }
  .submenu a { color:#111; }
}
