@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #0a0a0a;
    --second-bg-color: #121212;
    --accent-color: #1e1e1e;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --main-color: #ff1a1a;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.4;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.websites-section {
    margin-top: 4rem;
    width: 100%;
    padding-bottom: 2rem;
}

.websites-heading {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.websites-highlight {
    color: var(--main-color);
    font-size: 4rem;
    font-weight: 700;
}

.websites-underline {
    width: 25%;
    height: 2px;
    background-color: var(--main-color);
    margin: 0.5rem 0 2rem;
}

.website-item {
    background-color: var(--second-bg-color);
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease forwards;
    padding-bottom: 1rem;
}

.website-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.website-number {
    background-color: var(--main-color);
    color: var(--text-color);
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.website-url {
    font-size: 1.7em;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
}

.website-url:hover {
    color: var(--main-color);
}

.website-description {
    padding: 0.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 95%;
    margin: 0 auto;
}

/* Carousel */
.website-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 1rem;
    border-top: 1px solid var(--accent-color);
    min-height: 200px;
}

.carousel-track {
    display: flex;
    animation: slide 10s infinite ease-in-out;
    transition: transform 0.5s ease;
}

.carousel-image {
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    padding: 0 0.5rem;
}

.image-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    justify-content: center;
  }
  
  .image-pair img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    animation: fadeInUp 0.8s ease forwards;
  }
  .image-pair img:nth-child(2) {
    animation-delay: 0.3s;
  }

  .image-pair img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 26, 26, 0.2);
  }
  

@keyframes slide {
    0%, 33% { transform: translateX(0%); }
    38%, 71% { transform: translateX(-100%); }
    76%, 100% { transform: translateX(-200%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .websites-heading {
        font-size: 1.7rem;
    }

    .websites-highlight {
        font-size: 2rem;
    }

    .carousel-image {
        height: 150px;
        padding: 0 0.5rem;
    }
    .website-url {
        font-size: 1rem;
    }

    .website-description {
        font-size: 0.9rem;
    }
}
