/* ===========================
   JAMESGRAFIX — STYLESHEET
   =========================== */

:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --white: #F9F6EE;
  --black: #0A0A0A;
  --gray: #1A1A1A;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: 'Cormorant Garamond', serif; overflow-x: hidden; }

/* ===========================
   NAV
   =========================== */
nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  padding: 14px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0.12);
}
.logo-img { text-decoration: none; display: flex; align-items: center; }
.logo-img img { height: 52px; width: auto; display: block; transition: opacity 0.3s; }
.logo-img:hover img { opacity: 0.85; }

.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none;
  border: 1px solid rgba(212,175,55,0.35); cursor: pointer; padding: 7px 8px;
  transition: border-color 0.3s;
}
.menu-toggle:hover { border-color: var(--gold); }
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--gold); transition: all 0.3s; transform-origin: center; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-menu {
  position: fixed; top: 0; right: -320px; width: 280px; height: 100vh;
  background: rgba(5,5,5,0.98); backdrop-filter: blur(20px);
  border-left: 1px solid rgba(212,175,55,0.15);
  list-style: none; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 60px 50px; gap: 8px;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1); z-index: 1000;
}
.nav-menu.open { right: 0; }
.nav-menu li { width: 100%; border-bottom: 1px solid rgba(212,175,55,0.08); }
.nav-menu li:last-child { border-bottom: none; }
.nav-menu a {
  display: block; font-family: 'Cinzel', serif; font-size: 0.8rem;
  letter-spacing: 0.25em; color: rgba(249,246,238,0.7);
  text-decoration: none; text-transform: uppercase;
  padding: 18px 0; transition: color 0.3s, padding-left 0.3s;
}
.nav-menu a:hover { color: var(--gold); padding-left: 10px; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 120px 40px 80px; position: relative; overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/gallery-22.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}
.hero::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 70%); z-index:1; }
.hero::after { content:''; position:absolute; top:80px; left:40px; right:40px; bottom:40px; border:1px solid rgba(212,175,55,0.12); pointer-events:none; z-index:3; }
.hero-bg-text {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  gap: 0;
}
.hero-bg-text p {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.5rem, 0.85vw, 0.75rem);
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.9;
  opacity: 0.055;
  white-space: nowrap;
  overflow: hidden;
}
.hero > *:not(.hero-bg-text):not(.hero-bg-img) { position: relative; z-index: 4; }
.hero-bg-text { position: absolute; inset: 0; z-index: 2; }
.hero-tag { font-family:'Cinzel',serif; font-size:0.7rem; letter-spacing:0.4em; color:var(--gold); text-transform:uppercase; margin-bottom:24px; animation: fadeUp 1s 0.3s both; }
.hero h1 { font-family:'Playfair Display',serif; font-size:clamp(3.5rem,8vw,8rem); font-weight:900; line-height:1; margin-bottom:10px; animation: fadeUp 1s 0.5s both; }
.hero h1 .gold { color:var(--gold); }
.hero-subtitle { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:clamp(1.2rem,2.5vw,1.8rem); font-weight:300; color:rgba(249,246,238,0.6); margin-bottom:50px; animation: fadeUp 1s 0.7s both; }
.hero-cta { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; animation: fadeUp 1s 0.9s both; }

.btn-gold { font-family:'Cinzel',serif; font-size:0.75rem; letter-spacing:0.2em; text-transform:uppercase; padding:16px 40px; background:var(--gold); color:var(--black); border:none; cursor:pointer; text-decoration:none; transition:all 0.3s; font-weight:600; }
.btn-gold:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:0 10px 40px rgba(212,175,55,0.3); }
.btn-outline { font-family:'Cinzel',serif; font-size:0.75rem; letter-spacing:0.2em; text-transform:uppercase; padding:15px 40px; background:transparent; color:var(--gold); border:1px solid var(--gold); cursor:pointer; text-decoration:none; transition:all 0.3s; font-weight:600; }
.btn-outline:hover { background:rgba(212,175,55,0.1); transform:translateY(-2px); }

/* ===========================
   DIVIDER
   =========================== */
.divider { display:flex; align-items:center; gap:20px; padding:0 60px; margin:10px 0; }
.divider-line { flex:1; height:1px; background:linear-gradient(to right,transparent,var(--gold),transparent); }
.divider-icon { color:var(--gold); font-size:1.2rem; }

/* ===========================
   SHARED SECTION STYLES
   =========================== */
section { padding: 100px 60px; }
.section-label { font-family:'Cinzel',serif; font-size:0.65rem; letter-spacing:0.5em; color:var(--gold); text-transform:uppercase; margin-bottom:16px; display:block; text-align:center; }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(2rem,4vw,3.5rem); font-weight:700; text-align:center; margin-bottom:16px; line-height:1.15; }
.section-desc { font-family:'Cormorant Garamond',serif; font-size:1.2rem; font-style:italic; color:rgba(249,246,238,0.6); text-align:center; max-width:600px; margin:0 auto 60px; line-height:1.8; }

