/* ================================
   Designer Homepage Stylesheet
   ================================
   
   Visual-first template for designers.
   Clean, elegant, with focus on portfolio showcase.
   
   HOW TO CUSTOMIZE:
   - Replace placeholder images with your work
   - Change accent colors
   - Adjust portfolio grid layout
   ================================ */

/* Color palette */
:root {
    --accent-color: #6366F1;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --bg-light: #fafafa;
    --white: #ffffff;
    --border-color: #e5e5e5;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.header {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

nav {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero section */
.hero-section {
    padding: 120px 30px;
    background: var(--bg-light);
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Section headings */
.section-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

/* Work section */
.work-section {
    padding: 100px 0;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.portfolio-item {
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Placeholder for project images */
.placeholder-img {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.portfolio-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.portfolio-role {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.portfolio-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags span {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* About section */
.about-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.services-list li {
    color: var(--text-secondary);
    font-size: 1rem;
    padding-left: 25px;
    position: relative;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tools-list span {
    background: var(--white);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid var(--border-color);
}

/* Contact section */
.contact-section {
    padding: 100px 0;
}

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

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-card a:hover {
    text-decoration: underline;
}

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

.footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

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

    nav {
        gap: 20px;
    }

    .hero-section {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .work-section {
        padding: 60px 0;
    }

    .about-section {
        padding: 60px 0;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 0.9rem;
    }
}

