/* style.css (FULL - Updated) */

/* ====== CSS Reset / Base ====== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

:root{
  --icam-blue: #1e3a8a;
  --icam-blue2:#2563eb;
  --icam-soft:#f3f6ff;
  --icam-line:#1d4ed8;

  --border: #e2e8f0;
  --muted: #64748b;
  --card-bg: #ffffff;
  --shadow: 0 8px 20px rgba(15, 23, 42, .06);
  --radius: 18px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--icam-soft);
  color: #0f172a;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

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

.hidden { display: none !important; }

/* ====== Layout Helpers ====== */
.container{
  max-width: 1152px; /* max-w-6xl */
  margin: 0 auto;
  padding: 0 16px;
}

/* ====== Topbar ====== */
.topbar{
  background: var(--icam-blue);
  color: #fff;
  font-size: 12px;
}
.topbar__inner{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.topbar__left{
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__right{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.iconlink{
  opacity: .9;
  text-decoration: none;
}
.iconlink:hover{
  opacity: 1;
  text-decoration: none;
}

/* ====== Header ====== */
.site-header{
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.brand img{
  height: 64px;
  width: auto;
}

.nav{
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #334155;
  align-items: center;
}
.nav a{
  text-decoration: none;
}
.nav a:hover{
  color: var(--icam-blue2);
}
.nav .active{
  color: var(--icam-blue2);
}

/* ====== Dropdown Menu ====== */
.nav-dropdown{
  position: relative;
}
.nav-dropdown__trigger{
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}
.nav-dropdown__trigger i{
  font-size: 10px;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown.active .nav-dropdown__trigger{
  color: var(--icam-blue2);
}
.nav-dropdown:hover .nav-dropdown__trigger i,
.nav-dropdown.active .nav-dropdown__trigger i{
  transform: rotate(180deg);
}
.nav-dropdown .sub-menu{
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  list-style: none;
}
.nav-dropdown:hover .sub-menu,
.nav-dropdown.active .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ====== Sub Menu Items ====== */
.sub-menu .menu-item{
  margin: 0;
}
.sub-menu .elementor-sub-item{
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}
.sub-menu .elementor-sub-item:hover{
  background: var(--icam-soft);
  color: var(--icam-blue2);
  text-decoration: none;
}

/* ====== Hero ====== */
.hero{ color: #fff; text-align: center; }
.hero-bg{
  background-image:
    linear-gradient(to right, rgba(15,23,42,.65), rgba(15,23,42,.30)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}
.hero__inner{ padding: 56px 0; }
.hero__title{
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ====== Main Grid ====== */
.main{ padding: 40px 0; }
.layout{
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px){
  .layout{
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
  .sticky{
    position: sticky;
    top: 24px;
  }
}

/* ====== Cards ====== */
.card{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__body{ padding: 24px; }
.card__title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.divider{
  height: 2px;
  width: 64px;
  background: var(--icam-line);
  margin-top: 10px;
}

/* ====== Alerts ====== */
.alert{
  border-radius: var(--radius);
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: #fff;
}
.alert--success{
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
  font-weight: 600;
}
.alert--error{
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
  font-weight: 600;
}
.alert--info{
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #0f172a;
}
.alert--info p{ margin: 0; }

/* ====== Typography Helpers ====== */
.small-muted{
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.tiny-muted{
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

/* ====== Overview Boxes ====== */
.kpi-grid{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
@media (min-width: 640px){
  .kpi-grid{ grid-template-columns: repeat(3, 1fr); }
}
.kpi{
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
  font-size: 13px;
}
.kpi__label{
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
}
.kpi__value{
  margin-top: 6px;
  font-weight: 700;
  color: #0f172a;
}

/* ====== Fees table ====== */
.table-wrap{ overflow-x: auto; margin-top: 18px; }
.fees-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.fees-table td{ padding: 12px 16px; }

.row-blue{ background: var(--icam-blue); color: #fff; }
.row-blue2{ background: var(--icam-blue2); color: #fff; }
.row-soft{ background: #f8fafc; }
.row-white{ background: #fff; }

.td-right{ text-align: right; font-weight: 700; }
.td-strong{ font-weight: 600; }

/* ====== Payment boxes ====== */
.pay-grid{
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 640px){
  .pay-grid{ grid-template-columns: repeat(2, 1fr); }
}
.pay-box{
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px;
}
.pay-box__title{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.pay-box__desc{
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.note{
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  padding: 14px;
  font-size: 14px;
  color: #0f172a;
}
.note b{ color: var(--icam-blue); font-weight: 700; }

/* ====== Warning box ====== */
.warning{
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  padding: 14px;
  color: #991b1b;
}
.warning__title{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.warning__text{
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
}

/* ====== Right Form ====== */
.form-card{
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

.form-head{
  padding: 24px;
  color: #fff;
  background: linear-gradient(90deg, var(--icam-blue), var(--icam-blue2));
}
.form-head__kicker{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  opacity: .9;
}
.form-head__title{
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
}
.form-head__desc{
  margin-top: 10px;
  font-size: 14px;
  opacity: .9;
  font-weight: 400;
}

.form-body{
  padding: 26px;
  background: #f9fbff;
}
.form{ display: grid; gap: 16px; }

.form-grid-2{
  display: grid;
  gap: 12px;
}
@media (min-width: 640px){
  .form-grid-2{ grid-template-columns: repeat(2, 1fr); }
}

.label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

.input,
.select{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
  font-weight: 400;
  color: #0f172a;
  transition: all .18s ease;
}
.input::placeholder{ color: #94a3b8; }
.input:focus,
.select:focus{
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(59,130,246,.12), 0 0 0 3px rgba(59,130,246,.18);
}

/* ====== Card payment form ====== */
.card--payment {
  border-color: #c7d2fe;
  box-shadow: 0 4px 24px rgba(30, 58, 138, .08);
}
.card--payment .card__body { padding-bottom: 28px; }
.card-payment__payee {
  font-size: 13px;
  color: #334155;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  line-height: 1.45;
}
.card-payment__payee i {
  color: var(--icam-blue);
  margin-right: 6px;
}
.card-payment__summary {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.card-payment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
}
/* 2 sütun mobil; masaüstünde alt satır 4 sütun (ay, yıl, cvv, kart türü) */
.card-payment-form__fields {
  display: grid;
  gap: 14px 16px;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.card-payment-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-payment-form__row--full { grid-column: 1 / -1; }
/* Mobil: 2. satırda ay | yıl, 3. satırda cvv | kart türü */
.card-payment-form__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}
.card-payment-form__label i {
  color: var(--icam-blue);
  font-size: 13px;
  opacity: .9;
}
.card-payment-form__input,
.card-payment-form__select {
  font-variant-numeric: tabular-nums;
  background: #fff;
}
.card-payment-form__input--pan {
  font-size: 16px;
  letter-spacing: .06em;
  padding: 12px 14px;
}
.card-payment-form__input--cvv {
  max-width: 90px;
}
.card-payment-form__select {
  cursor: pointer;
  padding: 12px 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.card-payment-form__submit {
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  margin-top: 0;
}
.btn--payment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  min-width: 200px;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(30, 58, 138, .25);
}
.btn--payment:hover {
  box-shadow: 0 6px 20px rgba(30, 58, 138, .35);
}
.btn--payment i { font-size: 14px; opacity: .95; }
/* Masaüstü: kart no tam genişlik, alt satırda ay | yıl | cvv | kart türü yan yana */
@media (min-width: 640px) {
  .card-payment-form__fields {
    grid-template-columns: 80px 80px 90px 1fr;
    gap: 14px 16px;
  }
  .card-payment-form__row--full { grid-column: 1 / -1; }
  .card-payment-form__input--cvv { max-width: 100%; }
}

.subcard{
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.subcard__title{
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: #0f172a;
}
.subcard__desc{
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}
.subcard--venue-hotel .venue-hotel-toggle{
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0;
}
.subcard--venue-hotel .venue-hotel-toggle input{ width: 18px; height: 18px; flex-shrink: 0; }
.venue-hotel-options{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.checkbox-row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
}
.checkbox-row input{ width: 16px; height: 16px; }

/* Category card styling */
.category-card{
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}
.category-option{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s ease;
  background: #fff;
}
.category-option:hover{
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(59,130,246,.08);
}
.category-option input{
  width: 18px;
  height: 18px;
  accent-color: var(--icam-blue);
}
.category-option__title{
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
}
.category-option__desc{
  font-size: 13px;
  color: #475569;
}

/* Addon card styling */
.addon-card{
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
  display: grid;
  gap: 10px;
}
.addon-row{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: all .15s ease;
}
.addon-row:hover{
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(59,130,246,.08);
}
.addon-row__text{
  flex: 1;
}
.addon-row__title{
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
}
.addon-row__desc{
  font-size: 13px;
  color: #475569;
}
.addon-row input[type="number"]{
  width: 90px;
  border-radius: 12px;
  text-align: center;
}

.addon-hotel{
  padding: 14px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  margin-top: 4px;
}
.addon-hotel__header{
  margin-bottom: 12px;
}
.addon-hotel__header .addon-row__desc{
  margin-top: 4px;
}
.addon-hotel__options{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.addon-hotel__option{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.addon-hotel__option:hover{
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(59,130,246,.06);
}
.addon-hotel__option-row{
  display: flex;
  align-items: center;
  gap: 8px;
}
.addon-hotel__option input{ flex-shrink: 0; }
.addon-hotel__option-row span{ font-weight: 600; color: #0f172a; font-size: 14px; }
.addon-hotel__option small{ display: block; font-size: 12px; color: #64748b; font-weight: 400; margin-top: 2px; padding-left: 24px; }

.help{
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, var(--icam-blue), var(--icam-blue2));
}
.btn:hover{ filter: brightness(1.05); }

/* Document buttons (e.g. under Cancellation Policy) */
.doc-buttons{
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.doc-buttons__label{
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px 0;
  font-weight: 600;
}
.doc-buttons__row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn--doc{
  width: auto;
  min-width: 180px;
  flex: 1;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
}
.btn--doc:hover{ text-decoration: none; }
.btn--doc i{ font-size: 1.1em; }

/* ====== Error list (right side) ====== */
.fixbox{
  margin-bottom: 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #991b1b;
  font-size: 14px;
}
.fixbox b{
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
.fixbox ul{ margin: 0; padding-left: 18px; }
.fixbox li{ font-weight: 400; }

/* ====== App band ====== */
.appband{
  color: #fff;
  background: linear-gradient(90deg, var(--icam-blue), var(--icam-blue2));
}
.appband__inner{
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px){
  .appband__inner{
    flex-direction: row;
    gap: 18px;
  }
}
.appband__title{
  font-size: 18px;
  font-weight: 800;
}
.storebtns{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.storebtn{
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.storebtn:hover{
  background: rgba(255,255,255,.18);
  text-decoration: none;
}

/* ====== Footer ====== */
.footer{
  background: #fff;
  border-top: 1px solid var(--border);
}
.footer__grid{
  padding: 40px 0;
  display: grid;
  gap: 22px;
}
@media (min-width: 768px){
  .footer__grid{
    grid-template-columns: 4fr 3fr 3fr 2fr;
    gap: 28px;
  }
}
.footer__title{
  font-weight: 700;
  margin-bottom: 10px;
}
.footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #475569;
}
.footer__list a{ text-decoration: none; }
.footer__list a:hover{
  color: var(--icam-blue2);
}
.footer__muted{
  color: #475569;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
}

.phonepill{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--icam-blue), var(--icam-blue2));
  font-weight: 700;
  font-size: 13px;
}

.footer__bottom{
  border-top: 1px solid var(--border);
  padding: 16px 0;
  color: #64748b;
  font-size: 12px;
}
.footer__bottom-inner{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 640px){
  .footer__bottom-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer__bottom a{
  text-decoration: none;
}
.footer__bottom a:hover{
  color: var(--icam-blue2);
}
.bottom-links{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ====== Small spacing helpers ====== */
.stack-8{ display: grid; gap: 20px; }
.stack-6{ display: grid; gap: 16px; }

/* ====== Payment Logos ====== */
.payment-logos{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.payment-logo{
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.payment-logo:hover{
  opacity: 1;
}

/* ====== Mobile tweaks ====== */
@media (max-width: 768px){
  .nav-dropdown .sub-menu{
    min-width: 240px;
    right: 0;
    left: auto;
  }
}
@media (max-width: 480px){
  .hero__title{ font-size: 28px; }
  .brand img{ height: 52px; }
  .nav-dropdown .sub-menu{
    min-width: calc(100vw - 32px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
  }
  .nav-dropdown:hover .sub-menu,
  .nav-dropdown.active .sub-menu{
    transform: translateX(-50%) translateY(0);
  }
}
    