/* Apple-inspired CSS for POS Champions Landing Page */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Apple-inspired color palette */
    --apple-blue: #0071e3;
    --apple-gray: #f5f5f7;
    --apple-dark: #1d1d1f;
    --apple-light: #fbfbfd;
    --apple-highlight: #86868b;
    --apple-border: #d2d2d7;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--apple-light);
    color: var(--apple-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--apple-border);
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--apple-dark);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--apple-blue);
}

/* Hero section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--apple-light), var(--apple-gray));
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #0071e3, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 24px;
    color: var(--apple-highlight);
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: var(--apple-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

.cta-button:hover {
    background-color: #0062c3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 113, 227, 0.3);
}

/* Projects section */
.projects {
    padding: 80px 0;
    background-color: var(--apple-light);
}

.projects h2, .about h2, .contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content .icon {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--apple-blue);
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 113, 227, 0.1);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.project-card:hover .icon {
    transform: scale(1.1);
    background-color: rgba(0, 113, 227, 0.2);
}

.card-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--apple-dark);
}

.card-content p {
    color: var(--apple-highlight);
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.project-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--apple-blue);
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #0062c3;
}

/* About section */
.about {
    padding: 80px 0;
    background-color: var(--apple-gray);
    text-align: center;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--apple-highlight);
    line-height: 1.6;
}

/* Contact section */
.contact {
    padding: 80px 0;
    text-align: center;
    background-color: var(--apple-light);
}

.contact p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: var(--apple-highlight);
}

.contact-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--apple-dark);
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--apple-border);
}

footer p {
    font-size: 14px;
    color: var(--apple-highlight);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .project-card, .about, .contact {
    animation: fadeIn 0.8s ease-out forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .projects h2, .about h2, .contact h2 {
        font-size: 28px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul li {
        margin: 0 10px;
    }
}