/* ============================================
   GOEM.com.tr - Global Stil (main.css)
   Bootstrap 5 + FontAwesome + Vanilla JS uyumlu
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Nunito:wght@400;500;600;700;800&display=swap');

:root{
  /* Root Renkler (Brand) */
  --goem-yellow:#F7B500;
  --goem-yellow-light:#FFD54F;
  --goem-yellow-dark:#E5A800;

  --goem-blue:#1565C0;
  --goem-blue-light:#42A5F5;
  --goem-blue-dark:#0D47A1;

  /* Kategori Renkleri */
  --cat-green:#4CAF50;
  --cat-orange:#FF9800;
  --cat-purple:#9C27B0;
  --cat-cyan:#00BCD4;
  --cat-pink:#E91E63;
  --cat-teal:#009688;
  --cat-red:#F44336;

  /* Nötr */
  --white:#fff;
  --gray-50:#FAFAFA;
  --gray-100:#F5F5F5;
  --gray-200:#EEEEEE;
  --gray-300:#E0E0E0;
  --gray-400:#BDBDBD;
  --gray-500:#9E9E9E;
  --gray-600:#757575;
  --gray-700:#616161;
  --gray-800:#424242;
  --gray-900:#212121;

  /* Tipografi */
  --font-primary:'Poppins', sans-serif;
  --font-secondary:'Nunito', sans-serif;

  /* Ölçüler */
  --section-padding: 96px 0;
  --transition-fast: .2s ease;
  --transition-normal: .3s ease;
  --transition-slow: .5s ease;

  --shadow-sm: 0 2px 4px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.15);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 999px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-secondary);
  color:var(--gray-800);
  background:var(--white);
  overflow-x:hidden;
}

/* Mobilde bottom menu yer kapladığı için içerik alt boşluk */
@media (max-width: 991.98px){
  body{ padding-bottom: 76px; }
}

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-primary);
  font-weight:800;
  color:var(--gray-900);
  line-height:1.2;
}
p{ line-height:1.75; }
a{ color:var(--goem-blue); text-decoration:none; transition:var(--transition-fast); }
a:hover{ color:var(--goem-yellow); }

