@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lora:wght@700;800&display=swap");

:root {
  /* --- BACKGROUND & BASE COLORS --- */
  --gwd-background: #101010; /* Deep Charcoal (Main Body BG) */
  --gwd-foreground: #ffffff; /* Crisp White (Main Text Color) */

  /* --- SURFACE & CARD COLORS --- */
  --gwd-card: #1a1a1a; /* Slightly lighter dark gray for card/surface BG */
  --gwd-card-foreground: #ffffff; /* Crisp White (Text on Cards) */

  /* --- PRIMARY INTERACTION COLORS (GOLD/AMBER) --- */
  --gwd-primary: #c79f48; /* Gold/Amber (Primary Button/CTA) */
  --gwd-primary-foreground: #101010; /* Deep Charcoal (Text on Primary Button) */

  /* --- SECONDARY INTERACTION COLORS (Light Gray/Subtle) --- */
  --gwd-secondary: #333333; /* Dark Gray (Secondary Button/Highlight BG) */
  --gwd-secondary-foreground: #e0e0e0; /* Off-White (Text on Secondary Button) */

  /* --- MUTED & BORDER COLORS --- */
  --gwd-muted: #242424; /* Darker background for input fields or subtle blocks */
  --gwd-muted-foreground: #999999; /* Light Gray (Subtle helper text/placeholders) */
  --gwd-accent: #d1b16c; /* Slightly brighter Gold/Amber (Hover state for primary elements) */
  --gwd-accent-foreground: #101010; /* Dark Charcoal (Text on Accent) */
  --gwd-border: #3c3c3c; /* Visible border color for cards/inputs (matches the dark theme) */

  /* --- UTILITY VALUES --- */
  --gwd-radius: 0.2rem; /* Minimal rounded corners for a sleek, modern look */
  --gwd-shadow: none; /* 0 4px 15px rgba(199, 159, 72, 0.2) Subtle gold-tinged shadow for elegance */

  /* --- FONT DEFINITIONS (UPDATED FOR LORA & INTER) --- */
  --gwd-font-display: "Lora", serif; /* NEW: Elegant Serif for Headlines */
  --gwd-font-body: "Inter", sans-serif; /* NEW: Clean Sans-serif for Body */
  --gwd-font-sans: var(--gwd-font-body); /* Using Inter as the default sans */

  --gwd-white: #ffffff;
}

.widget-dark {
  --gwd-background: rgb(10, 10, 10);
  --gwd-foreground: rgb(250, 250, 250);
  --gwd-card: rgb(25, 25, 25);
  --gwd-card-foreground: rgb(250, 250, 250);
  --gwd-muted: rgb(38, 38, 38);
  --gwd-muted-foreground: rgb(161, 161, 161);
  --gwd-border: rgb(56, 56, 56);
  --gwd-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
}

.page-bg {
  background-image: url(https://res.cloudinary.com/dzqghnku9/image/upload/c_limit,w_1080/f_auto/q_auto/v1/next-cloudinary-uploads/ydyfsjpv6csbdruihnwx?_a=BAVAZGE70);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: bottom;
  /* filter: drop-shadow(2px 4px 6px black); */
}

/* Root wrapper */
.gwd-widget {
  font-family: var(--gwd-font-body); /* Apply Inter to all text */
  background-color: transparent;
  color: var(--gwd-foreground);
  padding: 3rem 120px;
}
.gwd-widget ul {
  list-style: disc;
  padding-left: 1rem;
  list-style-position: inside;
}
.gwd-widget ol {
  list-style: decimal;
  padding-left: 1rem;
  list-style-position: inside;
}

/* Headings (UPDATED TO USE LORA) */
.gwd-widget h2 {
  font-family: var(--gwd-font-display); /* Lora for headline impact */
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gwd-card-foreground);
  margin-bottom: 0.75rem;
}
.gwd-widget h4 {
  font-family: var(--gwd-font-display); /* Lora for sub-headings */
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gwd-foreground);
  margin-bottom: 0.5rem;
}

