/* =============================================
   RESET
   Removes default browser spacing on everything
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =============================================
   BODY
   Sets the font, background colour, and text colour
   for the whole site
   ============================================= */
body {
  font-family: 'DM Sans', sans-serif;
  background-color: #f0ebe0;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* =============================================
   NAV BAR
   ============================================= */

/* Centres the nav links and gives room on each side */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 40px;
  position: relative;
}


.nav-logo img{
 height: 75px;
  width: auto;
}

/* The pill-shaped dark bar that holds the nav links */
.nav-links {
  display: flex;
  gap: 4px;
  background-color: #3E5C76; 
  border-radius: 12px;
  padding: 5px;
  list-style: none;
}

.nav-links li {
  margin: 0;
  padding: 0;
   display: flex;
}
/* Individual nav links */
.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 12px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

/*Current page is highlighted in the nav bar */
.nav-links a.active {
  background-color: #748CAB; 
  color: #fff;
}



/* Dark filled button */
.button-primary {
  background-color: #1e2a3a;
  color: #fff;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.button-primary:hover {
  opacity: 0.8;
}

/* Outlined (hollow) button */
.button-outline {
  background-color: transparent;
  color: #1e2a3a;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1.5px solid #1e2a3a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.button-outline:hover {
  background-color: #1e2a3a;
  color: #fff;
}


/* =============================================
   FOOTER
   ============================================= */
footer {
  background-color: #e8e2d6;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #d9d3c7;
}

/* The "Hazel" logo + company name stacked in the footer */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
}

.footer-brand span {
  font-size: 0.8rem;
  color: #666;
}

/* Footer nav links sit in a row */
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #444;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #1e2a3a;
}

/* Instagram and X icons sit side by side */
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  color: #444;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: #1e2a3a;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}


/*HOMEPAGE — HERO SECTION */
.hero {
  padding: 56px 40px 40px;
  max-width: 760px;
   margin: 0 auto;
    
}

.hero h1 {
  font-family: 'Google Sans Code'; 
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #1e2a3a;
  margin-bottom: 18px;
}

/* The blue highlighted words inside the heading */
.hero h1 .accent {
  color: #7a9bbf;
}

.hero p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}

/* Puts the two buttons side by side */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* =============================================
   HOMEPAGE — SWIPER IMAGE CAROUSEL
   ============================================= */
.swiper-section {
  margin-top: 40px;
  overflow: hidden;
}

/* Each slide is a fixed size so images don't stretch the carousel */
.swiper-slide {
  width: 450px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =============================================
   GALLERY PAGE — PAGE HEADER
   ============================================= */
.page-header {
  padding: 48px 40px 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.page-header-left h1 {
 font-family: 'Google Sans Code'; 
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e2a3a;
  line-height: 1.15;
}

.page-header-left h1 .accent {
  color: #7a9bbf;
}

.page-header-left p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #555;
}

/* The "All / Landscape / Wedding..." dropdown */
.filter-wrap select {
  border: 1.5px solid #c8bfae;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: #1e2a3a;
  background-color: #f0ebe0;
  cursor: pointer;
}

.filter-wrap select:focus {
  outline: none;
  border-color: #1e2a3a;
}


/* =============================================
   GALLERY PAGE — MASONRY PHOTO GRID
   Columns automatically fill left-to-right, and
   each photo card breaks into a new column when
   needed rather than stretching across rows.
   ============================================= */
.gallery-section {
  padding: 28px 40px 40px;
  flex: 1;
}

/* Creates the multi-column layout */
.masonry {
  columns: 3;
  column-gap: 14px;
}

/* Each photo link */
.masonry-item {
  break-inside: avoid; /* stops a photo being split across two columns */
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  cursor: zoom-in;
}

.masonry-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s, filter 0.3s;
}



/* =============================================
   RESPONSIVE — smaller screens
   Reduces padding and switches to 2 columns
   ============================================= */
