:root {
  --primary-color: #ffffff;
  --secondary-bg: #f8f9fa;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.95);
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--primary-color);
  overflow-x: hidden;
}

/* Helpers */
.py-6 { padding-top: 100px; padding-bottom: 100px; }
.tracking-wide { letter-spacing: 2px; }

/* Glassmorphism Header */
.navbar {
  background-color: var(--glass-bg) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Make logo highly visible, drop-shadow ensures it shows up if it's white or black */
.main-logo {
  height: 80px; 
  object-fit: contain;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  margin: 0 12px;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text-dark);
  transition: width 0.3s ease;
}

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

/* Buttons */
.btn-primary-custom {
  background-color: var(--text-dark);
  color: #fff;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--text-dark);
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 120px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero-image-wrapper {
  position: relative;
  padding: 20px;
}

.main-hero-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 500px;
}

.floating-card {
  position: absolute;
  bottom: 40px;
  left: -20px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Typography & Titles */
.section-title {
  font-size: 2.8rem;
  font-weight: 800;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Services */
.service-card {
  background: var(--primary-color);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--secondary-bg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-item:nth-child(3n) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

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

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

.gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  color: white;
  font-size: 2.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Contact form */
.form-control {
  border-radius: 10px;
}
.form-control:focus {
  box-shadow: none;
  border: 1px solid var(--text-dark) !important;
  background: #fff !important;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title { font-size: 3rem; }
  .floating-card { left: 10px; }
  .main-logo { height: 60px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2.2rem; }
  .py-6 { padding-top: 60px; padding-bottom: 60px; }
}
