/* Golden Raft - Retro-Automobil Investments */

:root {
  --gold-primary: #D4AF37;
  --gold-light: #F4E4A6;
  --gold-dark: #C5A028;
  --navy-dark: #1A1A2E;
  --navy-medium: #16213E;
  --navy-light: #0F3460;
  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --gray-light: #E8E8E8;
  --gray-medium: #888888;
  --text-dark: #2C2C2C;
  --text-light: #666666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
.header {
  background-color: var(--navy-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--gold-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--gold-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--navy-medium);
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  z-index: 999;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile a {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--gold-primary);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main Content */
main {
  margin-top: 72px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 50%, var(--navy-light) 100%);
  padding: 3rem 1rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  color: var(--gold-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold-primary);
  border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
  background-color: var(--gold-primary);
  color: var(--navy-dark);
}

/* Sections */
.section {
  padding: 3rem 1rem;
}

.section-dark {
  background-color: var(--navy-dark);
  color: var(--white);
}

.section-light {
  background-color: var(--off-white);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy-dark);
}

.section-dark .section-title {
  color: var(--gold-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.section-dark .section-subtitle {
  color: var(--gray-light);
}

/* Features / Services Cards */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.section-dark .feature-card {
  background-color: var(--navy-medium);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy-dark);
}

.section-dark .feature-card h3 {
  color: var(--gold-primary);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

.section-dark .feature-card p {
  color: var(--gray-light);
}

.feature-price {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.section-dark .feature-price {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--gold-primary);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy-dark);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* About Page */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.value-item h4 {
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.value-item p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin: 0;
}

/* Contact Page */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-block h3 {
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.contact-block p {
  color: var(--text-light);
}

.contact-block a {
  color: var(--gold-dark);
}

.contact-block a:hover {
  color: var(--gold-primary);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  color: var(--navy-dark);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--navy-medium);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

/* Thank You Page */
.thank-you-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 500px;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.thank-you-content h1 {
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.thank-you-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Footer */
.footer {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 3rem 1rem 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  text-align: center;
}

.footer-brand .logo {
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-medium);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-column h4 {
  color: var(--gold-primary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  color: var(--gray-light);
  font-size: 0.875rem;
}

.footer-column a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-medium);
  font-size: 0.8125rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 1rem;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--gray-light);
}

.cookie-banner a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-buttons .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: var(--white);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-modal-header h2 {
  color: var(--navy-dark);
  font-size: 1.25rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--navy-dark);
}

.cookie-option {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-option h3 {
  font-size: 1rem;
  color: var(--navy-dark);
}

.cookie-option p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-light);
  transition: 0.3s;
  border-radius: 26px;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--gold-primary);
}

input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gold-primary);
  color: var(--navy-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Tablet Styles */
@media (min-width: 640px) {
  .hero {
    padding: 4rem 2rem;
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .section {
    padding: 4rem 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 280px;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial-card {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 280px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
  }

  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner p {
    flex: 1;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .header .container {
    padding: 1rem 2rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .nav-mobile,
  .nav-overlay {
    display: none;
  }

  .hero {
    padding: 6rem 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 5rem 2rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .feature-card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .testimonial-card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .about-content {
    flex-direction: row;
    gap: 4rem;
  }

  .about-text {
    flex: 1;
  }

  .contact-info {
    flex-direction: row;
    gap: 4rem;
  }

  .contact-block {
    flex: 1;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-brand {
    text-align: left;
    flex: 1;
  }

  .footer-brand .logo {
    justify-content: flex-start;
  }

  .footer-links {
    flex: 2;
    justify-content: flex-end;
  }
}
