/* Apple-inspired CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f5f5f7;
    background-color: #000000;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    font-size: 24px;
    font-weight: 600;
    color: #f5f5f7;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: #f5f5f7;
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0071e3;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0071e3;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-image {
    max-width: clamp(200px, 30vw, 400px);
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    animation-play-state: paused;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.cta-button {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.cta-button.primary {
    background-color: #0071e3;
    color: white;
    border-color: #0071e3;
}

.cta-button.primary:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: #0071e3;
    border-color: #0071e3;
}

.cta-button.secondary:hover {
    background-color: #0071e3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.2);
}

/* Features Section */
.features {
    padding: 120px 0;
    background-color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: #f5f5f7;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f5f5f7;
}

.feature-description {
    color: #a1a1a6;
    font-size: 17px;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background-color: #000000;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-description {
    text-align: center;
    font-size: 20px;
    color: #a1a1a6;
    margin-bottom: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.contact-item p {
    font-size: 17px;
    color: #a1a1a6;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #a1a1a6;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Projects Page Styles */
.projects-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    text-align: center;
}

.projects-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.projects-title {
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.projects-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #a1a1a6;
    font-weight: 400;
}

.projects-content {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.coming-soon {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.coming-soon-icon {
    font-size: 64px;
    margin-bottom: 30px;
}

.coming-soon-title {
    font-size: 32px;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 20px;
}

.coming-soon-description {
    font-size: 18px;
    color: #a1a1a6;
    line-height: 1.6;
    margin-bottom: 40px;
}

.coming-soon-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #f5f5f7;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background-color: #0071e3;
    border-radius: 50%;
}

.nav-link.active {
    color: #0071e3;
}

.nav-link.active::after {
    width: 100%;
}

/* Project Showcase Styles */
.projects-grid {
    display: grid;
    gap: 60px;
    margin-top: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.project-image {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-screenshot:hover {
    transform: scale(1.02);
}

.project-info {
    color: #f5f5f7;
}

.project-title {
    font-size: 32px;
    font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.project-description {
    font-size: 18px;
    color: #a1a1a6;
    line-height: 1.6;
    margin-bottom: 30px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.feature-tag {
    background: rgba(0, 113, 227, 0.2);
    color: #0071e3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 113, 227, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(0, 113, 227, 0.3);
    transform: translateY(-2px);
}

.project-details h4 {
    font-size: 20px;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 15px;
}

.project-details ul {
    list-style: none;
    padding: 0;
}

.project-details li {
    color: #a1a1a6;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.project-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: bold;
}

/* Upcoming Projects Button */
.upcoming-projects-section {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.upcoming-projects-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: rgba(0, 113, 227, 0.1);
    border: 2px solid rgba(0, 113, 227, 0.3);
    border-radius: 16px;
    color: #0071e3;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.upcoming-projects-button:hover {
    background: rgba(0, 113, 227, 0.2);
    border-color: #0071e3;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.3);
}

.upcoming-projects-button .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.upcoming-projects-button:hover .arrow {
    transform: translateX(5px);
}

/* Project Placeholder */
.project-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 80px 40px;
    text-align: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 24px;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 10px;
}

.placeholder-subtitle {
    font-size: 16px;
    color: #a1a1a6;
    font-style: italic;
}

/* Project Status */
.project-status {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin-bottom: 10px;
}

.status-text {
    color: #a1a1a6;
    font-size: 14px;
    margin: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-logo {
    animation-delay: 0.1s;
}

.hero-cta {
    animation-delay: 0.2s;
}
