/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Black */
    color: #d3d3d3; /* Light Grey */
}

html{
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #000; /* Dark Black */
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.logo span {
    color: #d3d3d3;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80vh;
    padding: 20px;
}

.hero-text {
    max-width: 40%;
    color: #fff;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-carousel {
    position: relative;
    flex-grow: 1;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Card Grid */
.section {
    padding: 40px;
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: #d3d3d3;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}
/* Carousel Section */
.carousel-section {
    padding: 40px;
    text-align: center;
}

.carousel-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.carousel {
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    gap: 10px;
    width: 100%;
}

.carousel-item {
    min-width: 300px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.carousel-img{
    width: 300px;
    height: 400px;
}
.carousel-item:hover {
    transform: scale(1.05);
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}
