/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-color: #01796f;
    --secondary-color: #1A1A2E;
    --tertiary-color: #808080;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --transition: all 0.3s ease;
}



* {
    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: 65vh;
  min-height: 300px;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("../images/tema.jpg");
  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);
    }
}


/* ==================== SERVICE DETAIL SECTION ==================== */
.service-detail-section {
    padding: 100px 0;
    background-color: var(--white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
}

/* ==================== SIDEBAR ==================== */
.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* Services List */
.services-list {
    list-style: none;
 
}

.services-list li {
    margin-bottom: 15px;

}

.services-list li:last-child {
    margin-bottom: 0;
}

.services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: 5px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
       text-decoration: none;
}

.services-list a:hover,
.services-list li.active a {
    background-color: var(--primary-color);
    color: var(--white);
    padding-left: 25px;
}

.services-list a i {
    font-size: 12px;
}

/* Contact Info Widget */
.contact-widget {
    background-color: var(--secondary-color);
    color: var(--white);
}

.contact-widget .widget-title {
    color: var(--white);
    border-bottom-color: var(--primary-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.contact-info-item span,
.contact-info-item a {
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
       text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

/* Brochures Widget */
.brochures-widget {
    background-color: var(--primary-color);
    color: var(--white);
}

.brochures-widget .widget-title {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.brochure-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brochure-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--white);
    transition: var(--transition);
       text-decoration: none;
}

.brochure-link:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.brochure-link span {
    flex: 1;
}

.brochure-link i:first-child {
    font-size: 24px;
}

.brochure-link i:last-child {
    font-size: 16px;
}

/* ==================== SERVICE CONTENT ==================== */
.service-content {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-featured-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-featured-image img {
    width: 100%;
}

.service-main-title {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 16px;
}

/* Why Choose Section */
.why-choose-section {
    margin: 50px 0;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.section-subtitle {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Service Gallery */
.service-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==================== BRANDS SECTION ==================== */
.brands-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.brands-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
}

.brands-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brands-slider {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.brand-item {
    flex: 0 0 auto;
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.brand-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 0;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    margin-left: 20px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Appointment Form */
.appointment-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 50px;
    border-radius: 15px;
}

.form-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.appointment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

/* ==================== 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;
}


/* ==================== 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: #e63939;
    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 ==================== */

@media (max-width: 576px) {
  .navbar-logo {
    height: 38px;
  }
}



/* Tablet Devices */
@media (max-width: 1024px) {
    .page-title {
        font-size: 38px;
    }

    .service-detail-grid {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }

    .sidebar-widget {
        padding: 25px;
    }

    .service-main-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }

    
    /* Page Header */
    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 32px;
    }

    /* Service Detail Grid */
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
        order: 2;
    }

    .service-content {
        order: 1;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Service Gallery */
    .service-gallery {
        grid-template-columns: 1fr;
    }

    
    /* Brands */
    .brands-slider {
        gap: 30px;
    }

    .brand-item img {
        max-width: 100px;
    }

    /* FAQ */
    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }

    /* Appointment Form */
    .appointment-form-wrapper {
        padding: 30px 20px;
    }

    .appointment-form .form-row {
        grid-template-columns: 1fr;
    }

    /* 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;
    }

    .service-main-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 22px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .why-choose-section {
        padding: 30px 20px;
    }
}