/* ===========================
   ABOUT
   =========================== */
.about-section { background: var(--gray); position: relative; }
.about-section::before { content:''; position:absolute; top:0; left:60px; right:60px; height:1px; background:linear-gradient(to right,transparent,var(--gold),transparent); }
.about-container { display:grid; grid-template-columns:1fr 1.6fr; gap:80px; max-width:1000px; margin:0 auto; align-items:center; }
.about-img-wrap { position:relative; }
.about-img-wrap::before { content:''; position:absolute; top:-14px; left:-14px; right:14px; bottom:14px; border:1px solid rgba(212,175,55,0.3); z-index:0; }
.about-img-wrap::after { content:''; position:absolute; top:14px; left:14px; right:-14px; bottom:-14px; border:1px solid rgba(212,175,55,0.15); z-index:0; }
.about-img { width:100%; aspect-ratio:3/4; object-fit:cover; object-position:center top; display:block; position:relative; z-index:1; filter:grayscale(20%); }
.about-gold-tag { display:inline-block; font-family:'Cinzel',serif; font-size:0.6rem; letter-spacing:0.4em; color:var(--gold); text-transform:uppercase; border:1px solid rgba(212,175,55,0.3); padding:6px 16px; margin-bottom:24px; }
.about-name { font-family:'Playfair Display',serif; font-size:clamp(2rem,3.5vw,3rem); font-weight:900; line-height:1.1; margin-bottom:8px; }
.about-name span { color:var(--gold); }
.about-title { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.1rem; color:rgba(212,175,55,0.7); margin-bottom:30px; letter-spacing:0.05em; }
.about-divider { width:60px; height:1px; background:linear-gradient(to right,var(--gold),transparent); margin-bottom:30px; }
.about-text { font-family:'Cormorant Garamond',serif; font-size:1.15rem; line-height:1.9; color:rgba(249,246,238,0.75); margin-bottom:36px; }
.about-badges { display:flex; gap:12px; flex-wrap:wrap; }
.about-badge { font-family:'Cinzel',serif; font-size:0.6rem; letter-spacing:0.15em; text-transform:uppercase; padding:8px 16px; border:1px solid rgba(212,175,55,0.3); color:var(--gold); background:rgba(212,175,55,0.05); }

/* ===========================
   HOW IT WORKS
   =========================== */
.how-section { background: var(--black); }
.steps-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; max-width:1000px; margin:0 auto; }
.step-card { padding:40px 30px; background:var(--gray); text-align:center; }
.step-num { font-family:'Playfair Display',serif; font-size:4rem; font-weight:900; color:rgba(212,175,55,0.1); line-height:1; margin-bottom:16px; }
.step-title { font-family:'Cinzel',serif; font-size:0.7rem; letter-spacing:0.15em; color:var(--gold); text-transform:uppercase; margin-bottom:12px; }
.step-desc { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:0.95rem; color:rgba(249,246,238,0.5); line-height:1.7; }

/* ===========================
   GALLERY
   =========================== */
.gallery-section { background: #0f0f0f; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:40px 36px; max-width:1100px; margin:0 auto; }
.gallery-item { position:relative; cursor:pointer; display:flex; flex-direction:column; align-items:center; }

.frame-outer {
  width:100%; background:#111;
  border: 18px solid #1a1a1a;
  box-shadow: inset 0 0 0 2px #333, inset 0 0 0 4px #0a0a0a, inset 0 0 0 6px #2a2a2a,
              0 8px 30px rgba(0,0,0,0.8), 0 2px 6px rgba(0,0,0,0.9);
  position:relative; overflow:hidden; transition:box-shadow 0.4s, transform 0.4s;
}
.gallery-item:hover .frame-outer {
  box-shadow: inset 0 0 0 2px #444, inset 0 0 0 4px #111, inset 0 0 0 6px #3a3a3a,
              0 16px 50px rgba(0,0,0,0.9), 0 4px 12px rgba(212,175,55,0.2);
  transform: translateY(-6px);
}
.frame-outer img { width:100%; height:100%; object-fit:cover; display:block; transition:transform 0.5s; }
.gallery-item:hover .frame-outer img { transform:scale(1.04); }

.frame-tag { margin-top:14px; text-align:center; }
.frame-tag-type { font-family:'Cinzel',serif; font-size:0.65rem; letter-spacing:0.25em; color:var(--gold); text-transform:uppercase; }

.gallery-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.75) 0%,transparent 60%);
  opacity:0; transition:opacity 0.4s;
  display:flex; align-items:flex-end; padding:24px;
}
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-overlay-text { font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--gold); font-style:italic; }

