/* pages.css - For Plans and Branches pages */

/* ===== PLANS PAGE STYLES ===== */
.plans-hero {
  background:
    linear-gradient(rgba(5, 105, 79, 0.85), rgba(5, 105, 79, 0.9)),
    url("Images/coffinA.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0 50px;
  text-align: center;
}

.plans-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.plans-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.comparison-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.comparison-table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.table-header {
  background: linear-gradient(135deg, #05694f 0%, #043928 100%);
  color: white;
  padding: 25px;
  text-align: center;
}

.table-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  border-top: 1px solid #e2e8f0;
}

.table-col {
  padding: 20px;
  border-right: 1px solid #e2e8f0;
}

.table-col:last-child {
  border-right: none;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  border-top: 1px solid #e2e8f0;
  align-items: center;
}

.feature-name {
  padding: 20px;
  background: #f8f9fa;
  font-weight: 600;
  border-right: 1px solid #e2e8f0;
}

.feature-check {
  padding: 20px;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}

.feature-check:last-child {
  border-right: none;
}

.feature-check i {
  color: #38a169;
  font-size: 1.2rem;
}

.feature-check .fa-times {
  color: #e53e3e;
}

.price-tag {
  color: #e53e3e;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 15px 0;
}

.recommended-badge {
  background: #f0b824;
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
}

.plan-features-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features-list i {
  color: #38a169;
  font-size: 0.9rem;
}

.plan-card-highlight {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #f0b824;
  transform: scale(1.05);
  position: relative;
  overflow: hidden;
}

.plan-card-highlight::before {
  content: "POPULAR";
  position: absolute;
  top: 10px;
  right: -30px;
  background: #f0b824;
  color: #000;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===== BRANCHES PAGE STYLES ===== */
.branches-hero {
  background:
    linear-gradient(rgba(5, 105, 79, 0.85), rgba(5, 105, 79, 0.9)),
    url("Images/HeadOffice.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0 50px;
  text-align: center;
}

.branches-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.branches-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.branch-detail-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.branch-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.branch-detail-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.branch-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.branch-detail-card h3 {
  color: #05694f;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0b824;
}

.branch-contact-info {
  margin: 20px 0;
}

.branch-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.branch-contact-icon {
  color: #05694f;
  font-size: 1.1rem;
  margin-top: 3px;
}

.services-section {
  padding: 60px 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: #05694f;
  color: white;
  transform: translateY(-5px);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover i {
  color: white;
}

.service-icon {
  font-size: 2.5rem;
  color: #05694f;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: #2c3e50;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .table-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .table-col,
  .feature-name,
  .feature-check {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .plan-card-highlight {
    transform: none;
  }

  .plan-card-highlight::before {
    right: -25px;
    font-size: 0.7rem;
  }

  .plans-hero h1,
  .branches-hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .plans-hero p,
  .branches-hero p {
    font-size: 1rem;
  }
}

/* Featured Sections for Homepage */
.featured-plans-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.featured-plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.featured-plan-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.featured-plan-card.highlighted {
  background: linear-gradient(135deg, #05694f 0%, #043928 100%);
  color: white;
  transform: scale(1.05);
}

.featured-plan-card.highlighted .featured-plan-icon,
.featured-plan-card.highlighted h3,
.featured-plan-card.highlighted p {
  color: white;
}

.featured-plan-icon {
  font-size: 3rem;
  color: #05694f;
  margin-bottom: 20px;
}

.featured-plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3572a;
  margin: 15px 0;
}

.featured-plan-card.highlighted .featured-plan-price {
  color: #f0b824;
}

.featured-branches-section {
  background: white;
  padding: 60px 0;
}

.featured-branches-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.featured-branch-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid #05694f;
}

.featured-branch-card h3 {
  color: #05694f;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-branch-card p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-branch-card i {
  color: #05694f;
  width: 20px;
}

/* ===== GALLERY PAGE STYLES ===== */
.gallery-hero {
  background:
    linear-gradient(rgba(5, 105, 79, 0.85), rgba(5, 105, 79, 0.9)),
    url("Images/HeadOffice.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0 60px;
  text-align: center;
}

.gallery-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

.gallery-nav-section {
  background: #f8f9fa;
  padding: 20px 0;
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-category-nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-category-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: white;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-category-link:hover {
  background: #05694f;
  color: white;
  transform: translateY(-2px);
}

.gallery-category-link.active {
  background: #f0b824;
  color: #05694f;
  border-color: #05694f;
}

.gallery-category-link i {
  font-size: 1.2rem;
}

.gallery-category-section {
  padding: 80px 0;
  display: none;
}

.gallery-category-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-item-info {
  padding: 20px;
}

.gallery-item-info h3 {
  color: #05694f;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.gallery-item-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery-info-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.gallery-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-info-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.gallery-info-icon {
  font-size: 2.5rem;
  color: #05694f;
  margin-bottom: 20px;
}

.gallery-info-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.gallery-info-card p {
  color: #666;
  line-height: 1.6;
}

.gallery-cta-section {
  background: linear-gradient(135deg, #05694f 0%, #043928 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.gallery-cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.gallery-cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 2.2rem;
  }

  .gallery-hero p {
    font-size: 1.1rem;
  }

  .gallery-category-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .gallery-category-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

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

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

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Featured Gallery Preview */
.featured-gallery-section {
  background: white;
  padding: 60px 0;
}

.featured-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-preview-item {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-preview-item:hover {
  transform: translateY(-5px);
}

.gallery-preview-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-preview-item h3 {
  color: #05694f;
  margin: 20px 0 15px;
  font-size: 1.3rem;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #05694f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #05694f;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-details p {
  color: #666;
  line-height: 1.5;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Text Center Utility */
.text-center {
  text-align: center;
}

/* Hero Button Fix */
.hero-buttons .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
  }
}
.cta-content {
    text-align: center;
    padding: 40px 0;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: white;
    color: #05694f;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}
