/* 
Main Stylesheet for Darron McCauley's Website
Contains Styling for all pages, home, about, projects & services
*/
body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.glow-text {
    text-shadow: 0 0 3px rgb(255, 255, 255);
}

/* Dynamic hover effects */
.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    padding: 5px 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
    border-bottom-color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Image animation and styling */
@keyframes slideAndFade {
    0% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 0.8;
    }
}

.profile-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    animation: slideAndFade 2s ease-out forwards;
    clip-path: circle(100% at 100% 0);
    border: none;
    position: relative;
    transition: all 0.3s ease-in-out;
    pointer-events: auto;
    /* Debug border - will remove once working */
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.profile-image:hover {
    transform: scale(1.2);
    /* Debug highlight - will remove once working */
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Remove the gradient overlays */
.profile-image::before,
.profile-image::after {
    display: none;
}

/* Add a subtle floating effect */
@keyframes float {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Adjust main content to account for image */
.main-content {
    width: 50%;
    padding-right: 50%;
}

/* Card effect for content */
.content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Social media links styling */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 20px;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.linkedin { background-color: #0077b5; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.email { background-color: #ea4335; }

/* NEW: Manufacturing Services Styling */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.service-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: #ffffff;
    transform: translateX(5px);
}

.service-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.service-item p {
    opacity: 0.85;
    font-size: 14px;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.25));
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.35));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.cta-button.primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.email-link {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.8;
}

.email-link:hover {
    opacity: 1;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Projects & Services Page Styling */
.featured-project-container {
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 30px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

/* Detailed Services Section */
.services-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 30px;
}

.detailed-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.service-detail-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.service-detail-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    margin-bottom: 8px;
    opacity: 0.9;
}

.specs-list strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Service Inquiry Section */
.inquiry-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inquiry-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: 25px;
    opacity: 0.8;
    font-size: 14px;
}

.contact-info p {
    margin: 5px 0;
}

/* Other Projects Section */
.other-projects-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 30px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.project-card h3 {
    margin-bottom: 10px;
}

/* Header container with flexbox to position elements */
.header-container {
    text-align: center;
    padding: 40px 30px;
    margin: 20px auto 50px;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.title-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Back to Home link styling */
.back-home-link {
    position: absolute;
    top: 20px;
    right: 20px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.back-home-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mega-title-container {
    position: relative;
    height: 30vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mega-title {
    font-size: 15vw;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5vw;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    width: 100%;
    text-align: center;
    margin: 0%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 100px rgba(255, 255, 255, 0.1);
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 30px;
    z-index: 10;
}

.nav-link_2 {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.nav-link_2:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Existing Featured Project Styles */
.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.featured-project-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.featured-project-description {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-project-link {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.featured-project-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        width: 100%;
        padding-right: 0;
    }
    
    .profile-image-container {
        position: relative;
        width: 100%;
        height: 40vh;
        margin-bottom: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .detailed-services {
        grid-template-columns: 1fr;
    }
    
    .inquiry-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-project {
        grid-template-columns: 1fr;
    }
}