/* ============================================================
   PORTFOLIO PAGE STYLES
   ============================================================ */

/* Page hero */
.page-hero {
  padding-top: calc(var(--space-20) + 72px);
  padding-bottom: var(--space-16);
  background: linear-gradient(160deg, #EFF6FF 0%, #FFFFFF 60%);
  text-align: center;
}

.page-hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.page-hero__title em {
  font-style: normal;
  color: var(--color-primary);
}

.page-hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Filters */
.portfolio-filters {
  display: none;
}

/* Portfolio grid */
.portfolio-section {
  padding-block: var(--space-16);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.port-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}

.port-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.port-card__browser {
  background: #F1F5F9;
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.port-card__dots {
  display: flex;
  gap: 4px;
}

.port-card__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
}

.port-card__dot--r { background: #FC5F5A; }
.port-card__dot--y { background: #FDBB2E; }
.port-card__dot--g { background: #27C93F; }

.port-card__url {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  height: 16px;
  font-size: 8px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  padding-inline: 6px;
  border: 1px solid var(--color-border);
}

.port-card__preview {
  height: 240px;
  overflow: hidden;
}

.port-card__info {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
}

.port-card__tags {
  display: none;
}

.port-card__name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.port-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   MINI WEBSITE DESIGNS — one per business type
   ============================================================ */

/* --- Restaurant --- */
.ms-restaurant {
  height: 100%;
  background: #1A0A00;
  display: flex;
  flex-direction: column;
  font-family: Georgia, serif;
}

.ms-restaurant__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0,0,0,0.5);
}

.ms-restaurant__logo {
  font-size: 11px;
  font-weight: 700;
  color: #D4A853;
  letter-spacing: 1px;
}

.ms-restaurant__links {
  display: flex;
  gap: 10px;
}

.ms-restaurant__link {
  width: 24px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
}

.ms-restaurant__hero {
  flex: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%),
              linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #A0522D 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px;
}

.ms-restaurant__tag {
  font-size: 7px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4A853;
  margin-bottom: 6px;
}

.ms-restaurant__title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}

.ms-restaurant__sub {
  font-size: 7px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  font-family: sans-serif;
}

.ms-restaurant__btn {
  background: #D4A853;
  color: #1A0A00;
  font-size: 7px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: sans-serif;
}

.ms-restaurant__menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  background: #111;
}

.ms-restaurant__item {
  background: #1E1107;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
}

.ms-restaurant__emoji { font-size: 16px; }
.ms-restaurant__item-name {
  font-size: 7px;
  color: #D4A853;
  margin-top: 3px;
  font-family: sans-serif;
}

.ms-restaurant__price {
  font-size: 8px;
  color: rgba(255,255,255,0.5);
  font-family: sans-serif;
}

/* --- Salon / Beauty --- */
.ms-salon {
  height: 100%;
  background: #FFF0F5;
  display: flex;
  flex-direction: column;
  font-family: 'Georgia', serif;
}

.ms-salon__nav {
  background: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #FFD6E7;
}

.ms-salon__logo {
  font-size: 11px;
  font-weight: 700;
  color: #C2185B;
  letter-spacing: 1px;
  font-style: italic;
}

.ms-salon__nav-links {
  display: flex;
  gap: 8px;
}

.ms-salon__nav-link {
  width: 24px;
  height: 4px;
  background: #FFD6E7;
  border-radius: 2px;
}

