/* Custom styles for Central Land Surveying PC */

:root {
    --burgundy: #782F3F;
    --burgundy-dark: #5C2432;
    --burgundy-light: #9B4D5E;
    --blush: #F5E6D3;
    --blush-light: #FDF0E5;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
    --stone-300: #D6D3D1;
    --stone-400: #A8A29E;
    --stone-500: #78716C;
    --stone-600: #57534E;
    --stone-700: #44403C;
    --stone-800: #292524;
    --stone-900: #1C1917;
}

/* Custom font families */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Custom color classes */
.text-burgundy {
    color: var(--burgundy);
}

.text-burgundy-dark {
    color: var(--burgundy-dark);
}

.text-burgundy-light {
    color: var(--burgundy-light);
}

.text-blush {
    color: var(--blush);
}

.text-blush-light {
    color: var(--blush-light);
}

.bg-burgundy {
    background-color: var(--burgundy);
}

.bg-burgundy-dark {
    background-color: var(--burgundy-dark);
}

.bg-burgundy\/10 {
    background-color: rgba(120, 47, 63, 0.1);
}

.bg-burgundy\/90 {
    background-color: rgba(120, 47, 63, 0.9);
}

.bg-burgundy\/70 {
    background-color: rgba(120, 47, 63, 0.7);
}

.bg-blush-light {
    background-color: var(--blush-light);
}

.bg-blush-light\/20 {
    background-color: rgba(253, 240, 229, 0.2);
}

/* Navbar scroll effect */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .nav-link {
    color: var(--stone-700);
}

.nav-scrolled .font-playfair {
    color: var(--burgundy-dark);
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom button hover effects */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(120, 47, 63, 0.2);
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background-color: var(--burgundy);
    color: white;
}
