/* 
===========================================
DERINLABS CONSTRUCTION & PAINTING - STYLES
===========================================
Modern, colorful website for plastering, painting & construction business

COLOR SCHEME (Edit these to change site colors):
- Primary: #FF6B35 (Coral Orange)
- Accent: #0D6EFD (Bright Blue)
- Neutral: #F6F7FB (Light Gray)
- Dark: #2C3E50
- White: #FFFFFF

FONTS:
- Headings: Poppins
- Body: Open Sans
===========================================
*/

/* ============ RESET & BASE STYLES ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* COLOR VARIABLES - Change these to customize your color scheme */
  --primary-color: #ff6b35;
  --accent-color: #0d6efd;
  --neutral-bg: #f6f7fb;
  --dark-text: #2c3e50;
  --light-text: #6c757d;
  --white: #ffffff;

  /* SPACING */
  --section-padding: 80px 0;
  --container-width: 1200px;

  /* SHADOWS */
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

  /* TRANSITIONS */
  --smooth-transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============ NAVIGATION BAR STYLES ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Poppins", sans-serif;
  transition: var(--smooth-transition);
}

.nav-logo i {
  font-size: 1.8rem;
}

.nav-logo:hover {
  color: var(--accent-color);
  transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--dark-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 0;
  transition: var(--smooth-transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* CTA Button in Nav */
.nav-link-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--white) !important;
  padding: 10px 25px !important;
  border-radius: 50px;
  transition: var(--smooth-transition);
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--smooth-transition);
  border-radius: 2px;
}

/* Mobile Menu Active State */
.nav-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;

  /* Background Image with Parallax Effect - REPLACE WITH YOUR IMAGE */
  background-image: linear-gradient(
      135deg,
      rgba(255, 107, 53, 0.85),
      rgba(13, 110, 253, 0.85)
    ),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates parallax effect */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.7),
    rgba(13, 110, 253, 0.7)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* CTA Button with Animation */
.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 18px 45px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--smooth-transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background: var(--primary-color);
  color: var(--white);
}

/* Fade-in Animation for Hero Content */
.fade-in {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ SECTION STYLES ============ */
section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--dark-text);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--light-text);
  font-size: 1.1rem;
}

/* ============ ABOUT / WHY CHOOSE US SECTION ============ */
.about-section {
  background: var(--neutral-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--smooth-transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  transition: var(--smooth-transition);
}

.feature-card:hover .feature-icon {
  transform: rotate(360deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.feature-card p {
  color: var(--light-text);
  line-height: 1.7;
}

/* ============ SERVICES SECTION ============ */
.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--neutral-bg);
  padding: 40px 25px;
  border-radius: 15px;
  text-align: center;
  transition: var(--smooth-transition);
  border: 3px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  transition: var(--smooth-transition);
}

.service-card:hover .service-icon {
  color: var(--primary-color);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.service-card p {
  color: var(--light-text);
  line-height: 1.7;
}

/* ============ PORTFOLIO / GALLERY SECTION ============ */
.portfolio-section {
  background: var(--neutral-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 250px;
  box-shadow: var(--card-shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.9),
    rgba(13, 110, 253, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay i {
  font-size: 2.5rem;
  color: var(--white);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============ LIGHTBOX MODAL ============ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

#lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 5px;
  transition: var(--smooth-transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.lightbox-close {
  top: 20px;
  right: 30px;
}

.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

/* ============ FAQ SECTION ============ */
.faq-section {
  background: var(--white);
}

.faq-container {
  max-width: 900px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--neutral-bg);
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 25px 30px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--smooth-transition);
}

.faq-question:hover {
  background: var(--neutral-bg);
  color: var(--primary-color);
}

.faq-question i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px 30px;
}

.faq-answer p {
  color: var(--light-text);
  line-height: 1.8;
}

/* ============ TESTIMONIALS SECTION ============ */
.testimonials-section {
  background: var(--neutral-bg);
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 50px auto 40px;
  min-height: 300px;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 40px;
  animation: fadeIn 0.6s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-content {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.2rem;
  color: var(--dark-text);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--light-text);
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-text);
  border: none;
  cursor: pointer;
  transition: var(--smooth-transition);
}

.indicator.active,
.indicator:hover {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* ============ CONTACT SECTION ============ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 50px;
}

.contact-info h3,
.contact-form-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.contact-item a {
  color: var(--accent-color);
  transition: var(--smooth-transition);
}

.contact-item a:hover {
  color: var(--primary-color);
}

.contact-item p {
  color: var(--light-text);
  margin: 3px 0;
}

/* Contact Form */
.contact-form {
  background: var(--neutral-bg);
  padding: 40px;
  border-radius: 15px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  background: var(--white);
  transition: var(--smooth-transition);
  border: 1px solid lightgrey;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(13, 110, 253, 0.2);
}

.submit-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--smooth-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark-text);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-social h4 {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--smooth-transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE DESIGN ============ */

/* Tablets and Below */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 20px;
    gap: 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 1.1rem;
  }

  .nav-link-cta {
    display: inline-block;
    width: auto;
    text-align: center;
    margin-top: 10px;
  }

  .hero {
    background-attachment: scroll; /* Disable parallax on mobile for performance */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-prev,
  .lightbox-next {
    padding: 8px 15px;
    font-size: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --section-padding: 50px 0;
  }

  .nav-container {
    height: 60px;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .nav-logo i {
    font-size: 1.5rem;
  }

  .nav-menu {
    top: 60px;
    height: calc(100vh - 60px);
  }

  .hero {
    min-height: 500px;
    margin-top: 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 25px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    padding: 5px 15px;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}

/* ============================================
   WHATSAPP SABİT BUTONU
   Sağ alt köşede sabit, animasyonlu WhatsApp butonu
   ============================================ */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: pulse 2s infinite;
}

/* Hover Efekti */
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* İkon Stilleri */
.whatsapp-float i {
  margin: 0;
  color: #fff;
  line-height: 60px;
}

/* Tooltip (İpucu) */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: #fff;
  color: #333;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Tooltip Ok İşareti */
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* Hover'da Tooltip Göster */
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

/* Pulse Animasyonu */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Sallanma Animasyonu (Alternatif) */
@keyframes swing {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: rotate(10deg);
  }
  20%,
  40%,
  60%,
  80% {
    transform: rotate(-10deg);
  }
}

/* Mobil Cihazlar için Ayarlamalar */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }

  .whatsapp-float i {
    line-height: 55px;
  }

  /* Mobilde tooltip'i gösterme (dokunma cihazlarda çalışmaz) */
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 24px;
  }

  .whatsapp-float i {
    line-height: 50px;
  }
}

/* Sayfaya girildiğinde yukarıdan aşağı animasyonu */
@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.whatsapp-float {
  animation: slideInRight 0.6s ease-out, pulse 2s infinite 0.6s;
}

/* Alternatif: Zıplama Animasyonu */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Zıplama animasyonunu kullanmak isterseniz:
.whatsapp-float:hover {
  animation: bounce 0.6s;
}
*/
