:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --accent-hover: #0ea5e9;
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: url('images/bg.webp');
    background-repeat: no-repeat;
    background-position: top right;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Hero */
.hero {
    text-align: center;
    padding: 80px 0 40px;
    animation: fadeIn Down 1s ease-out;
}

.profile-image-container {
    margin-bottom: 20px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
    transition: transform var(--transition-speed);
}

.profile-image:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-info-header {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.separator {
    margin: 0 10px;
    color: var(--text-secondary);
}

.contact-link:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 28px;
    height: 28px;
    color: var(--text-secondary);
    transition: all var(--transition-speed) ease;
}

.social-links a:hover .social-icon {
    color: var(--accent-color);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.5));
}

/* Sections */
.section {
    padding: 60px 0;
}

.intro-text {
    font-size: 1.2rem;
    text-align: left;
    max-width: 680px;
    margin: 0 auto 20px;
    color: var(--text-primary);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.13);
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

/* Footer & Contact */
address {
    font-style: normal;
}

.contact-footer {
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0), rgba(2, 6, 23, 1));
    text-align: center;
    padding: 60px 0;
    margin-top: 40px;
}

.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--accent-color);
    font-weight: 600;
}

.map-container {
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .separator {
        display: none;
    }

    .contact-info-header {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}