/* Tiranschia Astrologie Creative Artistic Style – CSS */

/* === 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, 
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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  background: #fff;
  color: #253053;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #253053;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #FFD46B;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: 700;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
:focus {
  outline: 2px dotted #596098;
  outline-offset: 2px;
}

/* === BASE TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #253053;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h4 {
  font-size: 1.1rem;
}
.headline {
  font-size: 1.3rem;
  font-family: 'Cormorant Garamond', serif;
  color: #596098;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.subheadline {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #444;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}
p, .secondary-text {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #253053;
}
.secondary-text {
  color: #596098;
  font-style: italic;
}
.text-section {
  margin-bottom: 32px;
}

/* === LAYOUT CONTAINERS & FLEXBOX === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(37, 48, 83, .06),0 1.5px 7px 0 rgba(255,212,107,0.03);
  background: #fff;
  transition: box-shadow .23s, transform .17s;
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 320px;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(37,48,83,.13),0 4px 16px 0 rgba(255,212,107,0.10);
  transform: translateY(-4px) 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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 22px;
  background: #fffbe9;
  box-shadow: 0 2.5px 14px rgba(37,48,83,.07);
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  transition: box-shadow 0.22s;
}
.testimonial-card:before {
  content: "\2734";
  font-size: 38px;
  color: #FFD46B;
  opacity: 0.2;
  position: absolute;
  left: 15px;
  top: 17px;
  z-index: 1;
}
.testimonial-card p {
  margin-bottom: 0;
  z-index: 2;
  font-size: 1.12rem;
  color: #253053;
  position: relative;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 18px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #253053;
  z-index: 2;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2.5px 12px rgba(255,212,107,0.12);
  padding: 28px 22px;
  min-width: 230px;
  max-width: 260px;
  transition: box-shadow .21s;
  position: relative;
}
.feature-item h3 {
  color: #253053;
  margin-bottom: 6px;
}
.feature-item img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: #fffbe9;
  padding: 7px;
}
.feature-item:hover {
  box-shadow: 0 5px 16px rgba(37,48,83,.17);
}

/* --- Section grid wrappers for features --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 8px;
}

/* === HERO SECTIONS === */
.hero-section {
  background: #253053;
  color: #fff;
  padding: 64px 20px 56px 20px;
  border-bottom-left-radius: 38px 55px;
  border-bottom-right-radius: 38px 55px;
  position: relative;
  z-index: 0;
}
.hero-section .container {
  max-width: 980px;
}
.hero-section h1,
.hero-section .headline,
.hero-section .subheadline {
  color: #fff;
}
.hero-section .cta-primary {
  margin-top: 28px;
  background: #FFD46B;
  color: #253053;
  border: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0; left: 0;
  height: 22px;
  background: #FFD46B;
  border-radius: 0 0 48px 48px/0 0 66px 46px;
  opacity: .08;
  pointer-events: none;
  z-index: 1;
}
/* Artistic accent dots */
.hero-section::before {
  content: '';
  position: absolute;
  top: 32px; left: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #FFD46B;
  opacity: .13;
  z-index: 0;
  pointer-events: none;
}

/* === BUTTONS & CTA === */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 36px;
  min-width: 170px;
  border-radius: 35px;
  background: #FFD46B;
  color: #253053;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 18px #FFD46B38;
  border: none;
  cursor: pointer;
  outline: none;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 12px;
  transition: background 0.2s, color 0.2s, transform 0.17s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #253053;
  color: #FFD46B;
  box-shadow: 0 8px 28px #25305333;
  transform: translateY(-2px) scale(1.05);
}

/* Secondary, for cookie/settings etc */
.button-secondary,
.cookie-banner button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 21px;
  border-radius: 26px;
  border: 1.7px solid #FFD46B;
  background: #fff;
  color: #253053;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 11px;
  margin-top: 5px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.button-secondary:hover,
.cookie-banner button:hover {
  background: #FFD46B;
  color: #253053;
}

