/* ===================================================
   AUGUSTA STOFELLA — Stylesheet
   Layout: split — painel esquerdo | slideshow direito
   Brand colors: vibrant rose-pink · deep blue
   =================================================== */

/* ── Design Tokens ─────────────────────────────── */
:root {
  --rose:       #f02d79;
  --rose-light: #ff6faa;
  --rose-glow:  rgba(240, 45, 121, 0.5);
  --rose-subtle:rgba(240, 45, 121, 0.12);
  --blue:       #080f2e;
  --blue-mid:   #0d1b4b;
  --blue-light: #1a2f7a;
  --white:      #ffffff;
  --white-90:   rgba(255,255,255,0.90);
  --white-60:   rgba(255,255,255,0.55);
  --white-20:   rgba(255,255,255,0.20);
  --white-08:   rgba(255,255,255,0.08);

  --font-brand: 'Great Vibes', cursive;
  --font-body:  'Cormorant Garamond', Georgia, serif;
  --font-ui:    'Montserrat', sans-serif;

  --slide-duration: 5000ms;
  --transition:     1400ms;
  --ease:           cubic-bezier(.77,0,.18,1);

  --panel-w: 420px;  /* width of left brand panel */
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--blue);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

/* ── Page wrapper ──────────────────────────────── */
.page {
  display: flex;
  width: 100%;
  height: 100%;
}

/* ════════════════════════════════════════════════
   LEFT PANEL — Brand + Contacts
   ════════════════════════════════════════════════ */
.brand-panel {
  position: relative;
  flex: 0 0 var(--panel-w);
  width: var(--panel-w);
  height: 100%;
  background: var(--blue-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  gap: 2rem;
  z-index: 2;
  overflow: hidden;
}

/* Subtle rose glow blob in background */
.brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(240,45,121,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 0%,   rgba(240,45,121,0.10) 0%, transparent 60%);
  pointer-events: none;
}

/* Thin rose border on the right edge */
.brand-panel::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, var(--rose-light), transparent);
  opacity: 0.4;
}

/* ── Logo / Name ───────────────────────────────── */
.brand-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 1.2s var(--ease) both;
}

.brand-name {
  font-family: var(--font-brand);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.01em;
  text-align: center;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 220px;
  filter: drop-shadow(0 0 25px var(--rose-glow));
  margin: 0 auto;
}

.brand-tagline {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--white-90);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ── Divider ───────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  animation: fadeUp 1.4s 0.15s var(--ease) both;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,111,170,0.5), transparent);
}

.divider-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose-light);
  box-shadow: 0 0 8px var(--rose-glow);
  flex-shrink: 0;
}

/* ── Contacts ──────────────────────────────────── */
.contacts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  animation: fadeUp 1.4s 0.3s var(--ease) both;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white-90);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--white-08);
  background: var(--white-08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s var(--ease),
    color 0.3s ease;
}

.contact-link:hover {
  color: var(--white);
  background: var(--rose-subtle);
  border-color: rgba(255,111,170,0.6);
  box-shadow: 0 0 18px var(--rose-glow), 0 4px 16px rgba(0,0,0,0.25);
  transform: translateX(4px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--rose-light);
  transition: stroke 0.3s ease;
}

.contact-link:hover .contact-icon svg {
  stroke: var(--white);
}

/* ── Slide indicators ──────────────────────────── */
.indicators {
  display: flex;
  gap: 0.45rem;
  animation: fadeUp 1.6s 0.5s var(--ease) both;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--white-20);
  padding: 0;
  transition: background 0.4s ease, width 0.4s ease, border-radius 0.4s ease, box-shadow 0.3s ease;
}

.dot.active {
  background: var(--rose-light);
  width: 22px;
  border-radius: 3px;
  box-shadow: 0 0 8px var(--rose-glow);
}

.dot:hover:not(.active) {
  background: var(--white-60);
}

/* ── Copyright / footer ────────────────────────── */
.panel-footer {
  position: absolute;
  bottom: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--white-20);
  text-transform: uppercase;
  animation: fadeUp 2s 0.7s var(--ease) both;
}

/* ════════════════════════════════════════════════
   RIGHT PANEL — Slideshow
   ════════════════════════════════════════════════ */
.slideshow-panel {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--transition) var(--ease);
}

.slide.active {
  opacity: 1;
  animation: kenBurns calc(var(--slide-duration) + var(--transition)) var(--ease) forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0);  }
}

/* Subtle inner shadow on left edge of slideshow (blends with panel) */
.slideshow-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(to right, var(--blue-mid), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ── Entrance animation ────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — mobile: stacked layout
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  html, body { overflow: hidden; }

  .page {
    flex-direction: column;
  }

  .brand-panel {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    padding: 2.5rem 1.5rem 1.8rem;
    gap: 1.4rem;
  }

  .brand-panel::after { display: none; }

  .brand-name { font-size: clamp(3rem, 14vw, 4.5rem); }
  
  .brand-logo {
    max-width: 140px;
    max-height: 180px;
  }

  .slideshow-panel {
    flex: 1;
    min-height: 0;
  }

  .slideshow-panel::before {
    top: 0; left: 0; right: 0; bottom: auto;
    width: auto; height: 50px;
    background: linear-gradient(to bottom, var(--blue-mid), transparent);
  }

  .indicators { gap: 0.4rem; }

  .panel-footer {
    position: static;
    margin-top: 0.5rem;
  }
}
