/*
Theme Name: BestSpiral By Lekhology
Theme URI: https://bestspiral.com
Author: Lekhology
Author URI: https://lekhology.com
Description: Premium spiral notebook manufacturing website theme. Clean, fast, conversion-focused B2B site.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestspiral
Tags: business, custom-background, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   BASE RESET & VARIABLES
   ============================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --primary:#1A2B4A;
  --accent:#F5A623;
  --accent-hover:#D4891F;
  --text:#555555;
  --dark:#333333;
  --light:#F8F9FA;
  --white:#FFFFFF;
  --wa:#25D366;
  --shadow:0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover:0 8px 30px rgba(0,0,0,0.15);
  --radius:12px;
  --transition:all 0.3s ease;
}

body{font-family:'Inter',sans-serif;color:var(--text);line-height:1.7;overflow-x:hidden;background:var(--white)}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit;transition:var(--transition)}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;color:var(--primary);line-height:1.3}
h1{font-size:48px;font-weight:700}
h2{font-size:36px;font-weight:600}
h3{font-size:22px;font-weight:600}
h4{font-size:18px;font-weight:600}
p{line-height:1.7}
ul{list-style:none}

/* WordPress specific */
.alignleft{float:left;margin:0 20px 20px 0}
.alignright{float:right;margin:0 0 20px 20px}
.aligncenter{display:block;margin:0 auto 20px}
.wp-caption{max-width:100%;margin-bottom:20px}
.wp-caption-text{font-size:13px;color:var(--text);text-align:center;padding:5px 0}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.gallery-item{overflow:hidden;border-radius:var(--radius)}
.gallery-item img{width:100%;height:auto}

/* CONTAINER */
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;font-family:'Poppins',sans-serif;font-weight:600;font-size:16px;border:none;border-radius:50px;cursor:pointer;text-decoration:none;transition:var(--transition)}
.btn-primary{background:var(--accent);color:var(--white);box-shadow:0 4px 15px rgba(245,166,35,0.3)}
.btn-primary:hover{background:var(--accent-hover);transform:translateY(-2px);color:var(--white)}
.btn-outline{background:transparent;color:var(--primary);border:2px solid var(--primary)}
.btn-outline:hover{background:var(--primary);color:var(--white);transform:translateY(-2px)}
.btn-whatsapp{background:var(--wa);color:var(--white);box-shadow:0 4px 15px rgba(37,211,102,0.3)}
.btn-whatsapp:hover{background:#20ba5a;transform:translateY(-2px);color:var(--white)}
.btn-sm{padding:10px 20px;font-size:14px}
.btn-lg{padding:18px 40px;font-size:18px}
.btn-full{width:100%;justify-content:center}

/* URGENT BANNER */
.urgent-banner{background:linear-gradient(90deg,var(--accent),#FFD180);padding:10px 20px;text-align:center;font-family:'Poppins',sans-serif;font-weight:600;font-size:14px;color:var(--primary)}
.urgent-banner a{color:var(--primary);text-decoration:underline;margin-left:10px}

/* HEADER */
.site-header{background:var(--white);position:sticky;top:0;z-index:1000;transition:var(--transition)}
.site-header.scrolled{box-shadow:0 2px 20px rgba(0,0,0,0.1)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:80px}
.site-logo{font-family:'Poppins',sans-serif;font-size:24px;font-weight:700;color:var(--primary);display:flex;align-items:center;gap:8px;max-width:220px;overflow:hidden;white-space:nowrap}
.site-logo span{color:var(--accent)}
.site-logo img.custom-logo{max-height:45px;width:auto;max-width:180px;object-fit:contain;display:block}
.main-nav{display:flex;gap:28px;align-items:center}
.main-nav a{font-family:'Poppins',sans-serif;font-weight:500;font-size:15px;color:var(--primary);position:relative;padding:5px 0}
.main-nav a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--accent);transition:var(--transition)}
.main-nav a:hover::after,.main-nav .current-menu-item a::after{width:100%}
.menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:5px}
.menu-toggle span{width:25px;height:3px;background:var(--primary);border-radius:2px;transition:var(--transition)}
.nav-cta{margin-left:15px}

