
/* =====================================================
   FIRAT TEKSTIL - ANA TASARIM SISTEMI
   Renkler: Krem / Bej / Sampanya Altin
   ===================================================== */

:root {
  --cream: #F3EFE6;
  --beige: #E8E1D4;
  --gold: #B99A5B;
  --gold-light: #D1B77F;
  --charcoal: #39362F;
  --text: #625C52;
  --white: #FFFFFF;
  --border: rgba(57, 54, 47, 0.13);
  --shadow: 0 15px 45px rgba(57, 54, 47, 0.09);
  --container: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

/* ================= HEADER ================= */

.site-header,
.header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: rgba(243, 239, 230, 0.98);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.container.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo,
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--charcoal);
}

.logo-image,
.brand-logo {
  width: 78px;
  height: 78px;
  display: block;
  object-fit: contain;
}

.main-nav,
.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.main-nav a,
.navigation a {
  position: relative;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.main-nav a:hover,
.navigation a:hover,
.main-nav a.active,
.navigation a.active {
  color: var(--gold);
}

.main-nav a::after,
.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.navigation a:hover::after,
.main-nav a.active::after,
.navigation a.active::after {
  width: 100%;
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle,
.mobile-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--charcoal);
  width: 42px;
  height: 42px;
  border-radius: 3px;
  font-size: 22px;
}

/* ================= BUTTONS ================= */

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.text-link:hover {
  color: var(--charcoal);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(243, 239, 230, 0.96),
    rgba(243, 239, 230, 0.75),
    rgba(243, 239, 230, 0.15)
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  min-height: 440px;
  display: flex;
  align-items: center;
  background: var(--beige);
  padding: 95px 0;
}

.page-hero .container {
  width: min(var(--container), calc(100% - 64px));
}

.page-hero h1,
.hero h1 {
  max-width: 850px;
  margin: 22px 0;
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -2px;
}

.page-hero p,
.hero p {
  max-width: 680px;
  color: var(--text);
  font-size: 17px;
}

.hero .btn,
.page-hero .btn {
  margin-top: 25px;
  margin-right: 10px;
}

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.8;
  text-transform: uppercase;
}

/* ================= SECTIONS ================= */

.section {
  padding: 100px 0;
}

.section-alt {
  background: #EEE8DC;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2,
.split-section h2,
.cta-section h2 {
  margin: 16px 0 20px;
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.2;
}

.section-heading p,
.split-section p {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 14px;
}

/* ================= SPLIT CONTENT ================= */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.split-image {
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  background: var(--beige);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-image:hover img {
  transform: scale(1.035);
}

/* ================= CARDS ================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card,
.info-card {
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-image {
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: var(--beige);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.04);
}

.card-content {
  padding: 27px;
}

.card-content h3,
.info-card h3 {
  margin: 10px 0;
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.card-content p,
.info-card p {
  color: var(--text);
  font-size: 14px;
}

.info-card {
  padding: 34px;
}

/* ================= PRODUCT GRID ================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-card-content {
  padding: 25px;
}

/* ================= TAGS / DETAILS ================= */

.tag-list,
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
}

/* ================= CTA ================= */

.cta-section {
  padding: 90px 24px;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--cream);
}

.cta-section p {
  max-width: 650px;
  margin: 0 auto 25px;
  color: #D6D0C5;
}

.cta-section .eyebrow {
  color: var(--gold-light);
}

/* ================= FORMS ================= */

.contact-form,
.form-box {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 38px;
  background: var(--cream);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid #D9D0C1;
  border-radius: 0;
  outline: none;
  background: #FAF8F3;
  color: var(--charcoal);
}

.form-group textarea,
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

/* ================= FOOTER ================= */

.site-footer {
  padding: 38px 0;
  background: #EAE3D7;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-inner p {
  color: var(--text);
  font-size: 12px;
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ================= MOBILE ================= */

@media (max-width: 1050px) {
  .header-inner,
  .container.header-inner {
    gap: 15px;
  }

  .main-nav,
  .navigation {
    gap: 13px;
  }

  .main-nav a,
  .navigation a {
    font-size: 11px;
  }

  .logo-image,
  .brand-logo {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 768px) {
  .container,
  .page-hero .container {
    width: min(100% - 36px, var(--container));
  }

  .header-inner,
  .container.header-inner {
    min-height: 82px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo-image,
  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .menu-toggle,
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .main-nav,
  .navigation {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 20px;
    order: 5;
  }

  .main-nav.is-open,
  .navigation.is-open,
  .main-nav.active,
  .navigation.active {
    display: flex;
  }

  .main-nav a,
  .navigation a {
    padding: 11px 5px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .page-hero {
    min-height: 350px;
    padding: 70px 0;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(38px, 10vw, 54px);
    letter-spacing: -1px;
  }

  .page-hero p,
  .hero p {
    font-size: 15px;
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .card-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .split-image,
  .split-image img {
    min-height: 260px;
  }

  .card-image {
    height: 250px;
  }

  .contact-form,
  .form-box {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner p {
    text-align: left;
  }

  .cta-section {
    padding: 65px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* FIRAT TEKSTIL - SOSYAL MEDYA VE WHATSAPP */

.social-floating {
  position: fixed;
  right: 24px;
  bottom: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-floating a {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #B99A5B;
  color: #fff;
  text-decoration: none;
  font-size: 23px;
  box-shadow: 0 5px 18px rgba(57, 54, 47, 0.18);
  transition: transform .25s ease, background .25s ease;
}

.social-floating a:hover {
  transform: translateY(-4px);
  background: #39362F;
}

.social-floating .whatsapp-float {
  background: #287A55;
}

.social-floating .whatsapp-float:hover {
  background: #1D6243;
}

.social-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}

.social-footer a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #B99A5B;
  border-radius: 50%;
  color: #B99A5B;
  text-decoration: none;
  font-size: 17px;
  transition: .25s ease;
}

.social-footer a:hover {
  background: #B99A5B;
  color: #fff;
}

@media (max-width: 768px) {
  .social-floating {
    right: 14px;
    bottom: 18px;
    gap: 9px;
  }

  .social-floating a {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}
