/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
}

body {
  font-family: "Helvetica", "Arial", sans-serif;
  background-color: #ffffff;
  color: #222;
}

/* Header Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.6rem;
  font-weight: normal;
  color: #000000;
}

.red-letter {
  color: #c0392b; 
}

nav a {
  all: unset;                 
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #000000;               
}

nav a::after {
  content: "";
  display: none; 
}

/* Hide nav by default on mobile */
@media (max-width: 768px) {
  nav {
    display: none; /* hidden initially */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  nav a {
    margin: 8px 0;
    font-size: 1rem;
  }

  /* Hamburger Button */
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
  }
}

/* Desktop: always show nav, hide hamburger */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
  nav {
    display: flex !important;
  }
}

/* Works Grid Fix */
@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr; /* one column */
  }
}

nav.open {
  display: flex !important;
}

.tagline {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 5px; 
  font-family: Helvetica;

}

.tagline h4 {
  font-size: 20px;
  font-weight: 200;
  color:  #333;
  letter-spacing: 2px;
  word-spacing: 7px;
}

/* Slideshow Container */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 30px;
  margin-top: 20px;
}


.slide {
  position: absolute;
  max-width: 100%;     
  max-height: 100%;   
  width: auto;         
  height: auto;        
  object-fit: contain; 
  left: 50%;           
  top: 50%;            
  transform: translate(-50%, -50%); 
  opacity: 0;
  
}

.slide.active {
  opacity: 1;
}
#slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;  
}

/* Sections */
section {
  padding: 60px 5%;
}

.philosophy-section {
  padding: 20px 10%;
  background-color: #f8f8f8; 
  text-align: center;
}

.philosophy-section h4 {
  font-size: 20px;
  font-weight: 200;
  margin-bottom: 15px;
  color: #222;
}

.philosophy-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.about-section {
  padding: 70px 7%;
}

.about-section h4 {
  font-size: 20px;
  font-weight: 200;
  margin-bottom: 20px;
  padding: 3px;
  color: #000000;
}

.team-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-member {
  display: flex;
  flex-direction: row; 
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 3px;
}


.team-member.reverse {
  flex-direction: row; 
  background-color: #ffffff;
}

.member-image {
  flex: 0 0 20%; 
  display: flex;
  justify-content: flex-start; 
  align-items: center;
}
.member-image img {
  width: 180px;         
  height: 210px;        
  object-fit: cover;  
  
}
.member-info {
  flex: 1; 
  justify-content: left; 
  align-items: left;
}

.member-info h4 {
  font-size: 20px;
  font-weight: 200;
  margin-bottom: 10px;
}
.member-info a{
  font-size: 15px;
  font-weight: 150;
  margin-bottom: 10px;
  color: #c0392b;
}

.member-info p {
  font-size: 14px;
  line-height: 1.6;
  color: #121212;
}

.contact-section {
  background-color: #262626;

}

section h2 {
  font-size: 1.7rem;
   font-weight: 400;
  margin-bottom: 20px;
  color: #ffffff;
}

section p {
  max-width: 100%;
  line-height: 1.6;
  color: #ffffff;
  font-size: 1rem;
}

.phone .mobile-number,
.phone .telephone-number {
  display: inline;   /* all on same line */
  margin-left: 5px;  /* small spacing after Phone: */
}

a {
  color: #cfe2f5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 15px;
}

.instagram-link {
  color: #cfe2f5;
  text-decoration: none;
  font-weight: 500;
  margin-left: 5px;
}

.instagram-link:hover {
  text-decoration: underline;
}

/* Works Section */
.works-section {
  padding: 60px 5%;
  background-color: #fefefe;
  text-align: center;
}

.works-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #111;
}

.works-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

/* Each Work Item */
.work-item {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center; 
  align-items: center;     
}

/* Image, video */
.work-item img,
.work-item video{
  width: auto;        
  height: auto;       
  max-width: 93%;     
  max-height: 93%; 
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Overlay Text */
.overlay {
  position: absolute;
  width: 93%;
  height: 93%;
  background: rgba(70, 68, 68, 0); 
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  left: -100%; 
  transition: left 0.4s ease;
}

/* Hover Effect */
.work-item:hover img {
  opacity: 0.85;
  transform: scale(1.03);
}

.work-item:hover .overlay {
  left: 3.5%; 
}

/* Slider container */
.slider-container {
  position: relative;
  width: 100%;
  height: 100vh; 
  overflow: hidden;
  background-color: #ffffff; 
}
/* Wrapper for slides */
.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%; 
}
/* Images - scale to fit without cropping */
.slider-wrapper img,
.slider-wrapper video {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  margin-top: 10px;
}

/* Navigation arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none; 
  border: none; 
  color: rgb(75, 74, 74); 
  font-size: 3rem; 
  cursor: pointer;
  z-index: 5;
  transition: color 0.3s ease;
  padding: 0; 
}

.arrow:hover {
  color: #ccc;
}

.arrow.left {
  left: 15px;
}

.arrow.right {
  right: 15px;
}

.tagline h3,
.tagline h4 {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 500;              /* fixes too-thin issue */
  letter-spacing: 3px;           /* keep spacing like before */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;              
}

.philosophy-section h4,
.about-section h4,
.member-info h4,
.member-info a {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 500;              /* fixes too-thin issue */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
                  
}

/* Responsive */
@media (max-width: 1024px) {
  .slideshow-container { height: 70vh; }
  .tagline h3 { font-size: 1.7rem; }
}

@media (max-width: 768px) {
  header { 
    flex-direction: row;
    justify-content: space-between;  
    align-items: center;
    width: 100%;
  }
  nav {  margin-top: 10px; }
  nav a { 
    margin: 0 8px;
    font-size: 0.95rem; 
  }
  .team-member, .team-member.reverse {
     flex-direction: column; 
     text-align: left;
     text-align: justify; 
  }
  .member-image img { 
    max-width: 200px; 
  }
  .slideshow-container { 
    height: 55vh;
    padding: 10px 0;
    margin-bottom: 30px; 
  }
  #slide-video {
    width: 100%;
    height: auto;         
    max-height: 55vh;     
    object-fit: contain;   
    margin: 0 auto;   
    margin-top: 10px !important;     
    margin-bottom: 10px !important; 
  }
  
  .arrow { font-size: 2rem; }
}

@media (max-width: 480px) {
  .tagline h4 {
  font-size: 1.2rem;  
  font-weight: 400;
  word-spacing: 2px;  
  white-space: nowrap; 
  }
  .philosophy-section h4 { 
      font-size: 1.5rem;
   }
  .about-section h4,
  .philosophy-section h4,
  section h2 {
    font-weight: 400;  
  }
  .member-info h4 {
    font-weight: 400;  
  }
  
  .philosophy-section p { font-size: 0.95rem;}
  .works-grid, .project-grid { gap: 15px; }
  .slideshow-container { max-height: 45vh;}
  #slide-video {
    max-height: 45vh;
  }
  

}


