/* ===== Cyra Build Consulting - Comprehensive CSS (creative_artistic) ===== */

/* == CSS Reset & Normalize == */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8F9FA;
  color: #1D3557;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #E63946;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B1001C;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}


/* == Brand Variables and Artistic Accent Colors == */
:root {
  --primary: #1D3557;
  --secondary: #F8F9FA;
  --accent: #E63946;
  --accent-dark: #B1001C;
  --shadow: 0 6px 24px 0 rgba(29,53,87,0.12), 0 1.5px 3px 0 rgba(176,0,28,0.09);
  --radius: 22px;
  --radius-sm: 10px;
  --brand-gradient: linear-gradient(90deg, #E63946 0%, #B1001C 100%);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}


/* ====== LAYOUT WRAPPERS ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


/* ====== HEADER ====== */
header {
  background: var(--secondary);
  box-shadow: 0 3px 16px 0 rgba(29,53,87,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  gap: 24px;
  margin-left: 32px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #fff;
}
header img {
  height: 42px;
  margin-right: 12px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand-gradient);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border: none;
  border-radius: 32px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.2s, transform 0.15s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #B1001C 0%, #E63946 100%);
  box-shadow: 0 4px 18px 0 rgba(176,0,28,0.15);
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
}


/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  z-index: 110;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  transform: scale(1.08) rotate(-3deg);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29,53,87,0.96);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.37s cubic-bezier(.82,0,.2,1);
  z-index: 200;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 32px 32px 0 0;
  background: var(--accent-dark);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  transform: scale(1.1) rotate(3deg);
}
.mobile-nav {
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-left: 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  padding: 7px 0 7px 10px;
  min-width: 180px;
  border-radius: 8px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1050px) {
  header .container {
    gap: 14px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  header nav {
    gap: 10px;
    margin-left: 10px;
  }
  .cta-btn { padding: 12px 18px; font-size: 1rem; }
}
@media (max-width: 850px) {
  header nav {
    display: none;
  }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== ".section" Spacing and Defaults ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ========== TYPOGRAPHY & HEADINGS ========== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 18px;
}
h1 {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 24px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
h4, h5 {
  font-size: 1.12rem;
  font-weight: 600;
}
p {
  color: #1D3557;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 700;
}
em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--font-display);
}
/* Artistic text effect for headings */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 8px;
  border-radius: 8px 4px;
  background: var(--brand-gradient);
  margin-top: 10px;
  opacity: 0.18;
  z-index: -1;
}

/* == Artistic/Creative Artistic Elements == */
::selection {
  background: var(--accent);
  color: #fff;
}

/* ========== FLEXBOX CARD & CONTENT LAYOUTS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 24px 28px;
  min-width: 260px;
  flex:1 1 320px;
  transition: box-shadow 0.18s, transform 0.19s;
  overflow: hidden;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(176,0,28,0.19);
  transform: translateY(-4px) scale(1.03);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
}

/* == Testimonials == */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  position: relative;
  border-left: 8px solid var(--accent);
  max-width: 650px;
  color: #222;
}
.testimonial-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
}
.testimonial-card p {
  color: #222;
  font-size: 1.07rem;
  font-weight: 400;
}
.testimonial-card .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.testimonial-card .rating img {
  width: 20px;
  height: 20px;
  filter: hue-rotate(-10deg) drop-shadow(0px 2px 2px #E63946aa);
}

.card-grid, .feature-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .blog-list article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 20px 26px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.17s, transform 0.15s;
}
.feature-grid > div:hover, .blog-list article:hover {
  box-shadow: 0 8px 32px 0 #E6394633;
  transform: translateY(-4px) scale(1.04) rotate(-2deg);
}
.feature-grid img, .blog-list img {
  width: 44px;
  margin-bottom: 18px;
}

/* == Service List (on services.html) == */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 36px;
}
.service-list li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 18px 22px;
  position: relative;
  margin-bottom: 12px;
  min-width: 260px;
  font-family: var(--font-body);
  border-left: 8px solid var(--primary);
  transition: box-shadow 0.19s, transform 0.17s;
}
.service-list li:hover {
  box-shadow: 0 6px 28px 0 #1D355755;
  transform: scale(1.03);
}
.service-list .price {
  background: var(--primary);
  color: #fff;
  font-size: 1.01rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 10px;
  margin-left: 18px;
}

/* == Blog List == */
.blog-list {
  width: 100%;
}
.blog-list article {
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 14px;
  border-left: 6px solid var(--accent);
  box-shadow: var(--shadow);
  position: relative;
}
.blog-list article h3 {
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 1.18rem;
  font-family: var(--font-display);
}
.blog-list article a {
  margin-top: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
}


