/*
Theme Name: Toni Montage
Theme URI: https://shqipdoni.faktet.org
Author: Toni Montage Schreinerei GmbH
Author URI: https://shqipdoni.faktet.org
Description: A modern, responsive theme for kitchen design and installation company. Clean design with warm wood accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toni-montage
*/

/* Typography */
:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #6b7280;
  --primary: #8b5e34; /* warm wood accent */
  --primary-strong: #6f4827;
  --secondary: #374151;
  --surface: #f7f7f7;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; margin: 0 0 0.5rem; line-height: 1.2; }
h1 { font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem); }
p { margin: 0 0 1rem; color: var(--secondary); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.center { text-align: center; }

/* Mobile-first: Reduce padding on small screens */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section { padding: 40px 0; }
}

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; letter-spacing: 0.5px; font-size: 1.1rem; }
.site-nav .nav-toggle { display: none; }
.nav-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { padding: 10px 12px; border-radius: 8px; }
.nav-menu a:hover { background: var(--surface); }
.nav-menu .current-menu-item > a { color: var(--primary); font-weight: 600; }

@media (max-width: 720px) {
  .logo { font-size: 1rem; }
  .header-inner { height: 56px; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; transition: transform .06s ease, background .2s ease, border-color .2s ease; font-size: 0.95rem; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-secondary { background: var(--surface); border-color: var(--border); }
.btn-ghost { background: transparent; border-color: var(--border); }

@media (max-width: 480px) {
  .btn { padding: 10px 16px; font-size: 0.9rem; }
}

/* Hero */
.hero { position: relative; min-height: 72vh; display: grid; place-items: center; }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.2)); }
.hero-content { position: relative; text-align: center; color: #fff; padding: 80px 0; }
.hero h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
.hero p { color: #f3f4f6; font-size: 1.125rem; margin-bottom: 1.25rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.3); }
.hero-features { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.hero-feature { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 6px 12px; border-radius: 16px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .hero { min-height: 60vh; }
  .hero-content { padding: 60px 0; }
  .hero-badge { font-size: 0.8rem; padding: 6px 14px; }
  .hero-features { gap: 8px; margin-bottom: 20px; }
  .hero-feature { font-size: 0.8rem; padding: 5px 10px; }
  .hero p { font-size: 1rem; margin-bottom: 1rem; }
  .hero-cta { gap: 8px; }
}

@media (max-width: 480px) {
  .hero { min-height: 50vh; }
  .hero-content { padding: 40px 0; }
  .hero-badge { font-size: 0.75rem; padding: 5px 12px; margin-bottom: 12px; }
  .hero-features { flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .hero-feature { font-size: 0.75rem; padding: 4px 8px; width: 100%; text-align: center; }
  .hero h1 { font-size: clamp(1.75rem, 5vw + 0.5rem, 2.5rem); }
  .hero p { font-size: 0.95rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; text-align: center; }
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 22px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.card.highlight { background: #fff9f3; border-color: #f4e7d9; position: relative; overflow: hidden; }
.card.highlight::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-strong)); }
.highlight-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.service .icon { font-size: 28px; }
.service-icon-wrapper { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(139, 94, 52, 0.1), rgba(111, 72, 39, 0.1)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: transform 0.3s ease, background 0.3s ease; }
.service-card:hover .service-icon-wrapper, .service:hover .service-icon-wrapper { transform: scale(1.1) rotate(5deg); background: linear-gradient(135deg, rgba(139, 94, 52, 0.15), rgba(111, 72, 39, 0.15)); }
.service-card { padding: 30px; }
.service-icon { transition: transform 0.3s ease; }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-link { display: inline-block; margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: transform 0.2s ease; }
.service-link:hover { transform: translateX(4px); }

@media (max-width: 768px) {
  .card { padding: 20px; }
  .service-card { padding: 24px; }
}

@media (max-width: 480px) {
  .card { padding: 18px; border-radius: 12px; }
  .service-card { padding: 20px; }
  .service .icon { font-size: 24px; }
  .service-icon-wrapper { width: 56px; height: 56px; margin-bottom: 12px; }
  .service-link { font-size: 0.85rem; margin-top: 12px; }
}

.checks { list-style: none; padding: 0; margin: 12px 0 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; }
.checks li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--primary); }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 16px; }
.stats div { text-align: center; }
.stats strong { display: block; font-size: 1.25rem; }
.stats span { color: var(--muted); font-size: 0.875rem; }
.stat-item { text-align: center; padding: 12px; background: rgba(139, 94, 52, 0.05); border-radius: 10px; transition: transform 0.2s ease; }
.stat-item:hover { transform: translateY(-2px); }
.stat-number { font-size: 1.75rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; line-height: 1; }
.stat-item strong { display: block; font-size: 1rem; margin-top: 4px; }
.stat-item span { color: var(--muted); font-size: 0.8rem; display: block; margin-top: 2px; }