.ms-salon__hero {
  background: linear-gradient(135deg, #FCE4EC, #F8BBD9, #E91E8C22);
  padding: 20px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ms-salon__icon { font-size: 22px; margin-bottom: 6px; }

.ms-salon__title {
  font-size: 15px;
  color: #880E4F;
  margin-bottom: 4px;
  font-style: italic;
}

.ms-salon__sub {
  font-size: 7px;
  color: #C2185B;
  font-family: sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ms-salon__btn {
  background: #C2185B;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ms-salon__services {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: #fff;
}

.ms-salon__service {
  flex: 1;
  background: #FFF0F5;
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  border: 1px solid #FFD6E7;
}

.ms-salon__service-emoji { font-size: 14px; }
.ms-salon__service-name {
  font-size: 7px;
  color: #880E4F;
  margin-top: 3px;
  font-family: sans-serif;
}

/* --- Plumber / Trades --- */
.ms-plumber {
  height: 100%;
  background: #1565C0;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

.ms-plumber__nav {
  background: #0D47A1;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-plumber__logo {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-plumber__logo-icon { font-size: 12px; }

.ms-plumber__badge {
  background: #F57C00;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.ms-plumber__hero {
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  padding: 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ms-plumber__trust {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 7px;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
}

.ms-plumber__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.ms-plumber__sub {
  font-size: 7px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.ms-plumber__btns {
  display: flex;
  gap: 6px;
}

.ms-plumber__btn-main {
  background: #F57C00;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
}

.ms-plumber__btn-sec {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 7px;
  padding: 4px 10px;
  border-radius: 3px;
}

.ms-plumber__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
  background: #0D47A1;
}

.ms-plumber__service {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 6px;
  text-align: center;
}

.ms-plumber__service-icon { font-size: 12px; }
.ms-plumber__service-name {
  font-size: 6px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* --- Fitness / Gym --- */
.ms-gym {
  height: 100%;
  background: #111;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

.ms-gym__nav {
  background: #000;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-gym__logo {
  font-size: 11px;
  font-weight: 900;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ms-gym__nav-btn {
  background: #F59E0B;
  color: #000;
  font-size: 7px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.ms-gym__hero {
  background: linear-gradient(135deg, #1a1a1a, #111);
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ms-gym__hero::before {
  content: '💪';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  opacity: 0.15;
}

.ms-gym__label {
  font-size: 7px;
  color: #F59E0B;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ms-gym__title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.ms-gym__title span { color: #F59E0B; }

.ms-gym__sub {
  font-size: 7px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.ms-gym__btn {
  background: #F59E0B;
  color: #000;
  font-size: 8px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 3px;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 1px;
}

.ms-gym__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #000;
  padding: 8px;
  gap: 4px;
}

.ms-gym__stat {
  text-align: center;
}

.ms-gym__stat-number {
  font-size: 12px;
  font-weight: 900;
  color: #F59E0B;
}

.ms-gym__stat-label {
  font-size: 6px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* --- Real Estate --- */
.ms-realty {
  height: 100%;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

.ms-realty__nav {
  background: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E8F0;
}

.ms-realty__logo {
  font-size: 10px;
  font-weight: 800;
  color: #0F172A;
}

.ms-realty__logo span { color: #2563EB; }

.ms-realty__nav-links {
  display: flex;
  gap: 8px;
}

.ms-realty__nav-link {
  width: 22px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
}

.ms-realty__search {
  background: #1E3A5F;
  padding: 14px 12px;
}

.ms-realty__search-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.ms-realty__search-bar {
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ms-realty__search-input {
  font-size: 7px;
  color: #94A3B8;
  flex: 1;
}

.ms-realty__search-btn {
  background: #2563EB;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.ms-realty__listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 8px;
  flex: 1;
}

.ms-realty__listing {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.ms-realty__listing-img {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ms-realty__listing-info {
  padding: 4px 6px;
}

.ms-realty__listing-price {
  font-size: 9px;
  font-weight: 800;
  color: #2563EB;
}

.ms-realty__listing-addr {
  font-size: 6px;
  color: #94A3B8;
}

/* --- Pet Care --- */
.ms-petcare {
  height: 100%;
  background: #F0FDF4;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

.ms-petcare__nav {
  background: #166534;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-petcare__logo {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-petcare__logo-icon { font-size: 14px; }

.ms-petcare__nav-btn {
  background: #4ADE80;
  color: #166534;
  font-size: 7px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.ms-petcare__hero {
  background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
  padding: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ms-petcare__hero-emoji { font-size: 36px; }

.ms-petcare__hero-text { flex: 1; }

.ms-petcare__hero-title {
  font-size: 13px;
  font-weight: 800;
  color: #14532D;
  margin-bottom: 4px;
  line-height: 1.2;
}

.ms-petcare__hero-sub {
  font-size: 7px;
  color: #166534;
  margin-bottom: 8px;
}

.ms-petcare__hero-btn {
  background: #16A34A;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.ms-petcare__services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  background: #fff;
  flex: 1;
}

.ms-petcare__service {
  background: #F0FDF4;
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  border: 1px solid #D1FAE5;
}

.ms-petcare__service-emoji { font-size: 16px; }
.ms-petcare__service-name {
  font-size: 6px;
  color: #166534;
  margin-top: 3px;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .page-hero__title { font-size: var(--font-size-3xl); }
}
