/* assets/css/style.css
   Unified, cleaned and responsive styles for Aryan Kunj site
   - Replace your existing CSS with this file
   - Uses Inter font (include from header)
*/

/* ========== Theme variables ========== */
:root{
  --brand: #0b5f73;       /* primary teal */
  --brand-2: #0f7b88;     /* secondary teal */
  --accent: #f97316;      /* orange accent */
  --muted: #6b7280;
  --bg: #f6f7f8;
  --card: #ffffff;
  --white: #ffffff;
  --radius: 12px;
  --shadow-1: 0 6px 20px rgba(11,36,51,0.06);
  --shadow-2: 0 12px 30px rgba(11,36,51,0.08);
  --max-width: 1150px;
  --font-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --gap: 18px;
}

/* ========== Reset & base ========== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:#111;
  font-family:var(--font-sans);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-feature-settings: "kern";
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:18px;
}

/* links/buttons */
a{color:inherit}
a:hover{text-decoration:none}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  border:0;
  text-decoration:none;
  font-weight:700;
  transition:transform .14s ease, box-shadow .14s ease, opacity .14s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus{outline:3px solid rgba(11,95,115,0.12);outline-offset:3px;}

/* primary / outline / cta */
.btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:var(--white)}
.btn-cta{background:linear-gradient(135deg,var(--accent),#f05a2a);color:var(--white)}
.btn-outline{background:transparent;border:1px solid var(--brand);color:var(--brand)}

/* small text */
.small, .small-muted{font-size:13px;color:var(--muted)}

/* ========== Topbar ========== */
.topbar{
  background:var(--brand);
  color:var(--white);
  font-size:14px;
}
.top-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:6px 18px;
  gap:12px;
}
.top-left, .top-right{display:flex;align-items:center;gap:12px}
.top-left a, .top-right a{color:rgba(255,255,255,0.95);text-decoration:none;font-weight:600}
.top-left .ico, .top-right .ico{vertical-align:middle;margin-right:6px;opacity:0.95}

/* ========== Header / Nav ========== */
.site-header{
  background:var(--card);
  box-shadow:var(--shadow-1);
  position:sticky;
  top:0;
  z-index:70;
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 18px;
}
.brand{display:flex;align-items:center;gap:12px}
.logo{height:56px;width:auto;object-fit:contain;border-radius:8px}
.brand-text{line-height:1}
.brand-name{font-weight:800;color:var(--brand);font-size:18px}
.brand-tag{font-size:13px;color:var(--muted)}

/* main navigation */
.main-nav{display:flex;gap:8px;align-items:center;margin-left:12px}
.main-nav a{
  color:#374151;
  text-decoration:none;
  padding:8px 12px;
  border-radius:8px;
  font-weight:600;
  transition:all .14s ease;
}
.main-nav a:hover{background:rgba(11,36,51,0.04)}
.main-nav a.active{
  background:linear-gradient(90deg,var(--brand),var(--brand-2));
  color:var(--white);
  box-shadow:var(--shadow-2);
}

/* CTA in nav */
.nav-cta .btn-primary{padding:10px 14px;border-radius:8px}

/* mobile toggle button */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  cursor:pointer;
  padding:8px;
  border-radius:8px;
}
.nav-toggle .bar{display:block;width:22px;height:2px;background:#374151;margin:4px 0;border-radius:3px}

/* ========== HERO ========== */
.hero{
  background-size:cover;
  background-position:center;
  padding:56px 0;
  border-bottom:6px solid rgba(0,0,0,0.04);
  position:relative;
  color:var(--white);
}
.hero::after{
  content:'';
  position:absolute;
  left:0;right:0;top:0;bottom:0;
  /* dark overlay for readability */
  background:linear-gradient(180deg, rgba(11,36,51,0.45), rgba(11,36,51,0.25));
  z-index:0;
}
.hero-inner{
  display:flex;
  gap:24px;
  align-items:center;
  position:relative;
  z-index:1;
  flex-wrap:wrap;
}
.hero-content{flex:1;max-width:62%}
.hero h1{
  font-size:40px;
  margin:0 0 10px;
  text-shadow:0 8px 40px rgba(0,0,0,0.45);
  line-height:1.05;
}
.lead{font-size:16px;color:rgba(255,255,255,0.95);margin-bottom:16px}
.hero-actions .btn{display:inline-block;margin-right:10px}

/* hero card (right) */
.hero-card{
  background:var(--card);
  padding:14px;
  border-radius:var(--radius);
  min-width:260px;
  box-shadow:0 14px 40px rgba(11,36,51,0.12);
  color:#0b2433;
}

/* ========== Feature strip ========== */
.feature-strip{
  background:var(--card);
  padding:18px 0;
  border-bottom:1px solid #f0f0f0;
}
.feature-inner{
  display:flex;
  gap:18px;
  justify-content:space-between;
}
.feature{
  flex:1;
  text-align:center;
  background:var(--card);
  border-radius:10px;
  padding:10px;
}
.feature img{width:100%;height:160px;object-fit:cover;border-radius:8px;margin-bottom:8px}
.feature h4{margin:6px 0 4px}

/* ========== Main sections / grid / cards ========== */
.section{padding:34px 0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.card{
  background:var(--card);
  border-radius:10px;
  overflow:hidden;
  box-shadow:var(--shadow-2);
  text-align:left;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 26px 50px rgba(11,36,51,0.10); }
.card img{width:100%;height:180px;object-fit:cover;display:block}
.card .card-title{padding:12px;font-weight:700}

/* small utilities */
.gallery{display:flex;gap:10px;flex-wrap:wrap}
.gallery img{width:32%;height:120px;object-fit:cover;border-radius:8px}
.booking-form input, .booking-form select{display:block;width:100%;padding:10px;margin:8px 0;border:1px solid #ddd;border-radius:8px}

/* notifications */
.success{background:#e6ffed;padding:12px;border-radius:8px;border:1px solid #b6f0c6;color:#065a2f;margin-bottom:12px}
.error{background:#ffe6e6;padding:12px;border-radius:8px;border:1px solid #f0b6b6;color:#a00;margin-bottom:12px}

/* ========== Footer basics ========== */
.site-footer{margin-top:28px}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  padding:20px 0;
  border-top:1px solid #eee;
  background:var(--card);
  flex-wrap:wrap;
}
.footer-bottom{padding:12px 0;text-align:center;color:#666}

/* ========== Floating action buttons (FAB) ========== */
.fab-wrap{
  position:fixed;
  right:18px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:90;
}
.fab{
  width:52px;height:52px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--white);
  text-decoration:none;box-shadow:0 12px 30px rgba(11,36,51,0.14);
  transition:transform .18s ease, box-shadow .18s ease;
}
.fab:hover{ transform: translateY(-6px); box-shadow: 0 26px 50px rgba(11,36,51,0.12); }
.fab.call{background:#ff7a54}
.fab.wh{background:#25D366}

/* ========== Responsive rules ========== */
@media (max-width:1150px){
  .grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:980px){
  .hero-inner{flex-direction:column}
  .hero-content{max-width:100%}
  .hero-card{width:100%}
  .grid{grid-template-columns:repeat(2,1fr)}
  .feature-inner{flex-direction:column}
  .nav-toggle{display:block}
  .main-nav{display:none}
  /* when mobile menu open, body gets class .nav-open */
  body.nav-open .main-nav{
    display:flex;
    position:fixed;
    left:18px;right:18px;top:84px;
    background:var(--card);
    border-radius:10px;
    padding:12px;
    box-shadow:0 12px 40px rgba(11,36,51,0.14);
    flex-direction:column;
    gap:8px;
    z-index:9999;
  }
  .brand-text{display:none} /* hide text to save space on small screens */
}
@media (max-width:680px){
  .grid{grid-template-columns:1fr}
  .card img{height:160px}
  .testi-track > .card{min-width:260px}
  .container{padding:14px}
  .btn{padding:10px 12px;font-size:15px}
  .hero{padding:28px 0}
  h1{font-size:26px}
  .top-inner{flex-direction:column;gap:8px;text-align:center}
  .top-right{margin-top:4px}
  .nav-cta .btn-primary{padding:8px 10px;font-size:14px}
  .logo{height:48px}
}

/* accessibility / preference */
@media (prefers-reduced-motion: no-preference){
  .card, .hero-card, .fab{transition: transform .18s ease, box-shadow .18s ease}
}

/* small helpers */
.hidden-mobile{display:inline-block}
@media (max-width:680px){ .hidden-mobile{display:none} }

/* ========== Admin panel small helpers ========== */
.admin .card { background:#fff;border-radius:10px;box-shadow:0 12px 30px rgba(11,36,51,0.06); }
.admin .btn { font-weight:700 }
.admin .btn-outline { background:transparent;border:1px solid #dfe7ea;color:#0b2433 }

/* Admin tables responsiveness */
.admin-table{width:100%;border-collapse:collapse}
.admin-table th, .admin-table td{padding:10px;border-bottom:1px solid #eee;text-align:left;font-size:14px}
@media (max-width:850px){
  .admin-table thead{display:none}
  .admin-table tr{display:block;margin-bottom:12px;background:#fff;border-radius:10px;box-shadow:0 6px 20px rgba(11,36,51,0.06);padding:10px}
  .admin-table td{display:flex;justify-content:space-between;align-items:center;border:0;padding:6px 0}
  .admin-table td::before{content:attr(data-label);font-weight:700;color:#374151}
}
