/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--charcoal-light);
    background-color: var(--off-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--charcoal-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--charcoal-medium);
}

p {
    margin-bottom: 1rem;
    color: var(--charcoal-lighter);
}

/* Brand Colors */
:root {
    --primary-teal: #30A287;
    --light-teal: #5EEFCC;
    --lightest-teal: #9EF5E0;
    --darker-teal: #5F8D7E;
    --charcoal-dark: #2C2C2C;
    --charcoal-medium: #3A3A3A;
    --charcoal-light: #4A4A4A;
    --charcoal-lighter: #5A5A5A;
    --light-gray: #F5F5F5;
    --medium-gray: #8A8A8A;
    --white: #ffffff;
    --off-white: #FAFAFA;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1001;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav-logo .logo {
    height: 70px;
    width: auto;
    position: relative;
    z-index: 1002;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--charcoal-medium);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(94, 239, 204, 0.1) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-text h1 {
    color: var(--charcoal-dark);
    margin-bottom: 1rem;
}

.hero-text h2 {
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--charcoal-lighter);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
}

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, var(--lightest-teal), var(--light-teal));
    border: 2px dashed var(--primary-teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker-teal);
    text-align: center;
    padding: 2rem;
}

.hero-placeholder {
    width: 100%;
    height: 300px;
}

.placeholder-content h3, .placeholder-content h4 {
    color: var(--darker-teal);
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    color: var(--darker-teal);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

.about-image .placeholder-image {
    width: 100%;
    height: 300px;
}

.about-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-row-reverse .service-content {
    order: 2;
}

.service-row-reverse .service-image {
    order: 1;
}

.service-content {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-content h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    margin-top: 1rem;
}

.service-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium-gray);
}

.service-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

.service-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Legacy styles for backwards compatibility */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image .placeholder-image {
    width: 100%;
    height: 200px;
    border-radius: 0;
    border: none;
    border-bottom: 2px dashed var(--primary-teal);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item-single {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

.gallery-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Equipment Section */
.equipment {
    padding: 80px 0;
    background-color: var(--white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.equipment-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
}

.equipment-image .placeholder-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
}

.equipment-item h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.process-video {
    text-align: center;
    margin-top: 4rem;
}

.process-video h3 {
    margin-bottom: 2rem;
    color: var(--charcoal-dark);
}

.video-container-edge-to-edge {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 2rem;
}

.process-video-edge-to-edge {
    width: 100%;
    height: auto;
    display: block;
}

.video-container-full {
    width: 100%;
    margin-bottom: 2rem;
}

.process-video-full {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-slideshow {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.video-slide {
    display: none;
}

.video-slide.active {
    display: block;
}

.process-video-player {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slideshow-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.slide-btn {
    background-color: var(--primary-teal);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.slide-btn:hover {
    background-color: var(--darker-teal);
}

.slide-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-teal);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    height: 450px;
    background: linear-gradient(135deg, var(--lightest-teal), var(--light-teal));
    border: 2px dashed var(--primary-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Industries Section */
.industries {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.industry-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.icon-svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.industry-item h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background-color: var(--white);
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.feature-item h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-teal);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.contact-icon-svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.location-link {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: var(--darker-teal);
    text-decoration: underline;
}

.email-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--darker-teal);
    text-decoration: underline;
}

.contact-item h4 {
    color: var(--charcoal-dark);
    margin-bottom: 0.5rem;
}

.phone-number {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Contact Form */
.contact-form-container h3 {
    color: var(--primary-teal);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--charcoal-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

/* Footer */
.footer {
    background-color: var(--charcoal-dark);
    color: white;
    padding: 2rem 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .company-name {
    color: white;
    font-size: 1.2rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-row-reverse .service-content {
        order: unset;
    }
    
    .service-row-reverse .service-image {
        order: unset;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Smooth scrolling animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .equipment-item,
    .industry-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form-container {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}
