/* Optimized CSS for better performance - minified critical styles */
/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #262626;
  --foreground: #fafafa;
  --card: #2e2e2e;
  --card-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #262626;
  --muted: #404040;
  --muted-foreground: #a3a3a3;
  --accent: #d4af37;
  --accent-foreground: #fafafa;
  --border: #404040;
  --radius: 0.5rem;
}


body {
  font-family: "Inter", -apple-system, BlinkMacMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Added performance optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  will-change: transform;
}

nav.scrolled {
  background-color: rgba(38, 38, 38, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.whatsapp-button {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem;
    }

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  position: relative;
  transition: all 0.3s ease;
}





.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-menu-btn.active .hamburger {
  background-color: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu-logo {
  display: block;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.mobile-menu-logo img {
  max-width: 150px;
  height: auto;
}

.mobile-menu.active {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-link {
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--accent);
}

.mobile-btn {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}


.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background-color: #c29d2e;
}

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

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

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--background) 50%, rgba(212, 175, 55, 0.1) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  margin-bottom: 3rem;
  animation: fadeInDown 0.8s ease;
}

.hero-logo img {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.text-accent {
  color: var(--accent);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--muted-foreground);
  border-radius: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.scroll-indicator-inner::before {
  content: "";
  width: 0.25rem;
  height: 0.75rem;
  background-color: var(--muted-foreground);
  border-radius: 0.125rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Page Hero */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, var(--background) 0%, var(--background) 50%, rgba(212, 175, 55, 0.1) 100%);
}

.page-hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3.75rem;
  }
}

.page-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  color: var(--muted-foreground);
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

/* Services Grid */
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: rgba(212, 175, 55, 0.2);
}

.service-icon svg {
  color: var(--accent);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--accent);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* About Content */
.about-content {
  max-width: 56rem;
  margin: 0 auto;
}

.about-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  padding: 1.5rem;
  text-align: center;
}

.value-card:hover {
  border-color: var(--accent);
}

.value-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  color: var(--accent);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Location */
.location-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.location-address {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.portfolio-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--muted);
}

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

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 38, 38, 0.9) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.5rem;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.portfolio-info-mobile {
  padding: 1.5rem;
  display: block;
}

@media (min-width: 768px) {
  .portfolio-info-mobile {
    display: none;
  }
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-info-card {
  padding: 1.5rem;
}

.contact-info-card:hover {
  border-color: var(--accent);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-icon svg {
  color: var(--accent);
}

.contact-info-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-info-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-link:hover {
  color: var(--accent);
}

/* Map */
.map-container {
  max-width: 72rem;
  margin: 0 auto;
}

.map-card {
  overflow: hidden;
}

/* Contact Form */
.contact-form-wrapper {
  max-width: 42rem;
  margin: 0 auto;
}

.contact-form-card {
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-textarea {
  resize: none;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background-color: rgba(212, 175, 55, 0.05);
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  /* Changed footer background from white to dark to match site design */
  background-color: var(--card);
  color: var(--foreground);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.whatsapp-button {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem;
    }
    
.whatsapp-button span {
        display: none;
    }
    
.whatsapp-button svg {
        width: 24px;
        height: 24px;
    }
.footer-logo {
  height: 150px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  padding: 0.5rem;
  background-color: rgba(64, 64, 64, 0.5);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: rgba(212, 175, 55, 0.2);
}

/* Animation for hero logo */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optimize font loading */
@font-face {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-display: swap;
}

/* Performance: preload images with native lazy loading */
img[loading="lazy"] {
  background: linear-gradient(90deg, rgba(64,64,64,0.1) 25%, rgba(64,64,64,0.2) 50%, rgba(64,64,64,0.1) 75%);
  background-size: 200% 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 250, 250, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Added responsive utilities and performance optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
