/* 
========================================================================
   DREAM ON - STYLESHEET
   Chill, late-night "coffee shop meets dev studio" portfolio theme.
   Palette: Espresso, Cream, and Latte-Caramel.
========================================================================
*/

/* 1. Imports & Variables */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-darker: #0D0A09;
  --bg-main: #14100E;
  --bg-lighter: #1B1614;
  --bg-card: rgba(27, 22, 20, 0.45);
  
  --accent-latte: #C8A27C;
  --accent-latte-hover: #D9BCA0;
  --accent-latte-glow: rgba(200, 162, 124, 0.15);
  --accent-espresso: #4A3525;
  
  /* Lighter text-muted for higher contrast (WCAG AA Compliant on dark background) */
  --text-cream: #F2E9DE;
  --text-muted: #D1C7B9;
  --text-dark: #3D352E;
  
  --glass-border: rgba(200, 162, 124, 0.12);
  --glass-border-hover: rgba(200, 162, 124, 0.25);
  --glass-blur: 16px;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(200, 162, 124, 0.1);
}

/* 2. Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky nav */
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(200, 162, 124, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(74, 53, 37, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(13, 10, 9, 0.5) 0%, #0D0A09 100%);
  background-attachment: fixed;
  color: var(--text-cream);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle vector noise/grain texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.02;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Steam/Ambient light effect */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 162, 124, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

#glow-1 { top: 15%; left: -100px; }
#glow-2 { top: 45%; right: -200px; }
#glow-3 { bottom: 10%; left: 20%; }

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-espresso);
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-latte);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-cream);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Focus outline for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-latte);
  outline-offset: 4px;
}

/* Button & Link UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 0.5rem;
  border: none;
}

.btn-primary {
  background: var(--accent-latte);
  color: var(--bg-darker);
}
.btn-primary:hover {
  background: var(--accent-latte-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 162, 124, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-cream);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-latte);
  transform: translateY(-2px);
  color: var(--text-cream);
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.glass-panel-hover:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-subtle), var(--shadow-glow);
  transform: translateY(-4px);
}

/* 3. Header & Sticky Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(20, 16, 14, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(13, 10, 9, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-cream);
}
.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--accent-latte);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-latte);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-latte);
  transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Burger Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}
.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-cream);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition-smooth);
}
.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.menu-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* 4. Layout Container */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-subtitle {
  color: var(--accent-latte);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
}

/* 5. Hero Section */
#hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 162, 124, 0.08);
  border: 1px solid rgba(200, 162, 124, 0.15);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-latte);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-latte);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-latte);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-cream) 60%, var(--accent-latte) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 60ch; /* Optimal line length */
}

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

/* Floating Glass Card (Terminal Visual) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coffee-card {
  width: 100%;
  max-width: 380px;
  padding: 2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.coffee-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(200, 162, 124, 0.25), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.card-header-v {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}
.card-header-v h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-latte);
}

.terminal-line {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: var(--text-cream);
  display: flex;
  gap: 0.5rem;
}
.terminal-line .accent {
  color: var(--accent-latte);
}
.terminal-line .comment {
  color: #72675b;
}

.card-footer-v {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

/* 6. Curated Portfolio Gallery ("Concepts") */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.menu-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
}

/* CSS-only browser mockup frame wrapping thumbnail */
.browser-mockup {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-darker);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.browser-bar {
  height: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
}

.menu-card:hover .browser-mockup {
  border-color: rgba(200, 162, 124, 0.25);
}

.menu-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, rgba(20, 16, 14, 0.9) 100%);
  transition: var(--transition-smooth);
}

.menu-card:hover .menu-thumbnail-overlay {
  background: linear-gradient(135deg, var(--accent-espresso) 0%, rgba(20, 16, 14, 0.8) 100%);
}

.thumbnail-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-cream);
  background: rgba(13, 10, 9, 0.7);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.menu-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.menu-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-latte);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.menu-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  transition: var(--transition-smooth);
}
.menu-card:hover .menu-title {
  color: var(--accent-latte);
}

.menu-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 60ch;
}

.menu-action {
  margin-top: auto;
  align-self: flex-start;
}
.menu-action .view-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-cream);
  transition: var(--transition-smooth);
}
.menu-card:hover .view-demo-link {
  color: var(--accent-latte);
  gap: 0.7rem;
}

/* 7. Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(200, 162, 124, 0.08);
  border: 1px solid rgba(200, 162, 124, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-latte);
}

.service-card:hover .service-icon {
  background: var(--accent-latte);
  color: var(--bg-darker);
  box-shadow: 0 0 15px rgba(200, 162, 124, 0.3);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 8. About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.team-member {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-espresso) 0%, var(--accent-latte) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-cream);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  border: 2px solid var(--glass-border);
}

.member-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
.member-info p {
  font-size: 0.85rem;
  color: var(--accent-latte);
  margin: 0 !important;
}

/* 9. Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-form-panel {
  padding: 3rem;
}

.form-intro {
  margin-bottom: 2rem;
}
.form-intro h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.form-intro p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-cream);
}
.form-group label .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
}
.form-input, .form-textarea {
  width: 100%;
  background: rgba(13, 10, 9, 0.4);
  border: 1px solid var(--glass-border);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  color: var(--text-cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: #7c7165;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-latte);
  outline: none;
  background: rgba(13, 10, 9, 0.6);
  box-shadow: 0 0 0 3px var(--accent-latte-glow);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.char-count {
  position: absolute;
  right: 4px;
  bottom: -18px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-box {
  padding: 2rem;
}

.info-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-latte);
}
.info-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.whatsapp-card {
  background: rgba(34, 197, 94, 0.04);
  border-color: rgba(34, 197, 94, 0.15);
}
.whatsapp-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.05);
}
.whatsapp-title {
  color: #22c55e;
}
.btn-whatsapp {
  background: #22c55e;
  color: #ffffff;
  width: 100%;
  margin-top: 1rem;
}
.btn-whatsapp:hover {
  background: #1eb052;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
  transform: translateY(-2px);
}

/* 10. Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  padding: 1.2rem 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-lighter);
  border: 1px solid var(--accent-latte);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent-latte);
}
.toast-content h5 {
  font-size: 0.95rem;
  font-weight: 600;
}
.toast-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 11. Footer */
footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 4rem 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo .logo-icon {
  width: 24px;
  height: 24px;
}
.footer-socials {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.social-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.social-link:hover {
  color: var(--accent-latte);
}
.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 12. Reveal on Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 13. Accessibility: Motion Preference override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 14. Responsive Styles */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Layout global overrides */
  section {
    padding: 4rem 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Navigation */
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(13, 10, 9, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255,255,255,0.03);
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  /* Hero */
  #hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 4rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.2rem; /* Scaled down slightly on mobile */
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .coffee-card {
    max-width: 100%;
    padding: 1.8rem;
  }
  
  /* Menu */
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  /* About */
  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  /* Contact */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-form-panel {
    padding: 1.8rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}
