body {
    background-color: #FFFDF9;
    overflow-x: hidden;
}

.glass-nav {
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(120, 0, 0, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, #780000 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-premium {
    background: linear-gradient(135deg, #780000 0%, #4A0000 100%);
}

.bg-pattern {
    background-color: #FFFDF9;
    background-image: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M20 3.33333L23.3333 16.6667L36.6667 20L23.3333 23.3333L20 36.6667L16.6667 23.3333L3.33333 20L16.6667 16.6667L20 3.33333Z" fill="%23D4AF37" fill-opacity="0.05" fill-rule="evenodd"/%3E%3C/svg%3E');
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(120, 0, 0, 0.1), 0 10px 10px -5px rgba(120, 0, 0, 0.04);
}

.service-img-wrap {
    overflow: hidden;
}

.service-img-wrap img {
    transition: transform 0.6s ease;
}

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

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Masonry Layout */
.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
}
@media (min-width: 640px) { .masonry-grid { column-count: 2; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 3; } }

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    group: hover;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(120,0,0,0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

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

/* Form Styles */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.5rem;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}
.input-field:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.floating-whatsapp {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FFFDF9;
}
::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #780000;
}