.section-padding{ padding:var(--section-padding); }
.section-title{ text-align:center; margin-bottom:56px; }
.section-title h2{ display:inline-block; position:relative; margin-bottom:14px; }
.section-title h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  width:84px;
  height:4px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--goem-yellow),var(--goem-blue));
}
.section-title p{ max-width:740px; margin:0 auto; color:var(--gray-600); font-size:1.05rem; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight:700;
  border: 2px solid transparent;
  transition: var(--transition-normal);
}
.btn-primary{
  background: linear-gradient(135deg,var(--goem-yellow),var(--goem-yellow-dark));
  color: var(--gray-900);
  border-color: var(--goem-yellow);
}
.btn-primary:hover{
  background: var(--gray-900);
  color: var(--goem-yellow);
  border-color: var(--goem-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline{
  background: transparent;
  border-color: var(--goem-blue);
  color: var(--goem-blue);
}
.btn-outline:hover{
  background: var(--goem-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================
   Header / Navbar
   ========================= */
.navbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index: 1030;
  padding: 14px 0;
  background: transparent;
  transition: var(--transition-normal);
}
.navbar.scrolled{
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}
body.page .navbar{
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-md);
}
.navbar .navbar-brand img{ height:48px; transition:var(--transition-normal); filter: brightness(0) invert(1); }
.navbar.scrolled .navbar-brand img,
body.page .navbar .navbar-brand img{ height:44px; filter: none; }

.navbar .nav-link{
  font-family: var(--font-primary);
  font-weight:600;
  font-size:.95rem;
  color: rgba(255,255,255,.95);
  padding: 10px 16px !important;
  position:relative;
}
.navbar.scrolled .nav-link,
body.page .navbar .nav-link{ color: var(--gray-800); }

.navbar .nav-link::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:6px;
  transform:translateX(-50%);
  width:0;
  height:2px;
  background: var(--goem-yellow);
  transition: var(--transition-fast);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after{ width: 28px; }
.navbar .nav-link:hover,
.navbar .nav-link.active{ color: var(--goem-yellow) !important; }

.navbar-toggler{ border:none; padding:8px; }
.navbar-toggler:focus{ box-shadow:none; }
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.scrolled .navbar-toggler-icon,
body.page .navbar .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 33, 33, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Offcanvas Mobile Menu */
.offcanvas-end{
  width: 280px;
  background: var(--white);
  border-left: 3px solid var(--goem-yellow);
}
.offcanvas-header{
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.offcanvas-body{ padding: 12px 20px; }
.offcanvas-nav .nav-link{
  color: var(--gray-800);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 8px !important;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.offcanvas-nav .nav-link:hover,
.offcanvas-nav .nav-link.active{
  color: var(--goem-blue);
  padding-left: 14px !important;
}

/* =========================
   Page Header (İç sayfalar)
   ========================= */
.page-header{
  padding: 170px 0 90px;
  background: linear-gradient(135deg,var(--goem-blue-dark) 0%, var(--goem-blue) 55%, var(--goem-blue-light) 100%);
  color: var(--white);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-header::before{
  content:"";
  position:absolute; inset:0;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3e%3ccircle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.12)'/%3e%3c/svg%3e") repeat;
  background-size: 34px 34px;
  opacity:.9;
}
.page-header *{ position:relative; }
.page-header h1{ color: var(--white); margin-bottom: 10px; font-weight:900; }
.page-header .breadcrumb{ justify-content:center; margin:0; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item.active{ color: rgba(255,255,255,.75); }
.page-header .breadcrumb-item a{ color: var(--goem-yellow); }

/* =========================
   Footer
   ========================= */
.footer{
  background: var(--gray-900);
  color: var(--white);
  padding-top: 74px;
}
.footer-brand img{ height: 46px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p{ color: rgba(255,255,255,.7); max-width: 360px; font-size: .95rem; }
.footer-title{
  font-family: var(--font-primary);
  font-weight:800;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
  position:relative;
  padding-bottom: 12px;
}
.footer-title::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:42px; height:3px;
  background: var(--goem-yellow);
  border-radius: 3px;
}
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-links a:hover{ color: var(--goem-yellow); padding-left: 4px; }

.footer-contact-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom: 12px;
  color: rgba(255,255,255,.75);
  font-size:.95rem;
}
.footer-contact-item i{ color: var(--goem-yellow); margin-top: 3px; }
.footer-contact-item a{ color: rgba(255,255,255,.75); }
.footer-contact-item a:hover{ color: var(--goem-yellow); }

.footer-bottom{
  margin-top: 52px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p{ margin:0; color: rgba(255,255,255,.6); font-size:.9rem; }
.footer-bottom a{ color: var(--goem-yellow); }

/* =========================
   Bottom Menu (Mobil)
   ========================= */
.bottom-menu{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index: 1031;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  padding: 8px 10px;
}
.bottom-menu .bm-item{
  flex:1;
  text-align:center;
  color: var(--gray-700);
  font-size: .75rem;
  padding: 6px 4px;
  border-radius: 12px;
  transition: var(--transition-fast);
}
.bottom-menu .bm-item i{
  display:block;
  font-size: 1.2rem;
  margin-bottom: 3px;
}
.bottom-menu .bm-item.active{
  color: var(--goem-blue);
  background: rgba(21,101,192,.08);
}

/* =========================
   Scroll Top
   ========================= */
.scroll-top{
  position: fixed;
  right: 22px;
  bottom: 92px; /* bottom menu üstü */
  width: 48px;
  height: 48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 50%;
  background: var(--goem-yellow);
  color: var(--gray-900);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
  z-index: 1032;
}
.scroll-top.active{ opacity:1; visibility:visible; }
.scroll-top:hover{ background: var(--gray-900); color: var(--goem-yellow); transform: translateY(-4px); }

/* =========================
   Preloader
   ========================= */
.preloader{
  position: fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--white);
  z-index: 2000;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hidden{ opacity:0; visibility:hidden; }
.preloader-spinner{
  width: 58px; height: 58px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--goem-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg);} }

/* =========================
   Scroll animation helpers
   ========================= */
.animate-on-scroll{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.animated{
  opacity:1;
  transform: translateY(0);
}

/* Forms */
.form-control{
  padding: 12px 14px;
  border-radius: var(--radius-md);
}
.form-control:focus{
  border-color: var(--goem-yellow);
  box-shadow: 0 0 0 .25rem rgba(247,181,0,.18);
}

/* Mobile responsive */
@media (max-width: 991.98px){
  .section-padding{ padding: 64px 0; }
  .section-title{ margin-bottom: 36px; }
  .section-title p{ font-size: .95rem; }
  .page-header{ padding: 130px 0 60px; }
  .page-header h1{ font-size: 1.8rem; }
}
@media (max-width: 575.98px){
  .section-padding{ padding: 48px 0; }
  .section-title{ margin-bottom: 28px; }
  .section-title h2{ font-size: 1.5rem; }
  .section-title p{ font-size: .88rem; }
  .page-header{ padding: 110px 0 50px; }
  .page-header h1{ font-size: 1.5rem; }
  h2{ font-size: 1.5rem; }
  .lead{ font-size: 1rem; }
  .btn{ padding: 10px 20px; font-size: .9rem; }
  .footer{ padding-top: 48px; }
  .footer-brand p{ font-size: .85rem; }
  .footer-title{ font-size: .95rem; margin-bottom: 12px; }
  .footer-links li a{ font-size: .88rem; }
  .footer-contact-item{ font-size: .85rem; }
}

