/* Custom CSS for KayGifts x Cafe 75 */

/* General Styles */
:root {
  --primary: #76594e;
  --secondary: #b8a59e;
  --accent: #e2c4a5;
  --light: #f8f5f2;
  --dark: #453732;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Enhanced Contact Section Styles */
.company-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(118, 89, 78, 0.05), rgba(184, 165, 158, 0.05));
  border-radius: 15px;
  border: 1px solid rgba(118, 89, 78, 0.1);
  transition: all 0.3s ease;
}

.company-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(118, 89, 78, 0.1);
}

.company-logo img {
  border: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.company-header:hover .company-logo img {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(118, 89, 78, 0.3);
}

.contact-item {
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(118, 89, 78, 0.05);
  transform: translateX(5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-icon i {
  color: white !important;
  font-size: 1.1rem;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(69, 55, 50, 0.4);
  background: linear-gradient(135deg, var(--primary), var(--dark));
}

/* Ensure home icon is white */
.contact-icon .fa-home {
  color: white !important;
}

/* Custom Company Icon Styles */
.contact-icon-custom {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  padding: 8px;
}

.custom-company-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes the icon white */
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-custom {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(69, 55, 50, 0.4);
  background: linear-gradient(135deg, var(--primary), var(--dark));
}

.contact-item:hover .custom-company-icon {
  transform: scale(1.1);
}

.contact-details p {
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.contact-details strong {
  color: var(--dark) !important;
  font-weight: 600;
}

.contact-details p {
  color: var(--dark) !important;
}

/* Enhanced company details styling */
.company-details h5 {
  color: var(--dark) !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.company-details p {
  color: var(--dark) !important;
  font-weight: 500;
}

/* Remove any blue text colors */
.contact-section .text-primary,
.contact-section .text-blue,
.contact-section .text-info {
  color: var(--dark) !important;
}

.contact-section .text-muted {
  color: #6c757d !important;
}

/* Ensure phone and email links are dark */
.contact-details a {
  color: var(--dark) !important;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--primary) !important;
  text-decoration: underline;
}

/* NEW SOCIAL MEDIA CARD STYLES */
.social-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(118, 89, 78, 0.1);
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.social-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(118, 89, 78, 0.1);
}

.social-card-header i {
  font-size: 3rem;
  color: var(--primary);
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.social-card:hover .social-card-header i {
  transform: scale(1.1);
  color: var(--secondary);
}

.social-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

.social-info p {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 0;
  font-weight: 500;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.social-grid-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.social-grid-item:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-grid-item:hover img {
  transform: scale(1.1);
}

.social-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  text-decoration: none;
  z-index: 1;
}

.social-card-overlay:hover {
  background: rgba(118, 89, 78, 0.02);
}

/* Enhanced About Page Styles */
.hero-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.profile-card, .story-card, .strength-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.profile-card:hover, .story-card:hover, .strength-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.company-name {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-item i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  min-width: 20px;
}

.detail-item div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.detail-item strong {
  color: var(--dark);
  font-weight: 600;
}

.detail-item span {
  color: #6c757d;
  line-height: 1.6;
}

.strength-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
  margin-top: 0.5rem;
}

.feature-card-enhanced {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(118, 89, 78, 0.1);
}

.feature-card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.feature-card-enhanced:hover .icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(118, 89, 78, 0.3);
}

.timeline-enhanced {
  position: relative;
}

.timeline-enhanced::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: translateX(-50%);
}

.timeline-item-enhanced {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item-enhanced:nth-child(odd) {
  flex-direction: row;
}

.timeline-item-enhanced:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-badge-enhanced {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 20px rgba(118, 89, 78, 0.3);
}

.timeline-content-enhanced {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin: 0 2rem;
  flex: 1;
  max-width: 300px;
  transition: all 0.3s ease;
}

.timeline-content-enhanced:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.timeline-content-enhanced h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.timeline-content-enhanced p {
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Navigation */
#mainNav {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#mainNav .navbar-brand {
  font-weight: 700;
  transition: all 0.3s ease;
}

#mainNav .navbar-brand img {
  transition: all 0.3s ease;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active {
  color: var(--primary);
}

#mainNav.navbar-shrink {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 500px;
  background-image: url('/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 8rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
  font-size: 4.5rem;
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

.hero-section h2 {
  font-size: 5.5rem;
  text-transform: uppercase;
  margin-top: 0;
}

.hero-section2, .hero-section3, .hero-section4, .hero-section5 {
  height: 100vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 8rem;
}

.hero-section2 { background-image: url('/images/doorgift/background/IMG-20250525-WA0216.jpg'); }
.hero-section3 { background-image: url('/images/Kafe 75.jpg'); }
.hero-section4 { background-image: url('/images/corporate/Corporate Background.jpg'); }
.hero-section5 { background-image: url('/images/about/aboutus.jpg'); }

/* ENHANCED MENU SECTION STYLES FOR NATURAL IMAGE HEIGHTS */
.menu-category {
  padding: 3rem 0;
}

.menu-item {
  transition: all 0.4s ease;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: none;
  position: relative;
}

.menu-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* NATURAL HEIGHT MENU IMAGES - MAINTAIN ORIGINAL PROPORTIONS */
.menu-img {
  width: 100%;
  height: auto; /* Changed from fixed height to auto for natural proportions */
  min-height: 200px; /* Minimum height to ensure consistency */
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
  border-radius: 0;
  cursor: pointer;
  position: relative;
}

.menu-img-large {
  width: 100%;
  height: auto; /* Changed from fixed height to auto for natural proportions */
  min-height: 250px; /* Minimum height to ensure consistency */
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
  border-radius: 0;
  cursor: pointer;
  position: relative;
}

/* Enhanced hover effects for better food presentation */
.hover-zoom:hover .menu-img,
.hover-zoom:hover .menu-img-large {
  transform: scale(1.08);
}

/* Enhanced card styling for better food presentation */
.menu-item .card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.menu-item .card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.menu-item .card-body {
  padding: 2rem 1.5rem;
  background: white;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
  text-align: center;
}

.card-text {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  text-align: center;
}

/* Special styling for featured items (croffle, drinks) */
.menu-category .col-lg-4 .menu-item,
.menu-category .col-md-6 .menu-item {
  margin: 0 auto;
  max-width: 400px;
}

.my-6 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.display-4 {
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 1rem;
}

.lead.text-muted {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Doorgift Collections */
.gift-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gift-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gift-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.gift-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gift-card:hover .gift-image img {
  transform: scale(1.1);
}

.gift-info {
  padding: 1.5rem;
  text-align: center;
}

.gift-info h4 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.gift-info p {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.category-section {
  padding: 2rem 0;
}

.category-section h3 {
  color: var(--dark);
  position: relative;
  padding-bottom: 1rem;
}

.category-section h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

/* Features Section */
.feature-item {
  position: relative;
  margin-bottom: 4rem;
}

.feature-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.5s ease;
}

.feature-img-wrapper img {
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
}

.feature-img-wrapper:hover img {
  transform: scale(1.05);
}

.feature-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-desc {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #6c757d;
}

.btn-learn-more {
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
}

.btn-learn-more:hover {
  background-color: var(--dark);
  color: white;
  transform: translateY(-2px);
}

/* Corporate Solutions */
.solution-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.solution-icon {
  width: 80px;
  height: 80px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.solution-icon i {
  font-size: 2rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
  background: var(--primary);
}

.solution-card:hover .solution-icon i {
  color: white;
}

.solution-card h3 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.solution-card p {
  color: #6c757d;
  margin-bottom: 0;
}

/* Team Section */
.team-section {
  margin-bottom: 4rem;
}

.team-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.2rem;
}

.team-info p {
  color: #6c757d;
  margin-bottom: 0;
}

/* Appointment Section */
.appointment {
  background-color: var(--light);
}

.appointment-content {
  padding: 2rem;
}

.appointment-btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.appointment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #6c757d;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about-grid img:hover {
  transform: scale(1.05);
}

.gallery-img {
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Gallery Image Square Styling - STANDARDIZED */
.gallery-img-square {
  width: 100%;
  height: 120px; /* Fixed height for consistent square appearance */
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-img-square:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Social Media Section */
.social-platform-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 600;
}

.social-img {
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100px;
  object-fit: cover;
}

.social-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon {
  color: var(--dark);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Contact Section */
.coffee-beans {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.coffee-bean {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-info {
  font-size: 1.1rem;
  line-height: 1.8;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--dark) !important;
}

/* Utility Classes */
h1.display-3 {
  font-size: 4rem;
  letter-spacing: 1px;
}

h4 {
  font-size: 1.5rem;
}

.row.gx-5 {
  --bs-gutter-x: 3rem;
}

.text-glow {
  color: #ffffff;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #f0f0f0;
}

/* ENHANCED LIGHTBOX MODAL STYLES FOR FULL IMAGE VIEWING */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content-image {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.4s ease;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1) rotate(90deg);
  color: #ff6b6b;
}

/* Modal Navigation Buttons */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 10000;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
  left: 30px;
}

.modal-nav.next {
  right: 30px;
}

/* Modal Image Info */
.modal-image-info {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: 80%;
}

.modal-image-info h5 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { 
    transform: scale(0.7); 
    opacity: 0; 
  }
  to { 
    transform: scale(1); 
    opacity: 1; 
  }
}

/* Enhanced food image clickable indicator */
.menu-item .card-img-top {
  cursor: pointer;
  position: relative;
}

.menu-item .card-img-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.menu-item:hover .card-img-top::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out infinite;
}

.menu-item .card-img-top::after {
  content: '🔍 Click to view full size';
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-item:hover .card-img-top::after {
  opacity: 1;
  transform: translateY(-3px);
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Enhanced mobile food image visibility */
.food-image {
  position: relative;
  overflow: hidden;
}

.food-image::before {
  content: '👆 Tap to enlarge';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 11px;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  z-index: 2;
}

.menu-item:hover .food-image::before {
  opacity: 1;
}

/* Social icons at bottom enhancement */
.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: white !important;
  transition: all 0.3s ease;
  margin: 0 1rem;
  box-shadow: 0 5px 15px rgba(118, 89, 78, 0.2);
}

.social-icons .social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(118, 89, 78, 0.3);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.social-icons .social-icon i {
  font-size: 1.5rem;
}

/* Media Queries for Mobile Optimization */

/* Large screens (desktops) */
@media (max-width: 1200px) {
  .hero-section h1 {
    font-size: 4rem;
  }
  
  .hero-section h2 {
    font-size: 4.5rem;
  }
  
  /* Maintain natural heights on desktop */
  .menu-img {
    min-height: 180px;
  }
  
  .menu-img-large {
    min-height: 220px;
  }
  
  /* Standardized gallery images */
  .gallery-img-square {
    height: 110px;
  }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .hero-section {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero-section2, .hero-section3, .hero-section4, .hero-section5 {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .hero-section h2 {
    font-size: 4rem;
  }
  
  .feature-item {
    margin-bottom: 3rem;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-enhanced::before {
    left: 30px;
  }
  
  .timeline-badge-enhanced {
    left: 30px;
  }
  
  .timeline-content-enhanced {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }
  
  .timeline-item-enhanced {
    flex-direction: row !important;
  }
  
  .strength-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .profile-card, .story-card, .strength-card {
    padding: 2rem;
  }
  
  /* TABLET MENU IMAGES - MAINTAIN NATURAL HEIGHTS */
  .menu-img {
    min-height: 160px;
  }
  
  .menu-img-large {
    min-height: 200px;
  }
  
  .gift-image {
    height: 250px;
  }
  
  .team-image img {
    height: 250px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .feature-title {
    font-size: 1.8rem;
  }
  
  .close-modal {
    top: 20px;
    right: 20px;
    font-size: 40px;
    width: 60px;
    height: 60px;
  }
  
  .modal-nav {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .modal-nav.prev {
    left: 20px;
  }
  
  .modal-nav.next {
    right: 20px;
  }
  
  /* Contact section mobile adjustments */
  .company-header {
    flex-direction: column;
    text-align: center;
  }
  
  .company-header .company-logo {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-item {
    margin-bottom: 1rem;
  }
  
  /* Social card mobile adjustments */
  .social-card {
    padding: 1.5rem;
  }
  
  .social-card-header {
    margin-bottom: 1.5rem;
  }
  
  .social-card-header i {
    font-size: 2.5rem;
  }
  
  .social-info h4 {
    font-size: 1.3rem;
  }
  
  /* Standardized gallery images for tablet */
  .gallery-img-square {
    height: 100px;
  }
}

/* Small screens (mobile landscape) */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    min-height: 500px;
    padding-top: 6rem;
  }
  
  .hero-section2, .hero-section3, .hero-section4, .hero-section5 {
    height: 70vh;
    min-height: 500px;
    padding-top: 6rem;
  }
  
  .hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-section h2 {
    font-size: 3.2rem;
  }
  
  .feature-title {
    font-size: 1.6rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .timeline-badge-enhanced {
    width: 60px;
    height: 60px;
    font-size: 0.9rem;
  }

  .team-image img {
    height: 220px;
  }
  
  .timeline-content-enhanced {
    max-width: none;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .profile-card, .story-card, .strength-card {
    padding: 1.5rem;
  }
  
  .feature-card-enhanced {
    padding: 2rem 1.5rem;
  }
  
  /* MOBILE LANDSCAPE MENU IMAGES - NATURAL HEIGHTS WITH MINIMUM */
  .menu-img {
    min-height: 140px; /* Reduced minimum for mobile but still natural */
  }
  
  .menu-img-large {
    min-height: 180px; /* Reduced minimum for mobile but still natural */
  }
  
  .gift-image {
    height: 220px;
  }
  
  .social-img {
    height: 80px;
  }
  
  .coffee-bean {
    width: 50px;
    height: 50px;
  }
  
  .contact-info {
    font-size: 1rem;
  }
  
  .about p {
    font-size: 1rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .appointment-content {
    padding: 1.5rem;
  }
  
  .navbar-brand img {
    height: 80px !important;
  }
  
  .my-6 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Enhanced mobile card styling for better food visibility */
  .menu-item .card-img-top,
  .gift-card .gift-image img {
    object-fit: cover;
    object-position: center;
  }
  
  /* Better spacing for mobile cards */
  .menu-item,
  .gift-card {
    margin-bottom: 1.5rem;
  }
  
  /* Improved card body padding for mobile */
  .menu-item .card-body,
  .gift-info {
    padding: 1.5rem;
  }
  
  /* Better text sizing for mobile readability */
  .menu-item .card-title,
  .gift-info h4 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  
  .menu-item .card-text,
  .gift-info p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  /* Mobile modal adjustments */
  .close-modal {
    top: 15px;
    right: 15px;
    font-size: 35px;
    width: 50px;
    height: 50px;
  }
  
  .modal-nav {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .modal-nav.prev {
    left: 15px;
  }
  
  .modal-nav.next {
    right: 15px;
  }
  
  .modal-image-info {
    bottom: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .menu-item .card-img-top::after {
    content: '🔍 Tap to enlarge';
    font-size: 11px;
    padding: 6px 10px;
  }
  
  /* Mobile contact section improvements */
  .company-header {
    padding: 1rem;
  }
  
  .contact-icon {
    width: 35px;
    height: 35px;
  }
  
  .contact-icon i {
    font-size: 1rem;
  }
  
  .contact-icon-custom {
    width: 35px;
    height: 35px;
    padding: 6px;
  }
  
  .contact-details {
    font-size: 0.95rem;
  }
  
  /* Mobile social card adjustments */
  .social-card {
    padding: 1.25rem;
  }
  
  .social-card-header {
    margin-bottom: 1.25rem;
  }
  
  .social-card-header i {
    font-size: 2rem;
    margin-right: 0.75rem;
  }
  
  .social-info h4 {
    font-size: 1.2rem;
  }
  
  .social-info p {
    font-size: 0.9rem;
  }
  
  .social-grid {
    gap: 0.5rem;
  }
  
  /* Standardized gallery images for mobile landscape */
  .gallery-img-square {
    height: 90px;
  }
}

/* Extra small screens (mobile portrait) */
@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
    min-height: 450px;
    padding-top: 5rem;
  }
  
  .hero-section2, .hero-section3, .hero-section4, .hero-section5 {
    height: 60vh;
    min-height: 450px;
    padding-top: 5rem;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-section h2 {
    font-size: 2.5rem;
  }
  
  .feature-title {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .display-4 {
    font-size: 1.8rem;
  }
  
  .about p {
    font-size: 0.95rem;
  }
  
  .timeline-content-enhanced {
    padding: 1.2rem;
  }

  .team-image img {
    height: 200px;
  }
  
  .strength-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .profile-card, .story-card, .strength-card {
    padding: 1.2rem;
  }
  
  .company-name {
    font-size: 1.4rem;
  }
  
  /* MOBILE PORTRAIT MENU IMAGES - NATURAL HEIGHTS WITH SMALLER MINIMUM */
  .menu-img {
    min-height: 120px; /* Smaller minimum for portrait mobile but still natural */
  }
  
  .menu-img-large {
    min-height: 160px; /* Smaller minimum for portrait mobile but still natural */
  }
  
  .gift-image {
    height: 200px;
  }
  
  .gift-info {
    padding: 1rem;
  }
  
  .gift-info h4 {
    font-size: 1.1rem;
  }
  
  .gift-info p {
    font-size: 0.85rem;
  }
  
  .card-title {
    font-size: 1.15rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
  
  .social-img {
    height: 70px;
  }
  
  .coffee-bean {
    width: 45px;
    height: 45px;
  }
  
  .contact-info {
    font-size: 0.95rem;
  }
  
  .navbar-brand img {
    height: 70px !important;
  }
  
  .appointment-content {
    padding: 1rem;
  }
  
  .appointment-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-learn-more {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .feature-card-enhanced {
    padding: 1.5rem 1rem;
  }
  
  .icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .icon-wrapper i {
    font-size: 1.5rem;
  }
  
  .solution-card {
    padding: 1.5rem;
  }
  
  .solution-icon {
    width: 60px;
    height: 60px;
  }
  
  .solution-icon i {
    font-size: 1.5rem;
  }
  
  .team-info {
    padding: 1rem;
  }
  
  .team-info h4 {
    font-size: 1rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .row > * {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Extra small modal adjustments */
  .close-modal {
    top: 10px;
    right: 10px;
    font-size: 30px;
    width: 45px;
    height: 45px;
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .modal-nav.prev {
    left: 10px;
  }
  
  .modal-nav.next {
    right: 10px;
  }
  
  .modal-image-info {
    bottom: 15px;
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  
  .modal-image-info h5 {
    font-size: 1rem;
  }
  
  /* Extra small contact section */
  .company-header {
    padding: 0.75rem;
  }
  
  .company-logo img {
    width: 50px;
    height: 50px;
  }
  
  .contact-icon {
    width: 30px;
    height: 30px;
  }
  
  .contact-icon i {
    font-size: 0.9rem;
  }
  
  .contact-icon-custom {
    width: 30px;
    height: 30px;
    padding: 5px;
  }
  
  .contact-details {
    font-size: 0.9rem;
  }
  
  .company-details h5 {
    font-size: 1rem;
  }
  
  .company-details p {
    font-size: 0.8rem;
  }
  
  /* Extra small social card adjustments */
  .social-card {
    padding: 1rem;
  }
  
  .social-card-header {
    margin-bottom: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .social-card-header i {
    font-size: 2rem;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .social-info h4 {
    font-size: 1.1rem;
  }
  
  .social-info p {
    font-size: 0.85rem;
  }
  
  .social-grid {
    gap: 0.4rem;
  }
  
  /* Standardized gallery images for mobile portrait */
  .gallery-img-square {
    height: 80px;
  }
}

/* Ultra small screens */
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section h2 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .navbar-brand img {
    height: 60px !important;
  }
  
  /* ULTRA SMALL SCREEN MENU IMAGES - NATURAL HEIGHTS WITH VERY SMALL MINIMUM */
  .menu-img {
    min-height: 100px; /* Very small minimum for ultra-small screens but still natural */
  }
  
  .menu-img-large {
    min-height: 140px; /* Very small minimum for ultra-small screens but still natural */
  }
  
  .gift-image {
    height: 180px;
  }
  
  .team-image img {
    height: 180px;
  }
  
  /* Ensure food images are properly sized and visible on ultra-small screens */
  .menu-item .card-img-top {
    object-fit: cover;
    object-position: center;
  }
  
  /* Compact but readable text for ultra-small screens */
  .card-title,
  .gift-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .card-text,
  .gift-info p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  /* Tighter spacing for ultra-small screens */
  .gift-info,
  .card-body {
    padding: 1rem;
  }
  
  /* Ultra small contact section */
  .company-header {
    padding: 0.5rem;
  }
  
  .company-logo img {
    width: 45px;
    height: 45px;
  }
  
  .contact-icon {
    width: 28px;
    height: 28px;
  }
  
  .contact-icon i {
    font-size: 0.8rem;
  }
  
  .contact-icon-custom {
    width: 28px;
    height: 28px;
    padding: 4px;
  }
  
  .contact-details {
    font-size: 0.85rem;
  }
  
  .company-details h5 {
    font-size: 0.95rem;
  }
  
  .company-details p {
    font-size: 0.75rem;
  }
  
  /* Ultra small social card adjustments */
  .social-card {
    padding: 0.75rem;
  }
  
  .social-card-header i {
    font-size: 1.8rem;
  }
  
  .social-info h4 {
    font-size: 1rem;
  }
  
  .social-info p {
    font-size: 0.8rem;
  }
  
  .social-grid {
    gap: 0.3rem;
  }
  
  /* Standardized gallery images for ultra small screens */
  .gallery-img-square {
    height: 70px;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section, .hero-section2, .hero-section3, .hero-section4, .hero-section5 {
    height: 100vh;
    min-height: 400px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section h2 {
    font-size: 2.5rem;
  }
}

/* ADDITIONAL MOBILE-SPECIFIC IMPROVEMENTS FOR KAFE 75 FOOD IMAGES */
@media (max-width: 768px) {
  /* Ensure all menu images have consistent, natural visibility */
  .menu-category .menu-item .card-img-top {
    height: auto !important;
    min-height: 140px !important;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
  
  /* Special handling for large menu images (croffle, drinks) */
  .menu-category .menu-img-large {
    height: auto !important;
    min-height: 180px !important;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
  
  /* Ensure cards maintain proper aspect ratio */
  .menu-item .card {
    border-radius: 20px;
    overflow: hidden;
  }
  
  /* Better mobile card spacing */
  .menu-category .row {
    margin-bottom: 2rem;
  }
  
  /* Improved mobile text readability */
  .menu-item .card-body {
    padding: 1.5rem;
    text-align: center;
  }
  
  .menu-item .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
  }
  
  .menu-item .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.4;
  }
}

/* SPECIFIC FIXES FOR VERY SMALL MOBILE SCREENS */
@media (max-width: 480px) {
  /* Ensure minimum viable image sizes for natural food visibility */
  .menu-category .menu-item .card-img-top {
    height: auto !important;
    min-height: 120px;
    object-fit: cover;
    object-position: center;
  }
  
  .menu-category .menu-img-large {
    height: auto !important;
    min-height: 160px;
    object-fit: cover;
    object-position: center;
  }
  
  /* Compact but readable text for very small screens */
  .menu-item .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .menu-item .card-text {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  /* Optimized card padding for small screens */
  .menu-item .card-body {
    padding: 1.25rem;
  }
}