/* Modern MediKL Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset pentru meniul fix */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation Bar */
.w3-bar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #1C1C69 0%, #2a2a8f 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0;
    transition: all 0.3s ease;
}

.w3-bar a {
    text-decoration: none;
    color: #ffffff;
    padding: 18px 24px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.w3-bar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid #4CAF50;
}

.w3-bar-item.w3-button.w3-mobile {
    display: inline-block;
}

/* Content Spacing */
.content {
    margin-top: 60px;
}

/* Special Font */
.special {
    font-family: 'Great Vibes', cursive;
    color: #1C1C69;
    line-height: 1.4;
}

.special a {
    text-decoration: none;
    color: #1C1C69;
    transition: color 0.3s ease;
}

.special a:hover {
    color: #4CAF50;
}

/* Header Section */
.header {
    font-size: 24px;
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1C1C69;
}

.header h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
}

.header p {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #555;
}

.header img {
    max-width: 300px;
    width: 100%;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    border-radius: 12px;
}

/* Buttons */
.w3-button {
    padding: 14px 32px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.w3-button.w3-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.w3-button.w3-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.w3-button.w3-black {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: white;
}

.w3-button.w3-black:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.w3-round-large {
    border-radius: 50px;
}

/* Sections */
.section {
    padding: 80px 20px;
    min-height: 400px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section h2 img {
    width: 40px;
    height: auto;
    border-radius: 8px;
}

/* Round logo in modal headers as well */
.w3-modal-content h2 img {
    width: 40px;
    height: auto;
    border-radius: 8px;
}

.section ul {
    margin: 20px 0;
    padding-left: 40px;
}

.section ul li {
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Section 1 - Despre */
.section1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
}

/* Section 2 - Caracteristici */
.section2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
}

/* Section 3 - Contact */
.section3 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #ffffff;
}

/* Costuri Section */
.w3-light-gray {
    background-color: #f8f9fa !important;
    color: #333;
}

/* Modal */
.w3-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.w3-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.w3-modal-content .w3-container {
    padding: 40px;
    color: #1C1C69;
}

.w3-modal-content h2 {
    color: #1C1C69;
    margin-bottom: 20px;
}

.w3-modal-content ul {
    list-style-type: none;
    padding-left: 0;
}

.w3-modal-content ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.w3-modal-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

.w3-display-topleft {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.w3-display-topleft:hover {
    color: #333;
}

/* Forms */
.w3-input {
    padding: 12px 16px;
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    margin-bottom: 16px;
}

.w3-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.w3-hide {
    display: none;
}

textarea.w3-input {
    min-height: 150px;
    resize: vertical;
}

form .w3-row-padding {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.w3-half {
    flex: 1;
    min-width: 250px;
}

.w3-section {
    margin: 20px 0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 101;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    width: 100%;
    height: 4px;
    background-color: #1C1C69;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Footer */
footer, .w3-container.w3-center:last-child {
    background-color: #1C1C69;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

/* Utility Classes */
.w3-center {
    text-align: center;
}

.w3-container {
    padding: 20px;
}

.w3-padding {
    padding: 16px;
}

.w3-xlarge {
    font-size: 24px;
}

.w3-xxlarge {
    font-size: 36px;
}

.w3-small {
    font-size: 14px;
}

.w3-hover-grayscale:hover {
    filter: grayscale(100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .w3-bar {
        display: none;
    }
    
    .w3-bar.expanded {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, #1C1C69 0%, #2a2a8f 100%);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        padding-top: 60px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .w3-bar.expanded a {
        display: block;
        padding: 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .content {
        margin-top: 40px;
    }
    
    .header {
        padding: 60px 20px 40px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .section ul li {
        font-size: 1rem;
    }
    
    .w3-modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .w3-modal-content .w3-container {
        padding: 20px;
    }
    
    .w3-half {
        min-width: 100%;
    }
    
    form .w3-row-padding {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    .special {
        font-size: 1.5rem !important;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section h2 {
        font-size: 1.3rem;
    }
    
    .section ul {
        padding-left: 20px;
    }
    
    .w3-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hover Effects */
a {
    transition: all 0.3s ease;
}

/* Container Max Width */
.section, .header {
    margin-left: auto;
    margin-right: auto;
}

/* Statistics Section */
.stat-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    opacity: 0.95;
}

/* Trust Badges */
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.badge-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.trust-badge:hover .badge-icon {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.trust-badge h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.trust-badge p {
    font-size: 0.9rem;
}

