/*
 * MRI Steel & Pergola - Dubai
 * Premium Static Website Stylesheet
 * Custom designed for Muhammad Rabiul Islam
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================
   1. VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
  --primary: #111111;          /* Deep Charcoal Black */
  --primary-light: #1c1c1c;    /* Soft Dark */
  --secondary: #c5a880;        /* Warm Champagne Bronze Gold */
  --secondary-hover: #b3946b;  /* Darker Gold Accent */
  --accent: #1e352f;           /* Deep Forest Green (Luxury Accent) */
  --bg-light: #faf9f6;         /* Warm Soft Off-White */
  --bg-white: #ffffff;
  --text-dark: #222222;        /* Dark Grey for high readability */
  --text-muted: #474747;       /* Enhanced contrast Slate Grey */
  --text-light: #ffffff;       /* Pure White */
  --border: #e3dfd5;           /* Soft Warm Border */
  --border-light: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
  --whatsapp: #25d366;         /* WhatsApp Brand Color */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================
   2. RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button, .btn {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

/* ==========================================
   3. TYPOGRAPHY & REUSABLE UTILITIES
   ========================================== */
.h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--primary);
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  font-weight: 350;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.95rem 2rem;
  border: 1px solid var(--secondary);
  border-radius: 4px;
}

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  padding: 0.95rem 2rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 0.95rem 2rem;
  border: 1px solid var(--white);
  border-radius: 4px;
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 0.95rem 2rem;
  border-radius: 4px;
}

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

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  padding: 0.95rem 2rem;
  border: 1px solid var(--whatsapp);
  border-radius: 4px;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  border-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn svg, .btn-whatsapp svg {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================
   4. TOP ANNOUNCEMENT & HEADER
   ========================================== */
.top-bar {
  background-color: var(--primary);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.05em;
}

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

.top-info {
  display: flex;
  gap: 1.5rem;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-info svg {
  width: 12px;
  height: 12px;
  fill: var(--secondary);
}

.top-socials a {
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
}

.top-socials a:hover {
  opacity: 1;
  color: var(--secondary);
}

.top-socials svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

header {
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.25em;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--secondary);
  transition: var(--transition-fast);
}

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

.nav-link:hover {
  color: var(--secondary);
}

.header-cta .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: clamp(550px, 85vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
  background-color: var(--primary);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.45; /* Dark overlay effect by showing background underneath */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.7) 0%, rgba(17, 17, 17, 0.8) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s 0.2s ease forwards;
  opacity: 0;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--secondary);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  opacity: 0;
  animation: fadeInUp 1s 0.4s ease forwards;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  opacity: 0;
  animation: fadeInUp 1s 0.6s ease forwards;
}

/* ==========================================
   6. CATEGORIES / SERVICES SECTION
   ========================================== */
.categories {
  padding: 7.5rem 0;
  background-color: var(--bg-white);
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.category-img-container {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.category-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.category-card:hover .category-img-container img {
  transform: scale(1.08);
}

.category-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: rgba(17, 17, 17, 0.85);
  color: var(--secondary);
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  backdrop-filter: blur(5px);
}

.category-content {
  padding: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.category-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 350;
  line-height: 1.6;
}

.category-cta {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 4px;
  transition: var(--transition-fast);
}

.category-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.category-card:hover .category-cta {
  color: var(--secondary);
  border-color: var(--primary);
}

.category-card:hover .category-cta svg {
  transform: translateX(4px);
}

/* ==========================================
   7. WHY CHOOSE US SECTION
   ========================================== */
.about {
  padding: 7.5rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg-light);
}

.about-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.about-text {
  text-align: left;
}

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 350;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(197, 168, 128, 0.12);
  border-radius: 50%;
  color: var(--secondary);
  flex-shrink: 0;
}

.feature-icon-container svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.feature-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 350;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Decorative frame behind image */
.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  border: 1px solid var(--secondary);
  border-radius: 4px;
  z-index: -1;
}

/* ==========================================
   8. PORTFOLIO & GALLERY SECTION
   ========================================== */
