/* Kenjay Dorio */
:root {
  --blue:         #2F55FF;
  --cream:        #FFF4E1;
  --gray:         #B7B7B7;
  --rust:         #BB5A2B;
  --dark:         #1E1E1E;
  --white:        #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Poppins', sans-serif;
  --font-script:  'Dancing Script', cursive;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html       { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }


/* ================================================
   SHARED COMPONENTS
   ================================================ */

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.nav-links a:hover  { color: var(--cream); }
.nav-links a.active {
  color: var(--cream);
  border-bottom: 2px solid var(--cream);
  padding-bottom: 2px;
}

.nav-cart {
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.nav-cart svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--blue);
  padding: 22px 24px;
  text-align: center;
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
}
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-script);
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

/* ── DIVIDER ─────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 4px;
  background: var(--rust);
}

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


/* ================================================
   HOME PAGE (esc-cafe.html)
   ================================================ */

/* ── HERO ────────────────────────────────────────────── */
.hero {
  margin-top: 56px;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: .75;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,.88) 0%,
    rgba(10,10,10,.30) 55%,
    rgba(10,10,10,.05) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 52px;
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 15vw, 92px);
  line-height: .93;
  letter-spacing: .01em;
  color: var(--white);
  text-transform: uppercase;
  animation: fadeUp .7s ease both;
}

.hero-tagline {
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--cream);
  margin-top: 8px;
  margin-bottom: 14px;
  animation: fadeUp .7s .15s ease both;
}

.hero-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.65;
  max-width: 270px;
  margin-bottom: 26px;
  animation: fadeUp .7s .25s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 13px 30px;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s;
  animation: fadeUp .7s .35s ease both;
}
.btn-primary:hover {
  background: #1a3de0;
  transform: translateY(-2px);
}

/* ── FEATURES STRIP ──────────────────────────────────── */
.features {
  background: var(--gray);
  padding: 28px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.feature {
  text-align: center;
  color: var(--dark);
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--dark);
  fill: none;
  stroke-width: 1.6;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .05em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.feature-desc {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.5;
  color: #333;
}

/* ── ABOUT ───────────────────────────────────────────── */
.about {
  background: var(--cream);
  padding: 40px 20px;
}

.about-text {
  margin-bottom: 28px;
}

.about-label {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 56px);
  color: var(--blue);
  letter-spacing: .02em;
  line-height: 1;
  margin-bottom: 14px;
}

.about-body {
  font-size: 12px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-photo-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}

.about-photo-wrap:hover img {
  transform: scale(1.05);
}


/* ================================================
   CONTACT PAGE (contact.html)
   ================================================ */

.contact-section {
  margin-top: 56px;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 56px - 100px);
}

.contact-info {
  padding: 40px 24px 32px;
}

.find-script {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--rust);
  margin-bottom: -4px;
}

.find-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 12vw, 72px);
  color: var(--blue);
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.find-underline {
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 10px 0 28px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--blue);
}
.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-text {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: #333;
  line-height: 1.7;
}

.contact-link {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.7;
  transition: opacity .2s;
}
.contact-link:hover {
  opacity: .7;
  text-decoration: underline;
}

.contact-map {
  width: 100%;
  min-height: 320px;
  background: #c8c8c8;
  position: relative;
  overflow: hidden;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ================================================
   LOGIN PAGE (index.html)
   ================================================ */

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

/* Left branding panel — hidden on mobile */
.login-left {
  display: none;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: .6;
}

.login-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,.92) 0%,
    rgba(10,10,10,.40) 50%,
    rgba(47,85,255,.25) 100%
  );
}

.login-brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 48px 40px;
}

.login-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 20px;
}

.login-tagline-big {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  line-height: .92;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.login-script {
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--cream);
}

/* Right form panel */
.login-right {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  min-height: 100vh;
}

.login-form-wrap {
  width: 100%;
  max-width: 400px;
}

