* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

:root {
  --primary-color: #0932ff;
  --secondary-color: #ffffff;
  --accent-color: #ff0008;
  --text-color: #000000;
  --background-color: #f5f5f5;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: flex-start;
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.logo img {
  height: 200px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.hero h2 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: black;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Services Section */
.services {
  padding: 80px 0;
  position: relative;
  background-color: var(--background-color);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-color),
    transparent
  );
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: black;
  margin-bottom: 15px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 100px;
  row-gap: 60px;
}

.service-card {
  background-color: var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  position: relative;
}

.service-card::before {
  content: "";
  display: block;
  height: 8px;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--accent-color) 33.33%,
    #ffffff 33.33% 66.66%,
    var(--primary-color) 66.66%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: black;
}

.service-content p {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-price {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color);
}

.gallery-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.gallery-btn {
  display: inline-block;
  background-color: var(--primary-color);
  font-size: 20px;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
}

.gallery-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Masonry Gallery Styles */
.masonry-gallery {
  column-count: 4;
  column-gap: 15px;
  width: 100%;
}

.masonry-item {
  display: inline-block;
  margin-bottom: 15px;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  break-inside: avoid;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.masonry-item {
  display: inline-block;
  margin-bottom: 15px;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  break-inside: avoid;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 125%;
}

.masonry-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s ease;
  object-fit: cover;
  object-position: center;
}

.masonry-item:hover img {
  transform: scale(1.03);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 18px;
  max-width: 80%;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Media Queries for Responsive Gallery */
@media screen and (max-width: 1200px) {
  .masonry-gallery {
    column-count: 3;
  }
}

@media screen and (max-width: 768px) {
  .masonry-gallery {
    column-count: 2;
    column-gap: 10px;
  }

  .masonry-item {
    margin-bottom: 10px;
  }

  .lightbox-content {
    max-width: 95%;
  }

  .lightbox-caption {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .masonry-gallery {
    column-count: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox {
    padding: 40px 10px;
  }
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: black;
  color: white;
}

.contact h2 {
  color: white;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  font-size: inherit;
  font-style: inherit;
  -webkit-text-fill-color: inherit;
}

.hours {
  flex: 1;
  max-width: 300px;
}

.contact-info {
  flex: 2;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 5px solid #666;
}

/* Map styling */
.map {
  width: 100%;
  margin-bottom: 20px;
}

.map iframe {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}

.contact-details {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-icon {
  font-size: 24px;
  margin-right: 15px;
  color: var(--accent-color);
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo h2 {
  font-size: 20px;
  color: white;
}

.social-links {
  display: flex;
  list-style: none;
}

.social-links li {
  margin-left: 15px;
}

.social-links a {
  color: white;
  font-size: 20px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--accent-color);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
}

.logo-img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .nav-links li {
    margin: 0;
  }

  .about-content,
  .contact-content {
    flex-direction: column;
  }

  .contact-content {
    justify-content: center;
    align-items: center;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 100px;
    row-gap: 60px;
  }
}
