/* ============================================= */
/* SELF-HOSTED FONT                              */
/* ============================================= */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/quicksand-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================= */
/* SECTION COLOR BLOCKS */
/* ============================================= */
#welcome {
  background-color: #F0F9F8; /* Barely-there cool teal */
}

#services {
  background-color: #F8F9F0; /* Barely-there warm green */
}

#projects {
  background-color: #F8F9F0; /* Barely-there warm green */
}

#contact {
  background-color: #F0F9F8; /* Barely-there cool teal — matches welcome */
}

.content-section {
  padding: 60px 40px;
  border-radius: 12px;
  margin: 40px auto;
  width: 72.8%;
}

/* Modern CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #005757 0%, #647c7b 100%);
  color: white;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 87, 87, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 87, 87, 0.3);
  background: linear-gradient(135deg, #004545 0%, #5a6b6a 100%);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 87, 87, 0.2);
}

/* ============================================= */
/* RESET & BASE STYLES */
/* ============================================= */
:root {
  --header-height: 200px;
  --header-height-mobile: 180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


/* Skip navigation link for keyboard/screen reader users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #006B64;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: #1a1a1a;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================= */
/* HEADER - Fixed Navigation */
/* ============================================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  padding: 5px 0;
  z-index: 1000;
  transition: none;
  height: var(--header-height);
  overflow: hidden;
}

header .container {
  max-width: 77%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  height: var(--header-height);
}

.logo img {
  max-height: 180px;
  height: auto;
  margin-top: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding-right: 24px;
}

nav ul li a {
  text-decoration: none;
  color: #006b6a;
  font-weight: 540;
  font-size: 16px;
  padding: 8px 6px;
  position: relative;
  transition: all 0.3s ease;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #004040, transparent);
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.fonts-loading nav ul li a {
  visibility: hidden;
}

nav ul li a:hover,
nav ul li a.active {
  color: #004040;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 80%;
  left: 10%;
}

/* ============================================= */
/* HERO SECTION */
/* ============================================= */
.hero {
  position: relative;
  overflow: visible;
  width: 72.8%;
  margin: var(--header-height) auto 0 auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 72vh;
  transition: background-image 1.5s ease-in-out;
  box-shadow: inset 0 0 25px 10px rgba(255, 255, 255, 0.15);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  box-shadow: inset 0 0 25px 10px rgba(255, 255, 255, 0.15);
}

.hero::before {
  background-image: var(--before-bg-image);
}

.hero::after {
  background-image: var(--after-bg-image);
}

.hero.show-before::before {
  opacity: 1;
}

.hero.show-after::after {
  opacity: 1;
}

.hero .overlay {
  position: relative;
  z-index: 1;
  color: white;
  width: 100%;
  text-align: center;
}

.hero h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 400;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: inline-block;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
  line-height: 1.3;
  opacity: 0;
  transition: opacity 1s ease;
  text-align: center;
  letter-spacing: 2px;
  text-transform: lowercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}


/* ============================================= */
/* PROJECT GRID */
/* ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.project-overlay p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  color: white;
}

/* Mobile responsive for project grid */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Tablet responsive for project grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Additional mobile styles */
@media (max-width: 768px) {
  .project-image-container {
    height: 200px;
  }

  .project-overlay {
    padding: 20px 15px 15px;
  }

  .project-overlay h3 {
    font-size: 18px;
  }
}

/* ============================================= */
/* PROJECT DETAIL PAGES */
/* ============================================= */
.project-detail-section {
  margin-top: 200px;
}

.project-cta {
  text-align: center;
  margin-top: 60px;
}

.project-header {
  text-align: center;
  margin-bottom: 50px;
}

.back-link {
  display: inline-block;
  color: #005757;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #647c7b;
}

.project-header h1 {
  font-size: 42px;
  color: #005757;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-subtitle {
  font-size: 20px;
  color: #333333;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.project-story {
  margin-bottom: 50px;
}

.project-story h2 {
  color: #005757;
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 600;
}

