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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--slate-50);
}
::-webkit-scrollbar-thumb {
    background: var(--slate-200);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--teal-500);
}

/* Mobile menu animations */
#mobile-toggle.active #bar1 {
    transform: translateY(5px) rotate(45deg);
}
#mobile-toggle.active #bar2 {
    opacity: 0;
    transform: scaleX(0);
}
#mobile-toggle.active #bar3 {
    transform: translateY(-5px) rotate(-45deg);
    width: 1.5rem;
}

/* Service card stagger animation */
.service-card {
    transition: background-color 0.5s ease;
}

/* Fade in animations for scroll-reveal (below fold only) */
.fade-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Gallery hover effect */
.gallery-item {
    overflow: hidden;
}
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Navbar glass effect */
.nav-scrolled {
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

/* Selection color */
::selection {
    background: var(--teal-100);
    color: var(--teal-700);
}

/* Focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--teal-500) !important;
}

/* Select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Mobile link animation */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--slate-100);
    font-size: 1.125rem;
    font-weight: 300;
}
.mobile-link:last-child {
    border-bottom: none;
}
