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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section with Parallax Background */
.hero-section {
    height: 100vh;
    background-color: #2c3e50; /* Fallback color */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll; /* Default to scroll for compatibility */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align the content */
    text-align: left; /* Left align text */
    position: relative;
    color: white;
    padding: 0 60px; /* Add horizontal padding */
}

/* Enable fixed background for desktop browsers that support it */
@media (min-width: 769px) {
    @supports (background-attachment: fixed) {
        .hero-section {
            background-attachment: fixed;
        }
    }
}

/* Dark overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%; /* Full width for hero content */
    height: 100%;
    padding: 0;
}

.hero-logo {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0; /* Remove bottom margin */
}

.hero-tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 0; /* Remove bottom margin */
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 90px;
    right: 60px; /* Position on the right side */
    transform: none; /* Remove center transform */
}

.scroll-indicator:hover {
    border-color: white;
    color: white;
    transform: translateY(-5px);
}

.scroll-arrow {
    font-size: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Main Content */
.main-content {
    background: #fff;
    position: relative;
    z-index: 10;
}

.content-section {
    padding: 80px 0 60px;
    background: #fff;
}

.intro-text {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 160px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Project Card */
.project-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 160px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-image {
    flex-shrink: 0;
}

.project-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.project-content {
    flex: 1;
}

.project-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
}

.project-title a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s ease;
}

.project-title a:hover {
    text-decoration-color: rgba(0, 0, 0, 0.8);
}

.project-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.play-store-link {
    display: none; /* Hide for cleaner look to match screenshot */
}

/* Contact Section */
.contact-section {
    background: #fff;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
}

.contact-info > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.contact-details {
    line-height: 1.8;
}

.company-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.email {
    margin-bottom: 8px;
}

.email a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.email a:hover {
    text-decoration: underline;
}

.address {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #fff;
    padding: 40px 0 30px;
    text-align: center;
    margin-top: 60px;
}

.copyright {
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        /* Disable fixed background on mobile for better performance */
        background-attachment: scroll;
        padding: 0 30px; /* Reduce padding on mobile */
    }
    
    .scroll-indicator {
        right: 30px; /* Adjust right position for mobile */
    }
    
    .hero-logo {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .project-card {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .intro-text {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0 20px; /* Further reduce padding on small mobile */
    }
    
    .scroll-indicator {
        right: 20px; /* Adjust right position for small mobile */
        bottom: 20px; /* Adjust bottom position */
    }
    
    .hero-logo {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .project-image img {
        width: 100px;
        height: 100px;
    }
    
    .project-title {
        font-size: 20px;
    }
    
    .hero-content {
        padding: 0;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-arrow {
        animation: none;
    }
    
    .scroll-indicator {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}