.project-story p {
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image:hover {
  transform: scale(1.02);
}

.project-details {
  margin-top: 50px;
}

.project-details h2 {
  color: #005757;
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.detail-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
}

.detail-item h3 {
  color: #005757;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.detail-item p {
  margin: 0;
  color: #333333;
  line-height: 1.6;
}

.detail-item ul {
  margin: 0;
  padding-left: 20px;
  color: #333333;
}

.detail-item li {
  margin-bottom: 8px;
}

/* Mobile responsive for project details */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 32px;
  }

  .project-subtitle {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 250px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-item {
    padding: 20px;
  }
}

/* Section heading colour — matches logo teal */
.content-section h1,
.content-section h2 {
  color: #006B64;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Reduce gap between hero and first content section */
#welcome {
  margin-top: 40px;
}


p {
  margin-bottom: 1.5em;
}

/* Lightbox is dynamically created in JavaScript */

/* ============================================= */
/* SERVICES SECTION */
/* ============================================= */
.journey-section {
  margin-top: 30px;
  background: #F0F9F8;
  padding: 25px;
  border-radius: 8px;
}

.journey-section h3 {
  color: #005757;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.journey-section p {
  margin-bottom: 14px;
}

.journey-section p:last-child {
  margin-bottom: 0;
}





/* ============================================= */
/* CASE STUDIES - The Design Journey             */
/* ============================================= */
.case-studies-section {
  margin-top: 40px;
  padding-top: 35px;
  border-top: 1px solid #e0e0e0;
}

.case-studies-section h3 {
  color: #005757;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-studies-intro {
  color: #333333;
  margin-bottom: 28px;
}

.case-study {
  margin-bottom: 28px;
}

.case-study:last-child {
  margin-bottom: 0;
}

.case-study-label {
  font-size: 12px;
  font-weight: 600;
  color: #005757;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.case-study-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.case-study-row:last-child {
  margin-bottom: 0;
}

.case-study-row--technical {
  grid-template-columns: 1fr 1fr;
  max-width: 66%;
  margin-left: auto;
  margin-right: auto;
}

.case-study-row--visuals {
  grid-template-columns: 1fr 1fr 1fr;
}

.case-study-visual {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.case-study-visual:hover {
  transform: scale(1.02);
}

.case-study-row--technical .case-study-visual {
  object-fit: contain;
  background-color: white;
  padding: 5px;
}

@media (max-width: 1199px) {
  .case-study-visual {
    height: 170px;
  }
}

@media (max-width: 768px) {
  .case-study-row {
    gap: 10px;
    margin-bottom: 10px;
  }

  .case-study-row--technical {
    display: flex;
    justify-content: center;
  }

  .case-study-row--technical .case-study-visual {
    width: calc(50% - 5px);
  }

  .case-study-row--visuals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .case-study-row--visuals .case-study-visual {
    width: calc(50% - 5px);
  }

  .case-study-visual {
    height: 160px;
  }
}

/* ============================================= */
/* CONTACT SECTION */
/* ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-top: 5px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #005757 0%, #00a5a1 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 87, 87, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 87, 87, 0.3);
}

/* Custom Contact Icons */
.email-icon::before {
  content: "✉";
  font-size: 26px;
}

.phone-icon::before {
  content: "☎";
  font-size: 26px;
}

.whatsapp-icon::before {
  content: "💬";
  font-size: 26px;
}

.location-icon::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  top: -2px;
  box-shadow: inset 0 0 0 4px white;
}

/* Fix for iOS automatic styling on contact links */
a[href^="tel:"], a[href^="mailto:"] {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-text-decoration-color: transparent !important;
  -webkit-text-decoration: none !important;
}

.contact-item a[href^="tel:"], .contact-item a[href^="mailto:"] {
  color: #005757 !important;
}

.contact-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.contact-info p {
  margin: 0;
  color: #005757;
  font-size: 16px;
}

.contact-info a {
  color: #005757;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #647c7b;
  text-decoration: underline;
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 24px 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 10px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: bold;
}

/* Platform-specific brand colors */
.instagram-link {
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
}


.pinterest-link {
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
}

.instagram-link:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: none;
}


.pinterest-link:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: none;
}

.whatsapp-link {
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
}

.whatsapp-link:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: none;
}

.contact-details {
  text-align: center;
  padding: 10px 100px;
  font-size: 14px;
  color: #001e1e;
}

.contact-details p {
  margin: 2px 0;
}

.social-link svg,
.social-link img {
  width: 24px;
  height: 24px;
}

