/* ========== GLOBAL ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f9f7f3;
  font-family: "Poppins", sans-serif;
  color: #3e2f1c;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}

section {
  position: relative;
  overflow: hidden;
}

/* ========== HEADER ========== */
header {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

header:hover {
  background: rgba(255, 255, 255, 0.95);
}

.logo span {
  font-weight: 700;
  color: #a97142;
  font-size: 1.6em;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav a {
  text-decoration: none;
  color: #3e2f1c;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #a97142;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #a97142;
}

/* ========== MODERN SPLIT HERO ========== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 0 8%;
  background: linear-gradient(135deg, #98938c, #fcf5ee);
  position: relative;
  overflow: hidden;
  gap: 40px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, rgba(169, 113, 66, 0.1), transparent 70%);
  filter: blur(60px);
  animation: softPulse 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes softPulse {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.2); opacity: 1; }
}

/* Left Text Area */
.hero-text {
  flex: 1;
  max-width: 550px;
  z-index: 2;
  animation: slideInLeft 1s ease-out;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.3em;
  color: #3e2f1c;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-text p {
  color: #6b5642;
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-text .btn {
  background: linear-gradient(45deg, #b9814e, #e0b675);
  color: #fff;
  padding: 14px 38px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(169, 113, 66, 0.4);
}

.hero-text .btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(169, 113, 66, 0.6);
  background: linear-gradient(45deg, #a86c38, #d6a85a);
}

/* Right Image Area */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1.2s ease-out;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 950px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 5%;
  }

  .hero-text {
    max-width: 90%;
  }

  .hero-text h1 {
    font-size: 2.4em;
  }

  .hero-image img {
    max-width: 90%;
  }
}

/* Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}


/* Service Section */
.services {
  text-align: center;
  padding: 80px 10%;
  background: #fffaf3;
}

.services h2 {
  font-size: 2.2em;
  color: #5a3e2b;
  margin-bottom: 10px;
}

.section-subtext {
  color: #7a6a55;
  margin-bottom: 50px;
  font-style: italic;
}

/* Cards Grid Fix */
.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
  align-items: start;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #fffaf3;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 25px 20px;
  text-decoration: none;
  color: #3e2b23;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2em;
  color: #4b2f20;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95em;
  color: #3e2b23;
}

/* Responsive alignment */
@media (min-width: 900px) {
  .service-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .service-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 899px) {
  .service-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-container {
    grid-template-columns: 1fr;
  }
}
/* ========== WHY US ========== */
.why-us {
  background: linear-gradient(180deg, #fff8ef, #f0e0cc);
  padding: 90px 10%;
  text-align: center;
}

.why-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.why-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}

.why-card:hover {
  transform: translateY(-8px);
  background: #fff7ed;
  box-shadow: 0 6px 25px rgba(169, 113, 66, 0.2);
}

/* ========== ABOUT ========== */
.about {
  background: #f4e9dd;
  text-align: center;
  padding: 100px 10% 120px; /* added extra bottom padding */
  line-height: 1.8;
  position: relative;
}

.about h2 {
  font-size: 2.6em;
  margin-bottom: 25px;
}

.about span {
  color: #a97142;
}

.about p {
  max-width: 850px;
  margin: 0 auto 25px; /* ensure spacing below paragraph */
  color: #3e2f1c;
  font-size: 1.1em;
}

.about .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  background: linear-gradient(45deg, #a97142, #d7b074);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 15px rgba(169, 113, 66, 0.4);
  transition: all 0.3s ease;
}

.about .btn:hover {
  background: linear-gradient(45deg, #7b4f27, #c2985a);
  transform: translateY(-3px);
}


/* ======= Modern Masonry Gallery ======= */

.gallery {
  padding: 80px 5%;
  background: #fff;
  text-align: center;
}

.gallery h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6em;
  color: #4b3217;
  margin-bottom: 30px;
}

.gallery-grid {
  columns: 4 280px; /* Creates masonry effect */
  column-gap: 25px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 25px;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(169, 113, 66, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .gallery-grid {
    columns: 3 220px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    columns: 2 180px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1 100%;
  }
}
/* ========== PROCESS ========== */
.process {
  padding: 90px 10%;
  background: linear-gradient(180deg, #fffaf3, #f7ede0);
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(169, 113, 66, 0.25);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 90px 10%;
  background: #f4e9dd;
  text-align: center;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}

.testimonial {
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  max-width: 350px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.testimonial:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(169, 113, 66, 0.25);
}

/* ========== CONTACT ========== */
.contact {
  padding: 120px 10% 140px; /* Added more breathing space */
  background: linear-gradient(180deg, #fffaf3, #f4e4d4);
  text-align: center;
  position: relative;
}

.contact h2 {
  color: #5c3a1e;
  font-size: 2.4em;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.contact p {
  font-size: 1.1em;
  color: #5c3a1e;
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* WhatsApp Button in Contact Section */
.contact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 40px;
  font-size: 1em;
  font-weight: 600;
  background: linear-gradient(45deg, #a97142, #d7b074);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(169, 113, 66, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact .btn::before {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.contact .btn:hover {
  background: linear-gradient(45deg, #7b4f27, #c2985a);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(169, 113, 66, 0.5);
}

.contact .btn:hover::before {
  transform: rotate(10deg) scale(1.1);
}

/* ========== FOOTER ========== */
footer {
  background: #3e2f1c;
  color: white;
  text-align: center;
  padding: 30px 0;
  font-size: 0.95em;
  letter-spacing: 0.3px;
}

footer .credit {
  font-size: 0.85em;
  margin-top: 5px;
  color: #d4b98e;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.2);
}

.whatsapp-float img {
  width: 38px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 MOBILE OPTIMIZATION STYLES */

/* === For tablets and smaller laptops === */
@media (max-width: 1024px) {
  header {
    padding: 10px 30px;
  }
  .hero h1 {
    font-size: 2.4em;
  }
  .hero p {
    font-size: 1em;
  }
  .service-container,
  .service-grid,
  .repair-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* === For mobile phones (portrait) === */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
  }

  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 0.95em;
  }

  .hero {
    height: auto;
    min-height: 70vh;
    padding: 60px 20px;
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .service-grid,
  .repair-grid {
    grid-template-columns: 1fr;
  }

  .service-item img,
  .repair-card img {
    height: 180px;
  }

  footer {
    padding: 20px 5%;
    font-size: 0.9em;
  }
}

/* === For small mobile screens (≤ 480px) === */
@media (max-width: 480px) {
  .logo {
    font-size: 1.2em;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav a {
    font-size: 0.85em;
  }

  .hero h1 {
    font-size: 1.7em;
  }

  .hero p {
    font-size: 0.9em;
  }

  .btn {
    font-size: 0.85em;
    padding: 8px 20px;
  }

  h2 {
    font-size: 1.8em;
  }

  .section-subtext {
    font-size: 0.95em;
  }
}

/* 📱 RESPONSIVE NAVBAR STYLES */

/* Hide the menu icon on desktop */
.menu-toggle {
  display: none;
}

/* Base Navbar Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  transition: 0.3s ease;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent);
  left: 0;
  bottom: -4px;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.8em;
    color: var(--primary);
    cursor: pointer;
  }

  nav {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px 0;
  }

  nav.active {
    display: block;
    animation: fadeDown 0.3s ease;
  }

  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    font-size: 1.1em;
  }
}

/* 📞 CONTACT SECTION */
.contact {
  background: #faf7f2;
  color: #2b1e10;
  text-align: center;
  padding: 80px 10%;
}

.contact h2 {
  font-size: 2.2em;
  color: #7b4f27;
  margin-bottom: 10px;
}

.contact p {
  font-size: 1.05em;
  color: #5b4631;
  margin-bottom: 25px;
}

.contact .btn {
  background: linear-gradient(90deg, #d4a25a, #7b4f27);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact .btn.secondary {
  background: #7b4f27;
  margin-top: 15px;
}

.contact-details {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.contact-info h3 {
  color: #7b4f27;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.contact-info p {
  line-height: 1.6;
  margin: 5px 0;
  font-size: 0.95em;
}

.contact-map {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .contact-details {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .contact-map iframe {
    height: 250px;
  }
}

/* Review Section */
.reviews {
  background: #faf7f2;
  padding: 60px 10%;
  text-align: center;
}

.reviews h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtext {
  color: #777;
  margin-bottom: 40px;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: left;
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #333;
}

.review-header .stars {
  color: #f5a623;
  font-size: 1rem;
}

.review-msg {
  color: #555;
  margin: 10px 0;
  font-size: 0.95rem;
}

.review-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
}

/* Review Form */
.review-form {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.review-form textarea {
  resize: none;
  height: 100px;
}

.review-form label {
  display: block;
  margin-top: 10px;
  color: #444;
}

.review-form .btn {
  margin-top: 15px;
  background: #c19a6b;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.review-form .btn:hover {
  background: #a67c52;
}

/* =============================
   ⭐ REVIEWS SECTION
============================= */
.reviews {
  background: #fffaf5; /* soft warm background tone */
  padding: 80px 8%;
  text-align: center;
}

.reviews h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #2f2f2f;
  margin-bottom: 10px;
}

.reviews .section-subtext {
  color: #7a7a7a;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Centered button */
.reviews .btn {
  background: linear-gradient(135deg, #c19a6b, #a67c52);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(193, 154, 107, 0.3);
}

.reviews .btn:hover {
  background: linear-gradient(135deg, #a67c52, #8b653d);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(166, 124, 82, 0.4);
}

.reviews .btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(166, 124, 82, 0.3);
}

/* ✅ Review Cards Layout */
.review-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
}

/* Each Review Card */
.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Header (Name + Date + Stars) */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.review-header strong {
  color: #333;
  font-size: 1rem;
}

.review-header span {
  color: #777;
  font-size: 0.9rem;
}

.stars {
  color: #f5a623; /* golden stars */
  font-size: 1rem;
}

/* Review Message */
.review-msg {
  margin-top: 10px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Optional Photo inside Review */
.review-photo {
  width: 100%;
  max-height: 350px;
  height: auto;
  border-radius: 10px;
  margin-top: 15px;
  object-fit: contain;
  background: #f9f9f9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .reviews {
    padding: 60px 6%;
  }

  .reviews h2 {
    font-size: 1.8rem;
  }

  .review-card {
    padding: 18px;
  }
}

/* ===== HEADER & LOGO ===== */
header {
  background: #fff;
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6em;
  font-weight: 700;
  color: #7b4f27;
  font-family: 'Playfair Display', serif;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

/* ===== NAVIGATION ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #2b1e10;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #d4a25a;
}

/* ===== MOBILE ===== */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.8em;
    color: #7b4f27;
    cursor: pointer;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }
}
