/* Cobus Theme - Ezgi & Hakan */
html {
  scroll-behavior: smooth;
}
body {
  color: #505050;
  background: #ffffff;
}

.and {
  font-family: 'Tangerine', serif;
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

.menu__names {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  line-height: 30px;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a89668;
}

.menu {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  line-height: 30px;
  color: #505050;
}

.menu__and {
  color: #505050;
}

.site {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  line-height: 30px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  width: 100%;
  color: #505050;
}

.header {
  background: url("https://wedsites.s3.amazonaws.com/collections/9/assets/header-4.jpg") no-repeat top center;
  background-size: cover;
  background-blend-mode: multiply;
}

.header__content {
  padding: 150px 0;
}

.header__main {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  line-height: 1.5;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.header__name {
  color: #a89668;
}

.header__delimiter {
  font-family: 'Tangerine', serif;
  font-size: 112.5%;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.1em;
}

.header__date {
  font-size: inherit;
}

.header__button {
  color: #a89668;
  border: 2px solid #a89668;
  font-weight: 700;
}

.header__button:hover {
  color: #505050;
  border: 2px solid #505050;
  opacity: 1;
}

.section__heading,
.section__title {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  line-height: 1.5;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 20px;
  color: #a89668;
}

.section__label {
  font-size: inherit;
  margin: 10px 0;
}

.section__box {
  border: 2px solid #a89668;
}

.section__button {
  color: #a89668;
  background: transparent;
  border: 2px solid #a89668;
}

.section__button:hover {
  color: #505050;
  border: 2px solid #505050;
  opacity: 1;
}

.section__input {
  border: 2px solid #505050;
}

.section__divider {
  height: 2px;
  color: #a89668;
  background: #a89668;
}

.section--element-quote .section__text:before,
.section--element-quote .section__text:after {
  background: #a89668;
  height: 2px;
}

.section--element-timeline:before {
  width: 2px;
  background: #a89668;
}

.section--element-timeline:after {
  width: 6px;
  height: 6px;
  border: 2px solid #a89668;
}

.section--element-place .section__label,
.section--element-place .section__text {
  color: #505050;
}

@media (min-width: 768px) {
  .section--element-timeline.section--width-half:before {
    margin-left: -1px;
  }
  .section--element-timeline:after {
    margin-left: -5px;
  }
}

.v2 .header { background-image: url("https://wedsites.s3.amazonaws.com/collections/9/assets/header-2.jpg"); }
.v3 .header { background-image: url("https://wedsites.s3.amazonaws.com/collections/9/assets/header-3.jpg"); }
.v4 .header { background-image: url("https://wedsites.s3.amazonaws.com/collections/9/assets/header-4.jpg"); }
.v5 .header { background-image: url("https://wedsites.s3.amazonaws.com/collections/9/assets/header-5.jpg"); }

.is-simple .header { background: none; }

.header--overlay,
.header--overlay .header__name,
.header--overlay .header__button {
  color: #fff !important;
}

.header--overlay .header__button {
  border-color: #fff !important;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap');

.menu, .site { font-family: "Open Sans"; font-weight: 500; font-style: normal; }
.header__main, .menu__names { font-family: "Oswald"; font-weight: 300; font-style: normal; }
.and { font-family: "Tangerine"; font-weight: 700; font-style: normal; }
.section__title { font-family: "Oswald"; font-weight: 300; font-style: normal; }
.header__date { font-family: "Open Sans"; font-weight: 500; font-style: normal; }
.section__heading { font-family: "Oswald"; font-weight: 300; font-style: normal; }
.section__label { font-family: "Open Sans"; font-weight: 500; font-style: normal; }

.site { font-size: 15px; letter-spacing: 0.3em; line-height: 2; }
.header__main { font-size: 48px; letter-spacing: 0.2em; line-height: 1.25; }
.header__delimiter { font-size: 50px; letter-spacing: 0em; line-height: 1.1; }
.header__date { font-size: 15px; letter-spacing: 0.3em; line-height: 2; }
.section__heading { font-size: 48px; letter-spacing: 0.2em; line-height: 1.5; }
.section__title { font-size: 48px; letter-spacing: 0.2em; line-height: 1.5; }
.section__label { font-size: 15px; letter-spacing: 0.3em; line-height: 2; }

.menu, .site { text-transform: uppercase; }
.header__main, .menu__names { text-transform: uppercase; }
.and { text-transform: none; }
.header__date { text-transform: uppercase; }
.section__title { text-transform: uppercase; }
.section__heading { text-transform: uppercase; }
.section__label { text-transform: uppercase; }

body, .menu, .menu__and, .menu__items, .site, .header__button:hover, .section__button:hover, .section--element-place .section__label, .section--element-place .section__text { color: #505050 !important; }
body, .menu, .menu__items, .header, .section--element-timeline:after { background-color: #ffffff !important; }
.menu__names, .header__name, .header__button, .section__heading, .section__title, .section__button, .section__divider { color: #a89668 !important; }
.section--element-quote .section__text:before, .section__divider, .section--element-quote .section__text:after, .section--element-timeline:before { background-color: #a89668 !important; }
.header__button, .section__box, .section__button, .section--element-timeline:after { border-color: #a89668 !important; }
.header__content { padding-top: 15% !important; padding-bottom: 10% !important; }

/* Geri sayım sayacı - 10 Mayıs 2026, 15:00 */
.header__countdown {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-family: "Open Sans", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.countdown__item {
  text-align: center;
  min-width: 5.5rem;
}
.countdown__value {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: #a89668;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.countdown__label {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.35rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: #505050;
  letter-spacing: 0.12em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 480px) {
  .header__countdown { gap: 2rem; }
  .countdown__item { min-width: 6.5rem; }
  .countdown__value { font-size: 4.25rem; }
  .countdown__label { font-size: 0.85rem; }
}

/* Nikah tarihi ve saati - sayacın altında */
.header__datetime {
  margin: 1rem 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #505050;
  opacity: 0.9;
}
.header__date-sep {
  margin: 0 0.35em;
  color: #a89668;
  font-weight: 300;
}
.header__time-text {
  color: #a89668;
}
@media (min-width: 480px) {
  .header__datetime { font-size: 0.9rem; margin-top: 1.25rem; }
}

/* Silik çift fotoğrafı - RSVP yerine */
.header__couple-photo {
  margin-top: 2rem;
  text-align: center;
}
.header__couple-photo img {
  max-width: 320px;
  width: 85%;
  opacity: 0.15;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: opacity 0.5s ease;
}

/* Hoş geldiniz + Adres + Harita bölümü */
.section__text--welcome {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.section__address {
  margin-top: 2rem;
  text-align: center;
  font-family: "Open Sans", sans-serif;
}
.section__address-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a89668;
  margin: 0 0 0.5rem;
}
.section__address-line {
  font-size: 0.95rem;
  color: #505050;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}
.section__address-link {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a89668;
  border: 2px solid #a89668;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}
.section__address-link:hover {
  color: #505050;
  border-color: #505050;
}
.section__map {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section__map iframe {
  display: block;
  width: 100%;
  min-height: 300px;
}

/* Yukarı çık butonu - footer */
.footer__link--top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #a89668;
  transition: color 0.2s, transform 0.2s;
}
.footer__link--top:hover {
  color: #505050;
  transform: translateY(-2px);
}
.icon--arrow-up {
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 8px;
  position: relative;
  box-sizing: border-box;
}
.icon--arrow-up::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -5px 0 0 -6px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid currentColor;
  transform: translateY(2px);
}

/* Icon placeholders (template uses icon font) */
.icon { display: inline-block; vertical-align: middle; }
.icon--menu { width: 24px; height: 18px; border-top: 2px solid #505050; border-bottom: 2px solid #505050; box-shadow: inset 0 6px 0 0 #505050; }
.icon--wedsites { width: 24px; height: 24px; background: #a89668; border-radius: 4px; }

/* ========================================
   GUESTS PAGES
   ======================================== */

.guests-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: #ffffff;
}
.guests-container {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

/* Header */
.guests-header {
  margin-bottom: 2.5rem;
}
.guests-title {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
}
.guests-title__name {
  color: #a89668;
}
.guests-title__and {
  font-family: "Tangerine", serif;
  font-weight: 700;
  font-size: 2.8rem;
  text-transform: none;
  letter-spacing: 0;
  color: #505050;
  display: inline-block;
  margin: 0 0.3em;
}
.guests-subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #505050;
  margin: 0.75rem 0 0;
  opacity: 0.8;
}
.guests-page-title {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a89668;
  margin: 0 0 0.5rem;
}
.guests-page-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #505050;
  margin: 0;
  text-transform: none;
}

/* Navigation Buttons */
.guests-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.guests-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: #a89668;
  background: transparent;
  border: 2px solid #a89668;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.guests-btn:hover {
  color: #ffffff;
  background: #a89668;
  border-color: #a89668;
}
.guests-btn__icon {
  font-size: 1.5rem;
  line-height: 1;
}
.guests-btn__text {
  line-height: 1;
}

/* Back button */
.guests-back {
  margin-top: 2rem;
}
.guests-btn--back {
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
}

/* Upload button */
.guests-btn--upload {
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  width: 100%;
}

/* ========================================
   LOCATIONS PAGE
   ======================================== */

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.location-card {
  border: 2px solid #a89668;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s ease;
}
.location-card:hover {
  box-shadow: 0 4px 20px rgba(168, 150, 104, 0.15);
}
.location-card--special {
  border-style: dashed;
  background: rgba(168, 150, 104, 0.03);
}
.location-card__name {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a89668;
  margin: 0 0 0.5rem;
}
.location-card__date {
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #a89668;
  margin: 0 0 0.75rem;
  text-transform: none;
}
.location-card__venue {
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #505050;
  margin: 0 0 0.3rem;
}
.location-card__address {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #505050;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  text-transform: none;
}
.location-card__btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: #a89668;
  border: 2px solid #a89668;
  border-radius: 4px;
  transition: all 0.25s ease;
}
.location-card__btn:hover {
  color: #a89668;
  background: transparent;
}

/* ========================================
   UPLOAD / LOAD IMAGES PAGE
   ======================================== */

.upload-area {
  margin-top: 1.5rem;
}
.upload-dropzone {
  border: 2px dashed #a89668;
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(168, 150, 104, 0.02);
}
.upload-dropzone:hover,
.upload-dropzone--active {
  background: rgba(168, 150, 104, 0.08);
  border-color: #8a7a52;
}
.upload-dropzone__icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.upload-dropzone__text {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #505050;
  margin: 0;
  text-transform: none;
}
.upload-dropzone__hint {
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  color: #888;
  margin: 0.3rem 0 0;
  text-transform: none;
  letter-spacing: 0.05em;
}
.upload-dropzone__input {
  display: none;
}

/* Preview */
.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  justify-content: center;
}
.upload-preview__item {
  width: 100px;
  text-align: center;
  position: relative;
}
.upload-preview__remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #e53935;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
  transition: background 0.2s;
}
.upload-preview__remove:hover {
  background: #c62828;
}
.upload-preview__img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.upload-preview__video {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.upload-preview__name {
  display: block;
  font-size: 0.65rem;
  color: #888;
  margin-top: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}

/* Upload actions & status */
.upload-actions {
  margin-top: 1.25rem;
}
.upload-status {
  margin-top: 1rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: none;
}
/* Form fields (Ad Soyad, Not) */
.upload-form-fields {
  margin-bottom: 1.5rem;
}
.upload-field {
  margin-bottom: 1rem;
  text-align: left;
}
.upload-field__label {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a89668;
  margin-bottom: 0.4rem;
}
.upload-field__input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  color: #505050;
  background: #ffffff;
  border: 2px solid #a89668;
  border-radius: 4px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease;
}
.upload-field__input:focus {
  border-color: #8a7a52;
}
.upload-field__input::placeholder {
  color: #aaa;
  letter-spacing: 0.05em;
}
.upload-field__textarea {
  resize: vertical;
  min-height: 70px;
}

/* Home page links */
.home-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.home-links__btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  min-width: 220px;
}

.upload-status--loading { color: #a89668; }
.upload-status--success { color: #4caf50; }
.upload-status--error { color: #e53935; }

/* ========================================
   ADMIN GALLERY
   ======================================== */

.admin-gallery {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.admin-summary {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.05em;
  margin: 1rem 0 1.5rem;
}
.admin-empty {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: #888;
  margin-top: 2rem;
}
.admin-login-form {
  margin-top: 1.5rem;
  text-align: left;
}
.admin-visitor-card {
  border: 2px solid #a89668;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-visitor-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(168, 150, 104, 0.2);
}
.admin-visitor-name {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a89668;
}
.admin-visitor-note {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  color: #505050;
  font-style: italic;
}
.admin-visitor-meta {
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.03em;
}
.admin-visitor-ua {
  word-break: break-all;
}
.admin-visitor-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.admin-file-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
}
.admin-file-media {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.admin-file-item {
  position: relative;
}
.admin-btn-delete {
  display: block;
  width: 100%;
  padding: 0.4rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #e53935;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.admin-btn-delete:hover {
  background: #c62828;
}
.admin-btn-delete:disabled {
  background: #999;
  cursor: default;
}
.admin-btn-delete--all {
  margin-top: 0.5rem;
  width: auto;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.75rem;
  align-self: flex-start;
}

/* ========================================
   RESPONSIVE - GUESTS
   ======================================== */

@media (min-width: 480px) {
  .guests-title { font-size: 3rem; }
  .guests-title__and { font-size: 3.2rem; }
  .guests-page-title { font-size: 2.5rem; }
  .guests-btn { padding: 1.5rem 2.5rem; font-size: 1.1rem; }
  .location-card { padding: 2rem; }
  .location-card__name { font-size: 1.6rem; }
  .admin-visitor-files { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .admin-file-media { height: 200px; }
}
