/* Map & Co. Architects Website Styles */

/* Color Variables */
:root {
  --black: #000000;
  --red: #E31E24;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #CCCCCC;
  --dark-gray: #333333;
  --cream: #F9F7F2;
  --muted-blue: #4A6B8A;
  --warm-beige: #D9C5B2;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: var(--black);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--muted-blue);
  border-left: 4px solid var(--red);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.quote-author {
  font-size: 1rem;
  color: var(--dark-gray);
  text-align: right;
  margin-top: 0.5rem;
}

/* Header */
header {
  padding: 1.5rem 0;
  background-color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  height: 60px;
}

.logo img {
  height: 100%;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--red);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--red);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--black);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 800px;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #c01a1f;
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: var(--cream);
}

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

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Philosophy Section */
.philosophy {
  padding: 6rem 0;
}

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

.philosophy-content {
  order: 2;
}

.philosophy-image {
  order: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Page Banner */
.page-banner {
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 80px;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0;
}

/* Page Content Sections */
.projects-content,
.about-content,
.philosophy-content,
.contact-content {
  padding: 6rem 0;
}

.projects-intro,
.about-story,
.philosophy-intro {
  margin-bottom: 4rem;
}

.projects-filter {
  margin-bottom: 3rem;
}

.projects-filter ul {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.projects-filter li {
  margin: 0;
}

.projects-filter a {
  display: block;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  color: var(--dark-gray);
  border: 2px solid var(--medium-gray);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.projects-filter .active a,
.projects-filter a:hover {
  background-color: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Projects Section */
.projects {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-content p {
  margin-bottom: 1rem;
}

.read-more {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--red);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--red);
  text-decoration: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

.contact-form textarea {
  min-height: 150px;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-links h4, .footer-logo h4, .footer-what-we-do h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--medium-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--red);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--medium-gray);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid,
  .philosophy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .philosophy-content,
  .philosophy-image {
    order: 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 0;
    padding: 0.8rem 2rem;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

 / *   P h o n e   L i n k   S t y l i n g   ( M o b i l e   C l i c k a b l e   O n l y )   * / 
 . m o b i l e - t e l   { 
     t e x t - d e c o r a t i o n :   n o n e   ! i m p o r t a n t ; 
     c o l o r :   i n h e r i t ; 
     p o i n t e r - e v e n t s :   n o n e ; 
     c u r s o r :   d e f a u l t ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
     . m o b i l e - t e l   { 
         p o i n t e r - e v e n t s :   a u t o ; 
         c u r s o r :   p o i n t e r ; 
     } 
 }  
 
 / *   C o n t a c t   F o r m   F e e d b a c k   S t y l i n g   * / 
 # f o r m F e e d b a c k   { 
     m a r g i n - t o p :   1 . 5 r e m ; 
 } 
 . s u c c e s s - m e s s a g e   { 
     b a c k g r o u n d - c o l o r :   # e 8 f 5 e 9 ; 
     b o r d e r - l e f t :   4 p x   s o l i d   # 4 c a f 5 0 ; 
     p a d d i n g :   1 . 5 r e m ; 
     b o r d e r - r a d i u s :   4 p x ; 
 } 
 . s u c c e s s - m e s s a g e   h 3   { 
     c o l o r :   # 2 e 7 d 3 2 ; 
     m a r g i n - b o t t o m :   0 . 5 r e m ; 
 } 
 . s u c c e s s - m e s s a g e   p   { 
     c o l o r :   # 1 b 5 e 2 0 ; 
     m a r g i n - b o t t o m :   0 ; 
 } 
 . e r r o r - m e s s a g e   { 
     b a c k g r o u n d - c o l o r :   # f f e b e e ; 
     c o l o r :   # c 6 2 8 2 8 ; 
     p a d d i n g :   1 r e m ; 
     b o r d e r - r a d i u s :   4 p x ; 
     b o r d e r - l e f t :   4 p x   s o l i d   # f 4 4 3 3 6 ; 
 }  
 