/* Paragraphs and links (Uses default body font) */
.gwd-widget p {
  font-size: 1rem;
  color: var(--gwd-muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.gwd-widget a {
  text-decoration: none;
  font-weight: 500;
}

/* Content on image (inheriting semantic styles) */

.gwd-on-image h2,
.gwd-on-image h4,
.gwd-on-image p,
.gwd-on-image a {
  color: var(--gwd-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.gwd-on-image {
  position: relative;
}

.gwd-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 196, 84, 0.4), rgba(0, 0, 0, 0.6));
  mix-blend-mode: multiply;
  z-index: 1;
}

.gwd-on-image:hover .gwd-image-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    linear-gradient(rgba(255, 196, 84, 0.5), rgba(0, 0, 0, 0.65));
}

/* Hero image & overlay */
.gwd-hero-image {
  position: relative;
  width: 100%;
  height: 400px;
  z-index: 0;
}

.gwd-textover-image {
  height: 300px;
}

.gwd-hero-content {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 1rem 2rem;
  color: var(--gwd-white);
  font-family: var(--gwd-font-display); /* Use Lora for Hero Content */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.gwd-hero-content p {
  font-family: var(--gwd-font-body);
}

/* Card layout */
.gwd-card {
  background-color: var(--gwd-card);
  color: var(--gwd-card-foreground);
  border-radius: var(--gwd-radius);
  box-shadow: var(--gwd-shadow);
  overflow: hidden;
  border: 1px solid var(--gwd-border);
}
.gwd-card .gwd-card-img {
  width: 100%;
  height: 250px;
  max-height: 300px;
  object-fit: cover;
}
.gwd-card .gwd-card-body {
  padding: 1rem;
  margin: auto 0;
}

/* Headings within card (UPDATED) */
.gwd-card-subheading {
  font-family: var(--gwd-font-body); /* Inter for readability */
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.gwd-card-heading {
  font-family: var(--gwd-font-display); /* Lora for elegance */
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gwd-card-foreground);
}
.gwd-card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--gwd-muted-foreground);
}
.gwd-link-wrapper {
  margin-bottom: 1rem;
}
.gwd-card-link {
  font-weight: 500;
}

/* Carousel arrows using theme colors */
.gwd-carousel-controls {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.carousel-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--gwd-primary);
  color: var(--gwd-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.carousel-arrow:hover {
  background-color: var(--gwd-primary-foreground);
  color: var(--gwd-primary);
}

/* ============================
      Header Styling (UPDATED FONT)
      ============================ */

.gwd-header {
  background-color: var(--gwd-background);
  color: var(--gwd-foreground);
  border-bottom: 1px solid var(--gwd-border);
  box-shadow: var(--gwd-shadow);
  padding: 1.25rem 7.5rem;
}

.gwd-header-logo {
  width: 13.5rem;
  max-height: 3.5rem;
  object-fit: contain;
}

.gwd-header-title,
.gwd-header-nav-trigger,
.gwd-header-nav-link,
.gwd-header-auth-link,
.gwd-header-submenu a {
  font-family: var(--gwd-font-body); /* Inter for navigation links */
  font-weight: 500;
  text-decoration: none;
  color: var(--gwd-card-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: var(--gwd-radius);
}

.gwd-header-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gwd-primary);
  transition: color 0.3s ease;
}

.gwd-header-title:hover {
  color: var(--gwd-foreground);
}

