:root {
  --primary: #5A1E2D;
  --secondary: #3B2A23;
  --accent: #C9A24D;
  --neutral-light: #F6F1EB;
  --contrast: #2E2E2E;
  --white: #FFFFFF;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--contrast);
  background-color: var(--neutral-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 1rem;
  }
  
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .nav-menu a {
    font-size: 0.85rem;
  }
  
  header {
    padding: 1rem 0;
  }
  
  .page-header {
    padding: 8rem 0 3rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .presentation-content,
  .custom-design-content {
    padding: 0 1rem;
  }
  
  .create-grid,
  .materials-grid,
  .projects-gallery {
    padding: 0 1rem;
  }
  
  .contact-form-container {
    padding: 2rem 1rem;
  }
  
  .footer-content {
    padding: 0 1rem;
    gap: 2rem;
  }
  
  .content-wrapper {
    padding: 0 1rem;
  }
  
  .process-timeline {
    padding: 0 1rem;
  }
  
  .process-number {
    font-size: 2.5rem;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(246, 241, 235, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(58, 42, 35, 0.1);
  padding: 1.5rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--contrast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--contrast);
  z-index: 1001;
}

.menu-close-wrapper {
  display: none;
}

.menu-close {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2.5rem;
  color: var(--contrast);
  padding: 0;
  line-height: 1;
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.menu-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .menu-close-wrapper {
    display: block;
    width: 100%;
    text-align: right;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--neutral-light);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
    border-top: 1px solid rgba(58, 42, 35, 0.1);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
}

.hero-architectural {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: var(--neutral-light);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  padding-left: 5%;
}

.hero-text h1 {
  color: var(--primary);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--secondary);
  max-width: 85%;
  line-height: 1.8;
}

.hero-image {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text {
    padding-left: 0;
  }
  
  .hero-image {
    height: 60vh;
  }
}

.presentation-section {
  padding: 8rem 0;
  background: var(--white);
}

.presentation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.presentation-text {
  padding-top: 2rem;
}

.presentation-text h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.presentation-text p {
  color: var(--secondary);
  font-size: 1.125rem;
  line-height: 1.9;
}

.presentation-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.presentation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .presentation-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.what-we-create {
  padding: 8rem 0;
  background: var(--neutral-light);
}

.what-we-create h2 {
  text-align: center;
  padding-right: 5%;
  color: var(--primary);
  margin-bottom: 4rem;
}

.create-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.create-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.create-item-image {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.create-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.create-item:hover .create-item-image img {
  transform: scale(1.05);
}

.create-item h3 {
  color: var(--primary);
  font-size: 1.75rem;
}

.create-item p {
  color: var(--secondary);
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .create-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .create-grid {
    grid-template-columns: 1fr;
  }
}

.philosophy-section {
  padding: 10rem 0;
  background: var(--secondary);
  color: var(--neutral-light);
  position: relative;
}

.philosophy-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.philosophy-content h2 {
  color: var(--accent);
  margin-bottom: 3rem;
  text-align: center;
}

.philosophy-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.philosophy-text p {
  font-size: 1.25rem;
  line-height: 2;
  color: var(--neutral-light);
}

@media (max-width: 768px) {
  .philosophy-text {
    grid-template-columns: 1fr;
  }
}

.process-section {
  padding: 8rem 0;
  background: var(--white);
}

.process-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 5rem;
}

.process-timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.process-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: start;
}

.process-item:nth-child(even) {
  grid-template-columns: 1fr 200px;
}

.process-item:nth-child(even) .process-content {
  order: -1;
}

.process-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
}

.process-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.process-content p {
  color: var(--secondary);
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .process-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-item:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .process-item:nth-child(even) .process-content {
    order: 0;
  }
  
  .process-number {
    font-size: 3rem;
  }
}

.materials-section {
  padding: 8rem 0;
  background: var(--neutral-light);
}

.materials-section h2 {
  text-align: left;
  padding-left: 5%;
  color: var(--primary);
  margin-bottom: 4rem;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.material-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid rgba(58, 42, 35, 0.1);
  transition: var(--transition);
}

.material-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.material-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.material-card p {
  color: var(--secondary);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

.projects-section {
  padding: 8rem 0;
  background: var(--white);
}

.projects-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 5rem;
}

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.project-item {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 2rem;
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.project-item:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .projects-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-gallery {
    grid-template-columns: 1fr;
  }
}

.details-section {
  padding: 6rem 0;
  background: var(--neutral-light);
}

.details-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.details-content h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.details-content p {
  color: var(--secondary);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

.custom-design-section {
  padding: 8rem 0;
  background: var(--white);
}

.custom-design-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: center;
}

.custom-design-text h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.custom-design-text p {
  color: var(--secondary);
  font-size: 1.125rem;
  line-height: 1.9;
}

.custom-design-image {
  position: relative;
  height: 500px;
}

.custom-design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .custom-design-content {
    grid-template-columns: 1fr;
  }
}

.contact-section {
  padding: 8rem 0;
  background: var(--neutral-light);
}

.contact-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 4rem;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border: 1px solid rgba(58, 42, 35, 0.1);
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(58, 42, 35, 0.2);
  background: var(--neutral-light);
  font-family: inherit;
  font-size: 1rem;
  color: var(--contrast);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--secondary);
}

.submit-btn {
  padding: 1.25rem 3rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}

.submit-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

footer {
  background: var(--contrast);
  color: var(--neutral-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: var(--neutral-light);
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 241, 235, 0.1);
  color: var(--neutral-light);
  opacity: 0.7;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
}

.page-header {
  padding: 10rem 0 4rem;
  background: var(--primary);
  color: var(--neutral-light);
  margin-top: 80px;
}

.page-header h1 {
  text-align: center;
  color: var(--neutral-light);
  margin-bottom: 1rem;
}

.page-header p {
  text-align: center;
  color: var(--neutral-light);
  opacity: 0.9;
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

.content-section {
  padding: 6rem 0;
  background: var(--white);
}

.content-section:nth-child(even) {
  background: var(--neutral-light);
}

.content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-wrapper h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.content-wrapper h3 {
  color: var(--secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-wrapper p {
  color: var(--secondary);
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.content-wrapper li {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.9;
}

.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  text-align: center;
}

.thank-you-content h1 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.thank-you-content p {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: var(--primary);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 2rem;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.image-section {
  padding: 6rem 0;
  background: var(--white);
}

.image-section:nth-child(even) {
  background: var(--neutral-light);
}

.image-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: center;
}

.image-section-content.reverse {
  grid-template-columns: 1fr 1fr;
}

.image-section-content.reverse .image-section-image {
  order: -1;
}

.image-section-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.image-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-section-text h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.image-section-text p {
  color: var(--secondary);
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .image-section-content {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }
  
  .image-section-content.reverse .image-section-image {
    order: 0;
  }
  
  .image-section-image {
    height: 300px;
  }
}

@media (max-width: 320px) {
  .image-section {
    padding: 4rem 0;
  }
  
  .image-section-content {
    padding: 0 1rem;
    gap: 2rem;
  }
  
  .image-section-image {
    height: 250px;
  }
  
  .image-section-text h2 {
    font-size: 1.5rem;
  }
  
  .image-section-text p {
    font-size: 1rem;
  }
}
