/* ===================================
   Mr & Ms Hair Design Inc - Stylesheet
   =================================== */

/* --- CSS Variables --- */
:root {
  --primary: #b08968;
  --primary-dark: #7f5539;
  --primary-light: #ddb892;
  --accent: #d4a373;
  --bg-cream: #fdf8f4;
  --bg-light: #f5ede4;
  --bg-white: #ffffff;
  --text-dark: #2c2c2c;
  --text-medium: #5a5a5a;
  --text-light: #8a8a8a;
  --border: #e8ddd1;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto 20px;
  border-radius: 2px;
}

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

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(176, 137, 104, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo .logo-text {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-book-btn {
  padding: 10px 24px !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 50px;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  transition: all var(--transition) !important;
}

.nav-book-btn::after {
  display: none !important;
}

.nav-book-btn:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-dark);
}

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

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

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

/* Inner page navbar (non-transparent) */
.navbar-inner {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 16px 0;
}

.navbar-inner .nav-logo .logo-text {
  color: var(--text-dark);
}

.navbar-inner .nav-links a {
  color: var(--text-dark);
}

.navbar-inner .nav-links a:hover {
  color: var(--primary);
}

.navbar-inner .nav-toggle span {
  background: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #3a2520 0%, #5c3d2e 40%, #7f5539 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 30, 22, 0.5) 0%,
    rgba(44, 30, 22, 0.3) 50%,
    rgba(44, 30, 22, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-top: 8px;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 24px 0 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
  font-size: 1.5rem;
}

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

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #3a2520, #7f5539);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1920&q=80') center/cover;
  opacity: 0.15;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Welcome / Intro Section --- */
.welcome {
  background: var(--bg-white);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.welcome-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-lg);
}

.welcome-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.welcome-image .accent-border {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  z-index: -1;
}

.welcome-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.welcome-text .divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 24px;
  border-radius: 2px;
}

.welcome-text p {
  color: var(--text-medium);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.welcome-text .btn {
  margin-top: 16px;
}

/* --- Services Preview --- */
.services-preview {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.service-card .price {
  display: block;
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* --- Full Services Table --- */
.services-full {
  background: var(--bg-white);
}

.service-category {
  margin-bottom: 50px;
}

.service-category h3 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--primary-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.service-item:hover {
  background: var(--bg-light);
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 -16px;
  border-radius: var(--radius-sm);
}

.service-item-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-item-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.service-item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--bg-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-lg);
  border-color: var(--primary-light);
}

.testimonial-top {
  margin-bottom: 16px;
}

.testimonial-card .stars {
  color: #f0b429;
  font-size: 0.9rem;
  letter-spacing: 3px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-medium);
  font-style: italic;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.testimonial-card .client-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-card .client-detail {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Gallery --- */
.gallery-section {
  background: var(--bg-light);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--bg-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-medium);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(44, 30, 22, 0.8));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #3a2520, #7f5539);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?w=1920&q=80') center/cover;
  opacity: 0.12;
}

.cta-banner > * {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- About Page --- */
.about-story {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text .divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 24px;
  border-radius: 2px;
}

.about-text p {
  color: var(--text-medium);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* Values */
.values-section {
  background: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
}

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

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* Team */
.team-section {
  background: var(--bg-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-lg);
}

.team-card .photo {
  width: 100%;
  height: 350px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-light), var(--primary-light));
}

.team-card .info {
  padding: 24px;
  text-align: center;
}

.team-card .info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-card .info .role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.team-card .info p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.team-card .socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.team-card .socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.team-card .socials a:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Contact Page --- */
.contact-section {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.contact-info-card:hover {
  background: var(--bg-cream);
  transform: translateX(5px);
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 500;
}

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

.hours-table {
  width: 100%;
  margin-top: 24px;
}

.hours-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  white-space: nowrap;
}

.hours-table td:first-child {
  padding-left: 0;
  font-weight: 600;
  color: var(--text-dark);
}

.hours-table td:last-child {
  padding-right: 0;
  text-align: right;
  color: var(--text-medium);
}

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--text-medium);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--bg-white);
  color: var(--text-dark);
  transition: border var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(176, 137, 104, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-container {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* --- Newsletter --- */
.newsletter {
  background: var(--bg-light);
  padding: 60px 0;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.newsletter p {
  color: var(--text-medium);
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--bg-white);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form .btn {
  white-space: nowrap;
}

/* --- Footer --- */
.footer {
  background: #2c1e16;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-column h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-column ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .welcome-grid,
  .about-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--transition);
    box-shadow: -10px 0 40px var(--shadow-lg);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text-dark) !important;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

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

  .welcome-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--bg-light);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: 0 2px 10px var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: 0 4px 20px var(--shadow-lg);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-question .faq-icon {
  font-size: 0.85rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Chatbot Widget --- */
.chatbot-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(176, 137, 104, 0.45);
  transition: all var(--transition);
}

.chatbot-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(176, 137, 104, 0.55);
}

.chatbot-toggle .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e53e3e;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 1500;
  width: 380px;
  max-height: 520px;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chatbot-window.open {
  display: flex;
  animation: chatSlideUp 0.3s ease;
}

@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  background: var(--primary);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chatbot-header-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.chatbot-header-text span {
  font-size: 0.75rem;
  opacity: 0.85;
}

.chatbot-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-cream);
  min-height: 280px;
  max-height: 320px;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  animation: chatFadeIn 0.25s ease;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--bg-white);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px var(--shadow);
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.bot .msg-time,
.chat-msg.user .msg-time {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 4px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.chat-quick-btn {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--primary-light);
  background: var(--bg-white);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}

.chat-quick-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
  flex-shrink: 0;
}

.chatbot-input input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: var(--bg-cream);
  color: var(--text-dark);
  outline: none;
  transition: border var(--transition);
}

.chatbot-input input:focus {
  border-color: var(--primary);
}

.chatbot-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background var(--transition);
  flex-shrink: 0;
}

.chatbot-input button:hover {
  background: var(--primary-dark);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
}

.chat-typing span {
  width: 8px;
  height: 8px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
  .chatbot-window {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 90px;
    max-height: 70vh;
  }

  .chatbot-toggle {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.85rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .contact-form {
    padding: 24px;
  }
}
