/* 
   ProCompliance Service CSS
   Dark-mode design with accent color #90191a
*/

/* Base Styles and Variables */
:root {
    --primary-color: #90191a;
    --secondary-color: #333;
    --dark-bg: #1a1a1a;
    --darker-bg: #121212;
    --light-text: #f4f4f4;
    --gray-text: #aaa;
    --border-color: #333;
    --card-bg: #222;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

h1, h2, h3, h4 {
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--gray-text);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #b01f21;
    color: white;
}

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

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

#header.scrolled {
    padding: 10px 0;
    background-color: #000000;
}

.logo img {
    max-height: 120px;
}

/* Phone Button */
.header-phone {
    margin-left: 20px;
}

.phone-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.phone-button:hover {
    background-color: #b01f21;
    color: white;
    transform: translateY(-2px);
}

.phone-button i {
    margin-right: 5px;
}

/* Navigation */
#navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    font-weight: 500;
    padding: 5px 10px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('1000006572.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.2s ease-in;
}

.cta-button {
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Section */
.about {
    background-color: var(--dark-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-area {
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.service-area h3 {
    color: var(--primary-color);
}

.phone {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Services Section */
.services {
    background-color: var(--darker-bg);
}

.service-categories {
    margin-bottom: 50px;
}

.category {
    margin-bottom: 40px;
}

.category h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px 25px;
    border-radius: 5px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.services-not-offered {
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 5px;
    margin-top: 20px;
}

.services-not-offered h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.services-not-offered ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.services-not-offered li {
    padding: 10px 15px;
    margin: 5px;
    background-color: var(--darker-bg);
    border-radius: 5px;
}

.services-not-offered i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--dark-bg);
    text-align: center;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.choose-card {
    background-color: var(--card-bg);
    padding: 30px 25px;
    border-radius: 5px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.choose-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.choose-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.choose-card p {
    color: var(--gray-text);
    flex-grow: 1;
}

/* Gallery Section */
.gallery {
    background-color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

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

#modal-caption {
    margin: 20px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

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

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Certifications Section */
.certifications {
    background-color: var(--darker-bg);
    text-align: center;
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 30px;
}

.cert-logo {
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-logo img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.cert-text {
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-item .icon {
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item .content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--darker-bg);
    color: var(--light-text);
}

.form-group textarea {
    resize: vertical;
}

#form-status {
    margin-bottom: 15px;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #b7ffca;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ffb7bf;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Footer */
#footer {
    background-color: #000000;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 200px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-info {
    color: var(--gray-text);
}

.footer-info p {
    margin-bottom: 5px;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 2.5rem 0;
    }
    
    .hero {
        height: 60vh;
        margin-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .services-not-offered ul {
        flex-direction: column;
    }
    
    .cert-logos {
        gap: 30px;
    }
    
    #header .container {
        flex-wrap: wrap;
    }
    
    .header-phone {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
        order: 3;
    }
    
    .phone-button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-btn {
        padding: 10px;
        font-size: 18px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
} 