/*
Theme Name: MS Kuyumculuk
Theme URI: https://mskuyumculuk.com
Author: MS Kuyumculuk
Author URI: https://mskuyumculuk.com
Description: Lüks altın kuyumculuk için premium, minimal landing page teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ms-kuyumculuk
Tags: one-page, luxury, jewelry, dark, gold, minimal, responsive
*/

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --black:      #0D0D0D;
  --black-soft: #141414;
  --black-card: #1A1A1A;
  --gold:       #D4AF37;
  --gold-light: #E8C84A;
  --gold-dark:  #B8941F;
  --gold-muted: rgba(212,175,55,0.12);
  --white:      #FFFFFF;
  --gray-light: #B0B0B0;
  --gray-mid:   #6A6A6A;
  --border:     rgba(212,175,55,0.2);
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold:  0 0 40px rgba(212,175,55,0.15);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  will-change: scroll-position;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Performance: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.gold-text {
  color: var(--gold);
}

/* ===========================
   LAYOUT UTILITIES
=========================== */
.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 48px;
}

/* ===========================
   NOISE TEXTURE OVERLAY
=========================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  animation: fadeInUp 1.2s cubic-bezier(0.4,0,0.2,1) both;
  cursor: default;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  animation: borderPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* Gold shimmer on hover */
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 40%,
    rgba(212,175,55,0.4) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.hero-logo-wrap:hover::after {
  transform: translateX(100%);
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.02); }
}

.hero-logo {
  max-width: var(--logo-width, 280px);
  max-height: var(--logo-height, 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05) drop-shadow(0 0 20px rgba(212,175,55,0.15));
  transition: filter 0.4s ease;
}

.hero-logo-wrap:hover .hero-logo {
  filter: brightness(1.15) drop-shadow(0 0 30px rgba(212,175,55,0.35));
}

.hero-welcome {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: 0.05em;
  color: var(--white);
  font-weight: 300;
  animation: fadeInUp 1.2s 0.2s cubic-bezier(0.4,0,0.2,1) both;
}

.hero-tagline {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  animation: fadeInUp 1.2s 0.3s cubic-bezier(0.4,0,0.2,1) both;
}

.hero-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  animation: fadeInUp 1.2s 0.5s cubic-bezier(0.4,0,0.2,1) both;
}

.hero-ornament span {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-ornament span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-ornament svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  opacity: 0.7;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact-section {
  background: var(--black-soft);
  position: relative;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--white);
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--black-card);
  border: 1px solid transparent;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border);
  background: rgba(26,26,26,0.9);
  transform: translateX(4px);
  box-shadow: var(--shadow-gold);
}

.contact-item:hover::before {
  transform: scaleY(1);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--gold);
  border-color: var(--gold);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: var(--transition);
}

.contact-item:hover .contact-icon svg {
  fill: var(--black);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
}

/* ===========================
   SOCIAL SECTION
=========================== */
.social-section {
  background: var(--black);
  position: relative;
}

.social-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.social-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  min-width: 100px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 0;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.2);
}

.social-link:hover::after {
  transform: translateY(0);
}

.social-link svg,
.social-link span {
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.social-link svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
}

.social-link:hover svg {
  fill: var(--black);
}

.social-link span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.social-link:hover span {
  color: var(--black);
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-section {
  background: var(--black-soft);
  position: relative;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.about-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.15;
}

.about-title em {
  color: var(--gold);
  font-style: italic;
}

.about-text {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-ornament {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.about-ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.about-ornament-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.about-ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy,
.footer-credit {
  font-size: 0.75rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

.footer-credit a:hover {
  color: var(--gold);
}

/* ===========================
   WHATSAPP FLOATING BUTTON
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: var(--transition);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 40px rgba(37,211,102,0.6); }
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ===========================
   SCROLL INDICATOR
=========================== */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1.2s 1s cubic-bezier(0.4,0,0.2,1) both;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.scroll-indicator:hover {
  transform: translateX(-50%) translateY(4px);
}

.scroll-indicator:hover .scroll-indicator-line {
  background: linear-gradient(180deg, var(--gold-light) 0%, transparent 100%);
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-mid);
  transition: color 0.3s ease;
}

.scroll-indicator:hover span {
  color: var(--gold);
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
  transition: background 0.3s ease;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 600px) {
  .hero-section {
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo {
    max-width: min(70vw, 200px);
  }

  .hero-welcome {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
    text-align: center;
    padding: 0 10px;
  }

  .hero-tagline {
    font-size: clamp(0.7rem, 3vw, 0.85rem);
    text-align: center;
    padding: 0 10px;
  }

  .scroll-indicator {
    bottom: 60px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    text-align: center;
  }

  .section-subtitle {
    font-size: 0.7rem;
    text-align: center;
  }

  .contact-item {
    padding: 16px 20px;
    gap: 14px;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .contact-value {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .social-grid {
    justify-content: center;
    gap: 12px;
  }

  .social-link {
    min-width: 90px;
    padding: 18px 16px;
  }

  .social-link svg {
    width: 24px;
    height: 24px;
  }

  .about-inner {
    text-align: center;
    padding: 0 10px;
  }

  .about-text {
    font-size: 0.9rem;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ===========================
   PRINT
=========================== */
@media print {
  .whatsapp-float { display: none; }
}
