/* Custom styles and animations */

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #0a0f1e;
    color: #ffffff;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0f1e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a843, #b8860b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8c56d, #d4a843);
}

/* Selection styling */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #ffffff;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(135deg, #f5d98e, #d4a843, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service card hover */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Pulse animation for CTA */
.pulse-gold {
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 168, 67, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 168, 67, 0.6);
    }
}

/* Navigation link underline */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #f5d98e, #d4a843);
    transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #f5d98e;
}

/* Image hover zoom */
.service-card img {
    transition: transform 0.5s ease;
}

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

/* Input focus effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-['Playfair_Display'] {
        font-family: 'Playfair Display', serif;
    }
}