.gallery {
  padding: 7.5rem 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.gallery-item.video-item {
  grid-column: span 1;
}

.gallery-media-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background-color: #000;
}

.gallery-media-wrapper img,
.gallery-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

/* Hover effects for image items */
.gallery-item:not(.video-item):hover .gallery-media-wrapper img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.2) 60%, rgba(17, 17, 17, 0) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.75rem;
  text-align: left;
  z-index: 2;
  transition: var(--transition-normal);
}

.gallery-item:not(.video-item):hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-item-category {
  color: var(--secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Video specific styling */
.gallery-item.video-item {
  border-color: var(--secondary);
}

.video-label-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.35rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  z-index: 3;
}

/* Custom styles to show it is a video */
.video-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background-color: rgba(197, 168, 128, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  z-index: 3;
  pointer-events: none; /* Let clicks pass through to controls */
  transition: var(--transition-fast);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.video-play-indicator svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-left: 3px; /* visual center adjustment for triangle */
}

.gallery-item.video-item:hover .video-play-indicator {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================
   9. INSTAGRAM SHOWCASE BANNER
   ========================================== */
.instagram-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.instagram-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(197, 168, 128, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.insta-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

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

.instagram-banner h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.02em;
}

.instagram-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}

.instagram-banner .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}



/* ==========================================
   11. FOOTER SECTION
   ========================================== */
footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 5.5rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 4.5rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.footer-col.about-col .logo {
  margin-bottom: 1.25rem;
}

.footer-col.about-col .logo-main {
  color: var(--white);
  font-size: 1.4rem;
}

.footer-col.about-col p {
  line-height: 1.7;
  font-weight: 300;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item-icon {
  color: var(--secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contact-item-text p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.contact-item-text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-top: 2px;
  font-weight: 300;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* ==========================================
   12. FLOATING WHATSAPP & LEADS
   ========================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background-color: var(--whatsapp);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  animation: pulse-whatsapp 2s infinite;
  transition: var(--transition-normal);
}

.whatsapp-floating-btn:hover {
  background-color: #128c7e;
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Blinking Notification Badge */
.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ff3b30;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Chat Prompt Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  bottom: 10px;
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateX(15px);
  pointer-events: none;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: var(--bg-white);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

/* Active Class triggerable by JS or just display on hover */
.whatsapp-floating-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Auto-show animation trigger for prompt tooltip (emulated in pure CSS via delays) */
@keyframes showTooltip {
  0%, 90% { opacity: 0; transform: translateX(15px); }
  95%, 100% { opacity: 1; transform: translateX(0); }
}

.whatsapp-tooltip-auto {
  animation: showTooltip 8s ease forwards;
}

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

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================
   14. RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Large Tablets & Medium Laptops */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .about-columns {
    gap: 2.5rem;
  }
  
  .about-image img {
    height: 400px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2.5rem;
  }
}

/* Small Tablets & Mobile Landscape */
@media (max-width: 768px) {
  .top-bar {
    display: none; /* Hide top bar for more screen space on mobile */
  }
  
  .header-container {
    height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-normal);
    box-shadow: inset 0 15px 15px -15px rgba(0,0,0,0.05);
    z-index: 99;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .header-cta {
    display: none; /* Hide the desktop button, relying on mobile menu or floating button */
  }
  
  .hero {
    height: 600px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .about-columns {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-image {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  
  .about-image img {
    height: 350px;
  }
  
  .about-image::before {
    left: -12px;
    top: 12px;
    bottom: -12px;
    right: 12px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 2.5rem auto;
  }
  
  .gallery-media-wrapper {
    height: 300px;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.4) 60%, transparent 100%);
    padding: 1.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .whatsapp-floating-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }
  
  .whatsapp-floating-btn svg {
    width: 26px;
    height: 26px;
  }
  
  .whatsapp-tooltip {
    display: none; /* Tooltip doesn't work well on mobile touch screen hover */
  }
}

/* Small Screen Mobiles */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .instagram-banner h3 {
    font-size: 1.6rem;
  }
}
