/* 
  Polderstyle Stylesheet
  Theme: Premium, Minimalist, Elegant
  Colors: Black, Gold, White, Beige
*/

:root {
  --color-primary: #121212;
  --color-secondary: #C5A059;
  /* Gold */
  --color-accent: #f5f5f0;
  /* Beige */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-border: #e0e0e0;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.15);

  --transition: all 0.3s ease;
  --radius: 4px;
}

/* Reset & Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  box-sizing: border-box;
}

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 {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Typography Classes */
.hero-title,
.section-title,
.loader-brand,
.modal-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

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

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-brand {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-secondary);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
  opacity: 0;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Top Ad Bar */
.ad-top-bar {
  background-color: var(--color-accent);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

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

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-secondary);
  transition: width 0.3s;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 20px;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
}

.bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--color-primary);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  padding: 4rem 0 6rem;
  background-color: var(--color-accent);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.hero-img:hover {
  transform: scale(1.02);
}

/* Features / Why Us */
.why-us {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

/* Showcase */
.showcase {
  background-color: var(--color-primary);
  padding: 2rem 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: 0.8;
  transition: var(--transition);
}

.showcase-img:hover {
  opacity: 1;
}

/* About Us */
.about {
  background-color: var(--color-white);
  display: flex;
  align-items: center;
}

.about-container {
  max-width: 800px;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--color-accent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.stars {
  color: var(--color-secondary);
}

/* FAQ */
.faq {
  background-color: var(--color-white);
}

.small-container {
  max-width: 800px;
}

.faq-list {
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-primary);
}

.arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--color-text-light);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  /* Approximate max height */
}

.faq-item.active .arrow {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background-color: #0a0a0a;
  color: #fff;
  padding-top: 0;
}

.footer-disclaimer-bar {
  background-color: #1a1a1a;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid #333;
}

.footer-disclaimer-bar p {
  font-size: 0.8rem;
  color: #888;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.footer-text,
.footer-link-text {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-link-text:hover {
  color: var(--color-white);
}

.footer-links-list li {
  margin-bottom: 0.8rem;
}

.footer-link,
.footer-link-btn {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s;
  text-align: left;
}

.footer-link:hover,
.footer-link-btn:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

/* Cookie Overlay */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  /* JS will toggle */
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.cookie-modal {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideInUp 0.5s ease;
}

.cookie-title {
  margin-bottom: 1rem;
}

.cookie-text {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Modals (Legal) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex !important;
  opacity: 1;
}

.modal-content {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius);
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
}

.modal-body {
  margin-top: 1.5rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.modal-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.modal-body p {
  margin-bottom: 1rem;
}

/* Animations */
@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
  }

  .features-grid,
  .testimonials-grid,
  .showcase-grid,
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Keep showcase as small grid valid for mobile? Actually stacked might be better or carousel. User said attractive. Let's keep 3 cols for showcase on mobile if small imgs, but 1 col if big. */
  }

  /* Hamburger Menu Width */
  .mobile-menu {
    width: 75%;
    margin-left: 25%;
    /* To position it right */
  }

  /* Correction for slide in from right */
  .mobile-menu {
    transform: translateX(100%);
    left: auto;
    right: 0;
  }

  /* Mobile Modals */
  .modal-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }
}