/* ==================== CSS VARIABLES ==================== */
:root {
     --primary-color: #01796f;
    --secondary-color: #1A1A2E;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --transition: all 0.3s ease;
}

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Top Bar */
.topbar {
  background-color: #1f2933; /* dark neutral */
  color: #ffffff;
  font-size: 0.9rem;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.navbar-logo {
  height: 45px;       /* controls logo size */
  width: auto;
  max-width: 160px;   /* prevents overflow */
}


.hero-section {
  height: 45vh;
  min-height: 300px;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("../images/slider3.webp");
  background-size: cover;
  background-position: center;
}

.hero-section h1 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
  padding-top: 12%;
}


/* ==================== PAGE HEADER / BREADCRUMB ==================== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.5));
    z-index: 1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    animation: fadeInUp 0.8s ease-out;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== BLOG POST SECTION ==================== */
.blog-post-section {
    padding: 100px 0;
    background-color: var(--white);
}

.blog-post {
    max-width: 900px;
    margin: 0 auto;
}

/* Featured Image */
.post-featured-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
}

/* Post Meta */
.post-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.post-author,
.post-date,
.post-comments {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-author img {
    width: 60px;
    height: 80px;
    border-radius: 40%;
    object-fit: cover;
}

.author-info,
.post-date,
.post-comments {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.author-name,
.post-date h5,
.post-comments h5 {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 0;
}

/* Post Title */
.post-title {
    font-size: 36px;
    line-height: 1.3;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* Post Content */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content p {
    margin-bottom: 25px;
}

.post-content h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
}

.post-content h4 {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

/* Blockquote */
.post-quote {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 30px 40px;
    margin: 40px 0;
    font-style: italic;
    position: relative;
}

.post-quote p {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.8;
}

.post-quote footer {
    color: var(--text-light);
    font-size: 14px;
}

.post-quote footer strong {
    color: var(--secondary-color);
}

/* Post Gallery */
.post-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Single Image */
.post-single-image {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
}

/* Post Lists */
.post-list {
    margin: 20px 0;
    padding-left: 0;
}

.post-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.post-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Post Footer */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags,
.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-tags h4,
.post-share h4 {
    font-size: 16px;
    color: var(--secondary-color);
}

.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 20px;
    background-color: var(--light-gray);
    border-radius: 5px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.pinterest {
    background-color: #bd081c;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 36px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #0f0f1e;
}






/* ===========PAGINATION */
  .pagination {
            display: flex;
              align-items: center;
          justify-content: center;
            gap: 8px;
            list-style: none;
        }

  
        .pagination :hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: #0066cc;
        }


        .pagination li {
            display: inline-block;
        }

        .pagination a {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 12px;
            text-decoration: none;
            color: #333;
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .pagination a:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: #ffffff;
        }

         .pagination-label {
            margin-top: 6px;
            font-size: 12px;
            color: #666;
            font-weight: 500;
        }

        .pagination a.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color)  ;
            pointer-events: none;
        }

        .pagination a.prev,
        .pagination a.next {
            font-weight: 600;
        }







/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    padding: 80px 0 30px;
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.opening-hours {
    margin-bottom: 25px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: var(--primary-color);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: #000000;
    transform: translateY(-5px);
}

.scroll-to-top.show {
    display: flex;
}






   /* WhatsApp Widget Styles */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button {
  background: #25d366;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  position: relative;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
  fill: white;
  flex-shrink: 0;
}

.button-text {
  color: white;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.notification-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  background: #ff3333;
  border-radius: 50%;
  border: 2px solid white;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 51, 51, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3),
      0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}

.whatsapp-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom right;
}

.whatsapp-popup.active {
  transform: scale(1);
  opacity: 1;
}

.popup-header {
  background: #25d366;
  color: white;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.popup-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.popup-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.popup-info p {
  font-size: 13px;
  opacity: 0.9;
}

.popup-body {
  padding: 20px;
}

.popup-message {
  background: #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.popup-actions {
  display: flex;
  gap: 10px;
}

.popup-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.popup-btn.primary {
  background: #25d366;
  color: white;
}

.popup-btn.primary:hover {
  background: #22c55e;
  transform: translateY(-1px);
}

.popup-btn.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.popup-btn.secondary:hover {
  background: #e5e7eb;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}





/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet Devices */
@media (max-width: 1024px) {
    .page-title {
        font-size: 38px;
    }

    .post-title {
        font-size: 32px;
    }

    .post-meta {
        gap: 20px;
    }
}

@media (max-width: 576px) {
  .topbar span {
    display: block;
    margin-bottom: 4px;
  }
}


@media (max-width: 576px) {
  .navbar-logo {
    height: 38px;
  }
}


/* Mobile Devices */
@media (max-width: 768px) {
    /* Top Bar */
    

    /* Page Header */
    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 32px;
    }

    /* Post Meta */
    .post-meta {
        grid-template-columns: 1fr;
    }

    /* Post Title */
    .post-title {
        font-size: 28px;
    }

    /* Post Content */
    .post-content h3 {
        font-size: 24px;
    }

    .post-content h4 {
        font-size: 20px;
    }

    /* Gallery */
    .post-gallery {
        grid-template-columns: 1fr;
    }

    /* Post Footer */
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Comments */
      .pagination {
          position: center;
         align-items: center;
          justify-content: center;
          gap: 8px;
          list-style: none;
        }

    /* Newsletter */
    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-title {
        font-size: 28px;
    }

    .post-title {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .comment.reply {
        margin-left: 20px;
    }
}