/* home.css - Specific to the Main Landing Page */

/* --- Hero Section (Image) --- */
.hero-section {
    width: 100%;
    margin-bottom: 50px;
    margin-top: -60px;
    position: relative;
    z-index: 1; 
}

.hero-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Main Content Text --- */
.content-area {
    max-width: 100%;
    padding-bottom: 30px;
}

.highlight-intro {
    font-weight: 700;
    font-style: italic;
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 30px;
    display: block;
}

p {
    margin-bottom: 30px;
    font-size: 17px;
    color: #cccccc;
    font-weight: 300;
    line-height: 1.7;
}

/* --- Download Button (Home Page) --- */
.btn-container {
    margin-top: 0px;
    display: flex;
    justify-content: center;
}

.download-btn {
    background-color: #3b82f6; 
    color: white;
    padding: 15px 50px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #2563eb;
}

.download-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* home.css - Additions for Carousel Section */

.feature-section {
    margin-top: 100px; /* Spacing from the download button */
    width: 100%;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    /* Two equal columns */
    grid-template-columns: 1fr 1fr; 
    gap: 40px; /* Space between text and image */
    align-items: center; /* Vertically center the text */
}

/* --- Left Side: Text --- */
.feature-text h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Right Side: Carousel --- */
.carousel-container {
    position: relative;
    width: 100%;
    /* 
       This forces the container to keep the 1920x1032 ratio 
       regardless of screen width.
    */
    aspect-ratio: 1920 / 1032; 
    
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-color: #222; /* Placeholder background */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills box without stretching */
    
    /* Animation Logic */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* --- Carousel Arrows --- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s;
    border-radius: 4px;
}

.carousel-btn:hover {
    background-color: rgba(59, 130, 246, 0.8); /* Blue on hover */
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .feature-grid {
        /* Stack vertically on mobile */
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Optional: Put image on top of text on mobile? */
    .carousel-container {
        order: -1; 
    }
}