/*
Theme Name: Güler Metal Kurumsal Tema
Theme URI: https://gulermetal.com
Author: Güler Metal Kurumsal Dijital Çözümler
Description: Güler Metal için özel olarak geliştirilmiş, tek tıkla WhatsApp üzerinden hızlı fiyat teklifi almayı sağlayan, üst düzey estetik ve performanslı profesyonel WordPress teması.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: guler-metal
*/

:root {
  --bg-dark: #0f1319;
  --bg-card: #181f2a;
  --bg-card-hover: #202938;
  --border-color: #2b3648;
  --primary: #f59e0b; /* Industrial Amber / Gold */
  --primary-hover: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.3);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-blue: #38bdf8;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5a;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  background-color: #0f1319 !important;
  color: #f1f5f9 !important;
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Glass Header / Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 19, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-gm-badge {
  position: relative;
  width: 48px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.4));
  transition: transform 0.3s ease;
}

.logo:hover .logo-gm-badge {
  transform: scale(1.08) rotate(-2deg);
}

.logo-text-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
}

.logo-guler {
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-metal {
  color: var(--primary);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.btn-contact-header {
  background: linear-gradient(135deg, var(--primary), #d97706);
  color: #000 !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-contact-header::after { display: none !important; }

.btn-contact-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #0f1319 !important;
  background-image: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 40%);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #0f1319;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--primary-glow);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.metallic-card {
  background: linear-gradient(145deg, var(--bg-card), #111720);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.metallic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #111720;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 4.5s ease;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 19, 25, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-slider-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #25d366;
}

/* Section Common */
.section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  background-color: #0f1319;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Products Grid */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #0f1319;
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-img-wrapper {
  overflow: hidden;
  position: relative;
}

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 19, 25, 0.8);
  backdrop-filter: blur(8px);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.product-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.product-specs {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.spec-list {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.spec-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

/* WhatsApp Quote Button on Product Card */
.btn-whatsapp-quote {
  width: 100%;
  background: var(--whatsapp);
  color: #ffffff;
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px var(--whatsapp-glow);
}

.btn-whatsapp-quote:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 25px var(--whatsapp-glow);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
}

.floating-whatsapp svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--whatsapp-hover);
}

.floating-tooltip {
  position: absolute;
  right: 75px;
  background: var(--bg-card);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.floating-whatsapp:hover .floating-tooltip {
  opacity: 1;
}

/* Features / Why Us Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(24, 31, 42, 0.6);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.75rem;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
footer {
  background: #0b0e13;
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Modal for Instant WhatsApp Quote Customization */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0,0,0,0.7);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Gallery Button & Modal Styles */
.btn-gallery-view {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-gallery-view:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  opacity: 1;
  pointer-events: all;
}

.gallery-modal-content {
  background: #111720;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  width: 92%;
  max-width: 850px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.gallery-close:hover {
  color: var(--primary);
}

.gallery-modal-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
}

.gallery-slider-area {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-img-wrapper {
  width: 100%;
  height: 440px;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0f17;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(245, 158, 11, 0.85);
  color: #000;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.gallery-nav-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: -18px; }
.next-btn { right: -18px; }

.gallery-counter {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 0.5rem;
}

.gallery-thumb {
  width: 68px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1;
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .stats-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 19, 25, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }
  .nav-links.mobile-open {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.15rem;
  }
  .gallery-main-img-wrapper {
    height: 300px;
  }
  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }
}
