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

:root {
    --primary-color: #ff1744;
    --secondary-color: #d81b60;
    --text-color: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --accent-gradient: linear-gradient(135deg, #ff1744, #d81b60);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-k {
    color: var(--primary-color);
    font-size: 38px;
    font-weight: 900;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: -2px;
    text-shadow: 0 0 30px rgba(255, 23, 68, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.3));
}

.logo-dot {
    color: var(--primary-color);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.highlight {
    color: var(--primary-color);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 30px 0;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.2), rgba(216, 27, 96, 0.2));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 23, 68, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

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

.about-text {
    text-align: center;
    margin-bottom: 50px;
}

.about-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline;
    padding-bottom: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scaleX(1.02) translateY(1px);
    box-shadow: 
        0 1px 0 var(--primary-color),
        2px 0 0 var(--primary-color),
        -1px 0 0 var(--primary-color);
    animation: hand-drawn 0.3s ease-in-out;
}

@keyframes hand-drawn {
    0% { transform: scaleX(0) translateY(1px); }
    100% { transform: scaleX(1.02) translateY(1px); }
}

.mission-statement {
    font-size: 20px !important;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 23, 68, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.skill-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.2);
}

.skill-item h3 {
    font-size: 48px;
    margin-bottom: 10px;
}

.skill-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-card);
    padding: 0;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.2);
}

.service-card h3 {
    font-size: 24px;
    margin: 20px 0 15px;
    color: var(--text-color);
    padding: 0 30px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    padding: 0 30px 30px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.social-media-app,
.web-dev {
    background: linear-gradient(135deg, #ff1744 0%, #d81b60 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecommerce-app,
.football-scout {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.finance-app,
.creative-work {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.portfolio-overlay p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1);
}

.portfolio-card h3 {
    padding: 20px;
    font-size: 20px;
}

.portfolio-card p {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.contact-item .icon {
    font-size: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.contact-item .icon svg {
    stroke: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid #22c55e;
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    color: #ef4444;
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    font-family: inherit;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-links a svg {
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.social-links a:hover svg {
    fill: white;
    stroke: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .image-placeholder {
        width: 300px;
        height: 400px;
    }

    .services-grid,
    .portfolio-grid,
    .skills {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo {
        font-size: 24px;
    }
}
/* Portfolio Card Link Styles */
.portfolio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-card-link .portfolio-card {
    cursor: pointer;
}

.portfolio-card-link:hover .portfolio-card {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.3);
}