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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 300;
    color: #0a0f1e;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: #C9A962;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4B878;
}

/* Selection */
::selection {
    background: #C9A962;
    color: #0a0f1e;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A962;
    transition: width 0.3s ease;
}

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

.nav-btn span {
    transition: all 0.3s ease;
}

.nav-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-btn.active span:nth-child(2) {
    opacity: 0;
}

.nav-btn.active span:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

/* Hero Content Animation */
.hero-content {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: heroFadeIn 1s ease forwards;
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.service-card {
    background: #ffffff;
    transition: all 0.5s ease;
}

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

/* Gallery Images */
.gallery-img {
    transition: transform 0.7s ease;
}

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

/* Reveal Animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Utility */
.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Print Styles */
@media print {
    nav,
    .hero-content,
    #contactForm {
        display: none;
    }
}