/* ====== FOOTER ====== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-body);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 0;
}
footer nav a {
  color: #fff;
  font-size: 0.99rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  opacity: 0.87;
  transition: color 0.15s, opacity 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  opacity: 1;
  text-decoration: underline;
}
footer img {
  height: 44px;
}
footer .address {
  font-size: 0.97rem;
  opacity: 0.73;
  margin-bottom: 8px;
  line-height: 1.7;
}
footer a {
  color: var(--accent);
  text-decoration: underline;
}
footer span {
  display: block;
  margin-top: 13px;
  font-size: 0.89rem;
  opacity: 0.6;
  letter-spacing: 0.01em;
}


/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -2px 14px 0 #1D35572d;
  color: var(--primary);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
  gap: 24px;
  font-size: 1.00rem;
  animation: cookiebannerUp 0.44s cubic-bezier(.92,0,.25,1);
}
@keyframes cookiebannerUp {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-right: 12px;
  padding: 11px 26px;
  border-radius: 22px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, filter 0.15s;
  box-shadow: var(--shadow);
}
.cookie-banner button:last-child {
  background: var(--accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent-dark);
  color: #fff;
  filter: brightness(108%);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,53,87,0.73);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinModal 0.39s cubic-bezier(.92,0,.25,1);
}
@keyframes fadeinModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 44px 30px 32px 38px;
  border-radius: var(--radius);
  width: 98%;
  max-width: 430px;
  box-shadow: 0 11px 48px 0 #1D35578f;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.49s cubic-bezier(.7,0,0,1.1);
  position: relative;
}
@keyframes modalPopIn {
  0% { transform: scale(0.9) translateY(44px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 15px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-cat label {
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--primary);
  font-family: var(--font-body);
}
.cookie-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-toggle input[type="checkbox"] {
  width: 38px;
  height: 22px;
  -webkit-appearance: none;
  appearance: none;
  background: #E63946;
  outline: none;
  border-radius: 11px;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: var(--primary);
}
.cookie-toggle input[type="checkbox"]::-webkit-slider-thumb,
.cookie-toggle input[type="checkbox"]::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px 0 #2b2b4639;
  transform: translateX(0);
  transition: transform 0.19s;
}
.cookie-toggle input[type="checkbox"]:checked::before {
  transform: translateX(16px);
}
.cookie-modal-content .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 16px;
}
.cookie-modal-content button {
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 19px;
  padding: 9px 26px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-content button:last-child {
  background: var(--accent);
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: var(--accent-dark);
}
/* Modal close button */
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}


/* ========== GENERAL LISTS, UL/OL ========== */
ul, ol {
  padding-left: 18px;
  margin-top: 4px;
  margin-bottom: 13px;
  line-height: 1.7;
  color: var(--primary);
  font-size: 1.02rem;
}
li {
  margin-bottom: 8px;   /* ensure spacing in flex/blocks */
}


/* ========== FORMS, BUTTONS, INPUTS ========== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.6px solid var(--primary);
  background: #fff;
  color: var(--primary);
  margin-bottom: 16px;
  outline: none;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}
button {
  font-family: var(--font-display);
  font-size: 1.01rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow);
  outline: none;
}
button:active { transform: translateY(2px) scale(0.98); }


/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1000px) {
  .container { max-width: 98vw; }
  .content-wrapper { max-width: 96vw; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 30px 7px; }
}
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.10rem; margin-top: 10px; }
  header .container {
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 2px;
  }
  .section {
    padding: 20px 3.5vw;
    margin-bottom: 28px;
  }
  .card-container, .content-grid, .card-grid, .feature-grid, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    max-width: 94vw;
    padding: 15px 9px;
    gap: 9px;
  }
  .service-list, .service-list li {
    gap: 18px;
    padding: 12px 7px;
    min-width: unset;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 6px 6px 23px 4px;
  }
  .mobile-menu-toggle {
    font-size: 2rem;
    top: 13px;
    right: 10px;
    padding: 8px 11px;
  }
}
@media (max-width: 520px) {
  .card, .feature-grid > div, .blog-list article, .service-list li {
    min-width: 195px;
    padding: 12px 6px 9px 8px;
  }
  .testimonial-card {
    padding: 12px 5px;
  }
  .cookie-modal-content {
    max-width: 98vw;
    padding: 18px 6px 18px 11px;
  }
  .mobile-nav {
    padding-left: 19px;
    gap: 17px;
  }
}

/* === Accessibility: Ensure readable contrast in testimonials === */
.testimonial-card, .testimonial-card p, .testimonial-card h3 {
  background: #fff !important;
  color: #1D3557;
}

/* ==== ADDITIONAL ARTISTIC DECORATIVE TOUCHES ==== */
.card, .feature-grid > div, .blog-list article, .service-list li {
  border-bottom: 5px solid var(--accent);
  background: linear-gradient(110deg, #fff 80%, #E6394610 100%);
}
.card::before, .feature-grid > div::before, .service-list li::before {
  content: '';
  position: absolute;
  right: -29px; top: -32px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--brand-gradient);
  opacity: 0.11;
  z-index: 0;
  pointer-events: none;
}
.card:hover::before, .feature-grid > div:hover::before, .service-list li:hover::before {
  opacity: 0.17;
  filter: blur(1px);
}

/* == Animation for section appearance == */
.section {
  animation: fadeinSection 0.69s cubic-bezier(.8,0,.3,1.1);
}
@keyframes fadeinSection {
  0% { opacity: 0; transform: translateY(35px) scale(1.02); }
  100% { opacity: 1; transform: none; }
}

/* ==== MISC ==== */
hr {
  border: none;
  border-bottom: 1px solid var(--primary);
  opacity: 0.2;
  margin: 28px 0;
}
.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.categories li {
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-size: 0.97rem;
  padding: 3px 13px;
}

/* ====== NO CSS GRID OR COLUMNS USED ====== */
/* End of style.css */
