/* =============================================================================
   CKL Invest ApS - Site Replica
   Based on HTML5 UP template structure
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,700;0,900;1,400&display=swap');

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16px; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.65;
  color: #555;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { border: 0; }

/* ---- HEADER ---- */
#header {
  background-color: #892265;
  padding: 2em 2em 3.5em;
  text-align: center;
}

/* Navigation */
#header nav {
  display: inline-block;
  margin-bottom: 2.2em;
}

#header nav > ul {
  display: flex;
  border: 1px solid rgba(255,255,255,0.22);
}

#header nav > ul > li {
  position: relative;
}

#header nav > ul > li > a,
#header nav > ul > li > span {
  display: block;
  padding: 0.75em 1.5em;
  color: rgba(255,255,255,0.72);
  font-size: 1em;
  letter-spacing: normal;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
}

#header nav > ul > li > a:hover,
#header nav > ul > li.active > a {
  color: rgba(255,255,255,0.95);
}

/* Dropdown */
#header nav > ul > li .dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 130%;
  background: #7a1a55;
  border: 1px solid rgba(255,255,255,0.15);
  border-top: none;
  z-index: 200;
}

#header nav > ul > li:hover .dropdown {
  display: block;
}

#header nav > ul > li .dropdown li a {
  display: block;
  padding: 0.65em 1.2em;
  color: rgba(255,255,255,0.7);
  font-size: 1em;
  letter-spacing: normal;
  text-transform: uppercase;
  white-space: nowrap;
}

#header nav > ul > li .dropdown li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* Logo */
#logo h1 {
  color: rgba(255,255,255,0.95);
  font-size: 2.15em;
  font-weight: 600;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  padding-left: 0.55em; /* compensate for letter-spacing optical shift */
}

#logo h1 a { color: inherit; }

#logo .subtitle {
  display: block;
  color: rgba(255,255,255,0.38);
  font-size: 0.82em;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-top: 0.4em;
  padding-left: 0.5em;
}

/* ---- PAGE LABEL (breadcrumb tab) ---- */
.page-label-wrap {
  text-align: center;
  line-height: 0;
}

.page-label {
  display: inline-block;
  background: #2d2d2d;
  color: rgba(255,255,255,0.82);
  font-size: 0.68em;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1.25em 3.5em;
  line-height: 1;
}

/* ---- PAGE WRAPPER / CONTENT ---- */
#page-wrapper { background: #fff; }

/* Content intro section */
.content-section {
  max-width: 870px;
  margin: 0 auto;
  padding: 3.5em 2em 2em;
}

.content-section h2 {
  text-align: center;
  font-size: 1.7em;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 2em;
}

.content-section h2.page-title {
  font-size: 1.6em;
  color: #505050;
}

.hero-link {
  display: block;
  width: 100%;
  margin-bottom: 1.8em;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
}

.content-text {
  color: #666;
  line-height: 1.78;
  margin-bottom: 1.2em;
}

/* ---- FEATURES GRID ---- */
.features-wrap {
  max-width: 870px;
  margin: 0 auto;
  padding: 0.5em 2em 4em;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2em;
}

.features-grid.cols-2 .feature {
  flex: 0 0 calc(50% - 1.1em);
  min-width: 220px;
}

.features-grid.cols-3 .feature {
  flex: 0 0 calc(33.333% - 1.47em);
  min-width: 200px;
}

.feature { overflow: hidden; }

.feature-img-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #5a1a40, #280a20);
}

.feature img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.3s;
}

.feature img:hover { transform: scale(1.03); }

.feature-img-placeholder {
  width: 100%;
  height: 170px;
  background: linear-gradient(145deg, #5a1a40, #280a20);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  margin: 0.7em 0 0.85em;
  font-size: 0.95em;
  font-weight: 400;
  color: #444;
}

/* Button */
.btn {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.68em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.9em 2.4em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-salmon {
  background: #bf7575;
  color: #fff;
}

.btn-salmon:hover { background: #ae6565; }

.btn-dark {
  background: #2d2d2d;
  color: rgba(255,255,255,0.85);
}

.btn-dark:hover { background: #1f1f1f; }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ---- CONTACT CTA SECTION (About page) ---- */
.cta-section {
  background: #efefef;
  padding: 5.5em 2em;
  text-align: center;
}

/* ---- CONTACT PAGE ---- */
.contact-wrapper {
  background: #892265;
  padding: 3.5em 2em 4em;
}

.contact-heading {
  text-align: center;
  font-size: 1.65em;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5em;
}

.contact-inner {
  max-width: 870px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4em;
}

.contact-form-col {
  flex: 1 1 300px;
}

.contact-info-col {
  flex: 1 1 240px;
}

/* Form fields */
.form-row {
  display: flex;
  gap: 0.8em;
  margin-bottom: 0.8em;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: 0.85em;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  margin-bottom: 0.8em;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.16);
}

.contact-form textarea {
  height: 130px;
  resize: vertical;
  margin-bottom: 1em;
}

.form-actions {
  display: flex;
  gap: 0.8em;
}

/* Info items */
.info-item {
  display: flex;
  gap: 1em;
  align-items: flex-start;
  margin-bottom: 2em;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.65);
  font-size: 1em;
}

.info-body h4 {
  font-size: 0.76em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.4em;
}

.info-body p,
.info-body a {
  font-size: 0.82em;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.info-body a:hover { color: rgba(255,255,255,0.85); }

/* ---- FOOTER ---- */
#footer {
  background: #892265;
  padding: 4.5em 2em 2.5em;
}

.footer-grid {
  max-width: 870px;
  margin: 0 auto 3em;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}

.footer-item {
  flex: 0 0 calc(50% - 1em);
  min-width: 200px;
  display: flex;
  gap: 1em;
  align-items: flex-start;
}

.footer-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.65);
  font-size: 1em;
}

.footer-text h4 {
  font-size: 0.76em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.45em;
}

.footer-text p,
.footer-text a {
  font-size: 0.82em;
  color: rgba(255,255,255,0.5);
  line-height: 1.72;
}

.footer-text a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  max-width: 870px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2em;
  text-align: center;
  font-size: 0.75em;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ---- FOOTER DIVIDER (dark tab before footer) ---- */
.footer-divider {
  text-align: center;
  background: #892265;
  padding-top: 1px; /* avoid margin collapse */
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  #header nav > ul {
    flex-wrap: wrap;
  }
  #logo h1 { font-size: 1.4em; letter-spacing: 0.3em; padding-left: 0.3em; }
  #logo .subtitle { font-size: 0.72em; }

  .features-grid.cols-2 .feature,
  .features-grid.cols-3 .feature {
    flex: 0 0 100%;
  }
  .footer-item { flex: 0 0 100%; }
  .contact-inner { gap: 2em; }
}
