/*
Theme Name: The Family Kitchen Tiffin Service
Theme URI: https://example.com
Author: Custom Build
Author URI: https://example.com
Description: A fully dynamic WordPress theme built for THE FAMILY KITCHEN TIFFIN SERVICE, Gurugram. Includes an editable Menu (Custom Post Type), Testimonials, Order/Contact form, WhatsApp click-to-chat button, and Customizer options for phone number, address, and timings — so the entire site can be updated from the WordPress admin without touching code.
Version: 1.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: family-kitchen
*/

:root{
  --tfk-orange:#d9480f;
  --tfk-orange-dark:#a8380b;
  --tfk-cream:#fff8f0;
  --tfk-dark:#2b1a12;
  --tfk-green:#25d366;
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family:'Poppins', Arial, sans-serif;
  color:var(--tfk-dark);
  background:var(--tfk-cream);
  line-height:1.6;
}

img{max-width:100%; height:auto; display:block;}
a{text-decoration:none; color:inherit;}
ul{list-style:none; margin:0; padding:0;}

.container{
  max-width:1140px;
  margin:0 auto;
  padding:0 20px;
}

/* ---------- Top bar ---------- */
.tfk-topbar{
  background:var(--tfk-orange-dark);
  color:#fff;
  font-size:13px;
  padding:6px 0;
}
.tfk-topbar .container{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px;
}
.tfk-topbar a{color:#fff; font-weight:600;}

/* ---------- Header ---------- */
.tfk-header{
  background:#fff;
  padding:16px 0;
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
  position:sticky;
  top:0;
  z-index:999;
}
.tfk-header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.tfk-logo{
  font-size:22px;
  font-weight:800;
  color:var(--tfk-orange);
  line-height:1.2;
}
.tfk-logo span{display:block; font-size:12px; font-weight:500; color:var(--tfk-dark);}

.tfk-nav ul{display:flex; gap:22px; flex-wrap:wrap;}
.tfk-nav a{font-weight:600; padding:6px 2px; border-bottom:2px solid transparent;}
.tfk-nav a:hover{border-color:var(--tfk-orange); color:var(--tfk-orange);}

.tfk-header-cta{
  background:var(--tfk-green);
  color:#fff !important;
  padding:10px 18px;
  border-radius:30px;
  font-weight:700;
  white-space:nowrap;
}

/* ---------- Hero ---------- */
.tfk-hero{
  background:linear-gradient(135deg, #ffe9d6, #fff8f0);
  padding:70px 0;
}
.tfk-hero .container{
  display:flex;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}
.tfk-hero-text{flex:1; min-width:280px;}
.tfk-hero-text h1{
  font-size:38px;
  margin:0 0 14px;
  color:var(--tfk-orange-dark);
}
.tfk-hero-text p{font-size:17px; margin-bottom:22px; max-width:520px;}
.tfk-hero-img{flex:1; min-width:280px; text-align:center;}
.tfk-hero-img img{border-radius:20px; box-shadow:0 15px 30px rgba(0,0,0,0.15);}

.tfk-btn{
  display:inline-block;
  background:var(--tfk-orange);
  color:#fff;
  padding:13px 28px;
  border-radius:30px;
  font-weight:700;
  margin-right:12px;
  margin-bottom:10px;
  transition:0.2s;
}
.tfk-btn:hover{background:var(--tfk-orange-dark);}
.tfk-btn.outline{
  background:transparent;
  border:2px solid var(--tfk-orange);
  color:var(--tfk-orange);
}

/* ---------- Info strip ---------- */
.tfk-info-strip{
  background:var(--tfk-orange);
  color:#fff;
  padding:22px 0;
}
.tfk-info-strip .container{
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
  gap:16px;
  text-align:center;
}
.tfk-info-strip .item strong{display:block; font-size:16px;}
.tfk-info-strip .item span{font-size:13px; opacity:0.9;}

/* ---------- Section ---------- */
.tfk-section{padding:60px 0;}
.tfk-section h2{
  text-align:center;
  font-size:30px;
  color:var(--tfk-orange-dark);
  margin-bottom:10px;
}
.tfk-section .subtitle{
  text-align:center;
  margin-bottom:36px;
  color:#6b5a4e;
}

/* ---------- Menu grid ---------- */
.tfk-menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:26px;
}
.tfk-menu-card{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  transition:0.25s;
}
.tfk-menu-card:hover{transform:translateY(-6px); box-shadow:0 14px 26px rgba(0,0,0,0.12);}
.tfk-menu-card .thumb{height:190px; overflow:hidden;}
.tfk-menu-card .thumb img{width:100%; height:100%; object-fit:cover;}
.tfk-menu-card .body{padding:16px 18px;}
.tfk-menu-card h3{margin:0 0 6px; font-size:18px;}
.tfk-menu-card .price{color:var(--tfk-orange); font-weight:700; margin-top:8px; display:block;}

/* ---------- About ---------- */
.tfk-about .container{
  display:flex;
  gap:40px;
  align-items:center;
  flex-wrap:wrap;
}
.tfk-about-img, .tfk-about-text{flex:1; min-width:280px;}
.tfk-about-img img{border-radius:16px;}

/* ---------- Why us ---------- */
.tfk-features{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:24px;
}
.tfk-feature{
  background:#fff;
  padding:26px 20px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 6px 16px rgba(0,0,0,0.05);
}
.tfk-feature .icon{font-size:34px; margin-bottom:12px;}

/* ---------- Testimonials ---------- */
.tfk-testimonials{background:#fff;}
.tfk-testi-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:22px;
}
.tfk-testi-card{
  background:var(--tfk-cream);
  padding:22px;
  border-radius:14px;
  border-left:4px solid var(--tfk-orange);
}
.tfk-testi-card .name{font-weight:700; margin-top:10px;}

/* ---------- Contact ---------- */
.tfk-contact .container{
  display:flex;
  gap:40px;
  flex-wrap:wrap;
}
.tfk-contact-info, .tfk-contact-form{flex:1; min-width:280px;}
.tfk-contact-info ul li{margin-bottom:16px; font-size:15px;}
.tfk-contact-info ul li strong{display:block; color:var(--tfk-orange-dark);}

.tfk-form input, .tfk-form textarea, .tfk-form select{
  width:100%;
  padding:12px 14px;
  margin-bottom:14px;
  border:1px solid #e6d5c3;
  border-radius:10px;
  font-family:inherit;
  font-size:14px;
  background:#fff;
}
.tfk-form button{
  background:var(--tfk-orange);
  color:#fff;
  border:none;
  padding:13px 26px;
  border-radius:30px;
  font-weight:700;
  cursor:pointer;
}
.tfk-form button:hover{background:var(--tfk-orange-dark);}
.tfk-form-message{padding:12px; border-radius:8px; margin-bottom:14px;}
.tfk-form-message.success{background:#d9f7e3; color:#116631;}
.tfk-form-message.error{background:#fde2e1; color:#8a1f1f;}

.tfk-map{margin-top:26px; border-radius:14px; overflow:hidden;}

/* ---------- Footer ---------- */
.tfk-footer{
  background:var(--tfk-dark);
  color:#f0e4da;
  padding:50px 0 20px;
}
.tfk-footer .container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:30px;
}
.tfk-footer h4{color:#fff; margin-bottom:14px;}
.tfk-footer a:hover{color:var(--tfk-orange);}
.tfk-footer-bottom{
  text-align:center;
  padding-top:24px;
  margin-top:24px;
  border-top:1px solid rgba(255,255,255,0.1);
  font-size:13px;
  color:#c8b7a9;
}

/* ---------- WhatsApp floating button ---------- */
.tfk-whatsapp-float{
  position:fixed;
  bottom:22px;
  right:22px;
  background:var(--tfk-green);
  color:#fff;
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  box-shadow:0 6px 16px rgba(0,0,0,0.25);
  z-index:1000;
}

/* ---------- Responsive ---------- */
@media (max-width:768px){
  .tfk-nav{width:100%; order:3;}
  .tfk-nav ul{justify-content:center; gap:14px;}
  .tfk-hero-text h1{font-size:28px;}
}
