/*
Theme Name: Kreativ Hands Memorial
Theme URI: https://kreativhandsmemorial.com
Author: Kreativ Hands Memorial
Description: Mobile responsive theme for Kreativ Hands Memorial. Elementor compatible.
Version: 1.0.2
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kreativ-hands-memorial
Tags: one-column, custom-logo, custom-menu, elementor
*/

:root {
  --primary: #1a365d;
  --primary-dark: #0f2744;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --text: #2d3748;
  --text-light: #4a5568;
  --bg-light: #f7fafc;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, .script {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; border: none; cursor: pointer; transition: 0.3s;
}
.btn-primary { background: var(--gold); color: var(--primary-dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

/* Top bar */
.top-bar { background: var(--primary); color: #fff; padding: 10px 0; font-size: 0.875rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-contact { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.top-bar-contact a, .top-bar-contact span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9); }
.top-bar-contact a:hover { color: var(--gold-light); }
.top-bar svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Header */
.site-header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 55px; width: auto; }
.site-logo .logo-text { display: flex; flex-direction: column; }
.site-logo .logo-text .brand { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.site-logo .logo-text .tagline { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.5px; }

.main-nav ul { display: flex; gap: 4px; align-items: center; list-style: none; }
.main-nav a { padding: 10px 18px; font-weight: 500; font-size: 0.95rem; color: var(--text); border-radius: 6px; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--primary); }
.menu-toggle svg { width: 28px; height: 28px; fill: currentColor; }

/* Hero */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(15,39,68,0.85) 0%, rgba(26,54,93,0.7) 100%);
  color: #fff; overflow: hidden;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 20px; }
.hero-content { max-width: 560px; }
.hero-eyebrow { font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 8px; color: #fff; }
.hero h1 .script { font-style: italic; color: var(--gold-light); }
.hero .subtitle { font-size: 1.3rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 400; margin-bottom: 20px; color: rgba(255,255,255,0.95); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 28px; max-width: 480px; }
.hero-image { display: flex; justify-content: center; }
.hero-placeholder {
  width: 100%; max-width: 360px; aspect-ratio: 1;
  background: linear-gradient(145deg, #1a365d, #2c5282);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  color: #e8d48b; font-family: 'Playfair Display', serif; font-size: 1.4rem;
  text-align: center; padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Products */
.products-section { background: var(--bg-light); padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 45px; }
.section-header .eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.section-header .eyebrow::before, .section-header .eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--gold); }
.section-header h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--primary); margin-bottom: 14px; }
.section-header p { max-width: 700px; margin: 0 auto; color: var(--text-light); font-size: 1.05rem; }
.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: 0.3s; text-align: center; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.product-card .card-image { height: 170px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-card .card-label { background: var(--primary); color: #fff; padding: 13px 10px; font-weight: 600; font-size: 0.95rem; }

/* About */
.about-section { padding: 70px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 45px; align-items: center; }
.about-image-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(160deg, #e8d48b 0%, #c9a227 40%, #1a365d 100%);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Playfair Display', serif; font-size: 1.15rem;
  text-align: center; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.about-content h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); color: var(--primary); margin-bottom: 18px; }
.about-content p { color: var(--text-light); margin-bottom: 14px; font-size: 1.05rem; }

/* Mission Vision */
.mission-vision { background: var(--bg-light); padding: 55px 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.mv-card { display: flex; gap: 18px; align-items: flex-start; }
.mv-icon {
  width: 52px; height: 52px; min-width: 52px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
}
.mv-icon svg { width: 26px; height: 26px; fill: currentColor; }
.mv-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 6px; }
.mv-card p { color: var(--text-light); font-size: 0.98rem; }

/* Values */
.values-bar { background: var(--primary); padding: 28px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.value-item { color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.value-item .icon-circle {
  width: 46px; height: 46px; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.value-item .icon-circle svg { width: 20px; height: 20px; fill: var(--gold-light); }
.value-item span { font-size: 0.9rem; font-weight: 500; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #f8f4e8 0%, #f0ebe0 100%); padding: 55px 0; text-align: center; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.5rem, 3.5vw, 2.1rem); color: var(--primary); margin-bottom: 22px; }
.cta-contact { display: flex; justify-content: center; gap: 35px; margin-top: 26px; flex-wrap: wrap; }
.cta-contact a, .cta-contact span { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 0.95rem; }
.cta-contact svg { width: 18px; height: 18px; fill: var(--primary); }

/* Contact */
.contact-section { padding: 70px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.contact-info h2 { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.contact-info p { color: var(--text-light); margin-bottom: 22px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-details a, .contact-details span { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 1rem; }
.contact-details svg { width: 20px; height: 20px; fill: var(--primary); flex-shrink: 0; }
.contact-form { background: var(--bg-light); padding: 32px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 5px; font-size: 0.9rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-brand { font-size: 0.9rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--primary-dark); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Content pages */
.site-main { padding: 50px 0; }
.entry-title { color: var(--primary); margin-bottom: 20px; }

/* Responsive */
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-image { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-image-placeholder { max-width: 360px; margin: 0 auto; }
  .mv-grid { grid-template-columns: 1fr; gap: 26px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar-contact { justify-content: center; gap: 10px 18px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; padding: 14px 0; gap: 0; }
  .main-nav a { display: block; padding: 13px 22px; border-radius: 0; width: 100%; }
  .header-inner { position: relative; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .products-section, .about-section, .contact-section { padding: 45px 0; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cta-contact { flex-direction: column; gap: 10px; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { min-height: 440px; }
  .site-logo .logo-text .brand { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; max-width: 270px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .top-bar-contact { flex-direction: column; gap: 6px; }
}