.gwd-header-nav-trigger {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.gwd-header-nav-trigger:hover,
.gwd-header-nav-link:hover {
  color: var(--gwd-primary);
}

.gwd-header-nav-link,
.gwd-header-submenu a {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.gwd-header-nav-link:hover,
.gwd-header-submenu a:hover,
.gwd-header-auth-link:hover {
  background-color: transparent;
  color: var(--gwd-white);
  border-bottom: 1px solid var(--gwd-primary);
}

.gwd-header-active{
  background-color: transparent;
  color: var(--gwd-white);
  border-bottom: 1px solid var(--gwd-primary);
}

.gwd-header-submenu {
  background-color: var(--gwd-card);
  border-radius: var(--gwd-radius);
  padding: 0.5rem;
  box-shadow: var(--gwd-shadow);
  width: 200px;
}

.gwd-header-submenu a {
  display: block;
}

.gwd-header-auth-link {
  color: var(--gwd-foreground);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

/* Drawer in tablet and mobile  */
.menu-drawer {
  background-color: var(--gwd-background);
}
.menu-box {
  padding: 12px;
  background-color: var(--gwd-card);
  border-radius: var(--gwd-radius);
  box-shadow: var(--gwd-shadow);
  border: 1px solid var(--gwd-border);
  height: 85svh;
  overflow-y: auto;
}

/* ============================
      Button Variants (Theme-Based)
      ============================ */

/* Base Button Style */
.gwd-button {
  font-family: var(--gwd-font-body); /* Inter */
  font-size: 1rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: var(--gwd-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
.gwd-button a {
  text-decoration: none;
}

/* Primary Button */
.gwd-button-primary {
  background-color: var(--gwd-primary);
  color: var(--gwd-primary-foreground);
  border-color: var(--gwd-border);
}
.gwd-button-primary:hover {
  background-color: var(--gwd-accent);
}

/* Secondary Button */
.gwd-button-secondary {
  background-color: var(--gwd-secondary);
  color: var(--gwd-secondary-foreground);
  border: 1px solid var(--gwd-border);
}
.gwd-button-secondary:hover {
  background-color: var(--gwd-primary);
}

/* Outline Button */
.gwd-button-outline {
  background-color: transparent;
  color: var(--gwd-primary);
  border: 1px solid var(--gwd-primary);
}
.gwd-button-outline:hover {
  background-color: var(--gwd-primary);
  color: var(--gwd-white);
}

/* Ghost Button */
.gwd-button-ghost {
  color: var(--gwd-muted-foreground);
}
.gwd-button-ghost a:hover {
  color: var(--gwd-secondary);
  text-decoration: underline;
}

/* Form design */
/* Container for the entire form */
.gwd-widget.form-container {
  border: 1px solid var(--gwd-border);
  box-shadow: var(--gwd-shadow);
}

.service-form-container {
  margin: 0 auto;
  padding: 30px;
  border-radius: var(--gwd-radius);
  box-shadow: var(--gwd-shadow);
  background-color: var(--gwd-background);
  font-family: var(--gwd-font-body);
  color: var(--gwd-foreground);
}

/* Heading styling */
.form-heading {
  font-family: var(--gwd-font-display); /* Lora */
  font-size: 2rem;
  font-weight: 600;
  color: var(--gwd-card-foreground);
  margin-bottom: 10px;
}

.form-description {
  font-size: 1rem;
  color: var(--gwd-muted-foreground);
  margin-bottom: 25px;
}

/* Individual form field styling */
.form-field {
  margin-bottom: 20px;
}

/* Label styling */
.form-label {
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
  color: var(--gwd-foreground);
}

/* Input and Textarea styling */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gwd-border);
  border-radius: var(--gwd-radius);
  background-color: var(--gwd-muted);
  color: var(--gwd-muted-foreground);
  transition: all 0.2s ease-in-out;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gwd-primary);
  /* Adjusted shadow to use the gold accent */
  box-shadow: 0 0 0 3px rgba(199, 159, 72, 0.25);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Radio buttons and checkboxes can be styled similarly if needed */
.radio-group,
.services-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-item label,
.checkbox-item label {
  font-weight: 400;
  margin: 0;
  color: var(--gwd-muted-foreground);
}

@media screen and (max-width: 769px) {
  .gwd-widget {
    padding: 48px 2rem;
  }
  .gwd-header {
    padding: 1.25rem 2rem;
  }
}
