/* About page scoped styles */

/* Remove top and bottom spacing */
.about-page {
  margin: 0;
  padding: 0;
}

/* Remove all list bullets in about page */
.about-page ul {
  list-style: none !important;
}

.about-page ul li {
  list-style: none !important;
}

.about-page ul li::before {
  display: none !important;
}

.about-page ul li::after {
  display: none !important;
}

/* Remove margins from all sections */
.about-page section {
  margin: 0;
}

/* Remove top margin from first section */
.about-page .page-header {
  background: 
    linear-gradient(135deg, rgba(44, 24, 16, 0.8), rgba(74, 55, 40, 0.7)),
    url('f4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #faf8f5;
  margin: 0;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Page header text styling */
.about-page .page-header h1 {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
}

.about-page .page-header p {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.6;
}

/* Section backgrounds using homepage palette */
.about-page .about-intro {
  padding: 80px 0;
  background: 
    linear-gradient(135deg, rgba(44, 24, 16, 0.7), rgba(74, 55, 40, 0.6)),
    url('coffe-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

/* Intro as text+image layout similar to products content-section */
.about-page .about-intro .intro-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.about-page .about-intro .intro-text h2 {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.about-page .about-intro .intro-text p {
  color: rgba(255,255,255,0.95);
  line-height: 1.9;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.about-page .about-intro .intro-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Stats as cards style */
.about-page .about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.about-page .about-stats .stat {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(225,191,153,0.4);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.about-page .about-stats .stat i {
  color: #EA5433;
  font-size: 28px;
  margin-bottom: 8px;
}

.about-page .about-stats .stat h3 {
  color: #2d1810;
  font-weight: 800;
  margin-bottom: 6px;
}

.about-page .about-stats .stat p {
  color: #4a3728;
  font-size: 0.95rem;
}

/* Vision & Mission section */
.about-page .vision-mission {
  padding: 80px 0;
  background: #faf8f5;
}

.about-page .vision-mission .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-page .vision-mission .section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-brown);
  margin-bottom: 12px;
}

.about-page .vision-mission .section-header p {
  color: var(--text-brown);
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-page .vision-mission .vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-page .vision-mission .vm-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 191, 153, 0.3);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-page .vision-mission .vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.about-page .vision-mission .vm-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(234, 84, 51, 0.3);
}

.about-page .vision-mission .vm-card h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-page .vision-mission .vm-card p {
  color: var(--text-brown);
  line-height: 1.6;
}

/* Core Values section */
.about-page .core-values {
  padding: 80px 0;
  background: 
    linear-gradient(135deg, rgba(44, 24, 16, 0.85), rgba(74, 55, 40, 0.8)),
    url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
}

.about-page .core-values .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-page .core-values .section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 12px;
}

.about-page .core-values .section-header p {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.about-page .core-values .value-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 191, 153, 0.3);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-page .core-values .value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.about-page .core-values .value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(234, 84, 51, 0.3);
}

.about-page .core-values .value-card h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-page .core-values .value-card p {
  color: var(--text-brown);
  line-height: 1.6;
}

/* Achievements section */
.about-page .achievements {
  padding: 80px 0;
  background: #faf8f5;
}

.about-page .achievements .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-page .achievements .section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-brown);
  margin-bottom: 12px;
}

.about-page .achievements .section-header p {
  color: var(--text-brown);
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-page .achievements .achievements-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.about-page .achievements .achievements-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.about-page .achievements .timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.about-page .achievements .timeline-item:nth-child(odd) {
  flex-direction: row;
}

.about-page .achievements .timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.about-page .achievements .timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(234, 84, 51, 0.3);
  z-index: 2;
  flex-shrink: 0;
}

.about-page .achievements .timeline-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 191, 153, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin: 0 20px;
  flex: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-page .achievements .timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.about-page .achievements .timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.about-page .achievements .timeline-content p {
  color: var(--text-brown);
  margin-bottom: 8px;
  line-height: 1.6;
}

.about-page .achievements .timeline-year {
  color: var(--accent-brown);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Gallery section */
.about-page .gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2d1810, #4a3728);
  color: #fff;
}

.about-page .gallery-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-page .gallery-section .section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 12px;
}

.about-page .gallery-section .section-header p {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-page .gallery-section .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-page .gallery-section .gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 1/1;
}

.about-page .gallery-section .gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

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

.about-page .gallery-section .gallery-item:hover img {
  transform: scale(1.1);
}

.about-page .gallery-section .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(74, 55, 40, 0.8));
  color: #ffffff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.about-page .gallery-section .gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.about-page .gallery-section .gallery-overlay h3 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.about-page .gallery-section .gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact section */
