/* Modern 2026 Design Refresh */
/* Overrides styles.css with contemporary aesthetics */

:root {
    /* Updated 2026 Color Palette */
    --primary-color: #0f4c81;
    --primary-light: #1a6bb5;
    --primary-dark: #0a3a63;
    --secondary-color: #38bdf8;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --neutral-color: #f8fafc;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --dark-gray: #334155;
    --light-gray: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;

    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #0f4c81 0%, #1a6bb5 50%, #38bdf8 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-hero: linear-gradient(135deg, #0f4c81 0%, #1e3a5f 25%, #0f4c81 50%, #1a6bb5 75%, #38bdf8 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Updated Border Radius - More rounded for 2026 */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
    --border-radius-full: 9999px;

    /* Modern Shadows - Softer, more diffused */
    --shadow-sm: 0 1px 3px rgba(15, 76, 129, 0.08), 0 1px 2px rgba(15, 76, 129, 0.06);
    --shadow-md: 0 4px 6px rgba(15, 76, 129, 0.07), 0 2px 4px rgba(15, 76, 129, 0.06);
    --shadow-lg: 0 10px 25px rgba(15, 76, 129, 0.1), 0 4px 10px rgba(15, 76, 129, 0.05);
    --shadow-xl: 0 20px 40px rgba(15, 76, 129, 0.15), 0 8px 16px rgba(15, 76, 129, 0.1);
    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.3);
    --shadow-card: 0 4px 20px rgba(15, 76, 129, 0.08);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(10px);

    /* Updated Spacing */
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Transitions - Smoother */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Smooth scroll with offset for sticky header */
html {
    scroll-padding-top: 100px;
}

/* Modern Body */
body {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Enhancement */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

/* Modern Section Title */
.section-title {
    margin-bottom: var(--spacing-2xl);
    color: var(--text-color);
}

.section-title::after {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-full);
}

/* Section Spacing */
section {
    padding: var(--spacing-3xl) 0;
}

/* Modern Buttons */
.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 129, 0.4);
}

.btn-secondary {
    background: var(--gradient-accent);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Modern Header */
.site-header {
    background: var(--gradient-primary);
    padding: 1rem 0;
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Phone number glow effect */
.phone-number {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
}

.phone-number:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

/* Modern Nav */
.nav-menu a {
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.nav-menu a:hover, .nav-menu a.active {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* Hero Section - Mesh Gradient Style */
.hero {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(56,189,248,0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-2xl) 0;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-slow);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Services Section - Glassmorphism Cards */
.services {
    background: var(--neutral-color);
}

.services-grid {
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.service-image img {
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--white) 0%, var(--neutral-color) 100%);
}

.about-content {
    gap: var(--spacing-2xl);
}

.about-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.about ul {
    list-style: none;
    padding: 0;
}

.about ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.about ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}

.testimonial {
    background: var(--neutral-color);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-normal);
}

.testimonial:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial blockquote {
    position: relative;
    margin: 0;
    padding: 0;
}

.testimonial blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.testimonial cite {
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--neutral-color) 0%, var(--white) 100%);
}

.contact-item {
    margin-bottom: var(--spacing-lg);
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.contact-item a {
    color: var(--text-color);
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-map-centered iframe {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--dark-gray) 0%, #1e293b 100%);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    gap: var(--spacing-xl);
}

.footer-logo h3 {
    font-size: 1.3rem;
}

.footer-nav h4,
.footer-contact h4,
.footer-legal h4 {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav a,
.footer-legal a {
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-nav a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
}

/* Cookie Banner - Modern Style */
.cookie-banner {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-buttons {
    gap: var(--spacing-sm);
}

.cookie-buttons .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
}

/* Modal - Glass Effect */
.modal-content {
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-xl);
}

.close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    background: var(--neutral-color);
    transition: all var(--transition-fast);
}

.close:hover {
    background: var(--light-gray);
    transform: rotate(90deg);
}

/* Toggle Switch - Modern */
.slider {
    border-radius: var(--border-radius-full);
}

.slider:before {
    border-radius: var(--border-radius-full);
}

input:checked + .slider {
    background: var(--gradient-primary);
}

/* Responsive Updates */
@media (max-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }

    .hero {
        padding: var(--spacing-2xl) 0;
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Animations (optional - add class via JS) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States for Accessibility */
.btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Cookies Policy Page */
.cookies-policy {
    padding: var(--spacing-2xl) 0;
}

.cookies-policy .section-title {
    margin-bottom: var(--spacing-xl);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
}

.policy-content h3 {
    color: var(--primary-color);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.policy-content h4 {
    color: var(--text-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.policy-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

.policy-content ul {
    color: var(--text-muted);
    padding-left: var(--spacing-lg);
}

.policy-content ul li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-content a:hover {
    color: var(--secondary-color);
}

.last-update {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--light-gray);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Print Styles */
@media print {
    .site-header,
    .cookie-banner,
    .site-footer {
        display: none;
    }

    .hero {
        background: var(--white) !important;
        color: var(--text-color) !important;
    }
}
