/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: #0f0f0f;
  color: #fff;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: gold;
  letter-spacing: 1px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.25s;
  opacity: 0.9;
}

.nav a:hover {
  color: gold;
  opacity: 1;
}

.nav a.active{
  color: gold;
  opacity: 1;
  text-decoration: underline;
}

/* HERO */
.hero {
  height: 100vh;
  height: 100svh; /* mobilde zıplamayı azaltır */
  background: url("assets/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 16px;
}

.hero-overlay h1 {
  font-size: 52px;
  margin-bottom: 15px;
  color: gold;
}

.hero-overlay p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ddd;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, gold, #c9a200);
  color: #000;
  text-decoration: none;
  font-weight: 800;
  border-radius: 30px;
  transition: 0.25s;
}

.hero-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(255,215,0,0.6);
}

/* SECTION TITLE */
.section-title{
  text-align: center;
  font-size: 36px;
  color: gold;
  margin-bottom: 40px;
}

/* DÖVİZ KURLARI */
.rates{
  padding: 90px 20px;
  background: #0d0d0d;
}

.rates-card{
  background: #151515;
  border: 1px solid rgba(255,215,0,0.14);
  border-radius: 16px;
  padding: 18px;
}

.rates-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rates-sub{
  opacity: .85;
  margin-bottom: 4px;
}

.rates-updated{
  opacity: .75;
  font-size: 13px;
}

.rates-btn{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,215,0,0.25);
  background: rgba(255,215,0,0.10);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.rates-btn:hover{
  background: rgba(255,215,0,0.18);
}

.rates-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.rate-item{
  background: #181818;
  border: 1px solid rgba(255,215,0,0.10);
  border-radius: 14px;
  padding: 14px;
}

.rate-code{
  color: gold;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.rate-value{
  font-size: 20px;
  font-weight: 900;
}

.rate-try{
  font-size: 14px;
  opacity: .8;
  margin-left: 4px;
}

.rate-caption{
  margin-top: 6px;
  font-size: 12px;
  opacity: .7;
}

.rates-note{
  margin-top: 12px;
  font-size: 12px;
  opacity: .7;
}

.rates-error{
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,0,0,0.08);
  border: 1px solid rgba(255,0,0,0.20);
  opacity: .9;
}

.skeleton{
  height: 92px;
  background: linear-gradient(90deg, #171717, #1f1f1f, #171717);
  background-size: 200% 100%;
  animation: sk 1.2s infinite;
}
@keyframes sk{
  0%{background-position: 0% 0%;}
  100%{background-position: 200% 0%;}
}

/* PRODUCTS */
.products {
  padding: 100px 20px;
  background: #111;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background: #181818;
  border-radius: 15px;
  padding: 20px;
  transition: 0.25s;
  border: 1px solid rgba(255,215,0,0.1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border-color: gold;
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: gold;
  margin-bottom: 5px;
}

.product-card p {
  font-size: 16px;
  opacity: 0.95;
}

.card-btn{
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: #111;
  background: gold;
  transition: 0.2s;
}
.card-btn:hover{ filter: brightness(1.05); }

/* ABOUT */
.about {
  padding: 100px 20px;
  background: #0d0d0d;
}

.about-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.about p {
  margin-bottom: 15px;
  color: #ddd;
}

/* PAGES + CONTACT (iletişim sayfası için) */
.page{ padding-top: 90px; }

.page-section{
  padding: 90px 20px;
  background: #111;
}

.page-box{
  max-width: 1100px;
  margin: 0 auto;
}

.contact{
  padding: 90px 20px;
  background: #111;
}

.contact-container{
  max-width: 1100px;
  margin: auto;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info{
  background:#151515;
  border:1px solid rgba(255,215,0,0.14);
  border-radius:16px;
  padding:18px;
}

.contact-info p{
  margin-bottom:12px;
  font-size:15px;
  color:#ddd;
}

.contact-link{
  color:#fff;
  text-decoration:none;
  opacity:.9;
}
.contact-link:hover{
  color: gold;
  opacity: 1;
}

.btn-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 14px;
}

.wa-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.35);
  color:#fff;
  transition:.25s;
}
.wa-btn:hover{
  background: rgba(255,215,0,0.20);
  transform: translateY(-1px);
}

.gmaps-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color:#fff;
  transition:.25s;
}
.gmaps-btn:hover{
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.map iframe{
  width:100%;
  height:240px;
  border:0;
  border-radius:12px;
}

.contact-form{
  display:flex;
  flex-direction:column;
  background:#151515;
  border:1px solid rgba(255,215,0,0.14);
  padding:18px;
  border-radius:16px;
}

.contact-form h3{
  color: gold;
  margin-bottom: 12px;
  text-align:center;
}

.contact-form input,
.contact-form textarea{
  background:#181818;
  border:1px solid rgba(255,215,0,0.2);
  padding:12px;
  margin-bottom:15px;
  border-radius:10px;
  color:#fff;
  outline:none;
  width:100%;
}

.contact-form textarea{
  resize:none;
  height:130px;
}

.contact-form button{
  background: linear-gradient(135deg, gold, #c9a200);
  color:#000;
  border:none;
  padding:14px;
  font-weight:900;
  border-radius:25px;
  cursor:pointer;
  transition:.25s;
}
.contact-form button:hover{
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255,215,0,0.6);
}

.form-status{
  margin-top:10px;
  opacity:.9;
  text-align:center;
}

/* FOOTER */
.footer {
  background: #000;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255,215,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .rates-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Mobilde header daha küçük ve taşmasın */
  .header-content{
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .logo{ font-size: 20px; }

  .nav{
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav a{
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,215,0,0.08);
    border: 1px solid rgba(255,215,0,0.16);
    font-size: 14px;
  }

  .hero-overlay h1 { font-size: 36px; }

  .rates, .products, .about, .contact, .page-section{
    padding: 80px 16px;
  }

  .section-title{
    font-size: 28px;
    margin-bottom: 28px;
  }

  .product-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card img{
    height: 220px;
  }

  .contact-grid{ grid-template-columns: 1fr; }
  .map iframe{ height: 220px; }
}

@media (max-width: 420px){
  .rates-grid{ grid-template-columns: 1fr; }
  .hero-overlay h1{ font-size: 30px; }
  .rates-card{ padding: 14px; }
}
