/* 
   Dr. Francesco Panicucci - Custom Premium Styles
   Aesthetics: Clean, Medical, Modern, High Performance.
*/

:root {
    --primary: #0F172A;
    --secondary: #0EA5E9;
    --accent: #10B981;
    --background: #FFFFFF;
    --text-muted: #64748B;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover Effects on Global Buttons */
.btn-primary {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Scroll Shadow and Shrink for Nav */
nav.scrolled {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}

nav.scrolled #nav-container {
    height: 80px; /* Shrink from 96px/112px to 80px */
}

nav.scrolled img {
    height: 64px !important; /* Shrink logo slightly */
}

/* Section Reveal - used for future JS implementation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Image filters */
.img-scientific {
    filter: brightness(1.05) contrast(1.02);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}
