/* Global styles from globals.css */
:root {
  --background: #ffffff;
  --foreground: #171717;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Portfolio styles */
.portfolio {
  background-color: #ffefd9;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #403930;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
.header {
  padding: 32px 112px;
  /* background: #fff; */
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-links a {
  font-size: 18px;
  font-weight: 500;
}

/* Hero section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 112px;
  margin-bottom: 80px;
  min-height: 80vh;
}

.hero-content {
  max-width: 50%;
}

.greeting {
  display: inline-block;
  background-color: #ffddbe;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.title {
  font-family: "Eczar", serif;
  font-size: 64px;
  line-height: 1.25;
  letter-spacing: 1.28px;
  margin-bottom: 40px;
}

.cta-container {
  display: flex;
  gap: 16px;
}

.primary-cta,
.secondary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}

.primary-cta {
  background-color: #2d2d2d;
  color: white;
}

.secondary-cta {
  background-color: #f1f1f1;
  color: #2d2d2d;
}

.cta-icon {
  margin-left: 8px;
  width: 24px;
  height: 24px;
}

.hero-image {
  max-width: 45%;
  height: auto;
}

/* Work section */
.work-section {
  padding: 88px 112px;
  background-color: rgba(255, 221, 191, 0.5);
}

.section-title {
  font-family: "Eczar", serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 32px;
}

.work-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.work-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff8f2;
  border-radius: 24px;
  padding: 32px;
}

.work-card > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-decoration: none;
}

.work-card-content {
  max-width: 45%;
}

.work-card h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 4px;
}

.work-card p {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: #594f43;
}

.work-card img {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
}

/* Testimonial section */
.testimonial-section {
  padding: 88px 112px;
  background-color: rgba(255, 221, 191, 0.5);
}

.testimonial-subtitle {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 56px;
}

.testimonial-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  background-color: #fff8f2;
  border-radius: 24px;
  padding: 32px;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.testimonial-author h4 {
  font-size: 20px;
  font-weight: 600;
}

/* About section */
.about-section {
  padding: 88px 112px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.6;
}

/* Contact section */
.contact-section {
  text-align: center;
  padding: 64px 112px 80px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

input,
textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  background-color: #fff8f2;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: #2d2d2d;
  color: white;
  padding: 24px 40px;
  border: none;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

/* Under construction styles */
.under-construction {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: rgba(255, 184, 0, 0.9);
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.under-construction .stripes {
  height: 20px;
  background: repeating-linear-gradient(
    45deg,
    rgba(51, 51, 51, 0.9),
    rgba(51, 51, 51, 0.9) 10px,
    transparent 10px,
    transparent 20px
  );
}

.under-construction .text {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.under-construction .text span {
  font-family: Arial Black, sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #333;
  line-height: 1;
}

/* Responsive styles */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-image {
    max-width: 80%;
  }

  .cta-container {
    justify-content: center;
  }

  .work-section,
  .testimonial-section,
  .about-section,
  .contact-section {
    padding: 64px 20px;
  }

  .work-card {
    flex-direction: column;
    padding: 24px;
  }

  .work-card-content {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .work-card img {
    max-width: 100%;
  }

  .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }

  .header {
    padding: 20px;
  }

  .title {
    font-size: 40px;
  }
}
