/* Custom utility classes and premium minimalist styling */
:root {
    --brand-dark: #0a0a0b;
    --brand-gold: #d4af37;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glass-panel {
    background: rgba(23, 23, 25, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(212, 175, 55, 0.05);
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(10,10,11,0.2) 0%, rgba(10,10,11,0.8) 70%, rgba(10,10,11,1) 100%);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-dark);
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Forms */
input, textarea {
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 1px var(--brand-gold);
}



/* HEADER */

.main-header{
width:100%;
background:#ffffff;
position:relative;
z-index:999;
box-shadow:0 3px 15px rgba(0,0,0,0.08);
}

.header-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 20px;
}

.logo a{
font-size:22px;
font-weight:bold;
text-decoration:none;
color:#222;
}

/* BOTON MENU */

.menu-toggle{
font-size:28px;
cursor:pointer;
display:none;
}

/* MENU */

.mobile-menu{
display:flex;
gap:30px;
}

.mobile-menu a{
text-decoration:none;
color:#333;
font-weight:500;
}

/* MOBILE */

@media(max-width:768px){

.menu-toggle{
display:block;
}

.mobile-menu{
position:absolute;
top:60px;
left:0;
width:100%;
background:#fff;
flex-direction:column;
display:none;
box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.mobile-menu a{
padding:15px 20px;
border-bottom:1px solid #eee;
}

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

}

.mobile-menu a.active{
color:#0A58CA;
font-weight:700;
border-bottom:2px solid #0A58CA;
}

.mobile-menu a:hover{
color:#0A58CA;
}

/* CONTENEDOR */

.cta-buttons{
display:flex;
gap:15px;
align-items:center;
flex-wrap:wrap;
}

/* BOTONES */

.cta-buttons a{
display:flex;
align-items:center;
gap:10px;
padding:12px 20px;
text-decoration:none;
font-weight:600;
border-radius:8px;
transition:0.3s;
}

/* BOTON CALL */

.btn-call{
background:#0A58CA;
color:#fff;
}

.btn-call:hover{
background:#084298;
}

/* BOTON ESTIMATE */

.btn-estimate{
background:#6084c8;
color:#fff;
}

.btn-estimate:hover{
background:#4e6fad;
}

/* ICONO */

.cta-buttons .icon{
font-size:18px;
}

/* MOBILE */

@media(max-width:768px){
.cta-buttons{
flex-direction:column;
align-items:stretch;
}

.cta-buttons a{
justify-content:center;
}
}

/* GALERIA */

.gallery{
display:grid;
grid-template-columns:repeat(3, 1fr); /* 3 columnas */
gap:15px;
padding:20px 0;
}

.gallery img{
width:100%;
height:220px;
object-fit:cover;
cursor:pointer;
border-radius:10px;
transition:0.3s;
}

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

/* RESPONSIVE (celular) */
@media(max-width:768px){
.gallery{
grid-template-columns:repeat(2, 1fr);
}
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

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