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

/* Define the custom font */
@font-face {
  font-family: 'Coming Soon'; /* Name of the font */
  src: url('fonts/font.ttf') format('truetype'); /* Path to the font file */
  font-weight: normal;
  font-style: normal;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #000;
}

/* Scroll container to wrap images */
.scroll-container {
    display: flex;
    overflow-x: auto;
    width: 100%;
    height: 100vh;
    scroll-snap-type: x mandatory;  /* Enables smooth scroll snapping */
    scroll-behavior: smooth;  /* Smooth scrolling */
}

/* Container for each image */
.image-container {
    min-width: 100vw; /* Make each image take full screen width */
    height: 100vh; /* Make each image take full screen height */
    background-size: cover;
    background-position: center;
    scroll-snap-align: center;  /* Ensures images snap to the center */
    display: block;
    position: relative;
}

/* Each image background */
.image-1 {
    background-image: url('1.png');
}

.image-2 {
    background-image: url('2.png');
}

.image-3 {
    background-image: url('3.png');
}

.image-4 {
    background-image: url('4.png');
}

.image-5 {
    background-image: url('5.png');
}

.image-6 {
    background-image: url('6.png');
}

/* Text overlay */
.text-overlay {
    position: absolute;
    bottom: 60px;
    left: 60px;
    font-family: 'Coming Soon', sans-serif; /* Use the custom font */
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6); /* Black-transparent background */
    padding: 10px;
    max-width: 35%; /* Limit the width of the text */
    line-height: 1.4;
    box-sizing: border-box;
    border-radius: 8px;
}

/* Buttons for navigation */
.buttons {
    position: absolute;
    top: 35%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

/* Right button using right.png image */
#next-btn {
    background-image: url('right.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;  /* Make the button 3 times bigger */
    height: 150px; /* Make the button 3 times bigger */
    cursor: pointer;
    border: none;
    position: absolute;
    right: 20px;  /* Position it with padding from the right edge */
    background-color: transparent; /* Ensure no white background */
    transition: transform 0.3s ease; /* Smooth scale transition */
}

/* Hover effect to increase size */
#next-btn:hover {
    transform: scale(1.2); /* Increase size slightly on hover */
}

/* Left button using left.png image */
#prev-btn {
    background-image: url('left.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;  /* Make the button 3 times bigger */
    height: 150px; /* Make the button 3 times bigger */
    cursor: pointer;
    border: none;
    position: absolute;
    left: 20px;  /* Position it with padding from the left edge */
    background-color: transparent; /* Ensure no white background */
    transition: transform 0.3s ease; /* Smooth scale transition */
}

/* Hover effect to increase size */
#prev-btn:hover {
    transform: scale(1.2); /* Increase size slightly on hover */
}

/* Top right corner links */
.top-right-links {
    position: absolute;
    top: 10px;
    right: 50px;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.link {
    display: inline-block;
}

.link-img {
    width: 120px;  /* 3 times bigger than before */
    height: 120px; /* 3 times bigger than before */
    transition: transform 0.3s ease;
}

.link-img:hover {
    transform: scale(1.2); /* Increase the size on hover */
}

/* Mobile Optimization */
@media only screen and (max-width: 768px) {
    /* Adjust image container to fit mobile screens */
    .image-container {
        min-width: 100%; /* Ensure images take the full width of the screen */
        height: auto; /* Let the height scale automatically */
    }

    /* Adjust the font size for smaller screens */
    .text-overlay {
        font-size: 16px;  /* Decrease font size for better readability */
        max-width: 80%; /* Increase the text width */
        bottom: 20px; /* Reduce bottom margin */
        left: 20px; /* Reduce left margin */
        padding: 8px; /* Reduce padding */
    }

    /* Adjust buttons for mobile screens */
    #next-btn, #prev-btn {
        width: 100px;  /* Make buttons smaller */
        height: 100px; /* Make buttons smaller */
    }

    .top-right-links {
        right: 20px; /* Adjust the right positioning */
        top: 10px; /* Keep the top positioning for the links */
    }

    .link-img {
        width: 80px;  /* Make the images smaller */
        height: 80px; /* Make the images smaller */
    }
}

@media only screen and (max-width: 480px) {
    /* Further adjustments for very small screens */
    .text-overlay {
        font-size: 14px;  /* Further decrease font size */
        max-width: 90%; /* Max width for the text */
        left: 10px; /* Further reduce the left margin */
        padding: 6px; /* Reduce padding */
    }

    #next-btn, #prev-btn {
        width: 80px;  /* Make buttons even smaller */
        height: 80px; /* Make buttons even smaller */
    }

    .link-img {
        width: 60px;  /* Make the images even smaller */
        height: 60px; /* Make the images even smaller */
    }
}
