/* 
  Are You Kitchen Me? - CSS
  Color Palette:
  #364B53 (Dark Slate)
  #C9A26B (Gold/Tan)
  #F2E9D8 (Light Cream/Beige)
  #B7AA95 (Taupe/Light Brown)
  #1F2326 (Dark Charcoal/Black)
  #7A5B3A (Dark Brown)
*/

:root {
  /* Colors */
  --clr-primary: #364B53;
  --clr-secondary: #C9A26B;
  --clr-bg-light: #F2E9D8;
  --clr-accent: #B7AA95;
  --clr-text-dark: #1F2326;
  --clr-text-brown: #7A5B3A;
  --clr-white: #ffffff;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for sticky header */
}

body {
  font-family: var(--font-body);
  color: var(--clr-text-dark);
  background-color: var(--clr-white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: var(--space-xl) 0;
}

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

.w-full {
  width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-sm {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-bg-light);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(54, 75, 83, 0.25);
}

.btn-primary:hover {
  background-color: var(--clr-text-dark);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 35, 38, 0.4);
}

.btn-primary-sm {
  background-color: var(--clr-primary);
  color: var(--clr-bg-light);
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(54, 75, 83, 0.2);
}

.btn-primary-sm:hover {
  background-color: var(--clr-text-dark);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 35, 38, 0.3);
}

.btn-secondary {
  background-color: var(--clr-white);
  color: var(--clr-primary);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border: 2px solid var(--clr-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background-color: var(--clr-secondary);
  color: var(--clr-text-dark);
  border-color: var(--clr-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 162, 107, 0.4);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(242, 233, 216, 0.85); /* Light Cream */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

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

.logo {
  width: 220px; /* Reserve space for absolute image */
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 120px; /* Much larger */
  width: auto;
  position: absolute;
  top: 10px; /* Hangs down over the bottom edge */
  left: 0;
  filter: drop-shadow(0 10px 15px rgba(54, 75, 83, 0.15)); /* Add a shadow to emphasize the float */
  z-index: 1002; /* Ensures it stays above everything */
}

.logo-text strong {
  font-weight: 800;
  font-size: 1.5rem;
}

.nav-list {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--clr-primary);
  position: relative;
}

.nav-link:not(.btn-primary-sm)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--clr-secondary);
  transition: width var(--transition-normal);
}

.nav-link:not(.btn-primary-sm):hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-btn span {
  width: 30px;
  height: 2px;
  background-color: var(--clr-primary);
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--clr-bg-light) 0%, rgba(183, 170, 149, 0.2) 100%);
}

.hero-content {
  padding: var(--space-xl) 5% var(--space-xl) 10%;
}

.badge {
  display: inline-block;
  background-color: rgba(201, 162, 107, 0.2);
  color: var(--clr-text-brown);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--clr-primary);
}

.highlight {
  color: var(--clr-secondary);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  max-width: 480px;
  color: var(--clr-text-dark);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
}

.hero-image-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-primary);
  position: relative;
  overflow: hidden;
}

/* Abstract CSS Graphic to stand in for an image */
.hero-graphic {
  width: 80%;
  height: 60%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.cabinet {
  background: rgba(201, 162, 107, 0.1);
  border: 2px solid var(--clr-secondary);
  border-radius: var(--radius-sm);
  position: relative;
}

.cabinet::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 40px;
  background: var(--clr-accent);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
}
.cab-1::after { right: 10px; }
.cab-2::after { right: 10px; }
.cab-3::after { left: 10px; }


/* Services Section */
.services {
  background-color: var(--clr-white);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background-color: var(--clr-bg-light);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(183, 170, 149, 0.3);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(54, 75, 83, 0.08);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--clr-primary);
  color: var(--clr-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

/* About Section */
.about {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

.about h2, .about strong {
  color: var(--clr-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.feature-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-list li {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--clr-bg-light);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: rgba(201, 162, 107, 0.2);
  border: 2px dashed var(--clr-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder h3 {
  color: var(--clr-secondary);
  font-weight: 300;
  letter-spacing: 2px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  font-size: 2.5rem;
}

.contact-details {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.detail-item strong {
  display: block;
  color: var(--clr-text-brown);
  margin-bottom: 4px;
}

.detail-item a, .detail-item span {
  font-size: 1.125rem;
  color: var(--clr-primary);
  font-weight: 500;
}

.contact-form {
  background-color: var(--clr-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(54, 75, 83, 0.05);
  border: 1px solid rgba(183, 170, 149, 0.2);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--clr-primary);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--clr-accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--clr-bg-light);
  transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
}

/* Footer */
.footer {
  background-color: var(--clr-text-dark);
  color: var(--clr-bg-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.logo-text-footer {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--clr-secondary);
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--clr-accent);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--clr-bg-light);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--clr-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(183, 170, 149, 0.2);
  color: var(--clr-accent);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero, .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding: var(--space-xl) 5%;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-subtitle {
    margin: 0 auto var(--space-lg);
  }
  
  .hero-image-wrapper {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    font-size: 1.5rem;
    gap: var(--space-lg);
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
}