/* Zoom hint icon */
.zoom-hint {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%) scale(0);
  background:rgba(0,0,0,0.6);
  border:1px solid rgba(212,175,55,0.5);
  width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:transform 0.3s; z-index:2;
}
.zoom-hint svg { width:20px; height:20px; stroke:var(--gold); fill:none; }
.gallery-item:hover .zoom-hint { transform:translate(-50%,-50%) scale(1); }

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,0.95);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none;
  transition:opacity 0.4s;
  padding: 20px;
}
.lightbox.open { opacity:1; pointer-events:all; }
.lightbox-img {
  max-width:90vw; max-height:90vh;
  object-fit:contain;
  box-shadow: 0 0 0 16px #1a1a1a, 0 0 0 18px #333, 0 30px 80px rgba(0,0,0,0.9);
  transform:scale(0.85);
  transition:transform 0.4s;
}
.lightbox.open .lightbox-img { transform:scale(1); }
.lightbox-close {
  position:fixed; top:24px; right:32px;
  font-family:'Cinzel',serif; font-size:1.5rem;
  color:var(--gold); cursor:pointer; background:none; border:none;
  transition:transform 0.3s, color 0.3s; z-index:10000;
}
.lightbox-close:hover { transform:rotate(90deg); color:var(--white); }
.lightbox-prev, .lightbox-next {
  position:fixed; top:50%; transform:translateY(-50%);
  background:rgba(0,0,0,0.5); border:1px solid rgba(212,175,55,0.3);
  color:var(--gold); font-size:1.5rem; padding:16px 20px;
  cursor:pointer; transition:all 0.3s; z-index:10000;
}
.lightbox-prev { left:20px; }
.lightbox-next { right:20px; }
.lightbox-prev:hover, .lightbox-next:hover { background:rgba(212,175,55,0.15); border-color:var(--gold); }
.lightbox-caption {
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%);
  font-family:'Cinzel',serif; font-size:0.65rem; letter-spacing:0.3em;
  color:var(--gold); text-transform:uppercase;
  background:rgba(0,0,0,0.6); padding:8px 24px; border:1px solid rgba(212,175,55,0.2);
}

/* ===========================
   PRICING
   =========================== */