@media (max-width: 600px) {
  nav {
    padding: 16px 20px;
  }

  .nav-logo {
    left: 20px;
  }

  .hero {
    padding: 32px 20px;
  }

  .page-header {
    padding: 32px 20px 8px;
  }

  .gallery-section {
    padding: 20px 20px 32px;
  }

  .masonry {
    columns: 2;
  }

  footer {
    padding: 20px;
  }
}


/* =============================================
   ABOUT PAGE
   ============================================= */

/* Page title + intro paragraph */
.about-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 40px 8px;
}

.about-header h1 {
  font-family: 'Google Sans Code'; 
  font-size: 2.4rem;
  font-weight: 700;
  color: #1e2a3a;
  margin-bottom: 16px;
}

.about-header p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
}

/* Testimonial card */
.testimonial-wrap {
  max-width: 760px;
  margin: 32px auto;
  padding: 0 40px;
}

.testimonial-card {
  background-color: #7a9bbf;
  box-shadow:7px 7px 3px #1e2a3a ;
  border-radius: 14px;
  padding: 28px 32px;
  position: relative;
  color: #fff;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Large decorative closing quote mark */
.testimonial-quote-icon {
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-body {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Two-column section: text on one side, image on the other */
.about-section {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 48px auto;
  padding: 0 40px;
}

/* Flips the order so image is on the left */
.about-section--reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
}

.about-heading {
 font-family: 'Google Sans Code'; 
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e2a3a;
  margin-bottom: 14px;
}

.about-text p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
}

.about-img {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}


/* =============================================
   SERVICES PAGE
   ============================================= */

.services-header {
  padding: 48px 40px 8px;
  max-width: 900px;
}

.services-header h1 {
   font-family: 'Google Sans Code'; 
  font-size: 2.4rem;
  font-weight: 700;
  color: #1e2a3a;
}

.services-section {
  padding: 16px 40px 48px;
  max-width: 900px;
  margin: 0 auto;
  flex: 1;
}

/* Each service block */
.service-item {
  margin-bottom: 36px;
}

/* Full-width service (Commercial) */
.service-item--full .service-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  max-height: 300px;
}

/* Two services side by side */
.service-row {
  display: flex;
  gap: 20px;
}

.service-item--half {
  flex: 1;
}

.service-item--half .service-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.service-body {
  padding-top: 14px;
}

.service-heading {
   font-family: 'Google Sans Code'; 
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e2a3a;
  margin-bottom: 6px;
}

.service-body p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}


/* =============================================
   RESPONSIVE — about & services pages
   ============================================= */
@media (max-width: 600px) {
  .about-header,
  .testimonial-wrap {
    padding: 24px 20px 8px;
  }

  .about-section {
    flex-direction: column;
    padding: 0 20px;
    margin: 32px auto;
    gap: 24px;
  }

  /* Override reverse on mobile so image always comes second */
  .about-section--reverse {
    flex-direction: column;
  }

  .services-header {
    padding: 32px 20px 8px;
  }

  .services-section {
    padding: 16px 20px 32px;
  }

  .service-row {
    flex-direction: column;
  }
}


/* =============================================
   CONTACT PAGE
   ============================================= */

/* Two-column layout: map on left, cards on right */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: start;
  padding: 0 40px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Embedded map */
.map-box {
  border-radius: 14px;
  overflow: hidden;
  height: 260px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.opening-hours {
  font-size: 0.875rem;
  color: #555;
  text-align: center;
}

/* Blue card used for the form and contact info */
.contact-card {
  background-color: #748CAB;
  border-radius: 14px;
  padding: 28px;
  color: #fff;
}

.contact-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Form fields inside the card */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

.required {
  color: #ffd;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 9px 13px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3E5C76;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit button — extends .button-primary to fill full width */
.contact-submit {
  width: 100%;
  text-align: center;
  margin-top: 4px;
  background-color: #3E5C76;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}



/* Contact info rows */
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.info-body strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.info-body span {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 32px;
  }
}
