/* =========================================================
   Shine Breeze - Vintage Retro CSS Theme
   Brand: Shine Breeze | Style: vintage_retro
   ========================================================= */

/* =====================
   1. CSS Variables
   ===================== */
:root {
  /* Brand Colors (Retro-tinted) */
  --color-primary: #223057;
  --color-primary-light: #3a4a7a;
  --color-secondary: #29A8AB;
  --color-accent: #F3F7FA;
  --color-bg: #F7F3E3;
  --color-bg-alt: #E8E1CF;
  --color-retro-yellow: #F7C873;
  --color-retro-orange: #E87A44;
  --color-retro-red: #C94F4F;
  --color-retro-green: #7EB77F;
  --color-retro-brown: #A67C52;
  --color-retro-blue: #5B7FA3;
  --color-white: #fff;
  --color-black: #222;
  --color-grey: #888;
  --color-shadow: rgba(34, 48, 87, 0.08);
  --color-shadow-strong: rgba(34, 48, 87, 0.16);

  /* Typography */
  --font-display: 'Montserrat', 'Futura', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Open Sans', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  --font-retro: 'Montserrat', 'Futura', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-size-base: 18px;
  --font-size-lg: 2.2rem;
  --font-size-md: 1.25rem;
  --font-size-sm: 1rem;
  --font-size-xs: 0.95rem;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow: 0 4px 16px var(--color-shadow);
  --shadow-strong: 0 8px 32px var(--color-shadow-strong);
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* =====================
   2. Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-retro);
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 var(--color-retro-yellow), 0 4px 8px var(--color-shadow);
}
h1 {
  font-size: 2.6rem;
  color: var(--color-retro-blue);
  margin-bottom: var(--space-md);
}
h2 {
  font-size: 2rem;
  color: var(--color-retro-orange);
  margin-bottom: var(--space-md);
}
h3 {
  font-size: 1.4rem;
  color: var(--color-retro-brown);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--color-retro-green);
}
p, ul, ol, address {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
strong {
  color: var(--color-retro-red);
  font-weight: 700;
}
a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-retro-orange);
  text-decoration: none;
}

/* Retro underline for headings */
h2, h3 {
  position: relative;
}
h2:after, h3:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-retro-yellow), var(--color-retro-orange));
  border-radius: 2px;
  margin-top: 8px;
}

/* =====================
   3. Layout Containers
   ===================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.section {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) var(--space-sm);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

/* =====================
   4. Flexbox Patterns
   ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: var(--space-md);
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
  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;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
   5. Navigation
   ===================== */
header {
  background: var(--color-retro-yellow);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: var(--space-sm) 0;
  font-family: var(--font-retro);
  font-size: 1.1rem;
  justify-content: flex-start;
}
.main-nav a {
  color: var(--color-primary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-retro-orange);
  color: var(--color-white);
}
.main-nav img {
  height: 40px;
  margin-right: 16px;
}
.btn-primary {
  background: linear-gradient(90deg, var(--color-retro-orange), var(--color-retro-yellow));
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  font-family: var(--font-retro);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-retro-yellow), var(--color-retro-orange));
  color: var(--color-retro-blue);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.03);
}
.secondary-cta, .btn-secondary {
  background: var(--color-retro-blue);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-family: var(--font-retro);
  font-size: 1rem;
  font-weight: 600;
  margin-left: 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.secondary-cta:hover, .btn-secondary:hover, .secondary-cta:focus, .btn-secondary:focus {
  background: var(--color-retro-green);
  color: var(--color-primary);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.03);
}

/* =====================
   6. Mobile Navigation
   ===================== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-retro-orange);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 2rem;
  padding: 6px 18px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-retro-red);
  color: var(--color-white);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  box-shadow: 0 0 0 100vw rgba(34,48,87,0.18);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-lg) var(--space-md);
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-retro-red);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: var(--space-md);
  padding: 4px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-retro-orange);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--font-retro);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-retro-yellow);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-retro-orange);
  background: var(--color-accent);
}

/* Hide main nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =====================
   7. Hero & Section Styles
   ===================== */
section {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) var(--space-sm);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}
section .container {
  padding: 0;
}

/* Retro pattern background for hero */
section:first-of-type {
  background: repeating-linear-gradient(135deg, var(--color-retro-yellow), var(--color-retro-yellow) 20px, var(--color-bg-alt) 20px, var(--color-bg-alt) 40px);
  border-bottom: 6px solid var(--color-retro-orange);
}

/* =====================
   8. Feature & Card Grids
   ===================== */
.feature-grid, .service-cards, .team-grid, .blog-grid, .screenshots-slider, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-cards > div, .team-grid > div, .blog-grid > div, .screenshots-slider > div, .testimonial-slider > div {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  flex: 1 1 260px;
  min-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover, .service-cards > div:hover, .team-grid > div:hover, .blog-grid > div:hover, .screenshots-slider > div:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.02);
}