/* === SECTIONS === */
.cta-section {
  background: #fffbe9;
  border-radius: 28px;
  text-align: center;
  margin-bottom: 46px;
  padding: 44px 20px 42px 20px;
}
.cta-section h2{
  color: #253053;
  margin-bottom: 10px;
}
.features-section, .services-section, .calendar-section, .tool-section {
  background: #f4f6ff;
  border-radius: 20px;
  margin-bottom: 58px;
  padding: 36px 20px 26px 20px;
}

.services-section h2, .calendar-section h2, .tool-section h2 {
  color: #253053;
}
.service-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.service-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 14px #25305310;
  flex: 1 1 238px;
  min-width: 210px;
  max-width: 340px;
  padding: 22px 16px;
  margin-bottom: 12px;
  color: #253053;
  position: relative;
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-item strong {
  color: #FFD46B;
}
.service-item:hover {
  box-shadow: 0 10px 30px #25305318;
  transform: scale(1.03);
}

.callout {
  padding: 18px 20px 10px 20px;
  background: #fffbe9;
  border-radius: 18px;
  color: #253053;
  font-size: 1.08rem;
  box-shadow: 0 1.5px 9px #FFD46B18;
  margin-top: 18px;
  margin-bottom: 28px;
}

.calendar-widget {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2.5px 10px #2530530C;
  padding: 22px 15px 19px 15px;
  margin-bottom: 20px;
}

.legal-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px #2530530D;
  padding: 40px 22px;
  margin-bottom: 44px;
}
.confirmation-section {
  background: #f6f6fa;
  border-radius: 22px;
  padding: 35px 18px 45px 18px;
  margin-bottom: 48px;
  text-align: center;
}

/* === HEADER NAVIGATION === */
header {
  background: #253053;
  color: #fff;
  padding: 18px 0;
  width: 100%;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: #FFD46B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 14px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #FFD46B;
  color: #253053;
}
header a img {
  height: 42px;
  margin-right: 16px;
}
.mobile-menu-toggle {
  display: none;
  background: #FFD46B;
  color: #253053;
  font-size: 1.73rem;
  line-height: 1;
  padding: 4px 16px 5px 12px;
  border-radius: 50%;
  border: none;
  margin-left: 15px;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #596098;
  color: #FFD46B;
}

/* === FOOTER === */
footer {
  background: #253053;
  color: #FFD46B;
  padding: 36px 0 18px 0;
  margin-top: 60px;
  border-top-left-radius: 38px 44px;
  border-top-right-radius: 38px 44px;
  font-size: 1rem;
}
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 13px;
}
footer nav a {
  color: #FFD46B;
  text-decoration: none;
  padding: 5px 8px;
  font-weight: 600;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.15s, background 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #253053;
  background: #FFD46B;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.footer-contact img {
  width: 32px;
  height: 32px;
  margin-right: 13px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  color: #FFD46B;
  font-size: 0.97rem;
}
.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 9px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 3px #FFD46B33);
  opacity: 0.8;
  transition: opacity 0.17s, filter 0.17s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  opacity: 1;
  filter: drop-shadow(0 1px 8px #FFD46Baa);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  max-width: 99vw;
  height: 100vh;
  background: #253053;
  color: #FFD46B;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.63,0.01,0.37,1);
  box-shadow: -8px 0 42px #25305355;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 39px 18px 22px 28px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFD46B;
  color: #253053;
  border: none;
  border-radius: 50%;
  font-size: 2.12rem;
  width: 42px; height: 42px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 25px;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #596098;
  color: #FFD46B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.mobile-nav a {
  color: #FFD46B;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 7px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD46B;
  color: #253053;
}

