/*
Theme Name: Zumrut Hali Yikama
Description: Zümrüt Halı Yıkama - Modern, yeşil tonlarında, premium profesyonel halı yıkama firması teması.
Author: CoPilot AI
Version: 1.0.0
Text Domain: zumrut
*/

:root {
  --primary-green: #0b7a42; /* Zümrüt yeşili kalın */
  --light-green: #15b364;
  --bg-green: #eaf6ef;
  --dark-text: #1a202c;
  --light-text: #4a5568;
  --white: #ffffff;
  --whatsapp-green: #25d366;
  --phone-blue: #007bff;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

/* ---------------- HEADER ---------------- */
.site-header {
  background-color: var(--white);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo a {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  font-size: 40px;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
  background: linear-gradient(180deg, #dffff1 0%, #4fd88f 38%, #0b7a42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 10px rgba(11, 122, 66, 0.25));
  transform: translateY(1px);
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-weight: 600;
  color: var(--dark-text);
  padding: 10px 0;
  position: relative;
}

.main-nav a:hover, .main-nav .current-menu-item > a {
  color: var(--primary-green);
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-green);
  transition: width var(--transition-speed);
}

.main-nav a:hover::after, .main-nav .current-menu-item > a::after {
  width: 100%;
}

/* Sub-menu Styles */
.main-nav ul li {
  position: relative;
}

.main-nav ul .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  padding: 10px 0;
  z-index: 1000;
  flex-direction: column;
  gap: 0;
}

.main-nav ul li:hover > .sub-menu {
  display: flex !important;
}

.main-nav ul .sub-menu li {
  width: 100%;
}

.main-nav ul .sub-menu a {
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-nav ul .sub-menu li:last-child a {
  border-bottom: none;
}

.main-nav ul .sub-menu a:hover {
  background: var(--bg-green);
  color: var(--primary-green);
}

.main-nav ul .sub-menu a::after {
  display: none;
}

.header-cta {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(11, 122, 66, 0.3);
  transition: all var(--transition-speed);
}

.header-cta:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
  color: var(--white);
}

/* ---------------- HERO SECTION ---------------- */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-slash;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 48px;
  color: var(--primary-green);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  font-size: 18px;
  color: var(--light-text);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(11, 122, 66, 0.4);
  transition: all var(--transition-speed);
}

.btn-primary:hover {
  background-color: var(--light-green);
  transform: translateY(-3px);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-green);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--primary-green);
  transition: all var(--transition-speed);
}

.btn-secondary:hover {
  background-color: var(--bg-green);
  transform: translateY(-3px);
}

/* ---------------- SERVICES / FEATURES ---------------- */
.features-section {
  padding: 80px 5%;
  background-color: var(--white);
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: var(--primary-green);
  margin-bottom: 15px;
  font-weight: 800;
}

.section-subtitle {
  color: var(--light-text);
  margin-bottom: 50px;
  font-size: 18px;
}

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

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--primary-green);
  transition: transform var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 48px;
  color: var(--light-green);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--light-text);
}


/* ---------------- SERVICES / HIZMETLERIMIZ ---------------- */
.services-section {
  padding: 80px 5%;
  background-color: var(--bg-green);
  text-align: center;
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(11, 122, 66, 0.1);
  transition: transform var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
}

.service-number {
  font-size: 80px;
  font-weight: 800;
  color: var(--bg-green);
  position: absolute;
  top: -10px;
  right: 10px;
  line-height: 1;
  z-index: 1;
  opacity: 0.7;
}

.service-content {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(21, 179, 100, 0.16), rgba(11, 122, 66, 0.22));
  color: var(--primary-green);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.service-icon i {
  font-size: 28px;
}

