/*
Theme Name: TAG 4120
Theme URI: https://www.facebook.com/tag.4120/
Author: Restaurant Tag 4120
Author URI: https://www.facebook.com/tag.4120/
Description: Official theme for TAG 4120 - Restaurant, Gallery and Community in Tagaytay City, Philippines.
Version: 1.0.0
License: All Rights Reserved
Text Domain: tag4120
Tags: restaurant, one-page, luxury, gallery
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

:root {
  --sage:       hsl(84, 20%, 40%);
  --sage-dark:  hsl(84, 20%, 32%);
  --sage-card:  hsl(82, 15%, 89%);
  --yellow:     hsl(56, 47%, 56%);
  --yellow-lt:  hsl(56, 47%, 70%);
  --cream:      hsl(40, 28%, 95%);
  --charcoal:   hsl(40, 10%, 11%);
  --mid:        hsl(40, 6%, 44%);
  --border:     hsl(82, 13%, 82%);
  --dark-bg:    hsl(40, 10%, 7%);
  --dark-mid:   hsl(40, 6%, 52%);
  --dark-dim:   hsl(40, 6%, 36%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px) { .container { padding: 0 5rem; } }

.label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.35em; font-weight: 500; color: var(--sage); margin-bottom: 1rem; }
.rule { display: block; height: 1px; width: 3rem; background: var(--yellow); margin: 1.5rem 0; }
.rule--center { margin-left: auto; margin-right: auto; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: -0.01em; line-height: 1.1; }
.section-title { color: var(--charcoal); font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.5rem; }
.section-body { color: var(--mid); font-size: 0.9rem; line-height: 1.9; letter-spacing: 0.02em; }

section { padding: 8rem 0; }
@media (min-width: 768px) { section { padding: 10rem 0; } }
.two-col { display: grid; grid-template-columns: 1fr; gap: 5rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* NAV */
#site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: white; transition: box-shadow 0.4s; }
#site-header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.08); }
.header-top-line { height: 2px; background: linear-gradient(to right, transparent, var(--sage), transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 2rem; }
@media (min-width: 768px) { .header-inner { padding: 0.75rem 5rem; } }
.site-logo img { height: 64px; width: auto; object-fit: contain; }
.primary-nav { display: none; align-items: center; gap: 2.5rem; list-style: none; }
@media (min-width: 768px) { .primary-nav { display: flex; } }
.primary-nav a { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 500; color: hsl(40,10%,28%); position: relative; transition: color 0.3s; }
.primary-nav a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--sage); transition: width 0.3s; }
.primary-nav a:hover { color: var(--sage); }
.primary-nav a:hover::after { width: 100%; }
.nav-cta { font-size: 11px !important; padding: 0.5rem 1.25rem; border: 1px solid var(--sage); color: var(--sage) !important; transition: background 0.3s, color 0.3s; }
.nav-cta:hover { background: var(--sage) !important; color: white !important; }
.nav-cta::after { display: none !important; }
.header-bottom-line { height: 1px; background: hsl(82,13%,86%); }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: hsl(40,10%,20%); }
@media (min-width: 768px) { .menu-toggle { display: none; } }
#mobile-menu { display: none; position: fixed; inset: 0; z-index: 90; background: var(--cream); flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
#mobile-menu.open { display: flex; }
#mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-style: italic; font-weight: 300; color: hsl(40,10%,16%); }

/* HERO */
#hero { position: relative; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 2rem 6rem; }
@media (min-width: 768px) { .hero-content { padding: 0 5rem 8rem; } }
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero-eyebrow-line { display: block; height: 1px; width: 2.5rem; background: var(--yellow-lt); }
.hero-eyebrow p { font-size: 10px; text-transform: uppercase; letter-spacing: 0.4em; font-weight: 300; color: var(--yellow-lt); }
.hero-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2.8rem, 7vw, 5.5rem); color: white; line-height: 1.08; margin-bottom: 2.5rem; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.hero-btn-outline { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: white; font-weight: 300; padding: 0.9rem 2rem; border: 1px solid rgba(255,255,255,0.35); transition: background 0.4s, color 0.4s; }
.hero-btn-outline:hover { background: white; color: var(--charcoal); }
.hero-link { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--yellow-lt); font-weight: 300; }

/* ORNAMENT */
.ornament-divider { display: flex; align-items: center; gap: 1.5rem; margin: 0 2rem; }
@media (min-width: 768px) { .ornament-divider { margin: 0 5rem; } }
.ornament-divider .line { flex: 1; height: 1px; background: var(--border); }
.ornament-divider .diamond { width: 6px; height: 6px; background: var(--yellow); transform: rotate(45deg); flex-shrink: 0; }