/* HERO */
.hero{padding:60px 0 80px;background:var(--white)}
.hero-inner{display:flex;align-items:center;gap:60px}
.hero-text{flex:1}
.hero-text h1{margin-bottom:20px}
.hero-text .subtitle{font-size:18px;color:var(--text);margin-bottom:30px}
.hero-buttons{display:flex;gap:15px;flex-wrap:wrap}
.hero-image{flex:1}
.hero-image img{border-radius:var(--radius);box-shadow:0 20px 60px rgba(0,0,0,0.12);width:100%;max-width:550px}

/* TRUST BAR */
.trust-bar{background:var(--light);padding:40px 0;border-bottom:1px solid #eee}
.trust-items{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:40px}
.trust-item{display:flex;align-items:center;gap:12px;font-family:'Poppins',sans-serif;font-weight:600;font-size:15px;color:var(--primary)}
.trust-icon{font-size:28px}
.trust-number{font-size:20px;font-weight:700;color:var(--accent)}

/* SECTIONS */
.section{padding:80px 0}
.section-alt{background:var(--light)}
.section-title{text-align:center;margin-bottom:50px}
.section-title h2{display:inline-block;position:relative;margin-bottom:15px}
.section-title h2::after{content:'';display:block;width:60px;height:4px;background:var(--accent);margin:15px auto 0;border-radius:2px}
.section-title p{font-size:18px;color:var(--text);max-width:600px;margin:0 auto}

/* GRIDS */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}
.two-col{display:flex;gap:50px;align-items:center}
.two-col > *{flex:1}

/* PRODUCT CARDS */
.product-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:var(--transition)}
.product-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-hover)}
.card-image{position:relative;overflow:hidden;height:220px}
.card-image img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.product-card:hover .card-image img{transform:scale(1.05)}
.card-body{padding:22px}
.card-body h3{margin-bottom:8px}
.card-body p{font-size:14px;margin-bottom:15px}

