/*
Theme Name: Nadia Palacios
Theme URI: https://nadiapalacios.com
Author: Chainlink Marketing
Author URI: https://chainlink.nyc
Description: A minimal coming soon theme for Nadia Palacios.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nadia-palacios
*/

/* ── Local Fonts ───────────────────────────────────── */

@font-face {
  font-family: 'Campton';
  src: url('fonts/CamptonSemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ──────────────────────────────────── */

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

:root {
  --color-bg: #f5f0eb;
  --color-fg: #1a1a1a;
  --color-accent: #b8860b;
  --color-muted: #8a8278;
  --color-line: #d4cdc4;
  --pink: #eeaea2;
  --brown: #3f1521;
	--off-white:#f8ece3;
  --font-display: "forevs", sans-serif;
  --font-body: "elza-text", sans-serif;
  --font-heading: "Campton", "elza-text", sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--brown);
  color: var(--pink);
  min-height: 100vh;
  margin: 0;
}

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

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

/* ── Page Layout ───────────────────────────────────── */

.cs-page {
    display: flex;
    height: 100dvh;
    overflow: hidden;
}

.cs-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 3rem 4rem;
    position: relative;
    align-items: center;
    text-align: center;
}

.cs-carousel-col {
  width: 50%;
  position: relative;
  overflow: hidden;
}

/* ── Logo ──────────────────────────────────────────── */

.cs-logo {
  /*margin-bottom: 2rem;*/
	width:100%;
}

.cs-logo img {
  width: 100%;
  /*max-width: 560px;*/
  height: auto;
}

/* ── Middle Content ────────────────────────────────── */

.cs-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
	gap:1em;
}

.cs-small-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
	font-size:12px;
  text-transform: uppercase;
}

.cs-big-headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    line-height: 1.2;
    font-size: 30px;
    line-height: 1em;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    max-width: 300px;
}

.cs-copy {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    font-size: 15px;
    line-height: calc(18 / 15);
    line-height: 1.2;
}

/* ── Bottom Section ────────────────────────────────── */

.cs-bottom {
  margin-top: auto;
}

.cs-bottom-copy {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 14px;
    line-height: 1.3em;
    letter-spacing: 0.01em;
    padding-bottom: 3em;
    margin: 0;
}

/* ── Footer Row (Email / Logomark / Follow) ────────── */

.cs-footer-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.cs-logomark {
  flex-shrink: 0;
}

.cs-logomark img {
    width: 44px;
    height: auto;
}

/* ── Hover-reveal Links ────────────────────────────── */

.cs-link {
  display: inline-grid;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cs-link__label,
.cs-link__reveal {
  grid-area: 1 / 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cs-link__reveal {
  opacity: 0;
  transform: translateY(100%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.cs-link:hover .cs-link__label {
  opacity: 0;
  transform: translateY(-100%);
}

.cs-link:hover .cs-link__reveal {
  opacity: 1;
  transform: translateY(0);
}
.cs-link:first-child {
    text-align: right;
}
.cs-link:last-child {
    text-align: left;
}
/* ── Carousel ──────────────────────────────────────── */

.cs-carousel--mobile {
  display: none;
}

.cs-carousel-col {
  height: 100vh;
  position: sticky;
  top: 0;
}

.cs-carousel--desktop,
.cs-carousel--desktop .owl-stage-outer,
.cs-carousel--desktop .owl-stage,
.cs-carousel--desktop .owl-item {
  height: 100%;
}

.cs-slide {
    position: relative;
    height: 100%;
    width: 100%;
}

.cs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-slide__caption {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--pink);
    /* text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); */
    color: var(--off-white);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    font-size: 16px;
    letter-spacing: 0.01em;
}
/* Fix sub-pixel image bleed on carousel fade */
/*
.cs-carousel--mobile .owl-stage {
  display: flex;
}

.cs-carousel--mobile .owl-item {
  opacity: 0;
  transition: opacity 0.8s ease;
  min-width: 100%;
  margin-left: -100%;
}

.cs-carousel--mobile .owl-item:first-child {
  margin-left: 0;
}

.cs-carousel--mobile .owl-item.active {
  opacity: 1;
}
.cs-carousel--mobile .owl-stage-outer,
.cs-carousel--mobile .owl-stage,
.cs-carousel--mobile .owl-item {
  height: 100%;
}
.cs-carousel--mobile {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
  height: 45vh;
}
*/
/* ── Mobile ────────────────────────────────────────── */
@media(min-width:900px){
.cs-carousel--mobile,.mobile-only {
  display: none!important;
}	
}
@media (max-width: 900px) {
	.desk-only{
		display:none!important;
	}

  .cs-page {
    flex-direction: column;
  }

  .cs-content {
    width: 100%;
    padding: 2rem 1.5rem;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 30px 30px 45px;
}

  .cs-logo {
    margin-bottom: 1.5rem;
  }

  .cs-logo img {
    /*max-width: 320px;*/
    /*margin: 0 auto;*/
  }

  /* Show mobile carousel, hide desktop */
  .cs-carousel--mobile {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
  }

  .cs-carousel-col {
    display: none;
  }

  /* Mobile carousel aspect ratio */
	.cs-carousel--mobile .cs-slide {
		height: auto;
		/* aspect-ratio: 354 / 429; */
		height: 45vh;
	}

  .cs-carousel--mobile .cs-slide img {
    /*width: 100%;*/
    /*height: auto;*/
    /*aspect-ratio: 4 / 3;*/
    /*object-fit: cover;*/
  }
	.cs-slide__caption {
		font-size: 11px;
		bottom: 1.5em;
	}
	.cs-small-headline {
    font-size: 7px;
}
.cs-big-headline {
    font-size: 18px;
    max-width: 200px;
    margin: 0 auto;
}
	.cs-copy {
    font-size: 9px;
}

  .cs-middle {
    flex: none;
    margin-bottom: 2rem;
  }

.cs-bottom-copy {
    text-align: center;
    font-size: 11px;
    max-width: 210px;
    margin: 0 auto;
    padding: 0;
}

  .cs-footer-row {
    justify-content: center;
  }
.cs-logomark img {
    width: 35px;
    margin: 0 auto;
}
.cs-link__reveal {
    display: none;
}
.cs-link:hover .cs-link__label {
    opacity: 1;
    transform: none;
}
.cs-bottom {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 2em;
    padding-top: 1em;
}
}

/* ── Animation ─────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cs-content {
  animation: fadeUp 1s ease-out both;
}