/* ABOUT */
#about { background: var(--cream); }
.about-text p { margin-bottom: 1.25rem; }
.about-cta { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--sage); font-weight: 500; border-bottom: 1px solid var(--sage); padding-bottom: 2px; margin-top: 2.5rem; }
.about-image-wrap { position: relative; }
.about-image-wrap .img-holder { aspect-ratio: 3/4; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.about-image-wrap img:hover { transform: scale(1.03); }
.corner-bracket-tr { position: absolute; top: -12px; right: -12px; width: 64px; height: 64px; border-top: 1px solid var(--sage); border-right: 1px solid var(--sage); }
.corner-bracket-bl { position: absolute; bottom: -12px; left: -12px; width: 64px; height: 64px; border-bottom: 1px solid var(--sage); border-left: 1px solid var(--sage); }
.founder-quote { position: absolute; bottom: -1.5rem; left: 2rem; right: 2rem; background: var(--cream); padding: 1.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.founder-quote blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; font-weight: 300; color: var(--charcoal); line-height: 1.6; margin-bottom: 0.75rem; }
.founder-quote cite { font-size: 9px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--sage); font-style: normal; }

/* GALLERY */
#gallery { background: var(--sage-card); }
.gallery-header { text-align: center; max-width: 560px; margin: 0 auto 5rem; }
.artist-item { display: flex; align-items: flex-start; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.artist-bullet { width: 6px; height: 6px; background: var(--yellow); transform: rotate(45deg); flex-shrink: 0; margin-top: 0.4rem; }
.artist-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 300; color: var(--charcoal); }
.artist-desc { font-size: 0.75rem; color: var(--mid); margin-top: 2px; }
.gallery-img-wrap { aspect-ratio: 4/5; overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,0.1); }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.gallery-img-wrap img:hover { transform: scale(1.04); }

/* MENU */
#menu { background: var(--cream); }
.menu-header { text-align: center; max-width: 560px; margin: 0 auto 5rem; }
.menu-category { font-size: 9px; text-transform: uppercase; letter-spacing: 0.4em; color: var(--sage); font-weight: 500; margin-bottom: 1.25rem; }
.menu-items { margin-bottom: 3.5rem; }
.menu-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.menu-item-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.menu-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 300; color: var(--charcoal); }
.menu-item-price { font-size: 0.875rem; color: var(--sage); letter-spacing: 0.05em; flex-shrink: 0; margin-left: 1rem; }
.menu-item-desc { font-size: 0.75rem; color: var(--mid); }
.cuisine-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.cuisine-tag { font-size: 9px; text-transform: uppercase; letter-spacing: 0.2em; padding: 0.375rem 0.75rem; border: 1px solid var(--border); color: var(--mid); font-weight: 500; }
.menu-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.menu-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.menu-img-wrap img:hover { transform: scale(1.04); }
.corner-bracket-br { position: absolute; bottom: -16px; right: -16px; width: 80px; height: 80px; border-bottom: 1px solid var(--sage); border-right: 1px solid var(--sage); }

/* ATMOSPHERE */
#atmosphere { position: relative; height: 80vh; overflow: hidden; display: flex; align-items: center; padding: 0; }
.atm-bg { position: absolute; inset: 0; }
.atm-bg img { width: 100%; height: 100%; object-fit: cover; }
.atm-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.2)); }
.atm-content { position: relative; z-index: 2; padding: 0 2rem; max-width: 700px; }
@media (min-width: 768px) { .atm-content { padding: 0 5rem; } }
.atm-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.4em; color: var(--yellow-lt); font-weight: 300; margin-bottom: 1.5rem; }
.atm-rule { display: block; height: 1px; width: 2.5rem; background: var(--yellow); margin-bottom: 2rem; }
.atm-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4.5rem); color: white; font-weight: 300; line-height: 1.1; margin-bottom: 2rem; }
.atm-body { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.8; max-width: 420px; }

/* PLANS */
#plans { background: var(--sage-card); }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { background: var(--cream); padding: 2rem; }
.plan-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.35em; color: var(--sage); font-weight: 500; margin-bottom: 1rem; }
.plan-rule { display: block; height: 1px; width: 2rem; background: var(--yellow); margin-bottom: 1.25rem; }
.plan-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; color: var(--charcoal); margin-bottom: 1rem; }
.plan-body { font-size: 0.875rem; color: var(--mid); line-height: 1.9; }

/* VISIT */
#visit { background: var(--dark-bg); text-align: center; }
.visit-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.35em; color: var(--sage); font-weight: 500; margin-bottom: 1rem; }
.visit-rule { display: block; height: 1px; width: 3rem; background: var(--yellow); margin: 0 auto 1.5rem; }
.visit-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.25rem); color: white; font-weight: 300; margin-bottom: 1.5rem; }
.visit-sub { color: hsl(40,6%,55%); font-size: 0.875rem; max-width: 400px; margin: 0 auto 4rem; line-height: 1.8; }
.visit-card { display: inline-block; border: 1px solid var(--sage); padding: 3rem 4rem; text-align: center; max-width: 360px; width: 100%; }
.visit-card-rule { display: block; height: 1px; width: 2rem; background: var(--yellow); margin: 0 auto 2rem; }
.visit-place { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: white; font-style: italic; margin-bottom: 0.25rem; }
.visit-tagline { font-family: 'Cormorant Garamond', serif; font-size: 0.75rem; font-style: italic; color: hsl(40,6%,55%); margin-bottom: 1.25rem; }
.visit-address { font-size: 0.875rem; color: hsl(40,6%,58%); line-height: 1.8; margin-bottom: 1.5rem; }
.visit-hours-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--sage); margin-bottom: 0.5rem; display: block; }
.visit-hours { font-size: 0.875rem; color: hsl(40,6%,58%); line-height: 1.8; margin-bottom: 2rem; }
.btn-directions { display: inline-block; background: var(--sage); color: white; font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 500; padding: 1rem 2.5rem; transition: background 0.3s; }
.btn-directions:hover { background: var(--sage-dark); }