.login-logo-sm {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: .04em;
  color: var(--blue);
  margin-bottom: 4px;
}

.login-sub {
  font-size: 12.5px;
  font-weight: 300;
  color: #666;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 7px;
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus      { border-color: var(--blue); }
.form-group input::placeholder { color: #bbb; }

.password-wrap       { position: relative; }
.password-wrap input { padding-right: 44px; }

.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  width: 20px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.toggle-pw:hover   { color: var(--blue); }
.toggle-pw svg     { width: 100%; height: 100%; }

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
  cursor: pointer;
}

.forgot-link {
  font-size: 12px;
  color: var(--blue);
  transition: opacity .2s;
}
.forgot-link:hover { opacity: .7; text-decoration: underline; }

.btn-login {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-bottom: 20px;
}
.btn-login:hover  { background: #1a3de0; transform: translateY(-2px); }
.btn-login:active { transform: translateY(0); }

.btn-guest {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 13px;
  border: 1.5px solid var(--gray);
  cursor: pointer;
  margin-bottom: 20px;
  transition: border-color .2s, color .2s;
}
.btn-guest:hover { border-color: var(--dark); color: var(--dark); }

.signup-prompt {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-bottom: 24px;
}

.signup-link {
  color: var(--blue);
  font-weight: 600;
  transition: opacity .2s;
}
.signup-link:hover { opacity: .7; text-decoration: underline; }

.back-home {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.back-home a {
  font-size: 12px;
  color: var(--rust);
  font-weight: 500;
  transition: opacity .2s;
}
.back-home a:hover { opacity: .7; }


/* ================================================
   MEDIA QUERIES
   ================================================ */

/* ── Small phones (max 360px) ── */
@media (max-width: 360px) {
  .navbar          { padding: 0 16px; }
  .nav-links       { gap: 12px; font-size: 11px; }
  .hero-content    { padding: 0 16px 36px; }
  .features        { padding: 20px 10px; gap: 8px; }
  .feature-name    { font-size: 10px; }
  .about           { padding: 28px 16px; }
  .contact-info    { padding: 28px 16px 24px; }
  .login-right     { padding: 32px 18px; }
  .login-title     { font-size: 28px; }
  .login-logo-sm   { width: 44px; height: 44px; }
}

/* ── Phones (361px – 639px) ── */
@media (min-width: 361px) and (max-width: 639px) {
  .login-right { padding: 40px 28px; }
}

/* ── Tablets (640px – 1023px) ── */
@media (min-width: 640px) {
  /* Home */
  .about         { padding: 56px 40px; }
  .about-photos  { gap: 16px; }

  /* Contact */
  .contact-section {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .contact-info  { padding: 56px 40px; }
  .contact-map   { min-height: 480px; }

  /* Login */
  .login-right       { padding: 56px 48px; }
  .login-form-wrap   { max-width: 440px; }
  .login-title       { font-size: 42px; }
}

/* ── Desktop (1024px+) ── */
@media (min-width: 1024px) {
  /* Home hero taller */
  .hero          { min-height: 680px; }
  .hero-content  { padding: 0 60px 72px; }

  /* About side by side */
  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 72px 60px;
  }
  .about-text    { margin-bottom: 0; }
  .about-photos  { gap: 16px; }

  /* Login split panel */
  .login-wrapper {
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    overflow: hidden;
  }
  .login-left      { display: block; }
  .login-logo-sm   { display: none; }
  .login-header    { text-align: left; }
  .login-right {
    min-height: unset;
    height: 100vh;
    overflow-y: auto;
    padding: 60px 56px;
  }
  .login-form-wrap { max-width: 380px; }
}

/* ── Large desktop (1440px+) ── */
@media (min-width: 1440px) {
  .hero-content       { padding: 0 80px 88px; }
  .about              { padding: 88px 80px; }
  .login-tagline-big  { font-size: 88px; }
  .login-form-wrap    { max-width: 420px; }
  .contact-info       { padding: 72px 56px; }
}
