/* Custom Styles for C Glegal Group */

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #1a2a4c;
    --accent: #d4af37;
    --dark: #0f172a;
}

/* Typography */
h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Navigation Scroll Effect */
nav.scrolled {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

nav.scrolled .logo-text {
    color: #fff;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Gradients */
.bg-gradient-premium {
    background: linear-gradient(135deg, #1a2a4c 0%, #0f172a 100%);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transition: transform 0.6s ease;
}

.btn-primary:hover:after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

/* Section Transitions */
section {
    position: relative;
}

/* Practice Area Card Enhancement */
#practices .group:hover {
    box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.1);
}

/* Forms */
input:focus, textarea:focus {
    border-color: var(--accent);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}
