/*
Theme Name: New Euro Service
Theme URI: https://neweuroservice.com
Author: Robert Peluso
Author URI: https://neweuroservice.com
Description: Tema custom premium per New Euro Service, professionale e pulito.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-euro-service
Tags: insurance, broker, business, professional, premium
*/

:root {
    --primary-color: #002B49; /* Deep Navy Blue */
    --primary-light: #00406b;
    --secondary-color: #C5A059; /* Gold/Bronze */
    --secondary-light: #d4b576;
    --accent-color: #00b894; /* Success Green */
    --text-color: #2c3e50;
    --text-light: #5d6d7e;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 0;
    line-height: 1.25;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.site-title a {
    color: var(--primary-color);
}

.site-title .highlight {
    color: var(--secondary-color);
}

.site-description {
    margin: 5px 0 0;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
    margin: 0;
}

.main-navigation a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    padding: 5px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.btn-header {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    font-size: 14px !important;
    transition: var(--transition);
}

.btn-header:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-header::after {
    display: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 120px;
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,43,73,0.95) 0%, rgba(0,43,73,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero .subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 14px;
}

.hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--white);
}

.hero-features {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.hero-features i {
    color: var(--secondary-color);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background-color: var(--secondary-color);
}

.icon-wrapper i {
    font-size: 24px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper i {
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 25px;
}

.read-more {
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background-color: #f0f4f8;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.benefits-list {
    margin: 30px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.benefits-list i {
    color: var(--accent-color);
    background: rgba(0, 184, 148, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.why-us-image {
    position: relative;
    height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 2px solid var(--secondary-color);
    z-index: -1;
    border-radius: var(--border-radius);
}

.image-placeholder i {
    font-size: 80px;
    color: rgba(255,255,255,0.2);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b89045 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 80px 0 0;
    font-size: 14px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: #a0a0a0;
    transition: var(--transition);
}

.footer-widget a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.site-info {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-info p {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-image {
        height: 300px;
        order: -1;
    }
    
    .stats-grid {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 40%;
    }
}

@media (max-width: 768px) {
    .main-navigation ul, .btn-header {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary-color);
        cursor: pointer;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .site-info {
        flex-direction: column;
        gap: 10px;
    }
}