.services-cta-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.services-cta-section > h3 {
  font-size: 20px;
  color: #005757;
  margin-bottom: 10px;
}

.services-cta-section > p {
  margin-bottom: 40px;
}

.welcome-cta {
  text-align: center;
  margin-top: 40px;
}


/* ============================================= */
/* PRIVACY NOTICE                                */
/* ============================================= */
.privacy-section {
  width: 72.8%;
  margin: 0 auto;
  padding: 60px 40px 80px;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 400;
  line-height: 1.7;
  background-color: #fafaf8;
  min-height: 100vh;
}

.privacy-section h1 {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.privacy-intro {
  color: #666;
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.privacy-content h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 32px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.privacy-content h3 {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-top: 18px;
  margin-bottom: 6px;
}

.privacy-content p {
  margin-bottom: 10px;
}

.privacy-content ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.privacy-content li {
  margin-bottom: 4px;
}

.privacy-content a {
  color: #005757;
  text-decoration: none;
  border-bottom: 1px solid #ccdcdc;
  transition: border-color 0.2s ease;
}

.privacy-content a:hover {
  border-bottom-color: #005757;
}

.privacy-content address {
  font-style: normal;
  margin: 8px 0 12px 0;
  padding-left: 14px;
  border-left: 2px solid #e0e0e0;
  color: #333333;
}

.privacy-table caption {
  font-size: 12px;
  color: #333333;
  text-align: left;
  margin-bottom: 6px;
  font-style: italic;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
}

.privacy-table th,
.privacy-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.privacy-table th {
  background: #f5f5f5;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.last-updated {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  color: #888;
  font-size: 13px;
}

.privacy-link {
  color: #001e1e;
  text-decoration: none;
  font-size: 14px;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* ============================================= */
/* DESKTOP LAYOUT */
/* ============================================= */
@media (min-width: 1200px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    max-width: 77%;
    align-items: flex-start;
  }

  nav {
    position: relative;
    top: 145px;
  }

  nav ul {
    gap: 30px;
    justify-content: space-between;
    flex: 1;
    margin-left: 20px;
  }

  nav ul li a {
    font-size: 18px;
  }

  .hero {
    min-height: 75vh;
  }

  .privacy-section {
    padding-top: 220px;
  }

}

/* High Resolution Screens (1920px+) */
@media (min-width: 1920px) {
  .hero {
    min-height: 70vh;
  }
  
  #welcome.content-section {
    margin-top: 100px;
  }
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */

/* Tablet and Mobile Layout */
@media (max-width: 1199px) {
  /* Reduce base body text size for mobile */
  body {
    font-size: 16px;
  }

  .content-section h1,
  .content-section h2 {
    font-size: 18px;
  }

  /* Header - Stack logo above navigation */
  header {
    height: auto;
    padding: 10px 0;
  }

  header .container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 95%;
    height: auto;
  }

  /* Logo - Much smaller for mobile */
  .logo img {
    max-height: 144px;
  }

  /* Navigation - Horizontal with smaller spacing */
  nav ul {
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    line-height: 1.2;
    padding-right: 0;
  }

  nav ul li a {
    font-size: 14px;
    padding: 6px 8px;
  }

  /* Hero */
  .hero {
    min-height: 54vh;
    background-size: cover;
    width: 89.8%;
  }

  .hero .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 24px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 1px;
  }


  /* Adjust color block padding for mobile */
  .content-section {
    padding: 40px 20px;
    margin: 20px auto;
    border-radius: 8px;
    width: 89.8%;
  }

  /* Welcome section mobile spacing */
  #welcome {
    margin-top: 20px;
  }

  /* Project detail pages mobile spacing - must clear fixed header */
  .project-detail-section {
    margin-top: 210px;
  }



  /* Reduce text sizes for mobile content while keeping headers same */
  .contact-info p {
    font-size: 14px;
  }

  .contact-info a {
    font-size: 14px;
  }



  .detail-item p {
    font-size: 14px;
  }

  /* Privacy page responsive */
  .privacy-section {
    width: 89.8%;
    padding: 40px 20px 60px;
    margin-top: 210px;
    font-size: 13px;
  }

  .privacy-table {
    font-size: 12px;
  }

  .privacy-table th,
  .privacy-table td {
    padding: 6px 8px;
  }

  .contact-details {
    padding: 10px 20px;
  }

}

