/*
Theme Name: Nucupons
Theme URI: https://arshohel.com
Author: Atikur Rahman Shohel
Description: Lightweight, responsive coupon theme for WordPress
Version: 2.3
Text Domain: nucupons
*/

/* CSS Reset & Base Styles */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { margin: 0; padding: 0; font-family: 'Montserrat', Arial, sans-serif; background: #f8fafb; color: #222; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Responsive Utility */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

@media (max-width: 768px) {
  .container { padding: 0 0.5rem; }
} 

/* Header Styles */
.site-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.03); padding: 0.4rem 0; }
.header-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-branding .logo { font-size: 1.8rem; font-weight: bold; color: #1bbfa0; letter-spacing: -1px; }
.site-branding .logo span { color: #222; }
.search-form { display: flex; align-items: center; gap: 0.25rem; }
.search-field { padding: 0.6rem 1.2rem; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 1.1rem; min-width: 200px; }
.search-submit { background: #1bbfa0; color: #fff; border: none; padding: 0.6rem 1.4rem; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 1rem; }
.site-nav { margin-left: 2rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-weight: 500; color: #222; transition: color 0.2s; }
.site-nav a:hover { color: #1bbfa0; }

/* Hero Section */
.hero { background: linear-gradient(90deg, #e0f7fa 0%, #f8fafb 100%); padding: 3rem 0 2rem 0; }
.hero-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hero-content { max-width: 540px; }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero-content .highlight { color: #1bbfa0; background: #fffbe6; padding: 0 0.4em; border-radius: 4px; }
.hero-content p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-features { list-style: none; padding: 0; margin: 0; }
.hero-features li { margin-bottom: 0.5rem; font-size: 1rem; }
.hero-features .trusted { color: #1bbfa0; font-weight: 600; margin-left: 0.5em; }
.hero-image { min-width: 260px; min-height: 180px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; }

/* Section Styles */
section { padding: 2.5rem 0; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; color: #1bbfa0; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid #e0e0e0; padding: 1.5rem 0; text-align: center; color: #888; font-size: 1rem; }

/* Minimal Homepage & Layout Styles */
.header-minimal-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0;
}
.site-branding .logo {
  font-size: 1.5em;
  font-weight: 700;
  color: #1bb193;
  text-decoration: none;
}
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.site-nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-field {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 1.05em;
  min-width: 180px;
}
.search-submit {
  background: #1bb193;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1em;
}

.hero-minimal {
  background: #f8f9fa;
  padding: 48px 0 32px 0;
}
.hero-minimal-flex {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-minimal-content h1 {
  font-size: 2.2em;
  color: #1bb193;
  margin-bottom: 16px;
}
.hero-minimal-content p {
  font-size: 1.1em;
  color: #444;
}
.hero-minimal-image img, .hero-image-placeholder {
  width: 220px;
  height: 180px;
  background: #e6f4f1;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.top-merchants {
  padding: 32px 0;
}
.merchant-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.merchant-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(27,177,147,0.08);
  padding: 18px 12px;
  width: 160px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.merchant-card:hover {
  box-shadow: 0 4px 16px rgba(27,177,147,0.18);
}
.merchant-card img, .merchant-card-img-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #e6f4f1;
  margin-bottom: 10px;
  object-fit: cover;
}
.merchant-card-title {
  font-weight: 600;
  color: #1bb193;
  font-size: 1em;
}

.testimonials-minimal {
  background: #f8f9fa;
  padding: 32px 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(27,177,147,0.08);
  padding: 20px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid #e6f4f1;
}
.testimonial-stars {
  color: #ffc700;
  font-size: 1.1em;
  margin-bottom: 8px;
}
.testimonial-text {
  color: #222;
  font-size: 1em;
  margin-bottom: 8px;
}
.testimonial-name {
  color: #1bb193;
  font-size: 0.95em;
  font-weight: 500;
}

.about-minimal {
  padding: 32px 0;
  background: #fff;
}
.about-minimal h2 {
  color: #1bb193;
  margin-bottom: 12px;
}
.about-minimal p {
  color: #444;
  font-size: 1.1em;
}

.newseller-minimal {
  padding: 32px 0;
  background: #f8f9fa;
}
.newseller-placeholder {
  color: #888;
  font-size: 1em;
  padding: 18px 0;
}

.footer-minimal {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 18px 0px 0px 0px;
}
.footer-nav {
  display: flex;
  justify-content: center;
}
.footer-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: #1bb193;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-flex { flex-direction: column; align-items: flex-start; }
  .hero-image { margin-top: 2rem; width: 100%; min-width: 0; }
}
@media (max-width: 768px) {
  .header-flex { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-nav ul { flex-direction: column; gap: 0.5rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero { padding: 2rem 0 1rem 0; }
  section { padding: 1.5rem 0; }
  
  /* Footer menu mobile styles */
  .footer-nav {
    justify-content: center;
  }
  
  .footer-menu {
    flex-direction: column !important;
    align-items: center;
    gap: 0.5rem !important;
    text-align: center;
  }
  
  .footer-menu li {
    width: 100%;
    text-align: center;
  }
  
  .footer-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
  }
  
  .footer-menu a:hover {
    background-color: #f0fdf4;
    transform: translateY(-1px);
  }
  
  /* Mobile header improvements */
  .mobile-menu {
    gap: 0.5rem !important;
  }
  
  .mobile-menu li {
    width: 100%;
  }
  
  .mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
  }
  
  .mobile-menu a:hover {
    background-color: #f0fdf4;
    border-color: #10b981;
    color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  }
  
  .mobile-menu .current-menu-item a {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
  }
  
  .mobile-menu .current-menu-item a:hover {
    background-color: #059669;
    color: white;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 0.25rem; }
  .hero-content h1 { font-size: 1.3rem; }
  h2 { font-size: 1.2rem; }
  .site-footer { font-size: 0.9rem; }
} 
@media (max-width: 900px) {
  .header-minimal-flex, .merchant-card-list, .testimonial-list {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .merchant-card, .testimonial-card {
    width: 100%;
    min-width: 0;
  }
} 


.prose {
  max-width: none;
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: #059669;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.prose h1 { font-size: 2.25rem; }
.prose h2 { font-size: 1.875rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }
.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.5rem;
}
.prose a {
  color: #059669;
  text-decoration: underline;
}
.prose a:hover {
  color: #047857;
}
.prose blockquote {
  border-left: 4px solid #059669;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
}
.prose img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Comments Styling */
.comments-area {
  margin-top: 2rem;
}
.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 1.5rem;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
}
.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.comment-author .avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-right: 0.75rem;
}
.comment-author .fn {
  font-weight: 600;
  color: #059669;
  font-style: normal;
}
.comment-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}
.comment-content {
  color: #374151;
  line-height: 1.6;
}
.comment-content p {
  margin-bottom: 0.5rem;
}
.comment-content p:last-child {
  margin-bottom: 0;
}
.reply {
  margin-top: 0.75rem;
}
.reply a {
  background: #059669;
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}
.reply a:hover {
  background: #047857;
}
.children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
}
.comment-respond {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  margin-top: 2rem;
}
.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 1rem;
}
.comment-form {
  display: grid;
  gap: 1rem;
}
.comment-form p {
  margin: 0;
}
.comment-form label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.comment-form textarea {
  min-height: 6rem;
  resize: vertical;
}
.comment-form .submit {
  background: #059669;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.comment-form .submit:hover {
  background: #047857;
}
.comment-notes {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}
.required {
  color: #dc2626;
}


.prose {
  max-width: none;
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: #059669;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.prose h1 { font-size: 2.25rem; }
.prose h2 { font-size: 1.875rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }
.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.5rem;
}
.prose a {
  color: #059669;
  text-decoration: underline;
}
.prose a:hover {
  color: #047857;
}
.prose blockquote {
  border-left: 4px solid #059669;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
}
.prose img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}


