body {
    background-color: #0a0a0a;
    background: linear-gradient(135deg, #000000 0%, #1a0000 100%);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

h1, h2, h3 {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin: 40px 0;
    padding: 0;
}

.portfolio-item {
    background: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(26,0,0,0.6) 100%);
    border: 2px solid #ff0000;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 50px rgba(255, 0, 0, 0.8);
    border-color: #ff3333;
}

.portfolio-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-bottom: 2px solid #ff0000;
    position: relative;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-item h3 {
    margin: 0 0 15px 0;
    color: #ff0000;
    font-size: 1.8em;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.portfolio-item p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.05em;
    margin-bottom: 25px;
    flex: 1;
}

.portfolio-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

.advertisement {
    margin: 40px 0;
    padding: 20px;
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    border: 2px solid #ff0000;
    border-radius: 10px;
    text-align: center;
    color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.ad-section {
    margin: 40px 0;
    padding: 20px;
}