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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

/* Header Styles */
header {
    background-color: #8B0000;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

img {
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
}

.navbar {
    width: 100%;
}

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

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

.main-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffcccc;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    background-color: #000000;
    min-height: calc(100vh - 120px);
}

/* Homepage specific background */
.main-content.homepage {
    background-image: url('./assets/images/space-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.page-header p {
    font-size: 1.1rem;
    color: #cccccc;
}

/* Content Sections */
.content-section,
.summary-section {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.9);
}

.summary-section h2,
.content-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.lead-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #cccccc;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.summary-card {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid #8B0000;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
}

.summary-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8B0000;
}

.summary-card p {
    margin-bottom: 1.5rem;
    color: #cccccc;
}

/* Content with Image */
.content-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.content-text h2,
.content-text h3 {
    color: white;
    margin-bottom: 1rem;
}

.content-text h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    color: #8B0000;
}

.content-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.content-text ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #cccccc;
}

.content-text li {
    margin-bottom: 0.5rem;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Business Services */
.business-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-item {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid #8B0000;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.service-item h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-item p {
    color: #cccccc;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h2,
.contact-form h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h3 {
    color: #8B0000;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.contact-item p {
    color: #cccccc;
    margin-bottom: 0;
}

/* Forms */
.contact-form {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid #8B0000;
    border-radius: 8px;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #222;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.2);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #8B0000;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid #8B0000;
    border-radius: 8px;
}

.cta-section h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Terms and Privacy Content */
.terms-content,
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 8px;
}

.terms-content h2,
.privacy-content h2 {
    color: #8B0000;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    text-align: left;
}

.terms-content p,
.privacy-content p,
.privacy-content ul {
    color: #cccccc;
    margin-bottom: 1rem;
    text-align: left;
}

.privacy-content ul {
    margin-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

/* New Image Layout Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-item-large {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid #8B0000;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-item-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
}

.service-item-large img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: #8B0000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: #cccccc;
}

/* Enterprise Gallery */
.enterprise-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.enterprise-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.enterprise-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.enterprise-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(139, 0, 0, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(60%);
    transition: transform 0.3s ease;
}

.enterprise-item:hover .enterprise-overlay {
    transform: translateY(0);
}

.enterprise-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.enterprise-overlay p {
    font-size: 0.9rem;
    color: #ffcccc;
}

/* Content Section Text */
.content-section-text {
    margin: 3rem 0;
}

.content-section-text h3 {
    color: #8B0000;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.content-section-text p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    margin: 4rem 0 2rem;
    padding: 3rem 2rem;
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid #8B0000;
    border-radius: 8px;
}

.contact-cta h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Content with Image Reverse */
.content-with-image.reverse {
    grid-template-columns: 1fr 2fr;
}

.content-with-image.reverse .content-image {
    order: -1;
}

/* Footer */
footer {
    background-color: #8B0000;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: auto;
}

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

.footer-info h3 {
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: #ffcccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffcccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: #ffcccc;
    font-size: 0.8rem;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .main-logo {
        height: 40px;
        max-width: 160px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #8B0000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        margin: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 1;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-with-image,
    .content-with-image.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-image {
        order: -1;
    }

    .business-services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .enterprise-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }

    .cta-section,
    .contact-cta {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .page-header {
        padding: 2rem 0 1rem;
    }

    .content-section,
    .summary-section {
        padding: 2rem 0;
    }

    .hero h1,
    .page-header h1 {
        font-size: 1.5rem;
    }

    .summary-card,
    .service-item,
    .contact-form {
        padding: 1.5rem;
    }
}