@media (max-width: 480px) {
  .stats { gap: 8px; }
  .stat-item { padding: 10px 6px; }
  .stat-number { font-size: 1.5rem; }
  .stat-item strong { font-size: 0.9rem; }
  .stat-item span { font-size: 0.75rem; }
}

/* Section Headers */
.section-header { text-align: center; margin-bottom: 40px; }
.section-label { display: inline-block; color: var(--primary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.section-description { color: var(--muted); font-size: 1.05rem; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* CTA */
.cta-wide { background: linear-gradient(135deg, #faf7f2 0%, #fff9f3 100%); padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; }
.cta-wide::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-strong)); }
.cta-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-direction: column; text-align: center; }
.cta-inner p { margin: 0 0 20px; }
.cta-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .section-header { margin-bottom: 30px; }
  .section-label { font-size: 0.8rem; }
  .section-description { font-size: 0.95rem; }
  .cta-wide { padding: 40px 0; }
  .cta-inner { flex-direction: column; text-align: center; gap: 20px; }
  .cta-inner h2 { font-size: 1.5rem; }
  .cta-icon { font-size: 2.5rem; margin-bottom: 12px; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .section-header { margin-bottom: 24px; }
  .section-label { font-size: 0.75rem; }
  .section-description { font-size: 0.9rem; padding: 0 12px; }
  .cta-wide { padding: 30px 0; }
  .cta-inner h2 { font-size: 1.3rem; }
  .cta-inner p { font-size: 0.95rem; }
  .cta-icon { font-size: 2rem; margin-bottom: 10px; }
  .cta-buttons { gap: 10px; }
}

/* Footer */
.site-footer { padding: 40px 0 20px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a:hover { text-decoration: underline; }
.legal { margin-top: 16px; text-align: center; color: var(--muted); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid > div { text-align: center; }
  .footer-grid nav ul { justify-content: center; }
}

@media (max-width: 480px) {
  .site-footer { padding: 30px 0 16px; }
  .footer-grid { gap: 20px; }
  .footer-grid p { font-size: 0.9rem; }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .site-nav .nav-toggle { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 0.9rem; }
  .nav-menu { position: absolute; right: 20px; top: 64px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; display: none; flex-direction: column; width: 220px; z-index: 100; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; display: block; }
}

@media (max-width: 480px) {
  .nav-menu { right: 12px; width: calc(100% - 24px); max-width: 280px; }
  .grid-2 { gap: 20px; }
  .grid-3 { gap: 16px; }
}

/* Before/After Sliders */
.before-after { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }
.ba-item p { margin-top: 8px; text-align: center; color: var(--muted); }
.ba-wrapper { position: relative; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 4/3; background: #eae7e3; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-slider { position: absolute; left: 0; right: 0; bottom: 10px; width: calc(100% - 24px); margin: 0 12px; }

@media (max-width: 900px) {
  .before-after { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .before-after { gap: 16px; margin-top: 20px; }
  .ba-item p { font-size: 0.9rem; }
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-grid img { border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform 0.2s ease; }
.gallery-grid img:hover { transform: scale(1.02); }
.gallery-item { cursor: pointer; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery-grid img { border-radius: 10px; }
}

/* Lightbox */
.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); cursor: pointer; }
.lightbox.active { display: flex; align-items: center; justify-content: center; }
.lightbox-content { position: relative; max-width: 90%; max-height: 90%; margin: auto; }
.lightbox-content img { max-width: 100%; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: -40px; right: 0; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; line-height: 1; }
.lightbox-close:hover { opacity: 0.7; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); color: #fff; border: none; padding: 15px 20px; font-size: 24px; cursor: pointer; border-radius: 5px; transition: background 0.2s; }
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 720px) {
  .lightbox-nav { padding: 10px 15px; font-size: 20px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: -30px; font-size: 30px; }
  .lightbox-content { max-width: 95%; max-height: 85%; }
}

@media (max-width: 480px) {
  .lightbox-nav { padding: 8px 12px; font-size: 18px; }
  .lightbox-prev { left: 5px; }
  .lightbox-next { right: 5px; }
  .lightbox-close { top: -25px; right: 5px; font-size: 28px; }
  .lightbox-content { max-width: 98%; max-height: 80%; }
  .lightbox-content img { max-height: 85vh; }
}

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.quote { font-style: italic; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #ddd; display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; font-weight: 600; }
@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .testimonials { gap: 16px; }
  .quote { font-size: 0.95rem; }
}

/* Contact Form */
form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { font-weight: 600; font-size: 0.95rem; }
input, textarea { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--border); font-size: 1rem; }
textarea { min-height: 140px; resize: vertical; }
.full { grid-column: 1 / -1; }
.map { width: 100%; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }

@media (max-width: 900px) {
  form { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  form { gap: 10px; }
  label { font-size: 0.9rem; }
  input, textarea { padding: 10px; font-size: 0.95rem; }
  textarea { min-height: 120px; }
  .map { border-radius: 10px; }
  .map iframe { height: 220px !important; }
}

/* WhatsApp Button */
.whatsapp { position: fixed; right: 20px; bottom: 20px; background: #25D366; color: #fff; padding: 12px 14px; border-radius: 999px; box-shadow: var(--shadow); z-index: 100; text-decoration: none; font-weight: 600; transition: transform 0.2s ease; }
.whatsapp:hover { transform: scale(1.05); }

@media (max-width: 480px) {
  .whatsapp { right: 16px; bottom: 16px; padding: 10px 12px; font-size: 0.85rem; }
}

/* Services page specific mobile improvements */
@media (max-width: 768px) {
  .services-hero { padding: 40px 0 !important; }
  .services-hero h1 { font-size: 1.75rem !important; }
  .services-hero p { font-size: 1rem !important; }
}

@media (max-width: 480px) {
  .services-hero { padding: 30px 0 !important; }
  .services-hero h1 { font-size: 1.5rem !important; margin-bottom: 15px !important; }
  .services-hero p { font-size: 0.95rem !important; margin-bottom: 20px !important; }
}

/* Intro section mobile enhancements */
@media (max-width: 480px) {
  .intro .grid-2 { gap: 24px; }
  .intro .card.highlight { margin-top: 20px; }
  .highlight-icon { font-size: 1.5rem; }
}

/* Animations for mobile engagement */
@media (max-width: 768px) {
  .hero-content > * { animation: fadeInUp 0.6s ease-out; }
  .hero-badge { animation-delay: 0.1s; animation-fill-mode: both; }
  .hero h1 { animation-delay: 0.2s; animation-fill-mode: both; }
  .hero p { animation-delay: 0.3s; animation-fill-mode: both; }
  .hero-features { animation-delay: 0.4s; animation-fill-mode: both; }
  .hero-cta { animation-delay: 0.5s; animation-fill-mode: both; }
  .card { animation: fadeInUp 0.5s ease-out; }
  .card:nth-child(1) { animation-delay: 0.1s; animation-fill-mode: both; }
  .card:nth-child(2) { animation-delay: 0.2s; animation-fill-mode: both; }
  .card:nth-child(3) { animation-delay: 0.3s; animation-fill-mode: both; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
  .btn, .nav-menu a, .nav-toggle { min-height: 44px; min-width: 44px; }
  a { -webkit-tap-highlight-color: rgba(0,0,0,0.1); }
}