.pricing-section { background:linear-gradient(to bottom,var(--black),var(--gray)); }
.pricing-tabs { display:flex; justify-content:center; border:1px solid rgba(212,175,55,0.3); max-width:400px; margin:0 auto 50px; }
.tab-btn { flex:1; padding:14px 30px; font-family:'Cinzel',serif; font-size:0.7rem; letter-spacing:0.15em; text-transform:uppercase; background:transparent; color:rgba(249,246,238,0.5); border:none; cursor:pointer; transition:all 0.3s; }
.tab-btn.active { background:var(--gold); color:var(--black); font-weight:600; }
.tab-btn:not(.active):hover { color:var(--gold); background:rgba(212,175,55,0.05); }
.pricing-grid { display:none; grid-template-columns:repeat(5,1fr); gap:2px; max-width:1000px; margin:0 auto; }
.pricing-grid.active { display:grid; }
.price-card { background:var(--gray); border:1px solid rgba(212,175,55,0.08); padding:40px 24px; text-align:center; transition:all 0.4s; position:relative; overflow:hidden; }
.price-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--gold); transform:scaleX(0); transition:transform 0.4s; }
.price-card:hover { border-color:rgba(212,175,55,0.3); transform:translateY(-4px); background:#1f1f1f; }
.price-card:hover::before { transform:scaleX(1); }
.price-size { font-family:'Cinzel',serif; font-size:0.85rem; letter-spacing:0.1em; color:var(--gold); margin-bottom:20px; font-weight:600; }
.price-amount { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:700; color:var(--white); line-height:1; margin-bottom:6px; }
.price-currency { font-family:'Cormorant Garamond',serif; font-size:0.85rem; color:rgba(249,246,238,0.4); letter-spacing:0.1em; }
.price-divider { width:30px; height:1px; background:var(--gold); margin:16px auto; opacity:0.4; }

/* ===========================
   ORDER FORM
   =========================== */
.order-section { background:var(--black); position:relative; }
.order-section::before { content:''; position:absolute; top:0; left:60px; right:60px; height:1px; background:linear-gradient(to right,transparent,var(--gold),transparent); }
.order-container { max-width:760px; margin:0 auto; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.form-group { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
label { font-family:'Cinzel',serif; font-size:0.65rem; letter-spacing:0.25em; color:var(--gold); text-transform:uppercase; }
input, select, textarea { background:rgba(255,255,255,0.03); border:1px solid rgba(212,175,55,0.2); color:var(--white); padding:14px 18px; font-family:'Cormorant Garamond',serif; font-size:1rem; outline:none; transition:border-color 0.3s; width:100%; }
input:focus, select:focus, textarea:focus { border-color:var(--gold); background:rgba(212,175,55,0.04); }
select option { background:#1a1a1a; color:var(--white); }
textarea { resize:vertical; min-height:110px; line-height:1.7; }
.word-count { font-family:'Cormorant Garamond',serif; font-size:0.85rem; font-style:italic; text-align:right; margin-top:-12px; margin-bottom:20px; color:rgba(212,175,55,0.6); }
.word-count.warn { color:#e07030; }
.word-count.good { color:#50c878; }
.upload-area { border:1px dashed rgba(212,175,55,0.3); padding:40px 24px; text-align:center; cursor:pointer; transition:all 0.3s; position:relative; margin-bottom:20px; background:rgba(255,255,255,0.01); }
.upload-area:hover { border-color:var(--gold); background:rgba(212,175,55,0.04); }
.upload-area input[type="file"] { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; padding:0; border:none; }
.upload-icon { width:50px; height:50px; border:1px solid rgba(212,175,55,0.3); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.upload-icon svg { width:22px; height:22px; stroke:var(--gold); fill:none; }
.upload-title { font-family:'Cinzel',serif; font-size:0.75rem; letter-spacing:0.2em; color:var(--gold); text-transform:uppercase; margin-bottom:8px; }
.upload-sub { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:0.95rem; color:rgba(249,246,238,0.4); }
.upload-preview { margin-top:12px; font-family:'Cinzel',serif; font-size:0.65rem; letter-spacing:0.15em; color:var(--gold); display:none; }
.submit-btn { width:100%; padding:20px; background:var(--gold); color:var(--black); border:none; font-family:'Cinzel',serif; font-size:0.85rem; font-weight:600; letter-spacing:0.3em; text-transform:uppercase; cursor:pointer; transition:all 0.3s; margin-top:10px; }
.submit-btn:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:0 10px 40px rgba(212,175,55,0.25); }
.success-msg { display:none; padding:20px; border:1px solid var(--gold); background:rgba(212,175,55,0.05); text-align:center; margin-top:20px; font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.1rem; color:var(--gold); }

/* ===========================
   FOOTER
   =========================== */
footer { background:var(--black); border-top:1px solid rgba(212,175,55,0.15); padding:60px 60px 40px; text-align:center; }
.footer-logo { margin-bottom:16px; }
.footer-logo img { height:60px; width:auto; display:inline-block; }
.footer-tagline { font-family:'Cormorant Garamond',serif; font-style:italic; color:rgba(249,246,238,0.4); font-size:1rem; margin-bottom:40px; }
.footer-links { display:flex; justify-content:center; gap:40px; margin-bottom:40px; flex-wrap:wrap; }
.footer-links a { font-family:'Cinzel',serif; font-size:0.65rem; letter-spacing:0.2em; color:rgba(249,246,238,0.4); text-decoration:none; text-transform:uppercase; transition:color 0.3s; }
.footer-links a:hover { color:var(--gold); }
.footer-copy { font-family:'Cormorant Garamond',serif; font-size:0.85rem; color:rgba(249,246,238,0.2); border-top:1px solid rgba(255,255,255,0.05); padding-top:30px; }

/* WHATSAPP */
.whatsapp-float { position:fixed; bottom:30px; right:30px; width:56px; height:56px; background:#25D366; border-radius:50%; display:flex; align-items:center; justify-content:center; z-index:998; box-shadow:0 4px 20px rgba(37,211,102,0.4); transition:transform 0.3s; text-decoration:none; }
.whatsapp-float:hover { transform:scale(1.1); }
.whatsapp-float svg { width:30px; height:30px; fill:white; }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity:0; transform:translateY(40px); transition:opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }


/* ===========================
   SIZE VISUAL GUIDE
   =========================== */
.size-visual {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}
.size-visual-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.size-visual img {
  width: 100%;
  max-width: 860px;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(212,175,55,0.15);
  opacity: 0.92;
  transition: opacity 0.3s;
}
.size-visual img:hover { opacity: 1; }

/* ===========================
   MOBILE
   =========================== */
@media (max-width: 768px) {
  nav { padding: 14px 24px; }
  section { padding: 70px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero::after { top:60px; left:20px; right:20px; bottom:20px; }
  .about-container { grid-template-columns:1fr; gap:40px; }
  .about-img { aspect-ratio:1/1; }
  .gallery-grid { grid-template-columns:1fr 1fr; gap:20px; }
  .pricing-grid { grid-template-columns:repeat(2,1fr) !important; }
  .steps-grid { grid-template-columns:1fr 1fr; }
  footer { padding:40px 24px; }
  .form-row { grid-template-columns:1fr; }
  .divider { padding:0 24px; }
  .lightbox-prev { left:8px; padding:12px 14px; }
  .lightbox-next { right:8px; padding:12px 14px; }
}
