/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background: #000000;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #333333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.nav-logo p {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #a855f7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #a855f7;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 0 50px;
    display: none;
    background: #000000;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.section.active {
    display: block !important;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    background: #000000;
    grid-auto-rows: 200px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #111111;
    border: 1px solid #333333;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 400px;
    height: 400px;
}

.portfolio-item.medium {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
    height: 200px;
}

.portfolio-item.small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
    height: 200px;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1a1a;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    background: #1a1a1a;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.portfolio-overlay p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 300;
    color: #cccccc;
}

.view-btn {
    background: #a855f7;
    color: white;
    border: 1px solid #a855f7;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #ffffff;
    color: #a855f7;
}

/* About Section Styles */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
}

.about-list {
    list-style: none;
    margin-top: 1rem;
}

.about-list li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-weight: 300;
}

.about-list li i {
    color: #a855f7;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid #333333;
    background: #111111;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #a855f7;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #a855f7;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #cccccc;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Services Section Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    padding: 2rem;
    border: 1px solid #333333;
    background: #111111;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
}

.service-icon {
    font-size: 2.5rem;
    color: #a855f7;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-weight: 300;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '•';
    color: #a855f7;
    margin-right: 0.5rem;
}

.automation-section {
    margin-top: 4rem;
    padding: 3rem;
    border: 1px solid #333333;
    background: #111111;
    border-radius: 8px;
}

.automation-section h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
}

.benefit-item i {
    font-size: 2rem;
    color: #a855f7;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.benefit-item p {
    color: #cccccc;
    font-weight: 300;
    font-size: 0.9rem;
}

/* Contact Section Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #333333;
    border-radius: 8px;
    background: #111111;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #a855f7;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
}

.contact-item i {
    font-size: 1.2rem;
    color: #a855f7;
    width: 20px;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #cccccc;
    font-weight: 300;
    font-size: 0.9rem;
}

.contact-form {
    padding: 2rem;
    border: 1px solid #333333;
    background: #111111;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333333;
    background: #1a1a1a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    border-radius: 6px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.btn {
    padding: 0.75rem 2rem;
    border: 1px solid #a855f7;
    background: #a855f7;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn:hover {
    background: #ffffff;
    color: #a855f7;
}

/* Footer */
.footer {
    background: #111111;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333333;
    margin: 0;
    border-radius: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #cccccc;
    font-weight: 300;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #a855f7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    color: #cccccc;
    font-weight: 300;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        border-bottom: 1px solid #333333;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
        grid-auto-rows: 150px;
    }
    
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 2;
        min-height: 300px;
        height: 300px;
    }
    
    .portfolio-item.medium {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 150px;
        height: 150px;
    }
    
    .portfolio-item.small {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 150px;
        height: 150px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    
    .portfolio-item.large,
    .portfolio-item.medium,
    .portfolio-item.small {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 200px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-logo p {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .portfolio-grid {
        padding: 5px;
        gap: 5px;
    }
    
    .service-card,
    .contact-form,
    .automation-section {
        padding: 1.5rem;
    }
} 

/* Update modal image to allow scrolling for very large images */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}
.image-modal.open {
    display: flex;
}
.image-modal .modal-content {
    margin: auto;
    display: block;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.3);
    border: 2px solid #a855f7;
    background: none;
    max-width: 95vw;
    max-height: 90vh;
}
.image-modal #modal-caption {
    margin: 20px auto 0 auto;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 80vw;
}
.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #a855f7;
}
.modal-link {
    display: inline-block;
    margin: 16px auto 0 auto;
    color: #a855f7;
    background: #18181b;
    border: 1px solid #a855f7;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}
.modal-link:hover {
    background: #a855f7;
    color: #fff;
}
@media (max-width: 600px) {
    .image-modal .modal-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .close-modal {
        top: 10px;
        right: 16px;
        font-size: 2rem;
    }
    .image-modal #modal-caption {
        font-size: 1rem;
    }
} 