/* PORT CLEAN - Modern Facilities Website */

:root {
    --primary-red: #b20505;
    --accent-red: #b40a0f;
    --dark-color: #010000;
    --teal-blue: #41646e;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
    --text-color: #2c2c2c;
    --gradient-main: linear-gradient(135deg, #b20505 0%, #b40a0f 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

.logo img {
    max-height: 80px;
    width: auto;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

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

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-red);
}

/* Banner */
.banner {
    position: relative;
    color: var(--white);
    padding: 200px 0 100px;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 40%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(177, 5, 5, 0) 0%, rgba(180, 10, 15, 0) 100%);
}

.banner-content {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

/* About Section */
.about {
    padding: 50px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
    border-left: 5px solid var(--primary-red);
    padding-left: 30px;
    position: relative;
}

.about-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--accent-red) 100%);
}

.about-text p {
    margin-bottom: 0;
    color: #444;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.value-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 5px;
    text-align: left;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.value-card:hover {
    border-color: var(--primary-red);
    background: linear-gradient(145deg, #ffffff 0%, #fff 100%);
    box-shadow: 0 5px 20px rgba(177, 5, 5, 0.1);
}

.value-card h3 {
    color: var(--dark-color);
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 12px;
}

.value-card h3 i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.value-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Services Section */
.services-intro-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
    color: var(--white);
    padding: 25px 0;
}

.services-intro-section h2 {
    color: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--white);
}

.services-intro p {
    color: var(--white);
}

.services-cards-section {
    background: var(--white);
    padding: 80px 0;
}

.services-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-red) !important;
    margin-bottom: 15px;
    display: block !important;
    opacity: 1 !important;
}

.service-card h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Experience Section */
.experience {
    background: var(--gradient-main);
    color: var(--white);
    padding: 15px 0;
}

.experience h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 0;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Trust Section */
.trust {
    background-color: var(--white);
}

.highlight-red {
    color: var(--primary-red);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.trust-card {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid var(--teal-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left-color: var(--primary-red);
}

.trust-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.trust-card:hover h3 {
    color: var(--primary-red);
}

/* Efficiency Section */
.efficiency {
    background-color: var(--gray-light);
}

.efficiency-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.efficiency-img {
    max-width: 100%;
    height: auto;
}

/* CTA Section */
.cta {
    background: var(--gradient-main);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta p {
    font-size: 1.2rem;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-red);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--teal-blue);
}

.footer-section p,
.footer-section a {
    color: var(--white);
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.footer-section a:hover {
    color: var(--teal-blue);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .banner p {
        font-size: 1rem;
        text-align: center;
    }
    
    .header-content {
        flex-direction: row;
        padding: 10px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav a {
        font-size: 14px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .efficiency-content {
        grid-template-columns: 1fr;
    }
    
    .efficiency-image {
        height: 300px;
    }
    
    /* Professions Slideshow Mobile - Proper Slideshow Design */
    .professions-slideshow {
        padding: 0;
        background: #f8f9fa;
    }
    
    .professions-slider {
        display: block !important;
        position: relative;
        height: auto;
        min-height: 500px;
        overflow: hidden;
    }
    
    .profession-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 100%;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    
    .profession-slide.active {
        opacity: 1;
        z-index: 1;
        position: relative;
    }
    
    .profession-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        background: white;
        border-radius: 12px;
        overflow: visible;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        gap: 0 !important;
    }
    
    .profession-image {
        order: 1 !important;
        height: 250px;
        overflow: hidden;
        flex-shrink: 0;
        width: 100% !important;
    }
    
    .profession-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .profession-text {
        order: 2 !important;
        padding: 20px;
        text-align: left;
        display: block !important;
        visibility: visible !important;
    }
    
    .profession-text h3 {
        font-size: 1.2rem;
        color: #333;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .profession-text p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.5;
        margin-bottom: 15px;
        display: block !important;
        visibility: visible !important;
    }
    
    .btn-orcamento {
        display: block !important;
        width: 100%;
        background: #e63946;
        color: white;
        padding: 12px;
        border-radius: 6px;
        font-size: 0.95rem;
        font-weight: 600;
        border: none;
        cursor: pointer;
        text-align: center;
        visibility: visible !important;
    }
    
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .slider-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }
    
    .slider-dots .dot.active {
        background: #e63946;
    }
    
    /* Trust Section Mobile */
    .trust-content {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* Professions Slideshow */
.professions-slideshow {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.professions-slider {
    position: relative;
    overflow: hidden;
}

.profession-slide {
    display: none;
    opacity: 0;
    transition: all 0.6s ease-in-out;
}

.profession-slide.active {
    display: block;
    opacity: 1;
}

.profession-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 520px;
}

.profession-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    perspective: 1000px;
}

.profession-image img {
    max-width: 100%;
    height: 420px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.profession-slide.active .profession-image img {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profession-text {
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf1;
    transition: transform 0.4s ease;
}

.profession-slide.active .profession-text {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profession-text h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profession-text h3 a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s;
}

.profession-text h3 a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.profession-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 35px;
}

.btn-orcamento {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(177, 5, 5, 0.3);
}

.btn-orcamento:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 5, 5, 0.4);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    transform: scale(1.2);
    background: #ccc;
}

.slider-dot.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.3);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    text-decoration: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    padding: 45px 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 550px;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-color);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-red);
}

.modal h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.5;
}

.modal p {
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.95rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 18px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 80px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-subtitle {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.whatsapp-btn {
    background-color: #25D366;
    color: var(--white);
}

.email-btn {
    background-color: var(--primary-red);
    color: var(--white);
}

.contact-btn i {
    font-size: 1.3rem;
}

/* Email Form Styles */
.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.back-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--gray-medium);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: var(--gray-dark);
    color: var(--white);
}

.submit-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-red);
}
