/* ============================================================
   ISLAMABADHOTTIES.COM — DIRECTORY DESIGN — FLAT COLORS ONLY
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Brand */
    --red:          #c8102e;
    --red-dark:     #a00d24;
    --red-muted:    #f5e6e9;
    /* Neutrals */
    --black:        #111111;
    --dark:         #1c1c1e;
    --dark-2:       #2c2c2e;
    --dark-3:       #3a3a3c;
    --gray:         #636366;
    --gray-light:   #aeaeb2;
    --border:       #e5e5ea;
    --border-dark:  #d1d1d6;
    --bg:           #f2f2f7;
    --bg-2:         #ffffff;
    --bg-3:         #f8f8f8;
    /* Text */
    --text:         #111111;
    --text-2:       #3a3a3c;
    --text-3:       #636366;
    --text-4:       #aeaeb2;
    /* Shadows */
    --sh-xs: 0 1px 2px rgba(0,0,0,0.06);
    --sh-sm: 0 2px 8px rgba(0,0,0,0.08);
    --sh-md: 0 4px 20px rgba(0,0,0,0.10);
    --sh-lg: 0 8px 40px rgba(0,0,0,0.13);
    /* Radius */
    --r-sm:   6px;
    --r-md:   10px;
    --r-lg:   14px;
    --r-xl:   20px;
    --r-full: 9999px;
    /* Transition */
    --t: 0.22s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    background: var(--red);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 7px 0;
    text-align: center;
}
.topbar a { color: #fff; text-decoration: underline; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
    background: var(--bg-2);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
}
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

/* Logo */
.nav-logo a { display: flex; align-items: center; gap: 8px; }
.logo-img { height: 38px; width: auto; display: block; object-fit: contain; }
.logo-text { font-size: 1.35rem; font-weight: 900; color: var(--red); letter-spacing: -0.5px; white-space: nowrap; }
.logo-emoji { font-size: 1.3rem; }

/* Nav search */
.nav-search { flex: 1; max-width: 380px; display: none; position: relative; }
@media (min-width: 860px) { .nav-search { display: block; } }
.search-input {
    width: 100%;
    padding: 9px 42px 9px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    font-size: 0.88rem;
    font-family: inherit;
    background: var(--bg-3);
    color: var(--text);
    transition: border-color var(--t), box-shadow var(--t);
}
.search-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-muted); background: var(--bg-2); }
.search-input::placeholder { color: var(--text-4); }
.search-btn {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    background: var(--red); color: #fff; border: none;
    width: 28px; height: 28px; border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background var(--t);
}
.search-btn:hover { background: var(--red-dark); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
@media (max-width: 900px) { .nav-links { display: none; } }
.nav-link { font-size: 0.88rem; font-weight: 500; color: var(--text-2); padding: 7px 13px; border-radius: var(--r-sm); transition: background var(--t), color var(--t); }
.nav-link:hover { background: var(--bg-3); color: var(--red); }

.btn-nav {
    background: var(--red); color: #fff;
    padding: 8px 18px; border-radius: var(--r-sm);
    font-weight: 700; font-size: 0.85rem;
    transition: background var(--t);
    white-space: nowrap;
}
.btn-nav:hover { background: var(--red-dark); }

/* Mobile toggle */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 1.5px solid var(--border); padding: 8px; border-radius: var(--r-sm); cursor: pointer; margin-left: auto; }
@media (max-width: 900px) { .mobile-menu-btn { display: flex; } }
.mobile-menu-btn span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; display: block; }

