@charset "UTF-8";

/*
  Theme Name: Miraflores
  Author: AnJun Design https://lit.link/AnJun
  Description: Miraflores LP Theme
  Version: 1.0
*/

:root {
    --red: #D25A18;
    --gold: #FBD70C;
    --blue: #0465AF;
    --dark: #1a0e08;
    --cream: #faf6ef;
    --warm: #2a1509;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--dark);
    color: var(--cream);
    font-family: 'Noto Serif JP', serif;
    overflow-x: hidden;
  }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("./img/fv.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, rgba(26,14,8,0.72) 0%, rgba(26,14,8,0.55) 50%, rgba(26,14,8,0.80) 100%),
      radial-gradient(ellipse 80% 60% at 50% 40%, rgba(210,90,24,0.18) 0%, transparent 70%);
  }

  /* Inca-inspired geometric border pattern */
  .hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: repeating-linear-gradient(
      90deg,
      var(--red) 0px, var(--red) 20px,
      var(--gold) 20px, var(--gold) 40px,
      var(--blue) 40px, var(--blue) 60px
    );
  }
  .hero-pattern-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 8px;
    background: repeating-linear-gradient(
      90deg,
      var(--blue) 0px, var(--blue) 20px,
      var(--gold) 20px, var(--gold) 40px,
      var(--red) 40px, var(--red) 60px
    );
  }

  /* Decorative Inca sun SVG */
  .sun-deco {
    position: absolute;
    width: 480px;
    height: 480px;
    opacity: 0.06;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateSun 60s linear infinite;
  }

  @keyframes rotateSun {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.5rem;
    animation: fadeUp 1.2s ease both;
  }

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

  .hero-eyebrow {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--gold);
    letter-spacing: 0.25em;
    margin-bottom: 1.2rem;
    opacity: 0.9;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 0.3rem;
  }

  .hero-title span {
    color: var(--gold);
    font-style: italic;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(250,246,239,0.7);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
  }

  .hero-sub2 {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    color: var(--gold);
    letter-spacing: 0.3em;
    opacity: 0.8;
    margin-bottom: 2.5rem;
  }

  .hero-tagline {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: rgba(250,246,239,0.6);
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 420px;
    margin: 0 auto 3rem;
    line-height: 1.8;
  }

  .divider-gem {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 2rem;
  }
  .divider-gem::before, .divider-gem::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
  }
  .divider-gem::after {
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  .divider-gem-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
  }

  /* CTA buttons */
  .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
  }

  .btn-primary {
    background: var(--red);
    color: #fff;
  }
  .btn-primary:hover {
    background: #e06520;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(210,90,24,0.4);
  }

  .btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
  }
  .btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
  }

  .scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(250,246,239,0.35);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
  }

  .scroll-hint svg { opacity: 0.5; }

  /* ===== SECTION COMMON ===== */
  section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-label {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    opacity: 0.85;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  /* ===== CONCEPT ===== */
  .concept-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .concept-text p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 2;
    color: rgba(250,246,239,0.82);
    font-weight: 300;
    margin-bottom: 1.2rem;
  }

  .concept-visual {
    position: relative;
  }

  .concept-photo-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(251,215,12,0.2);
  }

  .concept-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(210,90,24,0.15) 0%, transparent 50%, rgba(4,101,175,0.12) 100%);
    z-index: 1;
    pointer-events: none;
  }

  .concept-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }

  .concept-photo-wrap:hover .concept-photo {
    transform: scale(1.03);
  }

  .concept-card {
    background: linear-gradient(135deg, rgba(210,90,24,0.15), rgba(4,101,175,0.12));
    border: 1px solid rgba(251,215,12,0.2);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
  }

  .concept-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--red), var(--gold), var(--blue));
  }

  .concept-stat {
    margin-bottom: 1.8rem;
  }

  .concept-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
  }

  .concept-stat-label {
    font-size: 0.82rem;
    color: rgba(250,246,239,0.6);
    letter-spacing: 0.1em;
    margin-top: 0.3rem;
  }

  /* ===== MENU ===== */
  .menu-section {
    background: linear-gradient(180deg, transparent, rgba(4,101,175,0.06), transparent);
    border-top: 1px solid rgba(251,215,12,0.1);
    border-bottom: 1px solid rgba(251,215,12,0.1);
    padding: 5rem 1.5rem;
  }

  .menu-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
  }

  .menu-card {
    background: rgba(250,246,239,0.04);
    border: 1px solid rgba(251,215,12,0.15);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .menu-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .menu-card:hover::after { transform: scaleX(1); }
  .menu-card:hover {
    background: rgba(250,246,239,0.07);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  }

  .menu-card-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .menu-card:hover .menu-card-img {
    transform: scale(1.06);
  }

  .menu-card-body {
    padding: 1.2rem 1.4rem 1.5rem;
  }

  .menu-card-en {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 0.4rem;
    opacity: 0.85;
  }

  .menu-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    color: var(--cream);
    font-weight: 400;
    line-height: 1.5;
  }

  .menu-pdf-cta {
    text-align: center;
    margin-top: 2.5rem;
  }

  .btn-large {
    padding: 1.1rem 3rem;
    font-size: 0.95rem;
  }

  /* ===== COURSES ===== */
  .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .course-card {
    background: rgba(210,90,24,0.08);
    border: 1px solid rgba(210,90,24,0.3);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
  }

  .course-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 10px;
    letter-spacing: 0.1em;
    border-radius: 2px;
    margin-bottom: 1rem;
  }

  .course-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }

  .course-desc {
    font-size: 0.8rem;
    color: rgba(250,246,239,0.6);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-weight: 300;
  }

  .course-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
  }

  .course-price span {
    font-size: 0.8rem;
    color: rgba(250,246,239,0.5);
    font-family: 'Noto Serif JP', serif;
  }

  /* ===== SNS ===== */
  .sns-section {
    text-align: center;
    padding: 5rem 1.5rem;
  }

  .sns-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
  }

  .sns-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.8rem;
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.88rem;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 1px solid;
  }

  .sns-btn-tabelog {
    border-color: rgba(210,90,24,0.5);
    color: var(--cream);
    background: rgba(210,90,24,0.1);
  }
  .sns-btn-tabelog:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(210,90,24,0.35);
  }

  .sns-btn-instagram {
    border-color: rgba(251,215,12,0.4);
    color: var(--cream);
    background: rgba(251,215,12,0.08);
  }
  .sns-btn-instagram:hover {
    background: rgba(251,215,12,0.18);
    border-color: var(--gold);
    transform: translateY(-3px);
  }

  .sns-btn-reserve {
    border-color: rgba(4,101,175,0.5);
    color: var(--cream);
    background: rgba(4,101,175,0.12);
  }
  .sns-btn-reserve:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(4,101,175,0.35);
  }

  /* ===== ACCESS ===== */
  .access-section {
    background: rgba(250,246,239,0.02);
    border-top: 1px solid rgba(251,215,12,0.1);
    padding: 5rem 1.5rem;
  }

  .access-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2.5rem;
    align-items: start;
  }

  .info-table {
    width: 100%;
    border-collapse: collapse;
  }

  .info-table tr {
    border-bottom: 1px solid rgba(251,215,12,0.1);
  }

  .info-table td {
    padding: 1rem 0.5rem;
    font-size: 0.88rem;
    line-height: 1.8;
    vertical-align: top;
  }

  .info-table td:first-child {
    color: var(--gold);
    font-weight: 400;
    width: 90px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .info-table td:last-child {
    color: rgba(250,246,239,0.8);
    font-weight: 300;
  }

  .map-placeholder {
    background: rgba(4,101,175,0.08);
    border: 1px solid rgba(4,101,175,0.25);
    border-radius: 4px;
    overflow: hidden;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: hue-rotate(180deg) saturate(0.6) invert(0.85);
  }

  /* ===== FOOTER ===== */
  footer {
    background: #100a04;
    border-top: 1px solid rgba(251,215,12,0.12);
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-style: italic;
  }

  .footer-sub {
    font-size: 0.75rem;
    color: rgba(250,246,239,0.4);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
  }

  .footer-stripe {
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--blue), var(--red));
    margin-bottom: 1.5rem;
  }

  .footer-copy {
    font-size: 0.75rem;
    color: rgba(250,246,239,0.3);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .concept-wrap {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
    .access-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .map-placeholder {
      height: 240px;
    }
    .hero-cta {
      flex-direction: column;
      align-items: center;
    }
  }

  /* ===== INCA BORDER STRIP ===== */
  .inca-strip {
    width: 100%;
    height: 14px;
    background-image: repeating-linear-gradient(
      90deg,
      var(--red)   0,  var(--red)   14px,
      var(--dark)  14px, var(--dark) 21px,
      var(--gold)  21px, var(--gold) 35px,
      var(--dark)  35px, var(--dark) 42px,
      var(--blue)  42px, var(--blue) 56px,
      var(--dark)  56px, var(--dark) 63px
    );
    opacity: 0.8;
  }

  /* phone tel link */
  a[href^="tel"] {
    color: inherit;
    text-decoration: none;
  }
  a[href^="tel"]:hover {
    color: var(--gold);
  }

img{
	width:100%;
	object-fit: cover;
}