body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #000;
    color: #fff;
    text-align: center;
    overflow: hidden; /* Prevent page scrolling */
}

.hero {
    position: relative;
    background: 
        linear-gradient(45deg, rgba(0, 0, 51, 0.9), rgba(0, 0, 128, 0.8)),
        url('background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem; /* Adjusted for various screens */
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

main {
    padding: 40px 20px;
}

.carousel-container {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    margin: 0;
    overflow: hidden;
}

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

.carousel-slide {
    min-width: 100%;
    height: 100vh; /* Make each slide full height */
    box-sizing: border-box;
    padding: 40px 80px; /* Add more padding */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.slide-content {
    text-align: center;
    max-width: 1200px; /* Increased max-width for two-column layout */
    width: 100%;
}

.two-column {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.column-left {
    flex: 1;
    text-align: center;
}

.column-right {
    flex: 1.5; /* Give more space to text */
    text-align: left;
}

.project-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

#project-adzanbot .project-image {
    max-height: 85vh; /* Increased height for the tall screenshot */
}

#project-tvmasjid .project-image {
    max-height: 45vh; /* Further reduced height to ensure visibility */
}

#about {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    flex-direction: column;
}

#about .slide-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
}

.project-slide {
    background-color: #111;
}

.project-slide h2 {
    font-size: 3rem;
    margin-top: 0;
    color: #d4af37;
}

.project-slide p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.source-info {
    font-style: italic;
    color: #aaa;
    font-size: 1rem !important;
}

.features-list-compact {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    columns: 2;
    gap: 10px 40px;
}

.features-list-compact li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.project-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-block;
    background-color: #d4af37;
    color: #000;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.project-link:hover {
    background-color: #fff;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent; /* Remove background */
    border: none;
    color: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
    font-size: 4rem; /* Larger arrows */
    cursor: pointer;
    z-index: 10;
    padding: 0 20px;
    opacity: 0.2;
    text-shadow: 0 0 10px rgba(0,0,0,0.5); /* Add shadow for visibility */
    transition: color 0.3s ease, transform 0.3s ease;
}

.carousel-button:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1); /* Subtle hover effect */
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
}

footer {
    background-color: #111;
    color: #aaa;
    padding: 30px 20px;
    text-align: center;
}

.contact-info p {
    margin: 0 0 15px;
    font-size: 1.2rem;
}

.contact-links a {
    color: #d4af37;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #fff;
}


main {
    padding: 40px 20px;
}

.carousel-container {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    margin: 0;
    overflow: hidden;
}

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

.carousel-slide {
    min-width: 100%;
    height: 100vh; /* Make each slide full height */
    box-sizing: border-box;
    padding: 40px 80px; /* Add more padding */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.slide-content {
    text-align: center;
    max-width: 900px;
}

#about {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    flex-direction: column;
}

#about .slide-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
}

.project-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.project-slide .slide-content {
    position: relative;
    z-index: 2;
    flex-direction: column;
    text-align: center;
}

#hero {
    background-image: url('background.jpg');
}

#project-dakwah {
    background-image: url('kajian-sunnah.png');
}

#project-adzanbot {
    background-image: url('adzan-bot.png');
}

#project-tvmasjid {
    background-image: url('pesan.jpg');
}

.project-tvmasjid-thumbnail {
    background-image: url('adzann.jpg');
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: inline-block;
    text-align: left;
}

.features-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    color: #d4af37;
    position: absolute;
    left: 0;
}

.project-image {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.project-details {
    max-width: 50%;
}

.project-details h2 {
    font-size: 2.5rem;
    margin-top: 0;
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    background-color: #d4af37;
    color: #000;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #fff;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent; /* Remove background */
    border: none;
    color: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
    font-size: 4rem; /* Larger arrows */
    cursor: pointer;
    z-index: 10;
    padding: 0 20px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5); /* Add shadow for visibility */
    transition: color 0.3s ease, transform 0.3s ease;
}

.carousel-button:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1); /* Subtle hover effect */
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Remove old #about, #projects styles as they are now slides */
h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.project img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.project:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.project:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 10px;
}

.project-info p {
    margin: 0 0 15px;
}

.project-info a {
    display: inline-block;
    background-color: #d4af37; /* Gold color */
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.project-info a:hover {
    background-color: #fff;
}

footer {
    background-color: #111;
    color: #aaa;
    padding: 30px 20px;
    text-align: center;
}

.contact-info p {
    margin: 0 0 15px;
    font-size: 1.2rem;
}

.contact-links a {
    color: #d4af37;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #fff;
}
