/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --success-color: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --bg-primary: #1f2937;
  --bg-secondary: #111827;
  --bg-tertiary: #374151;
  --border-color: #4b5563;
}

html { scroll-behavior: smooth; }

/* CafeMotif - Only target cafe.html via body[data-cafe-page] */
body[data-cafe-page] {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ece6d9; /* soft creamy white */
  color: #312d25; /* deep brown */
}
body[data-cafe-page] header {
  background: linear-gradient(rgba(35,36,32,0.70),rgba(35,36,32,0.25)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1400&q=80') no-repeat center center/cover;
  color: #f5e4ca;
  height: 320px;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  position: relative;
}
body[data-cafe-page] .cafe-logo {
  font-size:1.63rem;font-weight:700;
  letter-spacing:0.1em;
  color: #3a5335;
  font-family: 'Playfair Display', serif;
}
body[data-cafe-page] nav {
  position: absolute;
  top: 20px; left: 40px; right: 40px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 2;
}
body[data-cafe-page] nav ul {
  display: flex; gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
body[data-cafe-page] nav ul li a{
  text-decoration: none;
  color: #ffeeb9;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
body[data-cafe-page] nav ul li a:hover{color: #cbc46a;}
body[data-cafe-page] .hero-title {
  margin-top: 70px;
  font-size: 2.7rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #e0c48a;
  text-shadow: 0 2px 20px #19140544;
  font-family: 'Playfair Display', serif;
}
body[data-cafe-page] .section {
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 16px;
}
body[data-cafe-page] .intro-headline {
  font-size: 2rem;
  font-weight: 600;
  color: #3a5335;
  margin-bottom: 12px;
  line-height: 1.12;
  font-family: 'Playfair Display', serif;
}
body[data-cafe-page] .intro-text {
  font-size: 1.14rem;
  color: #493b20;
  margin-bottom: 32px;
}
body[data-cafe-page] .features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 44px;
}
body[data-cafe-page] .feature-btn {
  background: #fffceb;
  border-radius: 38px;
  border: 1.6px solid #bdae91;
  color: #3a5335;
  font-size: .97rem;
  padding: 8px 22px;
  margin-right: 0;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px #47390810;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.17s, color 0.18s;
}
body[data-cafe-page] .feature-btn:hover {background: #cbc46a;color:#312d25;}
body[data-cafe-page] .feature-media {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 24px #1e211815;
}
body[data-cafe-page] .feature-media img {
  display: block;
  width: 100%;
  min-height:220px;
  background:#d9caa1;
}
body[data-cafe-page] .feature-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  margin-top: 36px;
}
body[data-cafe-page] .card {
  border-radius: 16px;
  background: #fff8ee;
  box-shadow: 0 2px 18px 1px #ad836640;
  padding: 18px 18px 14px 18px;
  display: flex; flex-direction: column;
  border: 1px solid #e3d7bd;
}
body[data-cafe-page] .card-img {
  border-radius: 12px;
  width: 100%;
  height: 135px;
  object-fit: cover;
  margin-bottom: 10px;
  background:#e9daae;
}
body[data-cafe-page] .card-title {
  font-size: 1.14rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: #453D31;
  font-family: 'Playfair Display', serif;
}
body[data-cafe-page] .card-desc {
  font-size: 0.99rem;
  color: #5d564d;
  flex: 1;
}
body[data-cafe-page] .card-meta {
  display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 1rem;
}
body[data-cafe-page] .experience-section {
  background: #26311f;
  color: #f5e4ca;
  border-radius: 26px;
  margin-top: 62px;
  text-align: center;
  padding: 43px 10px 34px 10px;
  border: 1.5px solid #dbc487;
}
body[data-cafe-page] .stats {
  margin-top: 28px; display: flex; justify-content: center; gap: 52px; flex-wrap: wrap;
}
body[data-cafe-page] .stat {
  font-size: 2rem; font-weight: 600; letter-spacing: 0.01em;
}
body[data-cafe-page] .stat-label {
  font-size: 1rem; font-weight: 470; color: #cbc46a; margin-top: 2px;
}
body[data-cafe-page] .signup-section {
  margin-top: 60px;
  border-radius: 36px;
  background: linear-gradient(rgba(166,143,98,0.56),rgba(44,55,41,0.72)), url('https://images.unsplash.com/photo-1464983953574-0892a716854b?auto=format&fit=crop&w=1400&q=80') no-repeat center center/cover;
  color: #f5e4ca;
  text-align: center;
  padding: 48px 13px 48px 13px;
  box-shadow: 0 8px 60px 4px #916c2a20;
}
body[data-cafe-page] .signup-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 3px 18px #59481b52;
  font-family: 'Playfair Display', serif;
}
body[data-cafe-page] .signup-form {
  margin-top: 12px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 9px;
}
body[data-cafe-page] .signup-form input[type=email]{
  border: none; border-radius: 99px; padding: 12px 22px; font-size: 1rem; width:240px; background:#fff8ee;color:#312d25;
}
body[data-cafe-page] .signup-form button {
  background: #cbc46a; color: #312d25;
  border: none; border-radius: 99px; padding: 12px 24px; font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: background 0.21s;
}
body[data-cafe-page] .signup-form button:hover {background: #ffeeb9;}
body[data-cafe-page] footer {
  max-width: 1200px; margin: 42px auto 14px auto; padding: 0 16px; color: #816d4a;
  font-size: 0.97rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px;
}
@media (max-width:700px){
  body[data-cafe-page] nav ul{gap:12px;}
  body[data-cafe-page] .hero-title{font-size:1.58rem;}
  body[data-cafe-page] .intro-headline{font-size:1.1rem;}
  body[data-cafe-page] .section{padding:0 5px;}
  body[data-cafe-page] .feature-cards{grid-template-columns:1fr;}
  body[data-cafe-page] .experience-section{padding:22px 4px;}
  body[data-cafe-page] .signup-section{padding:18px 3px;}
  body[data-cafe-page] footer{padding:0 3px;}
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .navbar {
  background: rgba(31, 41, 55, 0.95);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo i {
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 3px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: white;
}

.hero-greeting {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.typing-text {
  display: inline-block;
}

.typing-cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.hero-social {
  display: flex;
  gap: 1rem;
}

.hero-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.2rem;
}

.hero-social a:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: white;
  border: 5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   SECTIONS
   ======================================== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-details {
  display: grid;
  gap: 1.5rem;
}

.detail-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.detail-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.detail-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.detail-card p {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.detail-meta {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills {
  background: var(--bg-primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category h3 i {
  color: var(--primary-color);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill-item i {
  font-size: 1.5rem;
  width: 30px;
  color: var(--primary-color);
}

.skill-item span {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
}

.skill-level {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  width: 100px;
}

.skill-level::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 10px;
  width: 0;
  animation: fillSkill 1s ease-out forwards;
}

@keyframes fillSkill {
  to {
    width: var(--skill-width, 0%);
  }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-primary);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  padding: 12px 24px;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-link:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.project-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.project-placeholder.restaurant {
  background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
}

.project-placeholder.todo {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.project-content {
  padding: 2rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  background: var(--bg-secondary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-tech span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.project-tech i {
  color: var(--primary-color);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: var(--bg-primary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-logo i {
  font-size: 1.75rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom i {
  color: var(--accent-color);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-primary);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header,
.project-card,
.contact-card {
  animation: fadeInUp 0.6s ease-out;
}

body[data-cafe-page] .cafe-navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  background: rgba(44,55,41,0.92);
  box-shadow: 0 3px 20px 0 rgba(34,30,6,0.18);
  border-bottom: 2.5px solid #bdae91;
  z-index: 1010;
  transition: background 0.23s, box-shadow 0.23s;
}
body[data-cafe-page] .cafe-navbar.scrolled {
  background: rgba(44,55,41,1);
  box-shadow: 0 4px 22px #19140533;
}
body[data-cafe-page] .nav-container {
  display: flex;align-items: center;justify-content: space-between;max-width:1100px;margin:0 auto;padding:0 12px;height:58px;
}
body[data-cafe-page] .nav-menu {
  display: flex;gap:25px;list-style:none;
}
body[data-cafe-page] .nav-menu a {
  color:#ffeeb9;font-size:1rem;font-weight:600;letter-spacing:0.03em;text-decoration: none;position:relative;transition:color .17s;
  padding: 5px 0;
}
body[data-cafe-page] .nav-menu a.active, body[data-cafe-page] .nav-menu a:focus {
  color: #cbc46a;
  border-bottom: 2px solid #cbc46a;
}
body[data-cafe-page] .hamburger {
  display:none;background:transparent;border:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px 8px;
}
body[data-cafe-page] .hamburger span{display:block;width:27px;height:3px;background:#ffeeb9;border-radius:3px;transition: transform 0.23s, opacity 0.23s;}
body[data-cafe-page] .hamburger.active span:nth-child(1){transform:rotate(45deg) translate(6px,6px);}
body[data-cafe-page] .hamburger.active span:nth-child(2){opacity:0;}
body[data-cafe-page] .hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(7px,-7px);}
@media (max-width:870px){
 body[data-cafe-page] .nav-menu {position:fixed;top:58px;left:-100%;width:100vw;height:calc(100vh-58px);background:rgba(44,55,41,0.99);flex-direction:column;align-items:center;justify-content:center;gap:2.5rem;z-index:1120;transition:left .2s;}
 body[data-cafe-page] .nav-menu.active {left:0;}
 body[data-cafe-page] .hamburger{display:flex;z-index:1211;}
}
body[data-cafe-page] .hero-section {
  position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 44px 10px 50px 10px;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1400&q=80') no-repeat center center/cover;
  z-index: 9;
}
body[data-cafe-page] .hero-overlay{
  position:absolute;inset:0;background:linear-gradient(120deg,#3a5335cc 0%,#f8eba0b0 100%);z-index:1;}
body[data-cafe-page] .hero-content {position:relative;z-index:2;max-width:650px;text-align:center;color:#fdf8ea;}
body[data-cafe-page] .hero-title {color:#ffc95b;text-shadow:0 2px 14px #32300c7d;font-size:2.3rem;margin-bottom:14px;font-weight:900;font-family:'Playfair Display',serif;letter-spacing:0.02em;}
body[data-cafe-page] .hero-desc{font-size:1.11rem;line-height:1.6;color:#fff9ef;margin-bottom:18px;}
body[data-cafe-page] .hero-social a{display:inline-block;margin:0 4px;color:#e0c48a;background:#26311f40;border-radius:50%;padding:8px;font-size:1.15rem;transition:background 0.16s, color 0.16s;vertical-align:middle;}
body[data-cafe-page] .hero-social a:hover{color:#3a5335;background:#ffeeb9;}
body[data-cafe-page] .feature-descs {display: flex;gap:24px;flex-wrap:wrap;margin-top:9px;}
body[data-cafe-page] .feature-desc {flex:1;min-width:230px;}

body[data-cafe-page] .modal-overlay {position:fixed;z-index:1240;inset:0;background:rgba(45,37,23,0.5);justify-content:center;align-items:center;display:none;transition:background 0.22s;}
body[data-cafe-page] .modal-overlay[aria-hidden="true"]{display:none;}
body[data-cafe-page] .modal-overlay[aria-hidden="false"]{display:flex;}
body[data-cafe-page] .modal {
  background:#fff;
  border-radius:20px;
  box-shadow: 0 6px 56px #0004;
  min-width:290px; max-width:98vw; width:335px;
  padding: 24px 20px 18px 20px;
  position:relative;
}
body[data-cafe-page] .modal h3 {font-size:1.23rem;color:#363011;margin-bottom:8px;font-weight:700;}
body[data-cafe-page] .order-form label {display:block;font-size:1rem;margin-bottom:8px;color:#493b20;}
body[data-cafe-page] .order-form input,body[data-cafe-page] .order-form textarea {width:100%;max-width:100%;padding: 10px 12px;background:#f9f6e8;border:1.4px solid #e7dbbd;border-radius:8px;margin-top:4px;margin-bottom:12px;transition:border 0.19s, box-shadow 0.19s;font-size:1rem;font-family: inherit;}
body[data-cafe-page] .order-form input:focus,body[data-cafe-page] .order-form textarea:focus{border:1.7px solid #cbc46a;outline:none;box-shadow:0 0 0 2px #cbc46a22;}
body[data-cafe-page] .modal-actions {display:flex;gap:16px;margin-top:6px;justify-content:flex-end;}

body[data-cafe-page] .cafe-toast {z-index:12390;}
@media (max-width:535px){body[data-cafe-page] .modal{min-width:98vw;width:99vw;padding:15px 10px;}}

body[data-cafe-page] .feature-btn,
body[data-cafe-page] button.feature-btn,
body[data-cafe-page] input,
body[data-cafe-page] textarea {
  transition: box-shadow .19s, border .19s, background .18s, color .18s;
  outline: none;
}
body[data-cafe-page] .feature-btn:focus,body[data-cafe-page] input:focus,body[data-cafe-page] textarea:focus {
  box-shadow: 0 0 0 2px #cbc46a7a;border-color:#cbc46a;
}
body[data-cafe-page] .footer-social a{
  color:#816d4a;display:inline-block;margin:2px 5px;font-size:1.22rem;transition:color 0.18s;}
body[data-cafe-page] .footer-social a:hover{color:#cbc46a;}
body[data-cafe-page] footer a {color:inherit;text-decoration:underline dotted #cdae6b10;transition:color .14s;}
body[data-cafe-page] footer a:hover,
body[data-cafe-page] footer a:focus{color:#cbc46a;}
body[data-cafe-page] .booking-form {display:grid;gap:13px;max-width:410px;margin:0 auto;}
body[data-cafe-page] .booking-form label {font-size:1rem;display:block;color:#493b20;}
body[data-cafe-page] .booking-form input,body[data-cafe-page] .booking-form textarea {
width:100%;background:#f9f6e8;border:1.2px solid #e7dbbd;border-radius:7px;padding:10px 12px;transition:border .19s, box-shadow .19s;font-size:1rem;font-family:inherit;margin-top:3px;}
body[data-cafe-page] .booking-form input:focus,body[data-cafe-page] .booking-form textarea:focus{border-color:#cbc46a;box-shadow:0 0 0 2px #cbc46a17;}
