:root {
  --primary-bg: #7D0A0A;
  --secondary-bg: #EAD196;
  --mobile-bg: #B17F59;
  --text-color: #333;
}

h2 {
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;          
  margin: 0;
  text-align: center;  
}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
}

/* Header */
header {
  background: var(--secondary-bg);
  margin: 0 15px;
}

.header-top {
  background: var(--secondary-bg);
  padding: 20px 0px;
}

header .container {

  align-items: center;       /* vertical center */
  padding: 20px 40px;
  width: 100%;
  margin: 0 auto;
  background: var(--secondary-bg);
}

.header-title {
  color: var(--text-dark);
  font-size: 2rem;
}

/* Logo Styling */
.logo {
  max-height: 300px;
}
.logo-container img {
  max-height: 300px;  /* Adjust the size for desktop */
  width: auto;
}

.spacer img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Custom NAV Link Styling */
.custom-nav-link {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-bg) !important;
  text-decoration: none;
}

.custom-nav-link:hover {
  color: var(--secondary-bg) !important;
  text-decoration: underline;
}

/* Mobile Menu: show toggle button */
#menu-toggle {
  display: none; /* shown in media query below */
}

  /* Hero Section */
  .hero {
    border-radius: 10px;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
  }
  
  .hero-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    color: #333;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .hero-content ul {
    padding-left: 0;
    list-style-position: inside;
    text-align: center;
    font-size: 18px;
  }
  
  /* Button Styling */
  .btn {
    display: inline-block;
    background: var(--primary-bg);
    color: white;
    margin: 10px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .btn:hover {
    background: var(--secondary-bg);
    color: #000;
  }
  
  /* Services Section */
.services {
  text-align: center;
  padding: 50px 0px;
  background: var(--primary-bg);
  color: var(--secondary-bg);
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* ---------- Responsive Grid Layout for Service Items ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 10px;
  justify-items: center;
}

.service-item {
  background: var(--secondary-bg);
  color: var(--primary-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
}

.service-item h3 {
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.6;
}
  /* Footer */
  footer {
    background: var(--primary-bg);
    color: var(--secondary-bg);
    padding: 20px;
  }

  footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);  /* Optional similarly to services */
}

  
  footer a {
    color: var(--secondary-bg);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  footer a:hover {
    text-decoration: underline;
    color: black;
  }
  
  /* About Section */
  .about {
    padding: 50px 20px;
    background: var(--primary-bg);
    width: 100%;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .navigation-buttons {
    text-align: center;
    margin-top: 1rem;
  }
    
  .caption {
    color: #f2f2f2;
    font-size: 1rem;
    padding: 8px 12px;
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
  }
  
  /* Main Content */
  main {
    padding: 1rem;
    text-align: center;
  }
  
  /* ================= Portfolio Grid ================= */
  
  .portfolio-hero {
    color: var(--beige);
    text-align: center;
    padding: 80px 20px;
  }
  
  .portfolio-hero-content {
    width: 100%;
    margin: 0 auto;
    background: rgba(234, 209, 150, 0.9); /* semi-transparent beige overlay */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* ================= Portfolio Grid ================= */
  .framed-section {
    margin: 0 100px 15px;
    background-color: var(--primary-bg);
    padding: 40px 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.portfolio {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
  
  .portfolio h2 {
    color: var(--maroon);
    margin-bottom: 20px;
    font-size: 28px;
  }
  
  /* Container for the grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  /* Each portfolio item */
  .portfolio-item {
    position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9; 
  width: 100%;
  margin: 0;
  padding: 0;
  }
  
  /* Portfolio images */
  .portfolio-item img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 100%;
  }
  
  /* Captions inside portfolio items */
  .portfolio-item p {
    padding: 15px;
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6; /* Normal line height for text */
  }
  
  @media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  .logo {
    max-height: 150px;  /* Reduce logo size on mobile */
  }

   .header-top {
    padding: 15px 0;
   }

   .header-title {
    font-size: 1.5rem;
  }

  .header-flex {
    flex-wrap: wrap;
    justify-content: center;
  }
  .header-text-container {
    width: 100%;
    margin-top: 10px;
  }

  .custom-nav-link {
    font-size: 1.1rem;
  }

  #nav-menu {
    flex-direction: column;
    align-items: center;
    background: var(--mobile-bg);
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 10px;
  }

  #nav-menu ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  #nav-menu ul li {
    margin: 10px 0;
  }


.portfolio-hero-content {
    max-width: 95%;
    padding: 10px;
  }

  .framed-section {
    margin: 0 auto;
    padding: 10px;
    width: 95%;
  }
   .service-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;

  }

/* ----- Mobile Devices (max-width: 480px) ----- */
@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .header-top {
    padding: 10px 0;
  }
  .logo {
    max-height: 100px;
  }

  .logo-container img {
    max-height: 100px;
  }

  .header-title {
    font-size: 1.4rem;
  }
  .container,
  .header-top {
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
    padding-left: 0px;
    gap: 0px;
  }

  .portfolio-hero-content {
    padding: 20px;
  }

  .portfolio h2 {
    font-size: 1.4rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .logo {
    max-height: 200px;
  }

  .services .services-container {
    padding: 30px 15px;
  }
  .services h2 {
    font-size: 2rem;
  }
  .service-item {
    padding: 15px;
  }
  .service-item h3 {
    font-size: 1.3rem;
  }
  .service-item p {
    font-size: 0.95rem;
  }
}

  .framed-section {
    margin: 0 10px 15px;  /* Reduce horizontal margins */
    padding: 20px 15px;    /* Adjust padding to reduce overall width */
  }
  
  .hero {
    padding: 60px 10px;
    min-height: auto;    /* Reduce hero padding so it fits better */
  }
  
  .hero-content h2 {
    font-size: 1.8rem;     /* Slightly smaller heading for mobile */
  }
  
  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;       /* Adjust paragraph text as needed */
  }

}


/* ----- Tablets (481px to 768px) ----- */
@media (min-width: 481px) and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .portfolio-hero-content {
    padding: 30px;
  }

  .portfolio h2 {
    font-size: 1.8rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
  }
}

  .cta {
    padding: 50px 20px;
    text-align: center;
    background: var(--secondary-bg);
  }
  
  .cta h2 {
    margin-bottom: 20px;
    color: var(--maroon);
    font-size: 28px;
  }
 .testimonials {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.testimonials p {
  color: black;
  margin-bottom: 30px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.rating-circle {
  background: #7D0A0A;   /* your maroon */
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.testimonial-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-body p {
  margin-bottom: 12px;
  line-height: 1.5;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: black;
}

.verified {
  color: green;
}

  .feedback {
    color: var(--secondary-bg);
    text-align: center;
    margin: 0 100px 15px;
    background-color: var(--primary-bg);
    padding: 40px 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
  .hero2 {
    background: url(Images/Portfolio/background.webp) center/cover no-repeat;
    
    border-radius: 10px;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
  }
  
  .hero-content2 {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    color: #333;
    text-align: center;
  }
  
  .hero2 h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .hero2 p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .hero2 a:hover {
    text-decoration: underline;
    color: black;
  }