/* =====================
   9. Tables (Retro style)
   ===================== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-md);
  overflow: hidden;
  font-family: var(--font-retro);
}
thead {
  background: var(--color-retro-yellow);
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-bg-alt);
  font-size: 1.05rem;
}
th {
  color: var(--color-primary);
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(even) {
  background: var(--color-bg-alt);
}
td {
  color: var(--color-primary);
}

/* =====================
   10. Lists & FAQ
   ===================== */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: var(--space-md);
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  font-size: 1.05rem;
}
ul li::before {
  content: '\25A0';
  color: var(--color-retro-orange);
  font-size: 0.8em;
  margin-right: 10px;
  vertical-align: middle;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  transition: box-shadow 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: var(--shadow-strong);
}

/* =====================
   11. Testimonials
   ===================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--color-accent);
  color: var(--color-primary);
  border-left: 6px solid var(--color-retro-orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  font-style: italic;
  font-size: 1.1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card span {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  color: var(--color-retro-blue);
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.01);
}

/* =====================
   12. Footer
   ===================== */
footer {
  background: var(--color-retro-blue);
  color: var(--color-white);
  padding: var(--space-lg) 0 var(--space-md) 0;
  border-top: 6px solid var(--color-retro-yellow);
}
footer .container {
  padding: 0 var(--space-md);
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}
footer img {
  height: 38px;
  margin-bottom: 10px;
}
footer nav {
  font-family: var(--font-retro);
  font-size: 1rem;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--color-retro-yellow);
  text-decoration: underline;
  margin: 0 6px;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-retro-orange);
}
footer address {
  font-style: normal;
  color: var(--color-white);
  font-size: 1rem;
}
footer a {
  color: var(--color-retro-yellow);
  text-decoration: underline;
}
footer a:hover, footer a:focus {
  color: var(--color-retro-orange);
}

/* =====================
   13. Cookie Consent Banner
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  box-shadow: 0 -2px 16px var(--color-shadow-strong);
  padding: var(--space-md) var(--space-md) var(--space-sm) var(--space-md);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: slideUp 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: var(--font-retro);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-accept {
  background: var(--color-retro-green);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-retro-blue);
  color: var(--color-white);
}
.cookie-reject {
  background: var(--color-retro-red);
  color: var(--color-white);
  font-weight: 700;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-retro-orange);
  color: var(--color-white);
}
.cookie-settings {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border: 2px solid var(--color-retro-orange);
  font-weight: 600;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-retro-orange);
  color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,48,87,0.25);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: var(--space-lg) var(--space-md);
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: popIn 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-retro-orange);
  margin-bottom: var(--space-sm);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: var(--font-retro);
  font-size: 1.05rem;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-retro-green);
  width: 20px;
  height: 20px;
}
.cookie-category .essential {
  color: var(--color-retro-green);
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* =====================
   14. Forms & Inputs
   ===================== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--color-retro-yellow);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--color-accent);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-retro-orange);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-retro-orange);
}
label {
  font-family: var(--font-retro);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  display: block;
}

/* =====================
   15. Miscellaneous
   ===================== */
.map {
  background: var(--color-retro-yellow);
  border-radius: var(--radius);
  padding: var(--space-md);
  color: var(--color-primary);
  font-family: var(--font-retro);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow);
}

/* =====================
   16. Responsive Design
   ===================== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 var(--space-sm);
  }
  .content-wrapper {
    gap: var(--space-sm);
  }
  .feature-grid, .service-cards, .team-grid, .blog-grid, .screenshots-slider, .testimonial-slider {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 95%;
  }
  .content-wrapper {
    gap: var(--space-xs);
  }
  .section, section {
    padding: var(--space-md) var(--space-xs);
    margin-bottom: var(--space-lg);
    border-radius: var(--radius);
  }
  .feature-grid, .service-cards, .team-grid, .blog-grid, .screenshots-slider, .testimonial-slider {
    flex-direction: column;
    gap: 12px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: var(--space-sm);
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer .content-wrapper {
    gap: var(--space-xs);
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .btn-primary, .secondary-cta, .btn-secondary {
    font-size: 0.95rem;
    padding: 8px 14px;
  }
  .cookie-modal {
    padding: var(--space-md) var(--space-xs);
  }
}

/* =====================
   17. Utility Classes
   ===================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }

/* =====================
   18. Retro Decorative Elements
   ===================== */
/* Retro corner ribbons for cards */
.card::before, .feature-grid > div::before, .service-cards > div::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-top: 36px solid var(--color-retro-yellow);
  border-right: 36px solid transparent;
  border-radius: 0 0 12px 0;
  z-index: 1;
  opacity: 0.12;
}

/* Retro dots pattern for hero */
section:first-of-type::after {
  content: '';
  position: absolute;
  right: 24px; bottom: 24px;
  width: 80px; height: 80px;
  background: radial-gradient(var(--color-retro-orange) 2px, transparent 2px), radial-gradient(var(--color-retro-orange) 2px, transparent 2px);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

/* =====================
   19. Accessibility
   ===================== */
:focus {
  outline: 2px dashed var(--color-retro-orange);
  outline-offset: 2px;
}

/* =====================
   20. Prevent Overlapping
   ===================== */
.card, .feature-grid > div, .service-cards > div, .team-grid > div, .blog-grid > div, .screenshots-slider > div, .testimonial-card {
  margin-bottom: 20px;
}

/* =====================
   END OF CSS
   ===================== */
