@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --primary-color: #D4AF37; /* Gold */
  --secondary-color: #1A1120; /* Deep Purple/Black */
  --text-color: #333333;
  --light-bg: #F9F7F2;
  --white: #FFFFFF;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
}

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  /* padding: 5px 0; */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 20px 0; */
  transition: var(--transition);
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* --- Hero Section (Index) --- */
.hero-section {
  height: 100vh;
  background-image: linear-gradient(rgba(26, 17, 32, 0.7), rgba(26, 17, 32, 0.7)), url('../images/b1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: background-image 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px; /* Offset for header */
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 64px;
  margin-bottom: 20px;
  color:#fff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.8s;
}

.hero-btn {
  opacity: 0;
  animation: fadeIn 1s forwards 1.2s;
}

/* --- Section Titles --- */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 42px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

/* --- About Section (Index & About Page) --- */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  z-index: -1;
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: #666;
}

/* --- Services Section (Index & Services Page) --- */
.services-section {
  padding: 50px 0;
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.service-img-wrap {
  height: 200px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-info {
  padding: 25px;
  text-align: center;
}

.service-title {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* --- Gallery Section --- */
.gallery-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 17, 32, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: var(--primary-color);
  font-size: 30px;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

/* --- Contact Section --- */
.contact-section {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.contact-info-block {
  margin-bottom: 30px;
}

.contact-info-block h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.contact-info-block p, .contact-info-block a {
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* --- Page Headers (Inner Pages) --- */
.page-header {
  height: 40vh;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/hero_banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-title {
  font-size: 48px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.site-footer {
  background-color: #0a0a0a;
  color: #ddd;
  padding: 70px 0 20px;
  font-family: var(--font-body);
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h2, .footer-col h3 {
  color: #fff;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.footer-logo {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #bbb;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #222;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(201, 167, 82, 0.4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  transform: translateX(10px);
}

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

.contact-info i {
  margin-top: 5px;
  font-size: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #888;
}

/* Footer Animation */
@keyframes footerFadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.footer-animate {
  animation: footerFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
}

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Why Choose Us --- */
.why-choose-us-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.why-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.why-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-family: var(--font-heading);
}

.why-card p {
  color: #666;
  line-height: 1.6;
}

/* --- Our Work --- */
.our-work-section {
  padding: 10px 0;
  background-color: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.work-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-overlay i {
  color: var(--white);
  font-size: 32px;
  transform: scale(0.5);
  transition: transform 0.3s ease;
}

.work-item:hover img {
  transform: scale(1.1);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-item:hover .work-overlay i {
  transform: scale(1);
}

@media (max-width: 992px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Image Modal (Lightbox) --- */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
  opacity: 1;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation-name: zoomIn;
  animation-duration: 0.3s;
  border-radius: 4px;
}

@keyframes zoomIn {
  from {transform: scale(0.8)}
  to {transform: scale(1)}
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

/* --- Floating Contact Buttons --- */
.floating-contact {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  color: var(--white);
}

.whatsapp-icon {
  background-color: #25D366;
}
.whatsapp-icon:hover {
  background-color: #20b858;
}

.call-icon {
  background-color: var(--primary-color);
}
.call-icon:hover {
  background-color: #b59543;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .section-title {
    font-size: 32px;
  }
}
