/* Easy Audio Copy - Main Stylesheet */

/* ========================================
   Variables (as CSS custom properties)
   ======================================== */
:root {
  --color-primary: #2DB3CB;
  --color-primary-dark: #259AAF;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-bg: #BBBBBB;
  --color-gray-light: #F5F5F5;
  --color-text: #333333;
  --color-text-light: #666666;

  --font-logo: 'Impact', 'Times New Roman', serif;
  --font-heading: 'Arial', 'Times New Roman', serif;
  --font-body: 'Arial', 'Helvetica Neue', sans-serif;

  --max-width: 955px;
  --container-padding: 40px;
  --header-height: 88px;
  --header-top-bar-height: 15px;
  --footer-height: 65px;
  --hero-height: 362px;
}

/* ========================================
   Reset and Base Styles
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-gray-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.feature-block h3 {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.25em;
}

hr {
  border: none;
  height: 2px;
  background-color: var(--color-primary);
  margin: 2em 0;
}

/* ========================================
   Page Wrapper
   ======================================== */
.page-wrapper {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--color-white);
  box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.25);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  padding: var(--container-padding);
  flex: 1;
}

.content {
  flex: 1;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-top-bar {
  height: var(--header-top-bar-height);
  background-color: var(--color-black);
}

.header-main {
  background-color: rgba(45, 179, 203, 0.80);
  height: calc(var(--header-height) - var(--header-top-bar-height));
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 100%;
}

.site-logo {
  font-family: var(--font-logo);
  font-size: 32px;
  color: var(--color-white);
  text-decoration: none;
  font-style: normal;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.site-logo:hover {
  color: var(--color-white);
  text-decoration: none;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  height: 100%;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
  height: 100%;
  align-content: center;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  color: var(--color-white);
  font-size: 12px;
  font-weight: bold;
  font-stretch: condensed;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav-link:hover {
  background-color: var(--color-primary);
  text-decoration: none;
  color: var(--color-white);
  height: 100%;
  align-content: center;
}

.nav-link.active {
  background-color: var(--color-primary);
  height: 100%;
  align-content: center;
}

.language-switcher {
  display: flex;
  gap: 5px;
}

.lang-link {
  display: block;
  padding: 5px;
  transition: opacity 0.2s ease;
}

.lang-link:hover {
  opacity: 0.8;
}

.flag-icon {
  width: 32px;
  height: 24px;
  object-fit: cover;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--color-white);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--color-white);
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  height: var(--hero-height);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tagline {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 30px;
  max-width: 350px;
}

.tagline-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: normal;
  color: var(--color-white);
  line-height: 1.3;
  display: block;
  text-align: center;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background-color: var(--color-black);
  height: var(--footer-height);
  display: flex;
  align-items: center;
  border-color: rgba(45, 179, 203, 0.85);
  border-style: solid;
  border-width: 5px 0 0 0;
}

.footer-container {
  width: 100%;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--color-white);
  font-size: 12px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link {
  color: var(--color-white);
  font-size: 12px;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Home Page Components
   ======================================== */
.intro-section {
  display: grid;
  grid-template-columns: 275px 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.intro-image img {
  width: 100%;
  height: auto;
}

.testimonials-section {
  margin-bottom: 40px;
  padding-top: 30px;
}

.section-title {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.testimonial {
  display: flex;
  align-items: baseline;
  gap: 10px;
  /*flex-wrap: wrap;*/
}

.testimonial-quote {
  font-weight: bold;
  margin: 0;
}

.testimonial-author {
  color: var(--color-primary);
  white-space: nowrap;
  font-size: 12px;
}

/* ========================================
   Download Section
   ======================================== */
.download-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 30px;
}

.download-cta {
  text-align: center;
}

.download-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 10px;
}

.download-subtitle {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.3;
}

.download-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;

}

.download-button:hover {
  transform: scale(1.05);

}

.download-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.download-text {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.system-requirements h3 {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 10px;
}

.system-requirements ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.system-requirements li {
  margin-bottom: 5px;
}

/* ========================================
   Feature Blocks (Details Page)
   ======================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-top: 20px;
}

.feature-row.last-row {
  grid-template-columns: 0.5fr 1fr 0.5fr;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-block img {
  width: 100%;
  height: auto;
}

.feature-title {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-content .page-title {
  margin-bottom: 30px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-light);
  padding-bottom: 30px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.faq-answer p {
  margin-bottom: 1em;
}

.faq-answer strong {
  display: block;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* ========================================
   Gallery
   ======================================== */
.gallery-content .page-title {
  margin-bottom: 10px;
}

.gallery-content .page-subtitle {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.gallery-intro {
  margin-bottom: 30px;
  max-width: 400px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-item {
  display: block;
  border: 2px solid var(--color-gray-light);
  transition: border-color 0.2s ease;
}

.gallery-item:hover {
  border-color: var(--color-primary);
}

.gallery-item img {
  width: 100%;
  height: auto;
}

/* ========================================
   Page Content
   ======================================== */
.page-content .page-title {
  margin-bottom: 20px;
}

.page-content .page-subtitle {
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* ========================================
   Responsive - Menu Scaling (between hamburger and full width)
   ======================================== */
@media (min-width: 769px) and (max-width: 955px) {
  .nav-link {
    padding: 8px 6px;
    font-size: 11px;
  }

  .site-logo {
    font-size: 26px;
  }

  .header-container {
    padding: 0 10px;
  }

  .language-switcher {
    gap: 3px;
  }

  .flag-icon {
    width: 26px;
    height: 20px;
  }
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .header-main {
    position: relative;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    z-index: 99;
    flex: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    background-color: var(--color-primary-dark);
  }

  .nav-item {
    height: auto;
  }

  .nav-link {
    padding: 10px 20px;

    height: auto;
  }

  .nav-link:hover,
  .nav-link.active {
    height: auto;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .site-logo {
    font-size: 24px;
  }

  .hero {
    height: 250px;
  }

  .hero-tagline {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
    padding: 15px 20px;
  }

  .tagline-text {
    font-size: 18px;
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-image {
    max-width: 275px;
    margin: 0 auto;
  }

  .download-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row.last-row {
    grid-template-columns: 0.0fr 1fr;
    gap: 0;
  }

  .feature-container hr {
    height: 0;
    margin: 0;
  }

  .feature-block {
    margin-bottom: 80px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 480px) {
  :root {
    --container-padding: 20px;
  }

  .hero {
    height: 200px;
  }

  .tagline-text {
    font-size: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
    padding: 15px var(--container-padding);
  }

  .site-footer {
    height: auto;
  }
}