/* Mobile menu */
.mobile-menu { display: none; flex-direction: column; border-top: 1px solid var(--border); padding: 12px 0 16px; gap: 2px; }
.mobile-menu.active { display: flex; }
.mobile-link { font-size: 0.93rem; font-weight: 500; color: var(--text-2); padding: 10px 14px; border-radius: var(--r-sm); }
.mobile-link:hover { background: var(--bg-3); color: var(--red); }
.mobile-link.primary { background: var(--red); color: #fff; text-align: center; margin-top: 6px; font-weight: 700; }
.mobile-link.primary:hover { background: var(--red-dark); }



/* ============================================================
   HERO — DIRECTORY STYLE
   ============================================================ */
.hero {
    background: var(--dark);
    color: #fff;
    padding: 64px 0 56px;
    border-bottom: 3px solid var(--red);
}
.hero-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.hero-tag-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-chip { background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-chip.outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.75); }

.hero-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
    color: #fff;
}
.hero-title .accent { color: var(--red); }
.hero-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

/* Hero search */
.hero-search-wrap {
    display: flex;
    background: #fff;
    border-radius: var(--r-md);
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto 40px;
    border: 2px solid var(--border);
}
.hero-search-wrap input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: transparent;
}
.hero-search-wrap input::placeholder { color: var(--text-4); }
.hero-search-wrap input:focus { outline: none; }
.hero-search-wrap button {
    background: var(--red); color: #fff;
    border: none; padding: 14px 26px;
    font-weight: 700; font-size: 0.9rem;
    cursor: pointer; font-family: inherit;
    transition: background var(--t);
    white-space: nowrap;
}
.hero-search-wrap button:hover { background: var(--red-dark); }

/* Stats row */
.hero-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.h-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-md);
    padding: 16px 28px;
    text-align: center;
    min-width: 110px;
}
.h-stat-num { display: block; font-size: 1.8rem; font-weight: 900; color: var(--red); line-height: 1; }
.h-stat-lbl { display: block; font-size: 0.73rem; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }

/* Quick links */
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.hero-link {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.78);
    font-size: 0.8rem; font-weight: 500;
    padding: 6px 14px; border-radius: var(--r-full);
    transition: background var(--t), color var(--t), border-color var(--t);
}
.hero-link:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.sec-label { display: inline-block; background: var(--red-muted); color: var(--red); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 10px; }
.sec-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; color: var(--text); letter-spacing: -0.6px; margin-bottom: 8px; }
.sec-sub { font-size: 0.95rem; color: var(--text-3); max-width: 500px; line-height: 1.7; }
.sec-header { margin-bottom: 36px; }
.sec-header.center { text-align: center; }
.sec-header.center .sec-sub { margin: 0 auto; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
.filter-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-size: 0.8rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; margin-right: 4px; }
.filter-btn { background: var(--bg-3); border: 1.5px solid var(--border); color: var(--text-2); font-size: 0.82rem; font-weight: 600; padding: 6px 14px; border-radius: var(--r-full); cursor: pointer; font-family: inherit; transition: all var(--t); white-space: nowrap; }
.filter-btn:hover, .filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }


/* ============================================================
   PROFILE CARDS — PRESERVED EXACTLY
   ============================================================ */
.featured-section { padding: 56px 0; background: var(--bg); }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

.profile-card { background: var(--bg-2); border-radius: var(--r-lg); overflow: hidden; border: 1.5px solid var(--border); box-shadow: var(--sh-xs); transition: transform var(--t), box-shadow var(--t), border-color var(--t); display: flex; flex-direction: column; }
.profile-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--red); }

.profile-image { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-3); }
.profile-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.profile-card:hover .profile-photo { transform: scale(1.06); }
.profile-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.75) 100%); pointer-events: none; }

