/* GLOBAL */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
}

section {
  padding: 60px 20px;
}

/* HEADER */
header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
  position: relative;
}

nav a:hover {
  color: goldenrod;
}

.header-contact a {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}

.header-contact a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  text-align: center;
  padding: 40px 20px;
}

.hero-logo {
  width: 260px;
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.97; }
  100% { transform: scale(1); opacity: 1; }
}

/* Typing */
.typing {
  font-size: 2.3rem;
  font-weight: 700;
  white-space: nowrap;
  color: #222;
  margin-top: 10px;

  width: fit-content;
  margin-left: auto;
  margin-right: auto;

  border-right: 4px solid goldenrod;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Tagline */
.hero-tagline {
  margin-top: 10px;
  color: #666;
}

/* Headings */
h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, goldenrod, transparent);
  margin-top: 40px;
}

/* SERVICES */
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid goldenrod;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* IMAGE GRID */
.grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: 0.3s;
}

.grid img:hover {
  transform: scale(1.05);
}

/* CONTACT */
.contact-box {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-box a {
  color: #007bff;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background: #000;
  color: #ddd;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* POPUP */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  padding-top: 50px;
}

.popup-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 85%;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 12px;
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 30px; }
.next { right: 30px; }

/* FLOATING BUTTONS */
.call-btn,
.whatsapp-btn,
.email-btn {
  position: fixed;
  bottom: 30px;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  z-index: 9999;
  color: #fff;
  transition: 0.3s;
}

.call-btn {
  left: 20px;
  background: #28a745;
}

.whatsapp-btn {
  right: 20px;
  background: #25d366;
}

.email-btn {
  left: 50%;
  transform: translateX(-50%);
  background: #007bff;
}

.call-btn:hover,
.whatsapp-btn:hover,
.email-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 15px rgba(255,255,255,0.9);
}

/* MOBILE */
@media (max-width: 768px) {
  .typing { font-size: 1.8rem; white-space: normal; }

  .grid img {
    height: auto;
    max-height: 340px;
  }

  .call-btn,
  .whatsapp-btn,
  .email-btn {
    bottom: 20px;
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}
