/* ============================
   GlossVerse: Modern Gradient 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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
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; }
body {
  min-height: 100vh;
  line-height: 1.65;
  background: #F6F3ED;
  color: #25354A;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #789262; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #25354A; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border: none;
  background: none;
}

/* ==========================
   COLOR VARIABLES (with fallback)
   ========================== */
:root {
  --color-primary: #25354A;
  --color-secondary: #789262;
  --color-accent: #F6F3ED;
  --gradient-main: linear-gradient(90deg, #789262 0%, #25354A 100%);
  --gradient-hero: linear-gradient(120deg, #F6F3ED 40%, #789262 100%);
  --shadow-md: 0 6px 24px 0 rgba(37,53,74,0.12);
  --shadow-lg: 0 12px 32px 0 rgba(37,53,74,0.18);
  --radius-md: 14px;
  --radius-lg: 28px;
}

/* =============================
   TYPOGRAPHY
   ============================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25354A;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #25354A;
}
strong, b { font-weight: 700; }

/* =============================
   LAYOUT STRUCTURE
   ============================= */
.container {
  width: 100%;
  max-width: 1190px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

main {
  min-height: 50vh;
  margin-bottom: 80px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* =============================
   HEADER & NAV
   ============================= */
header {
  background: var(--gradient-main, linear-gradient(90deg, #789262, #25354A));
  color: #F6F3ED;
  box-shadow: 0 2px 12px 0 rgba(37,53,74,0.09);
  position: sticky;
  top: 0; left: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header img[alt="GlossVerse"] {
  height: 46px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
}
.main-nav a {
  color: #F6F3ED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFDC61;
  border-bottom: 2px solid #FFDC61;
}
.btn-primary {
  display: inline-block;
  padding: 0.7em 2.2em;
  background: #789262;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-md,14px);
  box-shadow: var(--shadow-md);
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  margin-left: 24px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #25354A;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu-toggle {
  display: none;
  background: #789262;
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 1202;
  margin-left: 10px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #25354A;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,53,74,0.98);
  color: #F6F3ED;
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.79,0.14,0.15,0.86);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #25354A;
  font-size: 2.4rem;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  margin: 24px 24px 0 24px;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(37,53,74,0.14);
  transition: background 0.2s, color 0.2s;
  z-index: 1203;
}
.mobile-menu-close:hover {
  background: #25354A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 38px;
  margin-top: 28px;
  width: 100%;
  padding-left: 48px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 5px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.mobile-nav a:hover {
  color: #FFDC61;
  border-bottom: 1px solid #FFDC61;
}

@media (max-width: 1050px) {
  .main-nav { gap: 16px; }
  .btn-primary { margin-left: 14px; padding: 0.7em 1.4em; }
}
@media (max-width: 900px) {
  .main-nav { display: none !important; }
  .btn-primary { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  min-height: 320px;
  width: 100%;
  background: var(--gradient-hero, linear-gradient(120deg, #F6F3ED 40%, #789262 100%));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: 0 8px 42px 0 rgba(37,53,74,0.07);
  margin-bottom: 60px;
}
.hero .container {
  padding-top: 50px;
  padding-bottom: 50px;
}
.hero .content-wrapper {
  max-width: 700px;
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #25354A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  font-size: 2.3rem;
}
.hero p { font-size: 1.2rem; color: #25354A; }
.hero .btn-primary {
  margin-left: 0;
  margin-top: 12px;
}

@media (min-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
  .hero .container { padding-top: 80px; padding-bottom: 80px; }
}
@media (min-width: 900px) {
  .hero .container { padding-top: 110px; padding-bottom: 110px; }
  .hero h1 { font-size: 3.6rem; }
}

/* =============================
   FLEX STRUCTURE CLASSES
   ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  min-width: 230px;
  transition: box-shadow 0.25s, transform 0.18s;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.02);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 430px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom group for cards (used for services, etc.) */
.service-cards, .service-list, .workshop-list, .featured-posts, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.service-cards > div, .service-list > div, .workshop-list > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px 20px 20px 20px;
  flex: 1 1 210px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.service-cards > div:hover, .service-list > div:hover, .workshop-list > div:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.02);
}
.service-price {
  color: #789262;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  margin-top: 0.3em;
}

/* =============================
   SPACING & LAYOUT GAPS
   ============================= */
section:not(.hero), .section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section:last-child, section:last-child { margin-bottom: 0; }
section .content-wrapper, .section .content-wrapper {
  gap: 24px;
}

@media (max-width: 900px) {
  .card-container, .service-cards, .service-list, .workshop-list, .featured-posts {
    gap: 16px;
  }
  .card, .service-cards > div, .service-list > div, .workshop-list > div {
    min-width: 180px;
    font-size: 0.98rem;
    padding: 18px 12px;
  }
}
@media (max-width: 700px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .card-container, .service-cards, .service-list, .workshop-list, .featured-posts, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .card, .service-cards > div, .service-list > div, .workshop-list > div {
    min-width: 98px;
    width: 100%;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* =======================
   TESTIMONIALS (sliders/cards)
   ======================= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  font-size: 1rem;
  color: #25354A;
  background: #fff;
  border-left: 5px solid #789262;
  position: relative;
  box-shadow: 0 4px 16px 0 rgba(37,53,74,0.07);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #25354A;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: #789262;
  font-weight: 500;
  font-size: 1em;
  font-style: normal;
}

/* =============================
   LISTS (UL, OL)
   ============================= */
ul, ol {
  margin-left: 22px;
  margin-bottom: 12px;
  line-height: 1.65;
  color: #25354A;
}
ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 16px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: #789262;
  border-radius: 50%;
  position: absolute;
  left: 0; top: 9px;
}
ol li {
  margin-bottom: 10px;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: linear-gradient(90deg, #25354A 85%, #789262 100%);
  color: #F6F3ED;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -4px 24px 0 rgba(37,53,74,0.09);
  padding-top: 40px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F6F3ED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #FFDC61;
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-social a {
  display: inline-block;
  margin-right: 14px;
  transition: transform 0.18s;
}
.footer-social h3{
  color: #F6F3ED;
}
.footer-social a:hover {
  transform: scale(1.08) rotate(-4deg);
}
.footer-social img {
  width: 28px; height: 28px;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.contact-details h3 { color: #FFDC61; font-size: 1.1rem; }
.contact-details p, .contact-details img {
  color: #F6F3ED;
  font-size: 1rem;
  margin-bottom: 7px;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.97rem; margin-top: 10px; }
.legal-links a { color: #BDC3C7; }
.legal-links a:hover { color: #FFDC61; }
.copyright {
  color: #F6F3ED;
  opacity: 0.85;
  font-size: 0.91rem;
  margin-top: 24px;
  letter-spacing: 0.03em;
}
@media (max-width: 900px) {
  footer .content-wrapper { gap: 26px; }
  .footer-info { flex-direction: column; gap: 18px; }
  .footer-nav { gap: 13px; }
}
@media (max-width: 600px) {
  footer { padding-top: 24px; }
  .footer-info { gap: 10px; }
  .footer-social img { width: 23px; height: 23px; }
}

/* =============================
   BLOG/SERVICE/PROJECT/ABOUT PAGES
   ============================= */
.category-overview ul, .featured-posts ul, .workshop-types ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 10px;
}
.category-overview ul li, .featured-posts ul li, .workshop-types ul li {
  background: #F6F3ED;
  border-radius: 12px;
  color: #25354A;
  padding: 6px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: 1.5px solid #E8E8E8;
  box-shadow: 0 1px 3px 0 rgba(37,53,74,0.06);
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 3000;
  background: #25354A;
  color: #fff;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px 0 rgba(37,53,74,0.19);
  animation: fadeInUp 0.5s cubic-bezier(.39,1.57,.38,1);
}
.cookie-banner__text {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
}
.cookie-banner__buttons {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  min-width: 110px;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.22s;
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: #789262;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.cookie-btn.reject {
  background: #fff;
  color: #25354A;
  border: 1.5px solid #689262;
}
.cookie-btn.settings {
  background: transparent;
  color: #FFDC61;
  border: 1.5px solid #FFDC61;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(0.94);
  outline: none;
}
@keyframes fadeInUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,53,74,0.80);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #25354A;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 44px 0 rgba(37,53,74,0.13);
  max-width: 400px;
  width: 94vw;
  padding: 34px 26px 22px 26px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h2 {
  color: #25354A;
  margin-bottom: 7px;
  font-size: 1.33rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 20px;
  background: #E3E9E0;
  border-radius: 12px;
  position: relative;
  outline: 0;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #789262;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 23px;
}
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 12px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #25354A;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal-close:hover { color: #789262; background: #F6F3ED; }

@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 20px 7px 14px 11px;
    font-size: 0.96rem;
  }
}

/* =============================
   OTHER STANDARD ELEMENTS
   ============================= */
blockquote {
  border-left: 5px solid #789262;
  padding-left: 18px;
  color: #25354A;
  font-style: italic;
  margin-bottom: 20px;
}
pre, code {
  background: #F8F9FA;
  color: #25354A;
  border-radius: 8px;
  font-size: 0.98rem;
  padding: 2px 6px;
}
/* =============================
   FORMS & CONTACT PAGE
   ============================= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.05rem;
  color: #25354A;
  margin-bottom: 16px;
}
.contact-info img {
  width: 18px; height: 18px;
  vertical-align: sub;
  margin-right: 6px;
}
@media (max-width: 600px) {
  .contact-info { font-size: 0.98rem; }
}

/* =============================
   MICRO-INTERACTIONS
   ============================= */
.btn-primary, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.20s, transform 0.18s;
}
.btn-primary:active, .cookie-btn:active {
  transform: translateY(1px) scale(.99);
}

/* =============================
   VISUAL HIERARCHY & SPACING
   ============================= */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.service-cards,
.service-list,
.workshop-list,
.featured-posts,
.content-grid,
.testimonial-slider {
  gap: 24px;
}
.card, .service-cards > div, .service-list > div, .workshop-list > div {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
}

/* =============================
   RESPONSIVENESS
   ============================= */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.12rem; }
  .hero h1 { font-size: 2.1rem; }
  section, .section { padding: 28px 6px; margin-bottom: 40px; }
  .footer-nav { flex-direction: column; gap: 8px; }
}
@media (max-width: 700px) {
  .container { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 500px) {
  main { margin-bottom: 42px; }
  h1 { font-size: 1.41rem; }
  h2 { font-size: 1.17rem; }
  h3 {font-size: 1rem;}
  .hero { min-height: 160px; }
  .hero h1 { font-size: 1.19rem; }
  .hero .container { padding-top: 22px; padding-bottom: 22px; }
}

/* =============================
   HIGHLIGHTED/DECORATIVE
   ============================= */
::-webkit-scrollbar {width: 11px;background: #F6F3ED;}
::-webkit-scrollbar-thumb {background: #789262;border-radius: 11px;}

/* Active navigation underline for current page, can be toggled by JS */
.main-nav a.active, .footer-nav a.active {
  border-bottom: 2px solid #FFDC61;
  color: #FFDC61;
}

/* =============================
   PRINT
   ============================= */
@media print {
  *, *::before, *::after { box-shadow: none !important; background: none !important; color: #000 !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {display:none!important;}
}
