/* Viennalife Satış Konferansı - Landing / Kayıt Formu
   Font: Poppins (Ebrima-Bold yerine web-safe alternatif) */

:root {
  --indigo: #4400a9;
  --indigo-dark: #37067f;
  --text-dark: #2b2b2b;
  --purple-border: #8a5fd6;
  --purple-border-shadow: rgba(138, 95, 214, 0.2);
  --pink: #d42b79;
  --purple-mid: #834fb0;
  --teal: #33afc9;
  --container-w: 800px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Ebrima', 'senticosansdtregular', Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(135deg, #cfe4f5, #ecdcf2 45%, #fbe6d4);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- HERO / HEADER ---------- */

.hero {
  min-height: calc(min(100vw, 1080px) * 0.59259);
  background: top center / auto 100% no-repeat url('../images/bg-header.png?v=2');
  background-color: #cfd1fb;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 60px;
  overflow: hidden;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.navbar a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(2px);
  transition: background 0.2s ease;
}

.navbar a:hover { background: rgba(255, 255, 255, 0.7); }

.navbar a img { width: 18px; height: 18px; object-fit: contain; }

.logo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  z-index: 1;
}

/* Logo arkasinda gecisli (soft) beyaz — kenarlari saydamlasir */
.logo::before {
  content: '';
    position: absolute;
    inset: -350px -500px -210px -400px;
    border-radius: 50%;
    background: radial-gradient(ellipse 58% 52% at 50% 48%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 38%, rgba(255, 255, 255, 0.3) 62%, rgba(255, 255, 255, 0) 78%);
    z-index: -1;
    pointer-events: none;
    left: -330px;
    top: -250px;
}

.logo img {
  position: relative;
  width: 130px;
}

.hero-content {
  text-align: center;
  padding-top: 60px;
}

.hero-content .eyebrow {
  color: var(--indigo);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.3px;
  margin: 0 0 8px;
}

.hosgeldin {
  width: 340px;
  max-width: 90%;
  margin: 0 auto;
}

/* ---------- INTRO + FORM shared background ---------- */

.intro-form-bg {
  min-height: calc(min(100vw, 1080px) * 1.38519);
  background: center center / 100% 100% no-repeat url('../images/bg-intro-form.png');
  background-color: #ece9fb;
  max-width: 1080px;
  margin: 0 auto;
}

.intro-form-bg.closed {
  min-height: calc(min(100vw, 1080px) * 1);
}

.intro {
  padding: 35px 0;
}

.intro h2 {
  color: var(--indigo-dark);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
}

.intro p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 0 28px;
}

.note-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(226, 232, 253, 0.75);
  border-radius: 18px;
  padding: 16px 20px;
  max-width: 480px;
}

.note-box img { width: 44px; flex-shrink: 0; }

.note-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--indigo-dark);
}

/* ---------- FORM SECTION ---------- */

.form-section {
  padding: 25px 0;
}

.form-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 45px rgba(122, 60, 160, 0.12);
}

.form-card h2 {
  text-align: center;
  color: var(--indigo);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 22px;
}

.form-group { 
  display: flex; 
  flex-direction: column; 
  justify-content: flex-end; 
  min-width: 0;
  position: relative;
}

.form-group label {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--indigo-dark);
  margin-bottom: 4px;
}

.form-group label.error {
  color: var(--pink);
  position: absolute;
  bottom: -25px;
  left: 0;
  padding: 0px 10px;
}

.form-group .hint {
  font-size: 11px;
  line-height: 1.5;
  color: var(--purple-border);;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  min-width: 0;
  width: 100%;
  height: auto;
  border: 1.5px solid var(--purple-border);
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-dark);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--purple-border);
  box-shadow: 0 0 0 3px var(--purple-border-shadow);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5fd6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.form-group select:invalid,
.form-group select option[value=""] {
  color: #8a7a99;
}

.form-group.form-actions {
  text-align: center;
  padding-top: 20px;
}

