/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.logo span {
    color: #27ae60;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #27ae60;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-call {
    margin-left: 30px;
    background-color: #f1f8ff;
    color: #2980b9;
    border: 1px solid #bde0ff;
}

.btn-call:hover {
    background-color: #2980b9;
    color: white;
}

.btn-primary {
    background-color: #27ae60;
    color: white;
}

.btn-primary:hover {
    background-color: #219653;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background-color: #2c3e50;
    color: white;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fff9 0%, #e6f7ec 100%);
}

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

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.image-placeholder {
    background-color: #d1ecf1;
    border-radius: 8px;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c5460;
    font-weight: bold;
    border: 2px dashed #bee5eb;
    
}
/* Add to hero-image for visual */
.hero-image .image-placeholder {
    width: 100%;
    height: 350px;
    background-image: url("Images/trasloco.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

.about-image .image-placeholder {
    height: 100%;
    width: 100%;
    min-height: 300px;
    display: flex;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("Images/siamo.jpg");
}

/* Sections */
section {
    padding: 80px 20px;
}

h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* About */
.about .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.features-list {
    list-style: none;
    margin-top: 25px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.features-list li i {
    color: #27ae60;
    margin-right: 12px;
    margin-top: 4px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info h3 {
    margin-bottom: 25px;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 12px;
    color: #27ae60;
    width: 20px;
}

.contact-info a {
    color: #2980b9;
    text-decoration: none;
}

.social-links {
    margin-top: 30px;
}

.social-links h4 {
    margin-bottom: 15px;
}

.social-links a {
    display: inline-block;
    font-size: 1.8rem;
    margin-right: 20px;
    transition: all 0.3s;
    /* REMOVED: color: #555; ← This was forcing grey */
}

/* Individual social icon colors - NOW THESE WILL WORK */
.social-links .fa-linkedin { color: #0077B5; }
.social-links .fa-instagram { 
    color: #E4405F;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-links .fa-youtube { color: #FF0000; }
.social-links .fa-facebook { color: #1877F2; }
.social-links .fa-telegram { color: #0088cc; }
.social-links .fa-whatsapp { color: #25D366; }

/* Keep your hover effects - they should work now */
.social-links a:hover .fa-linkedin { color: #005582; }
.social-links a:hover .fa-instagram { color: #C13584; }
.social-links a:hover .fa-youtube { color: #CC0000; }
.social-links a:hover .fa-facebook { color: #0A5CAD; }
.social-links a:hover .fa-telegram { color: #006699; }
.social-links a:hover .fa-whatsapp { color: #128C7E; transform: scale(1.1); }

/* General hover effect */
.social-links a:hover {
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #27ae60;
    text-decoration: none;
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul, .btn-call {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .container, .about .container {
        flex-direction: column;
    }
    .hero-content, .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    h2 {
        font-size: 2rem;
    }
}


/* ==================== */
/* CAROUSEL STYLES      */
/* ==================== */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.carousel-slides {
    position: relative;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1rem;
}

/* Navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #2c3e50;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Dots indicator */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active, .dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-container {
        max-width: 100%;
        margin-top: 30px;
    }
    
    .carousel-slides {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-caption {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Hero carousel specific styles */
.hero .carousel-container {
    height: 400px;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.hero .carousel-slides {
    height: 100%;
}

@media (max-width: 768px) {
    .hero .carousel-container {
        height: 300px;
    }
}

/* ==================== */
/* FLOATING WHATSAPP    */
/* ==================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

.fa-telegram {
    color: #0088cc; /* Official Telegram blue */
}

/* Hover effect for Telegram */
.social-links a:hover .fa-telegram {
    color: #006699; /* Darker blue on hover */
}



/*new form*/
/* Style for the new Quote Section */
.quote-request {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Light grey background */
}

.quote-form {
    max-width: 700px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.quote-form textarea {
    grid-column: 1 / -1; /* Makes textarea span both columns */
    min-height: 150px;
    resize: vertical;
}

.quote-form button {
    grid-column: 1 / -1; /* Makes button span both columns */
    justify-self: center;
    margin-top: 20px;
}

/* Style adjustments for the new Contact Prompt */
.contact-prompt {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}


/* ==================== */
/* CENTERED CONTACT INFO */
/* ==================== */
/* Contact - CENTERED VERSION */
.contact-wrapper {
    display: flex; /* Changed from grid to flex */
    justify-content: center; /* Center horizontally */
    align-items: flex-start; /* Align items at the top */
    margin-top: 40px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    width: 100%;
}

.contact-info {
    max-width: 600px; /* Limits width for better centering */
    width: 100%;
    text-align: center; /* Center text inside */
}

.contact-info h3 {
    margin-bottom: 25px;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    justify-content: center; /* Center the flex items */
    align-items: center;
    text-align: left; /* Keep text left-aligned within the centered container */
}

.contact-info i {
    margin-right: 12px;
    color: #27ae60;
    width: 20px;
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.contact-info a {
    color: #2980b9;
    text-decoration: none;
}

.social-links {
    margin-top: 30px;
    text-align: center; /* Center social links */
}

.social-links h4 {
    margin-bottom: 15px;
}

.social-links a {
    display: inline-block;
    font-size: 1.8rem;
    margin-right: 20px;
    transition: all 0.3s;
}

/* Individual social icon colors */
.social-links .fa-linkedin { color: #0077B5; }
.social-links .fa-instagram { 
    color: #E4405F;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-links .fa-youtube { color: #FF0000; }
.social-links .fa-facebook { color: #1877F2; }
.social-links .fa-telegram { color: #0088cc; }
.social-links .fa-whatsapp { color: #25D366; }

/* Keep your hover effects */
.social-links a:hover .fa-linkedin { color: #005582; }
.social-links a:hover .fa-instagram { color: #C13584; }
.social-links a:hover .fa-youtube { color: #CC0000; }
.social-links a:hover .fa-facebook { color: #0A5CAD; }
.social-links a:hover .fa-telegram { color: #006699; }
.social-links a:hover .fa-whatsapp { color: #128C7E; transform: scale(1.1); }

/* General hover effect */
.social-links a:hover {
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-wrapper {
        padding: 25px;
    }
    
    .contact-info p {
        flex-direction: column; /* Stack icon and text on mobile */
        text-align: center;
        gap: 5px;
    }
    
    .contact-info i {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .social-links a {
        margin-right: 15px;
        font-size: 1.6rem;
    }
}

/*social modification center*/
/* ==================== */
/* CENTERED CONTACT     */
/* ==================== */