/* FOOTER */
#colophon { background: var(--dark-bg); color: white; }
.footer-top-line { height: 1px; background: linear-gradient(to right, transparent, var(--sage), transparent); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 3.5rem; padding: 5rem 2rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: repeat(3, 1fr); padding: 6rem 5rem; } }
.footer-logo-wrap { background: rgba(255,255,255,0.95); display: inline-block; padding: 0.75rem; margin-bottom: 1.5rem; }
.footer-logo-wrap img { height: 64px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.875rem; color: var(--dark-mid); line-height: 1.8; max-width: 200px; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(89,122,64,0.25); color: var(--dark-mid); font-size: 12px; transition: border-color 0.3s, color 0.3s; }
.social-link:hover { border-color: var(--sage); color: var(--yellow); }
.footer-col-title { font-size: 9px; text-transform: uppercase; letter-spacing: 0.35em; color: var(--sage); font-weight: 500; margin-bottom: 1rem; }
.footer-rule { display: block; height: 1px; width: 2rem; background: var(--yellow); margin-bottom: 1.25rem; }
.footer-text { font-size: 0.875rem; color: var(--dark-mid); line-height: 1.9; }
.footer-link { font-size: 0.875rem; color: var(--dark-mid); display: block; margin-bottom: 0.75rem; transition: color 0.3s; }
.footer-link:hover { color: var(--yellow); }
.footer-hours-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--sage); margin-bottom: 0.5rem; margin-top: 1rem; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 1.5rem 2rem; }
@media (min-width: 768px) { .footer-bottom { padding: 1.5rem 5rem; display: flex; justify-content: space-between; align-items: center; } }
.footer-copy { font-size: 9px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--dark-dim); }
.footer-loc { display: flex; align-items: center; gap: 0.5rem; }
.footer-loc-line { display: block; width: 1rem; height: 1px; background: rgba(89,122,64,0.4); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }

/* MENU VIEW BUTTON */
.menu-view-btn { display: inline-block; margin-top: 2.5rem; background: transparent; border: none; border-bottom: 1px solid var(--sage); padding-bottom: 2px; font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 500; color: var(--sage); cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.menu-view-btn:hover { color: var(--sage-dark); border-bottom-color: var(--sage-dark); }
button.hero-link { font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 300; background: transparent; border: none; cursor: pointer; transition: color 0.3s; padding: 0; }

/* MENU MODAL */
.menu-modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(18,18,14,0.88); align-items: center; justify-content: center; }
.menu-modal.open { display: flex; }
.menu-modal-inner { position: relative; background: hsl(40,28%,95%); max-width: 640px; width: 92vw; max-height: 94vh; display: flex; flex-direction: column; overflow: hidden; }
.menu-modal-header { background: hsl(84,20%,40%); padding: 1.25rem 2rem; display: flex; align-items: center; gap: 1rem; }
.menu-modal-label-eyebrow { font-size: 9px; text-transform: uppercase; letter-spacing: 0.35em; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.menu-modal-label-text { flex: 1; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 300; color: white; margin: 0; }
.menu-modal-close { background: transparent; border: none; color: rgba(255,255,255,0.7); font-size: 1.75rem; line-height: 1; cursor: pointer; padding: 0 0 0 1rem; transition: color 0.2s; }
.menu-modal-close:hover { color: white; }
.menu-modal-body { flex: 1; display: flex; align-items: center; overflow: hidden; position: relative; min-height: 0; }
.menu-modal-img { display: block; width: 100%; max-height: calc(94vh - 140px); object-fit: contain; }
.menu-modal-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(18,18,14,0.5); border: 1px solid rgba(255,255,255,0.15); color: white; font-size: 2rem; line-height: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; z-index: 2; }
.menu-modal-arrow:hover { background: rgba(18,18,14,0.8); }
.menu-modal-prev { left: 0.75rem; }
.menu-modal-next { right: 0.75rem; }
.menu-modal-dots { display: flex; justify-content: center; gap: 0.625rem; padding: 1rem; background: hsl(40,28%,95%); }
.menu-modal-dot { width: 7px; height: 7px; border-radius: 50%; background: hsl(84,20%,70%); border: none; cursor: pointer; padding: 0; transition: background 0.25s, transform 0.25s; }
.menu-modal-dot.active { background: hsl(84,20%,40%); transform: scale(1.35); }