.btn-kaydet {
  margin: 0 0 0 auto;
  width: 180px;
  background: linear-gradient(90deg, var(--pink), var(--purple-mid), var(--teal));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 44px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(131, 79, 176, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-kaydet:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(131, 79, 176, 0.45);
}

.notlar {
  margin-top: 40px;
}

.notlar h3 {
  color: var(--indigo);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px;
}

.notlar ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.notlar li {
  color: var(--indigo-dark);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ---------- ULAŞIM ---------- */

.ulasim-section {
  min-height: calc(min(100vw, 1080px) * 0.5787);
  background: top center / auto 100% no-repeat url(../images/bg-ulasim.png?v=2);
  background-color: #fbeffb;
  max-width: 1080px;
  margin: 0 auto;
  padding: 110px 0 60px 0;
  color: var(--indigo-dark);
}

.ulasim-section h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 38px;
  font-weight: 800;
  color: var(--indigo);
  margin: 0 0 24px;
}

.plane-icon {
  display: inline-block;
  width: 48px;
  height: 32px;
  background-color: var(--indigo);
  -webkit-mask-image: url('../images/plane-icon.png');
  mask-image: url('../images/plane-icon.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ulasim-section p {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 20px;
}

.ulasim-section p:last-child { margin-bottom: 0; }

/* ---------- PROGRAM ---------- */

.program-section {
  min-height: calc(min(100vw, 1080px) * 0.5);
  background: top center / 100% 100% no-repeat url('../images/bg-program.jpg?v=2');
  background-color: #b5cbfd;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 0 70px;
}

.program-section h2 {
  text-align: center;
  color: var(--indigo-dark);
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 32px;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.program-card {
  /*background: rgba(255, 255, 255, 0.85);*/
  border-radius: 20px;
  /*box-shadow: 0 14px 30px rgba(122, 60, 160, 0.12);*/
  padding: 16px 30px 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: center center / 100% 100% no-repeat url('../images/bg-program-box.png');
}

.num {
  font-size: 94px;
  font-weight: 800;
  line-height: 1;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  width: 60px;
}

.num-1 { background-image: linear-gradient(180deg, #fa83c0, #fcaf87); }
.num-2 { background-image: linear-gradient(180deg, #ba87f4, #bd4af5); }
.num-3 { background-image: linear-gradient(180deg, #d442ec, #ed7fe2); }
.num-4 { background-image: linear-gradient(180deg, #608fea, #73b4f5); }

.program-text {
  padding: 20px 0;
}

.program-text h3 {
  color: var(--indigo-dark);
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 2px;
}

.program-text p {
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  color: var(--text-dark);
}

/* ---------- UYARI KUTUSU ---------- */
/* clear-all.css '../images/warning.png' dosyasini ariyor, proje icinde mevcut degil.
   Ikonu inline SVG ile veriyoruz (index.php ve giris.php ortak kullaniyor). */

.warning {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234400a9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
  background-size: 17px;
  background-position: 11px center;
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- LOGIN ---------- */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

.login-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: top center / cover no-repeat url('../images/bg-header.png?v=2');
  opacity: 0.5;
  pointer-events: none;
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 1);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 45px rgba(122, 60, 160, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.login-logo {
  margin: 0 auto 18px;
  width: 170px;
}

.login-card h1 {
  text-align: center;
  color: var(--indigo);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 26px;
}

.login-form .form-group + .form-group { margin-top: 16px; }

.login-help {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--purple-border);
  text-align: center;
  margin: 16px 0 20px;
}

.btn-login {
  width: 100%;
  margin: 0;
  padding: 12px 24px;
}

@media (max-width: 420px) {
  .login-card { padding: 28px 22px; }
  .login-logo { width: 140px; }
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--indigo-dark);
  padding: 20px 0;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 700px) {
  .logo { margin-bottom: 8px; }
  .navbar ul { justify-content: center; }
  .navbar a { font-size: 11px; padding: 8px 12px; }
}


@media (max-width: 640px) {
  .navbar { justify-content: center; }
  .logo { order: -1; margin-bottom: 8px; }
  .navbar ul { justify-content: center; }
  .navbar a { font-size: 11px; padding: 8px 12px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hosgeldin { width: 280px; }
  .hero-content { padding-top: 40px; }
  .form-card { padding: 28px 20px; }
  .program-grid { gap: 5px; grid-template-columns: 1fr; }
  .hero-content .eyebrow { font-size: 16px; }
}

@media (max-width: 420px) {
  .navbar { justify-content: center; }
  .logo { order: -1; margin-bottom: 8px; }
  .navbar ul { justify-content: center; }
  .navbar a { font-size: 11px; padding: 8px 12px; }
  .intro h2 { font-size: 22px; }
  .hero-content .eyebrow { font-size: 14px; }
}

@media (min-width: 900px) {
  :root { --container-w: 940px; }
  .hero-content { padding-top: 160px; padding-bottom: 20px; }
  .hosgeldin { width: 400px; }
}
