/* Architect Portfolio - Brutalist Design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Tajawal", sans-serif;
  background-color: white;
  color: black;
  overflow-x: hidden;
}

::selection {
  background-color: #dc2626;
  color: white;
}

/* Mobile Header */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 2px solid black;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 50;
}

@media (min-width: 1024px) {
  .mobile-header {
    display: none;
  }
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.mobile-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.exit-btn {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: black;
  color: white;
  padding: 0.25rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.exit-btn:hover {
  background-color: #dc2626;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.menu-icon {
  display: block;
  width: 28px;
  height: 2px;
  background-color: black;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 2px;
  background-color: black;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

/* Desktop Sidebar */
.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 6rem;
    border-left: 2px solid black;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    z-index: 50;
    background-color: white;
  }
}

.sidebar-brand {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  transform: rotate(-90deg);
  margin-top: 2rem;
  cursor: default;
  transition: color 0.3s;
}

.sidebar-brand:hover {
  color: #dc2626;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  background-color: #d1d5db;
  border-radius: 50%;
  transition: all 0.3s;
  cursor: pointer;
}

.nav-dot.active {
  width: 12px;
  height: 12px;
  background-color: black;
}

.nav-dot:hover {
  background-color: #dc2626;
  transform: scale(1.5);
}

.sidebar-exit {
  transform: rotate(-90deg);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  transition: color 0.3s;
}

.sidebar-exit:hover {
  color: #dc2626;
}

/* Main Navigation */
.main-nav {
  position: sticky;
  top: 0;
  background-color: white;
  border-bottom: 2px solid black;
  z-index: 100;
  padding: 0 1.5rem;
}

.nav-container {
  max-width: 1536px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: black;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background-color: #dc2626;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover {
  color: #dc2626;
}

.nav-link.active {
  color: #dc2626;
  border-color: #dc2626;
}

@media (min-width: 768px) {
  .nav-container {
    gap: 3rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Main Content */
.main-content {
  padding-right: 0;
}

@media (min-width: 1024px) {
  .main-content {
    padding-right: 6rem;
  }
}

/* Header */
.header {
  padding: 4rem 1.5rem 8rem;
  border-bottom: 2px solid black;
  scroll-margin-top: 80px;
}

@media (min-width: 768px) {
  .header {
    padding: 8rem 1.5rem;
  }
}

.header-container {
  max-width: 1536px;
  margin: 0 auto;
}

.main-title {
  font-size: 4.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .main-title {
    font-size: 6rem;
  }
}

.outlined {
  color: transparent;
  background: linear-gradient(to left, #dc2626, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 2px black;
}

.header-bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.header-text {
  max-width: 36rem;
  color: #6b7280;
  font-size: 1.25rem;
  margin-top: 2rem;
  border-right: 4px solid #dc2626;
  padding-right: 2rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .header-text {
    font-size: 1.5rem;
  }
}

.header-cta {
  width: 100%;
}

@media (min-width: 768px) {
  .header-cta {
    width: auto;
  }
}

.cta-button {
  width: 100%;
  background-color: black;
  color: white;
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid black;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: "Tajawal", sans-serif;
}

@media (min-width: 768px) {
  .cta-button {
    width: auto;
  }
}

.cta-button:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

.cta-button svg {
  transition: transform 0.3s;
}

.cta-button:hover svg {
  transform: translate(-0.25rem, -0.25rem);
}

/* Philosophy Section */
.philosophy {
  background-color: #f5f5f5;
  padding: 6rem 0;
  overflow: hidden;
  border-bottom: 2px solid black;
  scroll-margin-top: 80px;
}

.philosophy-container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .philosophy-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s;
}

.philosophy-card:hover {
  transform: translateY(-0.5rem);
}

.philosophy-card svg {
  color: #dc2626;
}

.philosophy-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.philosophy-text {
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 1.5rem;
  scroll-margin-top: 80px;
}

.portfolio-container {
  max-width: 1536px;
  margin: 0 auto;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  border-bottom: 2px solid black;
  padding-bottom: 2rem;
}

.portfolio-title {
  font-size: 3.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1;
}

.portfolio-count {
  text-align: left;
  display: none;
}

@media (min-width: 768px) {
  .portfolio-count {
    display: block;
  }
}

.count-number {
  font-size: 3rem;
  font-weight: 700;
  color: #dc2626;
}

.count-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: black;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  background-color: #e5e7eb;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.project-card:hover {
  border-color: black;
}

.project-card.tall {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .project-card.tall {
    grid-row: span 2;
  }
}

.project-card.wide {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .project-card.wide {
    grid-column: span 2;
  }
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s;
  filter: grayscale(100%);
}

.project-card:hover .project-image {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background-color 0.3s;
}

.project-card:hover .project-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}

.project-info {
  transform: translateY(100%);
  transition: transform 0.3s;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-badge {
  color: #ef4444;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  background-color: black;
  width: fit-content;
  padding: 0.125rem 0.5rem;
  margin-bottom: 0.5rem;
}

.project-name {
  color: white;
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.project-location {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Contact Section */
.contact {
  background-color: white;
  padding: 6rem 1.5rem;
  border-bottom: 2px solid black;
  scroll-margin-top: 80px;
}

.contact-container {
  max-width: 1536px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 4rem;
  border-bottom: 2px solid black;
  padding-bottom: 2rem;
}

.contact-title {
  font-size: 3.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 2rem;
}

.contact-intro {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.8;
  max-width: 36rem;
  border-right: 4px solid #dc2626;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .contact-intro {
    font-size: 1.5rem;
  }
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s;
}

.info-item:hover .info-icon {
  background-color: #dc2626;
}

.info-details {
  flex: 1;
}

.info-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: black;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.info-value:hover {
  color: #dc2626;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: black;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid black;
  background-color: white;
  color: black;
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #dc2626;
  background-color: #fef2f2;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  background-color: black;
  color: white;
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid black;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: "Tajawal", sans-serif;
  margin-top: 1rem;
}

.form-submit:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

.form-submit svg {
  transition: transform 0.3s;
}

.form-submit:hover svg {
  transform: translate(-0.25rem, -0.25rem);
}

/* Disclaimer Banner */
.disclaimer-banner {
  background-color: #fef2f2;
  border-top: 2px solid #dc2626;
  border-bottom: 2px solid #dc2626;
  padding: 1rem 1.5rem;
}

.disclaimer-top {
  border-top: none;
  border-bottom: 2px solid #dc2626;
}

.disclaimer-bottom {
  border-top: 2px solid #dc2626;
  border-bottom: none;
  margin-top: 2rem;
  background-color: rgba(254, 242, 242, 0.15);
}

.disclaimer-bottom .disclaimer-text {
  color: #fca5a5;
}

.disclaimer-bottom .disclaimer-link {
  color: #fca5a5;
}

.disclaimer-bottom .disclaimer-link:hover {
  color: white;
}

.disclaimer-bottom .disclaimer-content svg {
  color: #fca5a5;
}

.disclaimer-content {
  max-width: 1536px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.disclaimer-content svg {
  color: #dc2626;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 0.875rem;
  color: #991b1b;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.disclaimer-text strong {
  font-weight: 700;
  color: #dc2626;
}

.disclaimer-link {
  color: #dc2626;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.3s;
}

.disclaimer-link:hover {
  color: #991b1b;
}

@media (min-width: 768px) {
  .disclaimer-text {
    font-size: 1rem;
  }
}

/* Footer */
.footer {
  background-color: black;
  color: white;
  padding: 4rem 1.5rem;
  scroll-margin-top: 80px;
}

.footer-container {
  max-width: 1536px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.footer-text {
  color: #6b7280;
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-text {
    text-align: right;
  }
}