/* --- Hide desktop nav elements and show burger on mobile --- */
@media (max-width: 1000px) {
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .feature-grid, .service-list,
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- Extra mobile optimizations --- */
@media (max-width: 768px) {
  .section {
    padding: 29px 7px;
    margin-bottom: 35px;
  }
  .container {
    padding: 0 5px;
  }
  .hero-section {
    padding: 42px 7px 28px 7px;
    border-radius: 0 0 36px 36px/0 0 33px 29px;
  }
  h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.18rem;
    margin-bottom: 14px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .cta-section, .features-section, .services-section, .calendar-section, .tool-section, .legal-section, .confirmation-section {
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 13px;
  }
  .testimonial-card, .feature-item, .service-item, .calendar-widget {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .testimonial-meta {
    margin-left: 7px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* === SPACING & GAPS (Mandatory patterns) === */
/* (Already implemented in selectors above) */

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #253053;
  color: #FFD46B;
  width: 100%;
  z-index: 1400;
  padding: 22px 16px 22px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  box-shadow: 0 -4px 38px #25305332;
  transition: transform .28s;
  font-size: 1.08rem;
}
.cookie-banner button {
  margin-left: 0;
  margin-right: 8px;
}
.cookie-banner .button-secondary {
  border: 2px solid #FFD46B;
  background: #fff;
  color: #253053;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37,48,83,0.83);
  z-index: 1800;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fffbe9;
  color: #253053;
  border-radius: 22px;
  max-width: 390px;
  padding: 30px 26px 18px 26px;
  box-shadow: 0 12px 50px #FFD46B22, 0 3.5px 12px #25305311;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.19rem;
  margin-bottom: 7px;
  color: #253053;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 1rem;
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: #FFD46B;
  width: 20px; height: 20px;
}
.cookie-modal-content .button-secondary {
  font-size: 0.98rem;
  padding: 8px 14px;
  border-radius: 15px;
  background: #253053;
  color: #FFD46B;
  margin-top: 8px;
  border: none;
}
.cookie-modal-content .button-secondary:hover {
  background: #FFD46B;
  color: #253053;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 13px;
  background: #FFD46B;
  color: #253053;
  border: none;
  border-radius: 50%;
  font-size: 1.55rem;
  width: 32px; height: 32px;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-modal-close:hover {
  background: #253053;
  color: #FFD46B;
}

/* === LISTS, ICONS, MISC ELEMENTS === */
ul li, ol li {
  margin-bottom: .8em;
}
ul li img, .contact-info span img, .text-section p img {
  width: 22px; height: 22px; margin-right: 7px; vertical-align: -3px;
}
.callout strong {
  color: #253053;
  font-weight: 700;
}

/* --- Artistic touches for vibrant/creative feel --- */
.section, .features-section, .card, .testimonial-card, .feature-item, .service-item {
  border-bottom: 5px solid #FFD46B11;
  box-shadow: 0 7px 22px #2530530A;
}
[role=main]::after, main::after {
  content: '';
  display: block;
  width: 44px; height: 7px;
  background: #FFD46B;
  border-radius: 8px;
  opacity: .12;
  margin: 35px auto 0 auto;
  pointer-events: none;
}

/* Artistic font letter spacing & scale */
h1, h2, h3 {
  letter-spacing: 0.01em;
  text-shadow: 0 2.5px 10px #25305312;
}

/* --- Animations & Micro Interactions --- */
.cta-primary, .button-secondary, .cookie-banner button, .mobile-menu-close, .mobile-menu-toggle {
  transition: background .19s, color .18s, box-shadow .19s, transform .17s;
}
.cta-primary:active, .button-secondary:active, .mobile-menu-toggle:active{
  transform: scale(.96);
}
.feature-item:active, .service-item:active {
  transform: scale(.98);
}

/* === FORM ELEMENTS (for horoscope tools/inputs) === */
input, select, textarea {
  border-radius: 8px;
  background: #f4f6ff;
  color: #253053;
  border: 1.3px solid #FFD46B;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.17s, background 0.17s;
}
input:focus, select:focus, textarea:focus {
  border: 1.7px solid #253053;
  background: #fff;
}

/* === CLEARING FLOATS & FLEX WRAPS === */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* === UTILITY === */
.hide {display: none !important;}
.show {display: block !important;}

/* === Color Contrast Adjustments for Testimonials/Reviews === */
.testimonials-section, .testimonial-card, .testimonial-meta {
  background: #fffbe9;
  color: #253053 !important;
}

/* === Print/Accessibility === */
@media print {
  body {
    background: #fff;
    color: #253053;
  }
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  .section, .features-section, .services-section {
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
  }
}

/* === END Tiranschia Astrologie Creative Artistic Style === */
