/* Custom Tailwind Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Color Palette */
@layer utilities {
    .text-mint-600 { color: rgb(20 184 166); }
    .text-mint-400 { color: rgb(45 212 191); }
    .bg-mint-50 { background-color: rgb(240 253 250); }
    .bg-mint-100 { background-color: rgb(204 251 241); }
    .bg-mint-200 { background-color: rgb(153 246 228); }
    .bg-mint-400 { background-color: rgb(45 212 191); }
    .bg-mint-500 { background-color: rgb(20 184 166); }
    .bg-mint-600 { background-color: rgb(13 148 136); }
    .border-mint-100 { border-color: rgb(204 251 241); }
    .border-mint-200 { border-color: rgb(153 246 228); }
    .border-mint-400 { border-color: rgb(45 212 191); }
    .border-mint-50 { border-color: rgb(240 253 250); }
    .shadow-mint-100 { box-shadow: 0 10px 40px -10px rgb(204 251 241 0.5); }
    .shadow-mint-500 { box-shadow: 0 20px 60px -15px rgb(20 184 166 0.3); }
}

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

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.nav-text {
    color: rgb(15, 23, 42);
}

.nav-link {
    color: rgb(71, 85, 105);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(20 184 166);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: rgb(15, 23, 42);
}

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

/* Navbar scroll state */
.navbar-scrolled .nav-text {
    color: rgb(15, 23, 42);
}

.navbar-scrolled .nav-link {
    color: rgb(71, 85, 105);
}

/* Mobile Menu */
.mobile-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: rgb(20 184 166);
    transform: scale(1.05);
}

#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Hamburger Animation */
.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.4rem;
}

/* Service Cards */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

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

/* Gallery Images */
.rounded-2xl {
    overflow: hidden;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: rgb(241 245 249);
}

::-webkit-scrollbar-thumb {
    background: rgb(203 213 225);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(148 163 184);
}

/* Selection */
::selection {
    background-color: rgb(20 184 166);
    color: rgb(15, 23, 42);
}

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

/* Button Hover Effects */
button, a {
    cursor: pointer;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