/* Badges */
.profile-image .badge { position: absolute; top: 10px; z-index: 2; }
.profile-image .badge:first-child { left: 10px; }
.profile-image .badge:nth-child(2) { left: 82px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); font-size: 0.68rem; font-weight: 700; white-space: nowrap; }
.badge-hot       { background: var(--red);    color: #fff; }
.badge-verified  { background: #16a34a;       color: #fff; }
.badge-new       { background: #7c3aed;       color: #fff; }
.badge-available { background: #0284c7;       color: #fff; }
.badge-vip       { background: #b45309;       color: #fff; }

.profile-info { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.profile-name { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.profile-location { font-size: 0.78rem; color: var(--text-3); font-weight: 500; }
.profile-description { font-size: 0.82rem; color: var(--text-3); line-height: 1.55; flex: 1; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.tag { background: var(--bg-3); color: var(--text-3); border: 1px solid var(--border); padding: 3px 9px; border-radius: var(--r-full); font-size: 0.72rem; font-weight: 600; }
.profile-btn { display: block; background: var(--red); color: #fff; text-align: center; padding: 10px; border-radius: var(--r-md); font-weight: 700; font-size: 0.85rem; margin-top: 10px; transition: background var(--t); }
.profile-btn:hover { background: var(--red-dark); }

.view-all { text-align: center; margin-top: 36px; }
.btn-outline { display: inline-block; border: 2px solid var(--red); color: var(--red); padding: 11px 32px; border-radius: var(--r-md); font-weight: 700; font-size: 0.9rem; transition: background var(--t), color var(--t); }
.btn-outline:hover { background: var(--red); color: #fff; }

/* ============================================================
   LOCATIONS SECTION
   ============================================================ */
.locations-section { padding: 56px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.location-card { background: var(--bg-3); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 22px 16px; text-align: center; transition: border-color var(--t), background var(--t), transform var(--t); cursor: pointer; }
.location-card:hover { border-color: var(--red); background: var(--red-muted); transform: translateY(-3px); }
.location-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.location-name { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.location-count { font-size: 0.75rem; color: var(--text-3); font-weight: 500; }

/* ============================================================
   WHY US / INFO SECTION
   ============================================================ */
.info-section { padding: 56px 0; background: var(--bg); border-top: 1px solid var(--border); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.info-card { background: var(--bg-2); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; transition: border-color var(--t), transform var(--t), box-shadow var(--t); }
.info-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--sh-md); }
.info-icon { width: 46px; height: 46px; background: var(--red-muted); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.info-title { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.info-text { font-size: 0.85rem; color: var(--text-3); line-height: 1.7; }


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 56px 0; background: var(--dark); border-top: 3px solid var(--red); }
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; letter-spacing: -0.6px; margin-bottom: 16px; }
.cta-text { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 36px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-cta-primary { background: var(--red); color: #fff; padding: 14px 36px; border-radius: var(--r-md); font-weight: 800; font-size: 0.95rem; transition: background var(--t); display: inline-block; }
.btn-cta-primary:hover { background: var(--red-dark); }
.btn-cta-secondary { background: transparent; color: #fff; padding: 14px 36px; border: 2px solid rgba(255,255,255,0.25); border-radius: var(--r-md); font-weight: 700; font-size: 0.95rem; transition: border-color var(--t), background var(--t); display: inline-block; }
.btn-cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.07); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: #fff; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-text { font-size: 1.3rem; font-weight: 900; color: var(--red); margin-bottom: 12px; display: block; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 20px; max-width: 260px; }
.footer-social { display: flex; gap: 8px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background var(--t); }
.social-link:hover { background: var(--red); border-color: var(--red); }
.footer-title { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-disc { font-size: 0.73rem; color: rgba(255,255,255,0.2); max-width: 600px; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .hero { padding: 48px 0 40px; }
    .profile-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .location-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .cta-btns { flex-direction: column; align-items: center; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; max-width: 320px; text-align: center; }
}
@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .hero { padding: 40px 0 32px; }
    .h-stat { padding: 12px 18px; min-width: 80px; }
    .h-stat-num { font-size: 1.4rem; }
    .profile-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .profile-info { padding: 12px; }
    .profile-name { font-size: 0.95rem; }
    .profile-btn { font-size: 0.8rem; padding: 9px; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 380px) {
    .profile-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 8px; }
}

