/* Amerikada Yatirimlar - Static Responsive Stylesheet
   Palette extracted from original Enigma default.css:
   Gold: #b9a35f | Black: #000000 | Charcoal: #3b3b3b | White: #ffffff | Soft: #f5f5f5 / #edf0f2 */

:root {
  --gold: #b9a35f;
  --gold-dark: #9c8642;
  --gold-light: rgba(185, 163, 95, 0.12);
  --black: #000000;
  --dark: #141414;
  --heading: #3b3b3b;
  --text: #555555;
  --muted: #777777;
  --border: #e5e5e5;
  --bg-light: #f5f5f5;
  --bg-soft: #edf0f2;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius: 8px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--black);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.topbar {
  background: var(--dark);
  color: #dcdcdc;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid #262626;
}

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

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.topbar-contact a {
  color: #e6e6e6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-contact a:hover {
  color: var(--gold);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-social a {
  color: #cccccc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--transition), color var(--transition);
}

.topbar-social a:hover {
  background: var(--gold);
  color: var(--black);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-menu a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 13px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--gold);
  color: var(--black);
}

.nav-wa-btn {
  background: var(--whatsapp) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.nav-wa-btn:hover {
  background: var(--whatsapp-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Hero Slider */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-slides {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  position: relative;
  min-height: 500px;
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 64px 0;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.hero-content h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.2;
  color: var(--white);
}

.hero-content p {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: #f0f0f0;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  border: 1px solid rgba(185, 163, 95, 0.6);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.hero-arrow:hover {
  background: var(--gold);
  color: var(--black);
}

.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: var(--white);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--heading);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

/* Pillars / Services */
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: var(--heading);
}

.pillar-card p {
  margin: 0;
  font-size: 0.94rem;
}

.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.service-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 18px 20px;
}

.service-mini h4 {
  margin: 0 0 6px;
  color: var(--heading);
  font-size: 1.02rem;
}

.service-mini p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Portfolio / Investment Areas */
.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.area-card:hover {
  transform: translateY(-4px);
}

.area-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaeaea;
}

.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.area-card:hover .area-card-img img {
  transform: scale(1.04);
}

.area-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.area-card-body h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--heading);
  line-height: 1.4;
}

/* Featured Project: Eagle Creek */
.feature-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-body {
  padding: 32px;
}

.feature-body h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  color: var(--heading);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--gold-dark);
  font-weight: 800;
  flex-shrink: 0;
}

/* Tabs (Why USA / Florida / Michigan) */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-btn {
  background: var(--white);
  color: var(--heading);
  border: 2px solid var(--gold);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.tab-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 1.35rem;
}

.tab-panel p {
  margin: 0 0 14px;
}

.tab-panel p:last-child {
  margin-bottom: 0;
}

/* Process & Franchise Cards */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}

.info-card h3 {
  margin: 0 0 14px;
  color: var(--heading);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  font-size: 1.2rem;
}

.info-card ul {
  padding-left: 18px;
  margin: 12px 0;
}

.info-card li {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

/* Articles / Guide */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  background: var(--bg-soft);
  color: var(--heading);
  border: 1px solid #d7dce0;
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

.article-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.article-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--heading);
  line-height: 1.38;
}

.article-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.article-read-btn {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid var(--gold);
}

.article-read-btn:hover {
  color: var(--gold-dark);
}

.articles-more-wrap {
  text-align: center;
  margin-top: 28px;
}

/* Callout Banner (Original Enigma Gold Callout) */
.callout {
  background: var(--gold);
  color: var(--black);
  padding: 44px 0;
}

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

.callout-text {
  max-width: 780px;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

/* Contact & WhatsApp Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-card,
.wa-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card h3,
.wa-form-card h3 {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: 1.3rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 12px;
}

.contact-list li {
  font-size: 0.95rem;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.contact-list strong {
  color: var(--heading);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background: var(--white);
  color: var(--heading);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #cccccc;
  border-top: 4px solid var(--gold);
  padding: 38px 0 24px;
  font-size: 0.9rem;
}

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

.footer-brand strong {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #dddddd;
}

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

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  background: var(--whatsapp);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), background var(--transition);
}

.wa-float:hover {
  transform: scale(1.08);
  background: var(--whatsapp-dark);
  color: var(--white);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.modal-header {
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-header h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.3rem;
}

.modal-close {
  background: var(--bg-soft);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--heading);
}

.modal-close:hover {
  background: var(--gold);
  color: var(--black);
}

.modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  font-size: 0.98rem;
}

.modal-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-mini-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border-top: 1px solid #2a2a2a;
    border-bottom: 3px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 6px;
  }
  .nav-menu.open { display: flex; }
  .nav-wa-btn { margin-left: 0; justify-content: center; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .grid-4, .service-mini-grid, .form-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero-slide.active, .hero-slides { min-height: 430px; }
  .hero-arrow { display: none; }
}
