/*
Theme Name: T&T-Style Exact Prototype
Author: ChatGPT
Description: Prototype theme matching T&T Group styling (brown + yellow). Auto-creates pages & menu on activation.
Version: 1.0
Text Domain: tt-ttstyle
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');
:root{
  --tt-yellow:#f6b600;
  --tt-yellow-dark:#f0a800;
  --tt-brown:#6a2a0f;
  --bg:#ffffff;
  --muted:#6b7280;
  --container:1180px;
}
*{box-sizing:border-box}
body{font-family:Montserrat, Arial, sans-serif; margin:0; color:#222; background:var(--bg); line-height:1.6}
.wrap{max-width:var(--container); margin:0 auto; padding:0 20px}

/* Top brown bar */
.topbar{background:var(--tt-brown); color:#fff; font-size:14px}
.topbar .wrap{display:flex; justify-content:flex-end; gap:18px; padding:8px 0}

/* Yellow nav */
.site-header{background:var(--tt-yellow); box-shadow:0 6px 18px rgba(0,0,0,0.08); position:sticky; top:0; z-index:40}
.site-header .wrap{display:flex; align-items:center; justify-content:space-between; padding:18px 0}
.logo img{height:64px}
.main-nav ul{list-style:none; display:flex; gap:28px; margin:0; padding:0; align-items:center}
.main-nav li{position:relative}
.main-nav a{color:var(--tt-brown); text-decoration:none; font-weight:700; padding:6px 2px}
.main-nav a:hover{opacity:0.85}
.main-nav .has-sub:hover > .sub-menu{display:block}

/* dropdown */
.sub-menu{display:none; position:absolute; top:44px; left:0; background:#fff; min-width:260px; box-shadow:0 8px 20px rgba(0,0,0,0.12); border-radius:4px; overflow:hidden}
.sub-menu li{padding:12px 18px; color:var(--tt-brown)}
.sub-menu li a{color:var(--tt-brown); font-weight:600}
.sub-menu li:hover{background:linear-gradient(90deg,var(--tt-yellow),var(--tt-yellow-dark))}

/* Hero */
.hero{position:relative; overflow:hidden}
.hero-bg{width:100%; height:520px; object-fit:cover; display:block}
.hero-inner{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; color:#fff}
.hero-title{font-size:64px; font-weight:800; color:#fff; text-shadow:0 8px 24px rgba(0,0,0,0.35); margin:0}
.hero-sub{font-size:22px; color:#fff; margin-top:8px}

/* Quick nav tab under hero */
.quick-tabs{margin-top:-28px}
.quick-tabs .tabs{background:#fff; display:flex; justify-content:space-around; box-shadow:0 8px 30px rgba(0,0,0,0.08); padding:14px 0}
.tab{font-weight:700; color:var(--tt-brown); padding:12px 24px}

/* Sections */
.section{padding:60px 0}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:center}

/* Projects slider area with brown left panel */
.projects{display:grid; grid-template-columns:360px 1fr; gap:0; align-items:center; background:var(--tt-brown); color:#fff}
.projects .left{padding:40px; text-align:left}
.projects .left h3{color:var(--tt-yellow); font-size:28px; margin-bottom:18px}
.projects .left .btn{background:transparent; border:1px solid rgba(255,255,255,0.2); color:#fff; padding:12px 18px; font-weight:700; text-decoration:none; border-radius:6px}

/* slider right */
.projects .right{padding:20px; background:var(--tt-yellow);}
.projects img{width:100%; border-radius:4px}

/* Footer */
.site-footer{background:var(--tt-brown); color:var(--tt-yellow); padding:40px 0}
.footer-top{display:flex; gap:40px; align-items:flex-start}
.footer-top img{height:56px}
.footer-links{list-style:none; padding:0; margin:0}
.footer-links li{margin:8px 0}
.footer-bottom{background:#4a160d; color:#f3d08a; text-align:center; padding:12px 0; margin-top:18px}

/* Responsive */
@media (max-width:900px){
  .main-nav{display:none}
  .site-header .wrap{padding:12px 0}
  .hero-title{font-size:34px}
  .projects{grid-template-columns:1fr; }
  .projects .left{text-align:center}
}
@media (max-width:480px){
  .logo img{height:48px}
  .hero-inner{padding:0 12px}
}