.about-page .contact-section {
  padding: 80px 0;
  background: #faf8f5;
}

.about-page .contact-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-page .contact-section .section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-brown);
  margin-bottom: 12px;
}

.about-page .contact-section .section-header p {
  color: var(--text-brown);
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.about-page .contact-section .contact-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 191, 153, 0.3);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-page .contact-section .contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.about-page .contact-section .contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(234, 84, 51, 0.3);
}

.about-page .contact-section .contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-page .contact-section .contact-card p {
  color: var(--text-brown);
  line-height: 1.6;
}

/* CTA section */
.about-page .cta-section { 
  text-align: center; 
  padding: 80px 0 20px 0; /* Further reduced bottom padding */
  background: linear-gradient(135deg, var(--primary-color), var(--accent-brown)); 
  margin-bottom: 0;
}
.about-page .cta-section .cta-content h2 { color: #ffffff; margin-bottom: 8px; }
.about-page .cta-section .cta-content p { color: rgba(255,255,255,0.95); margin-bottom: 14px; }

/* Stats section with coffee beans pattern */
.about-page .about-stats {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 220, 0.8)),
    url('coffee-beans.png');
  background-size: 200px, 100px;
  background-repeat: repeat, repeat;
  background-position: center, center;
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
  border: 1px solid rgba(225, 191, 153, 0.3);
}

.about-page .about-stats .stat {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 191, 153, 0.4);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-page .about-stats .stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.about-page .about-stats .stat i {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 12px;
}

.about-page .about-stats .stat h3 {
  color: var(--accent-brown);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-page .about-stats .stat p {
  color: var(--text-brown);
  font-weight: 500;
}

/* CTA button enhancement */
.about-page .cta-section .cta-button {
  background: linear-gradient(135deg, var(--secondary-color), var(--gold));
  color: var(--dark-brown);
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin-top: 16px;
}

.about-page .cta-section .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--gold), var(--secondary-color));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-page .about-stats {
    background-size: 150px, 80px;
    padding: 24px;
  }
  
  .about-page .core-values {
    background-attachment: scroll;
  }
  
  .about-page .achievements .achievements-timeline::before {
    left: 30px;
  }
  
  .about-page .achievements .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
  }
  
  .about-page .achievements .timeline-icon {
    position: absolute;
    left: 0;
  }
  
  .about-page .achievements .timeline-content {
    margin: 0;
    width: 100%;
  }
}

/* Remove any default body margins */
.about-page body {
  margin: 0;
  padding: 0;
}

/* Ensure footer has no spacing */
.about-page #footer {
  margin-top: 0;
  padding-top: 0;
}

/* Remove any container margins */
.about-page .container {
  margin-bottom: 0;
}

/* Remove any last element margins */
.about-page .cta-section .cta-content {
  margin-bottom: 0;
}

/* Remove any default list styling globally */
ul {
  list-style: none !important;
}

ul li {
  list-style: none !important;
}

ul li::before {
  display: none !important;
}

ul li::after {
  display: none !important;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .about-page .about-intro .intro-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-page .about-intro .intro-image img { height: 300px; }
}

/* Office Photos Section */
.about-page .office-photos {
  padding: 80px 0;
  background: #faf8f5;
}

.about-page .office-photos .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-page .office-photos .section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-brown);
  margin-bottom: 12px;
}

.about-page .office-photos .section-header p {
  color: var(--text-brown);
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-page .office-photos .office-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.about-page .office-photos .office-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 4/3;
}

.about-page .office-photos .office-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.about-page .office-photos .office-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-page .office-photos .office-photo:hover img {
  transform: scale(1.05);
}

.about-page .office-photos .photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(74, 55, 40, 0.8));
  color: #ffffff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.about-page .office-photos .office-photo:hover .photo-overlay {
  transform: translateY(0);
}

.about-page .office-photos .photo-overlay h3 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.about-page .office-photos .photo-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive adjustments for office photos */
@media (max-width: 768px) {
  .about-page .office-photos .office-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .about-page .office-photos .photo-overlay {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.8), rgba(74, 55, 40, 0.7));
  }
  
  .about-page .office-photos .photo-overlay h3 {
    font-size: 1.1rem;
  }
  
  .about-page .office-photos .photo-overlay p {
    font-size: 0.9rem;
  }
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
  .about-page .gallery-section .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .about-page .gallery-section .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.8), rgba(74, 55, 40, 0.7));
  }
  
  .about-page .gallery-section .gallery-overlay h3 {
    font-size: 1.1rem;
  }
  
  .about-page .gallery-section .gallery-overlay p {
    font-size: 0.9rem;
  }
} 