@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Properties */
:root {
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* Navbar Scroll Effect */
#navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: var(--slate-950);
}

::-webkit-scrollbar-thumb {
    background: var(--teal-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal-400);
}

/* Input Focus Styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

/* Button Hover Effects */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Service Card Hover */
.group:hover .group-hover\:bg-teal-500\/20 {
    background-color: rgba(45, 212, 191, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: 2.5rem;
    }
}
