/* Tech Page Specific Styles */

.content-section {
    position: relative;
    min-height: 100vh;
    padding: 30vh 0 5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 30vh;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.title-line {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

/* Center-text section - full height with centered content */
.center-text {
    height: 100vh;
    position: relative;
    z-index: 1;
    width: 100%;
    opacity: 1; /* Ensure it's visible */
}

.center-text h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.9;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Main layout styling */
main {
    padding: 0 8%;
    display: block;
    height: auto;
    margin-bottom: 80px; /* Space for footer */
    position: relative;
    z-index: 2;
}

/* Tech showcase with star pattern */
.tech-showcase {
    padding: 2rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 5;
}

/* Logo constellation with greatly increased spacing */
.logo-constellation {
    position: relative;
    min-height: 800px; /* Even more height for maximum vertical space */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px; /* Increased width for maximum horizontal space */
}

/* Center logo with om symbol */
.center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 160px;
    height: 160px;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.center-logo a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    border-radius: 50%;
    background: #ffffff;
    text-decoration: none; /* Remove default link underline */
    color: #000; /* Ensure the text is black */
}

.center-logo:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.05);
}

.center-logo:hover a {
    transform: scale(1);
}

.om-text {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #000;
    text-align: center;
    line-height: 1;
    padding-bottom: 5px; /* Adjust vertical alignment */
}

/* Logo item shared styles */
.logo-item {
    position: absolute;
    width: 220px;
    text-align: center;
    transition: all 0.5s ease;
    z-index: 5;
    margin: 20px;
}

.logo-item a {
    display: block;
    transition: transform 0.5s ease;
}

.logo-item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    max-width: 220px;
}

.logo-item:hover {
    transform: scale(1.1);
    z-index: 15;
}

.logo-item:hover img {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

/* Logo info */
.logo-info {
    margin-top: 1.5rem; /* More space between logo and text */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    max-width: 160px; /* Limit text width */
    margin-left: auto;
    margin-right: auto;
}

.logo-item:hover .logo-info {
    opacity: 1;
    transform: translateY(0);
}

.logo-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.logo-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Position each logo with extreme spacing in a square pattern */
.top-left {
    left: 5%;
    top: 5%;
}

.top-right {
    right: 5%;
    top: 5%;
}

.bottom-right {
    right: 5%;
    bottom: 5%;
}

.bottom-left {
    left: 5%;
    bottom: 5%;
}

/* Tech description section with more elegant typography */
.tech-description {
    padding: 0 2rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-description p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-family: 'EB Garamond', serif; /* More elegant serif font */
    font-size: 1.25rem; /* Slightly larger for better readability */
    line-height: 1.8;
    opacity: 0.95; /* Increased opacity for better contrast */
    letter-spacing: 0.4px; /* Increased letter spacing for elegance */
    font-weight: 400; /* Regular weight */
}

/* Elegant section subtitle */
.section-subtitle {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 2.2rem !important; /* Larger size */
    font-weight: 400 !important; /* Lighter weight for elegance */
    letter-spacing: 1.2px !important;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem; /* More space below heading */
}

.section-subtitle::after {
    content: "";
    position: absolute;
    bottom: -15px; /* Moved lower */
    left: 50%; /* Centered decoration */
    transform: translateX(-50%); /* Center alignment */
    width: 60px; /* Wider line */
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Services link styling with improved typography */
.services-link {
    margin-top: 3rem !important; /* More space above */
    font-size: 1.1rem !important;
    font-style: italic;
    opacity: 0.85 !important;
    font-family: 'EB Garamond', serif !important; /* Match description font */
}

.services-link a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    font-weight: 500; /* Slightly bolder for emphasis */
}

.services-link a:hover {
    border-bottom-color: #fff;
    opacity: 1;
}

/* Properly centered coming soon text */
.coming-soon-text {
    font-family: 'EB Garamond', serif;
    font-size: 1rem; /* Slightly larger */
    font-style: italic;
    color: #fff;
    position: absolute;
    top: 50%; /* Center vertically */
    left: 0;
    right: 0;
    transform: translateY(-50%); /* Perfect vertical centering */
    text-align: center;
    z-index: 12;
    letter-spacing: 0.5px;
    pointer-events: none;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Media Queries with improved spacing for smaller screens */
@media (max-width: 1200px) {
    .logo-constellation {
        min-height: 700px;
        max-width: 1000px;
    }
    
    .logo-item {
        width: 200px;
    }
    
    .logo-item img {
        height: 160px;
        max-width: 200px;
    }
    
    .center-logo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 992px) {
    .logo-constellation {
        min-height: 600px;
        max-width: 900px;
    }
    
    .logo-item {
        width: 180px;
    }
    
    .logo-item img {
        height: 150px;
        max-width: 180px;
    }
    
    .center-logo {
        width: 160px;
        height: 160px;
    }
    
    .coming-soon-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .logo-constellation {
        min-height: 500px;
    }
    
    /* Position logos with proper spacing on tablets */
    .top-left {
        left: 5%;
        top: 10%;
    }
    
    .top-right {
        right: 5%;
        top: 10%;
    }
    
    .bottom-right {
        right: 5%;
        bottom: 15%;
    }
    
    .bottom-left {
        left: 5%;
        bottom: 15%;
    }
    
    .logo-item {
        width: 150px;
    }
    
    .logo-item img {
        height: 130px;
        max-width: 150px;
    }
    
    .center-logo {
        width: 140px;
        height: 140px;
    }
    
    .tech-description p {
        font-size: 1rem;
    }
    
    .coming-soon-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    /* On mobile, switch to vertical layout to avoid overlap */
    .logo-constellation {
        min-height: auto;
        padding: 30px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .logo-item {
        position: relative;
        margin: 30px 0;
        width: 120px;
    }
    
    .top-left, .top-right, .bottom-left, .bottom-right {
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }
    
    .center-logo {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
        margin: 30px 0;
        width: 100px;
        height: 100px;
        order: -1; /* Place at the top */
    }
    
    .center-logo:hover {
        transform: scale(1.05);
    }
    
    .om-text {
        font-size: 1.8rem;
        padding-bottom: 3px;
    }
    
    .logo-info {
        opacity: 1;
        transform: none;
        margin-top: 1rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem !important;
    }
    
    .coming-soon-text {
        position: relative;
        top: auto;
        margin-bottom: 10px;
    }
} 