:root {
    --charcoal: #2C3E50;
    --charcoal-dark: #1a252f;
    --coral: #FF6B6B;
    --coral-dark: #ee5a52;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #64748b;
    --gray-700: #475569;
    --gray-900: #0f172a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-dark);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Header Styles */
header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
}

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

/* Service Cards */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Gallery Hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Button Hover Effects */
button[type="submit"]:hover,
a[href="#contact"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --charcoal: #000000;
        --coral: #ff0000;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--charcoal-dark);
        color: var(--white);
    }
    
    .bg-white,
    .bg-gray-50 {
        background: var(--charcoal) !important;
    }
    
    .text-charcoal {
        color: var(--white) !important;
    }
    
    .text-gray-600 {
        color: var(--gray-400) !important;
    }
}
