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

body {
    font-family: 'Inter', sans-serif;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.boxed {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.aligncenter {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.header-logo img {
    width: 90px;
    height: auto;
}

.header-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.header-menu li a {
    text-decoration: none;
    color: #000;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.header-menu li a:hover {
    background-color: #000;
    color: #fff;
}

.header-menu-mobile {
    display: none;
}

/* Hero Section */
.slider {
    width: 100%;
    min-height: 80vh;
    background: #000;
    position: relative;
    margin-top: 70px;
}

.slider-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(30%);
    position: absolute;
    top: 0;
    left: 0;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.slider-content h1 {
    color: #fff;
    font-size: 5rem;
    margin-bottom: 10px;
}

.slider-content p {
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
}

/* Section styles */
.section {
    padding: 80px 0;
}

.section.dark {
    background: #000;
    color: #fff;
}

.section h2 {
    font-size: 2.75rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Improved Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.dark .info-card {
    background: #1a1a1a;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.dark .card-title {
    color: #fff;
}

.card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.dark .card-description {
    color: #ccc;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.dark .card-link {
    color: #fff;
}

.card-link:hover {
    gap: 10px;
}

.color-band {
    height: 5px;
    background: linear-gradient(to right, #000, #666);
    width: 100%;
}

/* About section */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* CV Section */
.cv-section {
    text-align: center;
}

.download-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #000;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.download-button:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* Projects section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f9f9f9;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #000;
}

.project-info a {
    text-decoration: none;
    color: inherit;
}

/* Contact section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    border: 2px dashed #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-style: solid;
    background: rgba(255,255,255,0.05);
}

.contact-item .material-symbols-outlined {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.contact-item .label {
    font-weight: 700;
    text-transform: uppercase;
    margin: 10px 0;
    font-size: 1.2rem;
}

.contact-item .value {
    font-size: 1rem;
    color: #ccc;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
}

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

/* Responsive */
@media(max-width: 810px) {
    .header-menu {
        display: none;
    }

    .header-menu-mobile {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
    }

    .slider-content h1 {
        font-size: 2.5rem;
    }

    .slider-content p {
        font-size: 1.3rem;
    }

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

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

    .about-content {
        flex-direction: column;
    }

    .about-text h2 {
        text-align: center;
    }
}