.service-content h3 {
  font-size: 24px;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.service-content p {
  color: var(--light-text);
}

/* ---------------- PAGE HEADER ---------------- */
.page-header {
  background-color: var(--bg-green);
  padding: 80px 5%;
  text-align: center;
  border-bottom: 1px solid rgba(11, 122, 66, 0.1);
}

.page-header h1 {
  font-size: 42px;
  color: var(--primary-green);
}

/* ---------------- GALLERY CSS GRID ---------------- */
.gallery-section {
  padding: 80px 5%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

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

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

/* ---------------- CONTACT & ABOUT ---------------- */
.content-section {
  padding: 80px 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.content-infoBox {
  flex: 1;
  min-width: 300px;
  background: var(--bg-green);
  padding: 40px;
  border-radius: var(--border-radius);
}

.content-infoBox h3 {
  color: var(--primary-green);
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 18px;
}

.contact-item i {
  color: var(--primary-green);
  font-size: 24px;
}

.content-map {
  flex: 2;
  min-width: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-content {
  padding: 80px 5%;
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--light-text);
}

.page-content p {
  margin-bottom: 20px;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 60px 5% 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 15px;
  display: block;
}

.footer-widget h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  color: #aaa;
}

.footer-widget ul li a:hover {
  color: var(--primary-green);
}

.footer-contact p {
  color: #aaa;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary-green);
}

.footer-bottom {
  text-align: center;
  color: #777;
  font-size: 14px;
}

/* ---------------- STICKY WIDGET ---------------- */
.sticky-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.sticky-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.sticky-btn:hover {
  transform: scale(1.15);
  color: var(--white);
}

.sticky-whatsapp {
  background-color: var(--whatsapp-green);
}

.sticky-phone {
  background-color: var(--phone-blue);
}

.sticky-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

/* Tooltip */
.sticky-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 75px;
  background-color: #333;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.sticky-btn:hover::before {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

/* Pulse animation for WhatsApp */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.sticky-whatsapp {
  animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 36px; }
  .header-cta { display: none; }
  
  .mobile-menu-toggle {
    display: block !important;
  }
  
  .site-header {
    flex-wrap: wrap;
  }
  
  /* Fix horizontal scroll issues */
  body, html {
    overflow-x: hidden;
    width: 100%;
  }
  
  .features-grid, 
  .services-grid, 
  .gallery-grid, 
  .footer-top,
  .recent-posts-grid {
    grid-template-columns: 1fr !important;
  }
  
  .content-infoBox, 
  .content-map {
    min-width: 100% !important;
  }
  
  .hero-content h1 { font-size: 32px; }
  .page-header h1 { font-size: 32px; }
  .section-title { font-size: 28px; }
  
  .main-nav {
    display: none;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav a {
    display: block;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 16px;
  }
  
  .main-nav a::after {
    display: none;
  }
  
  .main-nav ul .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 15px;
    border-left: 2px solid var(--primary-green);
    margin-top: 5px;
    margin-bottom: 10px;
  }
  
  .main-nav ul li:hover > .sub-menu {
    display: flex !important;
  }
  
  .main-nav ul .sub-menu a {
    border-bottom: none;
    padding: 10px;
    font-size: 15px;
  }
}

/* ---------------- COMMENTS ---------------- */
.post-comments {
  margin-top: 60px;
}

.comments-title {
  font-size: 24px;
  color: var(--primary-green);
  margin-bottom: 30px;
  font-weight: 700;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.comment-list li.comment {
  margin-bottom: 30px;
  background: #f9f9f9;
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0,0,0,0.05);
}

.comment-list li.comment .comment-body {
  display: flex;
  flex-direction: column;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.comment-author img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.comment-author .fn {
  font-weight: 700;
  color: var(--dark-text);
  font-size: 16px;
  font-style: normal;
}

.comment-meta {
  font-size: 13px;
  color: var(--light-text);
  margin-bottom: 15px;
}

.comment-content {
  color: var(--light-text);
  line-height: 1.6;
}

.reply {
  margin-top: 15px;
}

.reply a {
  background-color: var(--bg-green);
  color: var(--primary-green);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.reply a:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

.comment-respond {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 122, 66, 0.1);
}

.comment-reply-title {
  font-size: 22px;
  color: var(--primary-green);
  margin-bottom: 20px;
  display: block;
  font-weight: 700;
}

.comment-form p {
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(11, 122, 66, 0.1);
}

.form-submit input[type="submit"] {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.form-submit input[type="submit"]:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
}
