/* ===========================
   CSS Variables
   =========================== */
:root {
    --bg-dark: #1a1a1a;
    --bg-card: #222222;
    --accent-cyan: #06b6d4;
    --accent-cyan-hover: #0891b2;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-darker: rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
}

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

/* ===========================
   Typography
   =========================== */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: var(--bg-dark);
}

.hero-name {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-subhead {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* ===========================
   Services Section
   =========================== */
.services {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 5px 20px var(--shadow-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-darker);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-top: auto;
}

/* ===========================
   Work Section
   =========================== */
.work {
    background-color: var(--bg-dark);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 5px 20px var(--shadow-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-darker);
}

.work-image {
    width: 100%;
    height: 200px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.work-card h3 {
    font-size: 1.3rem;
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--accent-cyan);
}

.work-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 1.5rem 1.5rem;
}

/* ===========================
   About Section
   =========================== */
.about {
    background-color: var(--bg-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-highlight {
    background: linear-gradient(135deg, var(--accent-cyan), #0891b2);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.about-highlight p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--bg-dark);
    font-weight: 500;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background-color: var(--bg-dark);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.x-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 15px 30px;
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}

.x-button:hover {
    background-color: var(--accent-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.x-icon {
    width: 24px;
    height: 24px;
    fill: var(--bg-dark);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--bg-dark);
    padding: 40px 20px;
    text-align: center;
}

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

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

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

    .hero-name {
        font-size: 1.5rem;
    }

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

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

    section {
        padding: 60px 20px;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-highlight {
        padding: 2rem;
    }

    .about-highlight p {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 15px;
    }

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

    .hero-subhead {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .contact-info {
        padding: 2rem 1.5rem;
    }

    .about-highlight {
        padding: 1.5rem;
    }

    .x-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    p {
        font-size: 1rem;
    }
}