/* FEATURE CARDS */
.feature-card{background:var(--white);border-radius:var(--radius);padding:35px 25px;text-align:center;box-shadow:var(--shadow);transition:var(--transition);height:100%}
.feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover)}
.feature-icon{width:70px;height:70px;margin:0 auto 20px;background:linear-gradient(135deg,var(--accent),#FFD180);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px}
.feature-card h3{margin-bottom:10px}
.feature-card p{font-size:14px}

/* CUSTOMIZATION */
.custom-image img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%}
.custom-options{display:flex;flex-direction:column;gap:20px}
.custom-item{display:flex;gap:18px;align-items:flex-start;background:var(--white);padding:22px;border-radius:var(--radius);box-shadow:var(--shadow);transition:var(--transition)}
.custom-item:hover{box-shadow:var(--shadow-hover)}
.custom-icon{width:50px;height:50px;min-width:50px;background:linear-gradient(135deg,var(--accent),#FFD180);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px}
.custom-item h3{margin-bottom:4px}
.custom-item p{font-size:14px;margin:0}

/* GALLERY */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gallery-item{position:relative;overflow:hidden;border-radius:var(--radius);cursor:pointer;height:280px}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.gallery-item:hover img{transform:scale(1.08)}
.gallery-overlay{position:absolute;inset:0;background:rgba(26,43,74,0.7);display:flex;align-items:center;justify-content:center;opacity:0;transition:var(--transition)}
.gallery-item:hover .gallery-overlay{opacity:1}
.gallery-overlay span{color:var(--white);font-family:'Poppins';font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:1px}

/* PROCESS STEPS */
.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.process-step{text-align:center}
.step-number{width:60px;height:60px;background:var(--accent);color:var(--white);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Poppins';font-size:24px;font-weight:700;margin:0 auto 20px}
.process-step h3{margin-bottom:10px}
.process-step p{font-size:14px}

/* TESTIMONIALS */
.testimonial-card{background:var(--white);padding:35px;border-radius:var(--radius);box-shadow:var(--shadow);position:relative;height:100%}
.testimonial-card::before{content:'\201C';font-size:60px;color:var(--accent);opacity:0.3;position:absolute;top:15px;left:20px;font-family:Georgia,serif;line-height:1}
.testimonial-card .quote{font-size:15px;font-style:italic;line-height:1.7;margin-bottom:20px;position:relative;z-index:1}
.testimonial-card .author{display:flex;align-items:center;gap:12px}
.author-avatar{width:45px;height:45px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;color:var(--white);font-weight:700;font-size:18px;font-family:'Poppins'}
.author-info strong{display:block;font-size:16px;font-family:'Poppins';color:var(--primary)}
.author-info span{font-size:13px;color:var(--text)}

/* CTA SECTION */
.cta-section{background:linear-gradient(135deg,var(--primary),#2A3F6A);padding:80px 0;text-align:center}
.cta-section h2{color:var(--white);margin-bottom:15px}
.cta-section p{color:rgba(255,255,255,0.85);font-size:18px;margin-bottom:30px}

/* CONTACT */
.contact-section{align-items:flex-start}
.contact-info{display:flex;flex-direction:column;gap:20px}
.contact-item{display:flex;gap:15px;align-items:flex-start}
.contact-icon{font-size:24px;min-width:35px}
.contact-item strong{color:var(--primary);font-family:'Poppins'}
.contact-whatsapp{margin-top:10px}

/* FORM */
.contact-form-wrap{background:var(--white);padding:40px;border-radius:var(--radius);box-shadow:var(--shadow)}
.contact-form .form-group{margin-bottom:15px}
.contact-form label{display:block;font-family:'Poppins';font-weight:500;font-size:14px;color:var(--primary);margin-bottom:5px}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:12px 16px;border:2px solid #E0E0E0;border-radius:8px;font-family:'Inter';font-size:15px;transition:var(--transition);background:var(--white)}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(245,166,35,0.15)}
.contact-form .form-row{display:flex;gap:15px}
.contact-form .form-row .form-group{flex:1}

/* PAGE HERO */
.page-hero{background:linear-gradient(135deg,var(--primary),#2A3F6A);padding:100px 0 60px;text-align:center}
.page-hero h1{color:var(--white);margin-bottom:10px}
.page-hero p{color:rgba(255,255,255,0.7);font-size:16px}
.page-hero p a{color:var(--accent)}

/* STATS */
.stats-section{background:var(--primary);padding:60px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.stat-box{text-align:center}
.stat-number{font-family:'Poppins';font-size:48px;font-weight:700;color:var(--accent);line-height:1}
.stat-label{font-size:16px;color:rgba(255,255,255,0.85);margin-top:5px}

/* SPEC TABLE */
.spec-table{width:100%;border-collapse:collapse;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.spec-table th{background:var(--primary);color:var(--white);padding:15px 20px;text-align:left;font-family:'Poppins';font-weight:600;font-size:15px}
.spec-table td{padding:14px 20px;border-bottom:1px solid #eee;font-size:15px}
.spec-table tr:nth-child(even){background:var(--light)}
.spec-table tr:last-child td{border-bottom:none}

/* FAQ */
.faq-item{background:var(--white);border-radius:var(--radius);margin-bottom:15px;box-shadow:var(--shadow);overflow:hidden}
.faq-question{padding:20px 25px;font-family:'Poppins';font-weight:600;font-size:16px;color:var(--primary);cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:var(--transition)}
.faq-question:hover{color:var(--accent)}
.faq-question::after{content:'+';font-size:24px;font-weight:700;color:var(--accent);transition:var(--transition)}
.faq-item.active .faq-question::after{content:'−'}
.faq-answer{max-height:0;overflow:hidden;transition:max-height 0.3s ease}
.faq-answer-inner{padding:0 25px 20px;font-size:15px;line-height:1.7}
.faq-item.active .faq-answer{max-height:300px}

/* INDUSTRY CARD */
.industry-card{text-align:center;padding:30px 20px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);transition:var(--transition)}
.industry-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover)}
.industry-icon{font-size:40px;margin-bottom:15px}
.industry-card h3{font-size:18px;margin-bottom:8px}
.industry-card p{font-size:13px}

/* FOOTER */
.site-footer{background:var(--primary);color:rgba(255,255,255,0.85);padding:60px 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px;margin-bottom:40px}
.footer-logo{font-family:'Poppins';font-size:24px;font-weight:700;color:var(--white);margin-bottom:15px;display:block}
.footer-logo span{color:var(--accent)}
.site-footer p{font-size:14px;line-height:1.7;margin-bottom:8px}
.site-footer h4{font-family:'Poppins';font-size:18px;font-weight:600;color:var(--white);margin-bottom:15px}
.site-footer a{display:block;font-size:14px;color:rgba(255,255,255,0.75);padding:4px 0;transition:var(--transition)}
.site-footer a:hover{color:var(--accent);padding-left:5px}
.footer-form{display:flex;gap:10px;margin-top:10px}
.footer-form input{flex:1;padding:10px 15px;border:none;border-radius:8px;font-family:'Inter';font-size:14px}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1);padding:20px 0;text-align:center;font-size:14px;color:rgba(255,255,255,0.5)}

/* WHATSAPP FLOAT */
.bs-wa{position:fixed;bottom:25px;right:25px;z-index:9999;width:60px;height:60px;background:var(--wa);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px rgba(37,211,102,0.4);transition:var(--transition)}
.bs-wa:hover{transform:scale(1.1)}
.bs-wa svg{width:30px;height:30px;fill:var(--white)}

/* MOBILE BAR */
.bs-mbar{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--primary);z-index:9999}
.bs-mbar a{flex:1;text-align:center;color:var(--white);font-size:11px;font-weight:600;text-decoration:none;padding:10px 5px;display:flex;flex-direction:column;align-items:center;gap:3px}
.bs-mbar a svg{width:18px;height:18px;fill:var(--white)}

/* ANIMATIONS */
.fade-in{opacity:0;transform:translateY(30px);transition:opacity 0.6s ease,transform 0.6s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* RESPONSIVE - TABLET */
@media(max-width:1024px){
  h1{font-size:38px}h2{font-size:30px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .process-steps{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

/* RESPONSIVE - MOBILE */
@media(max-width:768px){
  h1{font-size:28px}h2{font-size:24px}h3{font-size:20px}
  .container{padding:0 15px}
  .section{padding:50px 0}
  .main-nav{display:none;position:absolute;top:80px;left:0;right:0;background:var(--white);flex-direction:column;padding:20px;gap:15px;box-shadow:0 10px 30px rgba(0,0,0,0.1)}
  .main-nav.open{display:flex}
  .main-nav a{padding:10px 0;border-bottom:1px solid #eee}
  .nav-cta{display:none}
  .menu-toggle{display:flex}
  .hero{padding:30px 0 50px}
  .hero-inner{flex-direction:column;gap:30px;text-align:center}
  .hero-buttons{justify-content:center}
  .hero-image img{max-width:100%}
  .trust-items{gap:15px;flex-wrap:wrap;justify-content:center}
  .trust-item{font-size:12px;gap:8px;padding:8px 12px;background:var(--white);border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,0.06)}
  .trust-icon{font-size:20px}
  .trust-number{font-size:16px}
  .trust-bar{padding:25px 0}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .two-col{flex-direction:column;gap:30px}
  .process-steps{grid-template-columns:1fr;gap:20px}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-item{height:200px}
  .contact-form .form-row{flex-direction:column;gap:0}
  .contact-form-wrap{padding:25px}
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat-number{font-size:36px}
  .bs-wa{display:none}
  .bs-mbar{display:flex}
  body{padding-bottom:55px}
}

@media(max-width:480px){
  h1{font-size:24px}h2{font-size:22px}
  .btn{padding:12px 24px;font-size:14px}
  .btn-lg{padding:14px 30px;font-size:16px}
  .gallery-grid{grid-template-columns:1fr}
  .gallery-item{height:220px}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat-number{font-size:28px}
  .footer-form{flex-direction:column}
}
