@import url('/media/FA7/css/all.min.css');

/* ====== WMNR – Homepage essentials ====== */
:root{
  --cassiopeia-color-primary: #004177;
  --cassiopeia-color-link: #30638d;
  --link-color: #30638d;
  --link-color-rgb: 48, 99, 141;
  --cassiopeia-color-hover: #004177;
  --link-hover-color: #004177;
  --link-hover-color-rgb: 149, 75, 86;
  --wmnr-bg: #ffffff;
  --wmnr-text: #0f172a;
  --wmnr-muted: #6b7280;
  --wmnr-primary: #004177;
  --wmnr-primary-weak: #e6f0ff;
  --wmnr-accent: #F37D1F;
  --wmnr-border: #e5e7eb;
  --wmnr-card: #ffffff;
  --wmnr-green: #009900;
}

.wmnr-homepage{ color:var(--wmnr-text); background:var(--wmnr-bg); font-size:16px; line-height:1.6; }
.wmnr-container{ max-width:1100px; margin:0 auto; padding:0 1rem; }
.wmnr-center{ text-align:center; }
.wmnr-muted{ color:var(--wmnr-muted); }
.wmnr-lead{ font-size:1.125rem; }

/* Hero */
.wmnr-hero{ position:relative; overflow:hidden; padding:2rem 0 1.5rem; background:linear-gradient(180deg, #f7faff 0%, #ffffff 100%); }
.wmnr-hero-inner{ position:relative; }
.wmnr-hero h1{ font-size:2.25rem; line-height:1.2; margin:0 0 .75rem; }
.wmnr-subtitle{ max-width:760px; margin:0 auto 1rem; color:#334155; }
.wmnr-hero-img{ max-width:820px; width:100%; height:auto; display:block; margin:1.25rem auto 0; }

.wmnr-cta{ display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin-top:.75rem; }
.wmnr-btn{ display:inline-block; padding:.75rem 1.25rem; border-radius:.6rem; font-weight:600; text-decoration:none; border:1px solid transparent; }
.wmnr-btn-primary{ background:var(--wmnr-primary); color:#e7e7e7; border-color:var(--wmnr-primary); }
.wmnr-btn-primary:hover{ filter:brightness(1.05);color:#fff !important;  /* Force white text on hover */ }
.wmnr-btn-ghost{ background:#fff; color:var(--wmnr-primary); border-color:var(--wmnr-primary); }
.wmnr-btn-ghost:hover{ background:var(--wmnr-primary-weak); color:var(--wmnr-primary) !important;  /* Keep primary color on hover */  }

.wmnr-section{ padding:3rem 0; }
.wmnr-section-alt{ background:#f8fafc; }

.wmnr-grid{ display:grid; gap:1.25rem; }
.wmnr-grid-2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.wmnr-grid-3{ grid-template-columns:repeat(3, minmax(0,1fr)); }

@media (max-width: 900px){
  .wmnr-grid-2, .wmnr-grid-3{ grid-template-columns:1fr; }
}

.wmnr-card{ background:var(--wmnr-card); border:1px solid var(--wmnr-border); border-radius:14px; padding:1.25rem; }
.wmnr-card h3{ margin:.5rem 0 .25rem; font-size:1.1rem; }
.wmnr-card p{ margin:0; color:var(--wmnr-muted); }

.wmnr-list-icons{ list-style:none; padding:0; margin:1rem 0 0; display:grid; gap:.5rem; }
.wmnr-li-ico{ width:24px; height:24px; vertical-align:middle; margin-right:.5rem; }

.wmnr-feature-list{ max-width:880px; margin:1.25rem auto 0; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:.5rem 1rem; padding:0; list-style:none; }
.wmnr-feature-list li{ display:flex; align-items:flex-start; gap:.5rem; }
.wmnr-feature-list.tight{ gap:.5rem 1rem; }

.wmnr-chip{ width:20px; height:20px; vertical-align:middle; margin-top:.15rem; }
.wmnr-icon{ width:48px; height:48px; display:block; margin-bottom:.5rem; }

/* ====== Back to Top Button ====== */
.back-to-top-link {
  z-index: 10000;
  color: var(--cassiopeia-color-primary, #112855);
  pointer-events: all;
  background-color: var(--white, #fff);
  border: 1px solid var(--cassiopeia-color-primary, #112855);
  opacity: 0;
  inset-inline-end: 1rem;
  border-radius: .25rem;
  padding: .5em;
  transition: opacity .2s ease-in;
  position: fixed;
  right: 200px;
}

.back-to-top-link.visible {
  opacity: 1;
}

.back-to-top-link:hover, 
.back-to-top-link:focus {
  color: var(--white, #fff);
  background-color: var(--cassiopeia-color-hover);
  border-color: var(--white, #fff);
}

/* ====== Header Styles ====== */
.ishome .container-header {
  background-color: transparent;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.5s;
}

.container-header,
.container-header.scrolled {
  background-color: #004177;
  background-image: unset;
}

.mod-custom p {
  margin: 0;
}

.container-banner .banner-overlay {
  height: 15vh;
}

/* ====== COTTAGE FOOD STYLES - MOVED OUTSIDE MEDIA QUERY ====== */

.cottage-hero {
    background: linear-gradient(135deg, #004177 0%, #0066cc 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
}

.cottage-hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.cottage-hero .subtitle {
    font-size: 1.3em;
    opacity: 0.95;
    margin-bottom: 25px;
}

.btn-primary-custom {
    background: #F47D1F;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: #d66a15;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background: white;
    color: #004177;
}

.alert-custom {
    background: #fff3cd;
    border-left: 5px solid #F47D1F;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.alert-custom h3 {
    color: #004177;
    margin-bottom: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.benefit-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #F47D1F;
}

.benefit-card h3 {
    color: #004177;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
}

.benefit-card li {
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
}

.benefit-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.package-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    background: white;
    transition: all 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.package-card.featured {
    border-color: #F47D1F;
    border-width: 3px;
    position: relative;
}

.package-card.featured:before {
    content: "BEST VALUE";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #F47D1F;
    color: white;
    padding: 4px 16px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}

.package-name {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #004177;
}

.package-price {
    font-size: 2.5em;
    font-weight: bold;
    color: #F47D1F;
    margin-bottom: 8px;
}

.package-description {
    color: #666;
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    padding: 0;
}

.package-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.package-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.package-features strong {
    color: #004177;
}

.credibility-section {
    background: #f8f9fa;
    padding: 40px 25px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.credibility-section h2 {
    color: #004177;
    margin-bottom: 20px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.proof-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.proof-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #F47D1F;
}

.proof-label {
    color: #666;
    font-size: 0.95em;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.demo-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.demo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.demo-image {
    background: linear-gradient(135deg, #004177 0%, #0066cc 100%);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.demo-content {
    padding: 20px;
}

.demo-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #004177;
}

.demo-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.demo-link {
    color: #F47D1F;
    text-decoration: none;
    font-weight: bold;
}

.demo-link:hover {
    text-decoration: underline;
}

.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #F47D1F;
}

.faq-question {
    font-size: 1.2em;
    font-weight: bold;
    color: #004177;
    margin-bottom: 10px;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, #004177 0%, #0066cc 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
}

.cta-section h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* ====== MOBILE STYLES ====== */
@media (max-width: 768px) {
  .back-to-top-link {
    display: none;
  }
  .ishome .container-header,
  .container-header {
      position: fixed!important;
      top: auto;
      bottom: 0;
      width: 100%;
      padding: 0;
      background-color: #004177;
      background-image: unset;
  }
  .navbar-collapse {
    position: fixed;
    bottom: 60px;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 0px;
    width: 100%;
    background: #004177;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Tighter spacing - MetisMenu correct selectors */
  .navbar-collapse .metismenu-item {
    margin: 0 !important;
  }
  .navbar-collapse .metismenu-item > a {
    display: block;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
    line-height: 1.1 !important;
  }
  .navbar-collapse .mm-collapse {
    padding: 0 !important;
    margin: 0 !important;
  }
  .navbar-collapse .mm-collapse .metismenu-item > a {
    padding-top: 0.01rem !important;
    padding-bottom: 0.01rem !important;
    font-size: 0.9rem !important;
  }
  .navbar-collapse.collapsing {
    height: auto;
    transition: left 0.3s ease;
    left: -100%;
  }
  .navbar-collapse.show {
    left: 0;
    transition: left 0.3s ease-in;
  }
  .navbar-toggler {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    display: block;
    width: 70px;
    height: 70px;
    background-color: #004177;
    border: 4px solid #ffff00 !important;
    border-radius: 40px;
    right: 10px;
  }
  .container-header img {
    max-width: 75%;
  }
  .cottage-hero h1 {
    font-size: 1.8em;
  }
  .package-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== HOSTING PRICING STYLES ====== */
.hosting-pricing {
  --green: #006600;
  --blue:  #000099;
  --maroon:#6d0200;
  --light: #efede9;
  --accent:#800000;
  --price:#ff0000;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display: grid;
  gap: 1rem;
}

.hosting-pricing .intro {
  max-width: 70ch;
}

.hosting-pricing .plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .hosting-pricing .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hosting-card {
  border: 3px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.hosting-card .head {
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hosting-card.home   .head { background: var(--green); }
.hosting-card.small  .head { background: var(--blue); }
.hosting-card.medium .head { background: var(--maroon); }

.hosting-card .body {
  padding: 1rem 1.25rem;
}

.hosting-card .features {
  display: grid;
  gap: .5rem;
}

.hosting-card .feature {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: .5rem .75rem;
  border-radius: 8px;
  background: #fff;
  align-items: center;
}

.hosting-card:nth-child(2) .feature:nth-child(odd),
.hosting-card:nth-child(3) .feature:nth-child(odd),
.hosting-card:nth-child(4) .feature:nth-child(odd) {
  background: var(--light);
}

.hosting-card .label {
  color: var(--accent);
  font-weight: 600;
}

.hosting-card .value {
  text-align: right;
  font-weight: 600;
}

.hosting-card .muted {
  font-weight: 400;
  opacity: .8;
  font-size: .9rem;
}

.hosting-card .price {
  text-align: center;
  padding: 1rem .75rem 0;
  font-size: 1.15rem;
}

.hosting-card .price strong {
  color: var(--price);
  font-size: 1.35rem;
}

.hosting-card .cta {
  padding: 1rem 1.25rem 1.25rem;
  margin-top: auto;
}

.hosting-card .cta input[type="image"] {
  display: block;
  margin: 0 auto;
}

.small-note { 
  font-size: .9rem; 
  opacity: .9; 
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 20px;
}
/* ============================================
   Website Design Services Page Styles
   Add to: /media/templates/site/cassiopeia/css/user.css
   ============================================ */

/* Web Design Services - Hero (uses existing gradient pattern) */
.wmnr-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
    text-align: center;
}

.wmnr-hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--wmnr-text);
}

.wmnr-hero p {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    color: #334155;
    font-size: 1.125rem;
}

/* Content narrowing (for overview sections) */
.wmnr-content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* Subtitle styling */
.wmnr-subtitle {
    text-align: center;
    color: var(--wmnr-muted);
    font-size: 1.1em;
    margin-bottom: 2rem;
}

/* Background variations */
.wmnr-bg-white {
    background: var(--wmnr-bg);
}

.wmnr-bg-light {
    background: #f8fafc;
}

/* Features Grid (4 items - mobile/accessible/seo/contact) */
.wmnr-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.wmnr-feature-item {
    text-align: center;
    padding: 1rem;
}

.wmnr-feature-item h3 {
    color: var(--wmnr-text);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.wmnr-feature-item p {
    color: var(--wmnr-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Types Grid (12 website type cards) */
.wmnr-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
}

.wmnr-type-card {
    background: var(--wmnr-card);
    border: 1px solid var(--wmnr-border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s;
}

.wmnr-type-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.wmnr-type-icon {
    font-size: 3em;
    margin-bottom: 1rem;
}

.wmnr-type-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--wmnr-text);
    font-weight: 600;
}

.wmnr-type-card p {
    color: var(--wmnr-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Benefits Grid (6 benefit cards - why choose us) */
.wmnr-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
}

.wmnr-benefit-card {
    background: #f8fafc;
    border: 1px solid var(--wmnr-border);
    border-radius: 14px;
    padding: 1.5rem;
}

.wmnr-benefit-icon {
    font-size: 2.5em;
    margin-bottom: 1rem;
}

.wmnr-benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--wmnr-text);
    font-weight: 600;
}

.wmnr-benefit-card p {
    color: var(--wmnr-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Demo Grid (reuses existing demo-grid from cottage styles) */
.wmnr-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.wmnr-demo-card {
    background: var(--wmnr-card);
    border: 1px solid var(--wmnr-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.wmnr-demo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.wmnr-demo-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--wmnr-primary) 0%, #0066cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.wmnr-demo-info {
    padding: 1.25rem;
}

.wmnr-demo-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--wmnr-text);
    font-weight: 600;
}

.wmnr-demo-info p {
    color: var(--wmnr-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.wmnr-link {
    color: var(--wmnr-accent);
    text-decoration: none;
    font-weight: 600;
}

.wmnr-link:hover {
    text-decoration: underline;
}

/* CTA Buttons (already defined in main styles, but add wmnr-cta-buttons for layout) */
.wmnr-cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .wmnr-types-grid,
    .wmnr-benefits-grid,
    .wmnr-demo-grid {
        grid-template-columns: 1fr;
    }
    
    .wmnr-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wmnr-hero h1 {
        font-size: 1.8rem;
    }
    
    .wmnr-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .wmnr-features-grid {
        grid-template-columns: 1fr;
    }
}


/* Optional: remove padding from submenu items themselves */
.mod-menu .mod-menu__sub li {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.mod‑menu__item,
.mod‑menu__item a {
  line‑height: 1.0; /* or 1.0 for minimal spacing */
  padding: 0 10px; /* adjust padding if needed */
}
.mod‑menu__heading .nav‑header {
  text‑decoration: none;
}