/* InkMaster — Dark + Red | Playfair Display + Inter */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --accent: #dc2626;
  --accent-dim: rgba(220,38,38,.12);
  --text: #f5f0eb;
  --text-mid: #a8a29e;
  --text-dim: #78716c;
  --radius: 14px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.15; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ef4444; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 18px 0; background: rgba(10,10,10,.85); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(220,38,38,.1); transition: padding var(--transition), background var(--transition); }
.navbar.scrolled { padding: 10px 0; background: rgba(10,10,10,.96); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-mid); font-size: .9rem; font-weight: 500; letter-spacing: .3px; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff; padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: .85rem; transition: transform var(--transition), box-shadow var(--transition); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(220,38,38,.35); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; padding: 120px 24px 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: url('../images/hero.jpg') center/cover no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,10,.7), rgba(10,10,10,.95)); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-block; padding: 6px 20px; border: 1px solid var(--accent); border-radius: 50px; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; color: var(--text-mid); max-width: 560px; margin: 0 auto 36px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: #fff; padding: 14px 36px; border-radius: 50px; font-weight: 600; font-size: .95rem; transition: transform var(--transition), box-shadow var(--transition); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(220,38,38,.35); color: #fff; }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); padding: 14px 36px; border-radius: 50px; font-weight: 600; font-size: .95rem; transition: background var(--transition), color var(--transition); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.scroll-indicator { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-dim); font-size: .75rem; letter-spacing: 1px; z-index: 1; }
.scroll-indicator .line { width: 1px; height: 40px; background: var(--accent); animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: 500px; object-fit: cover; transition: transform .6s ease; }
.about-image:hover img { transform: scale(1.03); }
.about-tag { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.about h2 { font-size: 2.6rem; margin-bottom: 20px; }
.about h2 span { color: var(--accent); }
.about p { color: var(--text-mid); margin-bottom: 16px; }
.about-stats { display: flex; gap: 40px; margin-top: 32px; }
.stat-item .stat-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--accent); }
.stat-item .stat-label { font-size: .82rem; color: var(--text-dim); margin-top: 4px; }

.services { padding: 120px 0; background: var(--bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-header h2 { font-size: 2.6rem; margin-bottom: 16px; }
.section-header h2 span { color: var(--accent); }
.section-header p { color: var(--text-mid); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: rgba(220,38,38,.04); border: 1px solid rgba(220,38,38,.1); border-radius: var(--radius); padding: 40px 32px; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(220,38,38,.12); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--text-mid); font-size: .92rem; }

.portfolio { padding: 120px 0; }
.carousel-wrapper { position: relative; overflow: hidden; border-radius: var(--radius); }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 520px; object-fit: cover; }
.carousel-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; background: linear-gradient(to top, rgba(10,10,10,.9), transparent); }
.carousel-overlay h3 { font-size: 1.6rem; margin-bottom: 6px; }
.carousel-overlay p { color: var(--text-mid); font-size: .95rem; }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-dim); border: none; cursor: pointer; transition: background var(--transition), transform var(--transition); }
.carousel-dot.active { background: var(--accent); transform: scale(1.3); }

.detail-strip { padding: 120px 0; background: var(--bg-alt); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.detail-image { border-radius: var(--radius); overflow: hidden; }
.detail-image img { width: 100%; height: 440px; object-fit: cover; }
.detail-content h2 { font-size: 2.4rem; margin-bottom: 20px; }
.detail-content h2 span { color: var(--accent); }
.detail-content p { color: var(--text-mid); margin-bottom: 16px; }
.detail-list { list-style: none; margin-top: 24px; }
.detail-list li { padding: 10px 0; border-bottom: 1px solid rgba(220,38,38,.1); color: var(--text-mid); display: flex; align-items: center; gap: 12px; }
.detail-list li svg { color: var(--accent); flex-shrink: 0; }

.reviews { padding: 120px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card { background: var(--bg-alt); border: 1px solid rgba(220,38,38,.08); border-radius: var(--radius); padding: 36px; }
.review-stars { color: var(--accent); margin-bottom: 16px; display: flex; gap: 4px; }
.review-card p { color: var(--text-mid); font-style: italic; margin-bottom: 20px; font-size: .95rem; }
.review-author { font-weight: 600; font-size: .9rem; }
.review-role { font-size: .8rem; color: var(--text-dim); }

.team { padding: 120px 0; background: var(--bg-alt); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.team-image { border-radius: var(--radius); overflow: hidden; }
.team-image img { width: 100%; height: 480px; object-fit: cover; }
.team-content h2 { font-size: 2.4rem; margin-bottom: 20px; }
.team-content h2 span { color: var(--accent); }
.team-content p { color: var(--text-mid); margin-bottom: 16px; }

.cta { padding: 120px 0; text-align: center; background: url('../images/cta-bg.jpg') center/cover no-repeat; position: relative; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,10,.85), rgba(10,10,10,.95)); }
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: 2.6rem; margin-bottom: 16px; }
.cta h2 span { color: var(--accent); }
.cta p { color: var(--text-mid); margin-bottom: 36px; font-size: 1.05rem; }

.footer { padding: 60px 0 30px; border-top: 1px solid rgba(220,38,38,.1); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: var(--text-dim); font-size: .9rem; }
.footer h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-dim); font-size: .88rem; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(220,38,38,.08); }
.footer-bottom p { color: var(--text-dim); font-size: .82rem; }

.blog { padding: 120px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--bg-alt); border: 1px solid rgba(220,38,38,.08); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(220,38,38,.12); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-tag { display: inline-block; background: var(--accent-dim); color: var(--accent); font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card p { color: var(--text-mid); font-size: .88rem; margin-bottom: 16px; }
.blog-card .read-more { font-size: .85rem; font-weight: 600; color: var(--accent); }

.blog-hero { padding: 160px 0 80px; text-align: center; background: var(--bg-alt); }
.blog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.blog-hero h1 span { color: var(--accent); }
.blog-hero p { color: var(--text-mid); font-size: 1.1rem; }
.blog-listing { padding: 80px 0; }
.blog-listing .blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); border: 1px solid rgba(220,38,38,.08); }
.blog-featured img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.blog-featured .blog-card-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured h3 { font-size: 1.6rem; }
.page-top { height: 80px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .services-grid, .reviews-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg); padding: 24px; gap: 20px; border-bottom: 1px solid rgba(220,38,38,.1); }
  .about-grid, .detail-grid, .team-grid { grid-template-columns: 1fr; }
  .about-image img, .team-image img, .detail-image img { height: 320px; }
  .carousel-slide img { height: 300px; }
  .services-grid, .reviews-grid, .blog-grid, .blog-listing .blog-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .about-stats { flex-wrap: wrap; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
