@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Rubik", serif;
    background-color: #f4f4f4;
    margin-top: 110px;
}


.hero-section {
    background-size: cover;
    background-position: top;
    height: 55%; /* Adjusted for better responsiveness */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 20px;
}

/* Adding the black transparent overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 55%;
    background: rgba(0, 0, 0, 0.5); /* Adjust transparency */
    z-index: 1;
}

/* Ensuring text appears above the overlay */
.hero-section h1 {
    position: relative;
    z-index: 2;
}

.details {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    padding-top: 20px;
    padding-bottom: 30px;
}

.container {
    display: flex;
    justify-content: center; /* Centers the row in the page */
    width: 100%;
}

.container p {
    font-size: 16px;
    text-align: justify;
}

.row-image {
    display: flex;
    align-items: center;
    width: 90%; /* Restricts the row width */
    gap: 30px; /* Adds spacing between items */
}

.image1,
.image2 {
    flex: 1; /* Equal width for each section */
    text-align: center;
    max-width: 100%; /* Restricts each section to take around 30% of 80% */
}

.image1 img,
.image2 img {
    width: 100%; /* Makes images responsive */
    height: 350px;
	object-fit: cover;
}

.image1 h4,
.image2 h4 {
    font-size: 15px;
    margin-top: 15px;
    color: #333;
    width: 80%;
    padding-left: 10%;
    padding-right: 10%;
}

.image1 p
.image2 p {
    font-size: 16px;
    color: #666;
}


/* Text overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: 0.3s ease;
}

/* Hover effect */
.card:hover {
    transform: scale(1.05);
}


.pashmina-section {
    text-align: center;
    padding: 50px 0;
}

.pashmina-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.pashmina-section .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fake Play Button */
.play-icon {
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgb(152 152 152 / 60%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 5px solid #b1b1b1; /* Added white border */
}


.play-icon::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}


.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 75%; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents any unwanted overflow */
}

video {
    width: 100%;
    height: 100%; /* Ensures it always fills the container */
    object-fit: cover; /* Crops and fills while maintaining aspect ratio */
    cursor: pointer;
}

/* Hide Play Button When Video Plays */
.video-container.playing .play-icon {
    display: none;
}


@media (max-width: 768px) {
	
    .row-image {
        flex-direction: column; /* Stack items on smaller screens */
        align-items: center;
    }
    .image1 {
        max-width: 100%;
    }

        .details {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        color: #000;
        padding-top: 30px;
        padding-bottom: 30px;
        padding: 10px;
        text-align: justify;
        padding: 5%;
    }

    .container {
        margin-top: 15px;
    }

    .image1 h4 {
        margin-top: 26px;
        margin-bottom: 10px;
    }

    .pashmina-section{
        padding: 0%;
        padding-bottom: 5%;
    }

    .pashmina-section .subtitle {
        font-size: 12px;
        color: #666;
        margin-bottom: 20px;
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .image2 img {
        display: none;
    }

    .video-container {
        height: 60%;
    }

}