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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    z-index: 1001;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 100%;
    flex: 1;
}

nav ul li {
    margin: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

nav ul li a:hover {
    color: #007bff;
}

main {
    padding-top: 60px;
}

/* Hero Section */
.hero {
    height: calc(100vh - 60px);
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #333;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #333;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

/* Sections */
section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.about-text {
    max-width: 600px;
    text-align: left;
}

.skills ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
}

.skills ul li {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Project Detail Page */
.project-detail {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.project-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.project-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-description {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-description h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-description h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #444;
}

.project-description p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

.project-description ul {
    list-style: none;
    padding-left: 0;
}

.project-description ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.project-description ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

.project-images {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-images h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.screenshot-grid img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-links {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.project-links h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.project-links .btn {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.project-links .btn:hover {
    background-color: #0056b3;
}

/* Privacy Policy Page */
.privacy-policy {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: left;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: left;
}

.policy-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: left;
}

.policy-overview {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.policy-section {
    margin-bottom: 2rem;
    text-align: left;
}

.policy-section h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-section ul {
    list-style: none;
    padding-left: 1.5rem;
    text-align: left;
}

.policy-section ul li {
    color: #666;
    margin: 0.5rem 0;
    position: relative;
    text-align: left;
}

.policy-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.policy-contact h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-contact p {
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.privacy-link {
    margin-top: 1.5rem;
}

.privacy-link a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.privacy-link a:hover {
    color: #007bff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-policy {
        margin: 60px auto;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .policy-content {
        padding: 1.5rem;
    }
}

/* Responsive Design for Project Page */
@media (min-width: 768px) {
    .project-info {
        grid-template-columns: 1fr 1fr;
    }

    .project-description {
        grid-column: span 2;
    }

    .project-images {
        grid-column: span 2;
    }

    .project-links {
        grid-column: span 2;
    }

    .screenshot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .project-detail {
        margin: 60px auto;
    }

    .project-detail h1 {
        font-size: 2rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-grid img {
        max-width: 100%;
    }
}

/* Responsive Design */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        padding: 0 15px;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 70px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        justify-content: flex-start;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 10px 0;
        height: auto;
        width: 100%;
        text-align: center;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    footer {
        padding: 20px 0;
    }

    footer .social-links a {
        font-size: 1.3rem;
        margin: 0 10px;
    }

    section {
        padding: 40px 0;
    }

    .hero {
        min-height: 400px;
    }
}

/* App Download Section */
.app-download {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

.app-download h2 {
    margin-bottom: 20px;
}

.app-download p {
    margin-bottom: 30px;
}

.app-download .btn {
    display: inline-block;
    background: none;
    padding: 0;
}

.app-download img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-download img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer .social-links {
    margin-bottom: 20px;
}

footer .social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #007bff;
}
