
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Monomakh&family=Shafarik&display=swap');


body {
    font-family: Merriweather;
    margin: 0;
    background-color: #010101;
    color: #eee;
}


header {
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

header .logo {
    font-weight: bolder;
    font-size: 24px;
}

header .menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}

header .menu li {
    display: inline;
}

header .menu li a {
    color: #eee;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

header .menu li a:hover {
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
}

 /* User profile dropdown */
 header .user-profile {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4a6cf7;
    display: flex;
    align-items: right;
    padding: 4;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 55px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    z-index: 10;
}

.dropdown-menu.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-info {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.user-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.user-email {
    font-size: 14px;
    color: #777;
}

.dropdown-menu ul {
    list-style: none;
}

.dropdown-menu ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-menu ul li a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu ul li a i {
    margin-right: 15px;
    font-size: 16px;
    min-width: 20px;
    color: #777;
}

/* Main content area */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}




/* Slider */
.slider {
    height: 100vh;
    margin-top: -50px;
    position: relative;
    cursor: pointer;
}

.slider .list .item {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s;
}

.slider .list .item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: 50% 30%;
}

.slider .list .item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to top, #000 10%, transparent);
}

.slider .list .item .content {
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}

.slider .list .item .content p:nth-child(1) {
    text-transform: uppercase;
    letter-spacing: 10px;
}

.slider .list .item .content h2 {
    font-size: 50px;
    margin: 0;
}

.slider .list .item.active {
    opacity: 1;
    z-index: 10;
}

@keyframes showContents {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slider .list .item .content .active p:nth-child(1),
.slider .list .item .content .active h2,
.slider .list .item .content .active p:nth-child(3) {
    transform: translateY(30px);
    filter: blur(20px);
    animation: showContents 0.5s .7s ease-in-out; /* Fixed this line */
}

.slider .list .item .content .active h2 {
    animation-delay: 1s;
}

.slider .list .item .content .active p:nth-child(3) {
    animation-duration: 1.3s;
}

.arrows {
    position: absolute;
    top: 70%;
    right: 50px;
    z-index: 100;
    cursor: pointer;
}

.arrows button {
    background-color: rgba(238, 229, 229, 0.5);
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover {
    background-color: #eee;
    color: black;
}

.thumbnail {
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}

.thumbnail::-webkit-scrollbar {
    width: 0;
}

.thumbnail .item {
    width: 150px;
    height: 220px;
    filter: brightness(0.5);
    transition: .5s;
    flex-shrink: 0;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.thumbnail .item.active {
    filter: brightness(1.5); /* Fixed the syntax */
}

.thumbnail .item.content {
    position: absolute;
    inset: auto 10px 10px 10px;
}
@media screen and (max-width: 67){
    .thumbnail{
        justify-content: start;
    }
    .slider .list .item.content h2{
        font-size: 60px;
    }
    .arrows{
        top: 10%;
    }
}

.image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border-radius: 8px;
}

.image-container {
    flex: 1;
    margin-right: 20px; /* Space between image and text */
}

.image-container img {
    width: 100%;
    height: 80vh; /* Keeps the aspect ratio */
    border-radius: 8px; /* Optional: adds rounded corners to the image */
    background-image: linear-gradient(to right , #000 10%, transparent);
}

.text-content {
    flex: 1;
}

.text-content h2 {
    margin: 0 0 10px;
    color: #eee;
    font-style: italic;
    font-size: 50px;
}

.text-content p {
    color: #fff;
}

.nav-button {
    background-color: #167ad8; /* Button color */
    color: white; /* Text color */
    border: none; /* No border */
    padding: 10px 20px; /* Top/bottom and left/right padding */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth background color change */
    margin-top: 15px; /* Space above the button */
    text-decoration: none;
}

.nav-button:hover {
    background-color: #4c51bf; /* Darker color on hover */
}


.contact-section {
    background-image: url(assets/Couple2.jpg); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for better text visibility */
}

.contact-content {
    position: relative; /* Position relative for overlay effect */
    z-index: 1; /* Ensure content is above overlay */
}

.btn {
    padding: 15px 30px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    background-color: #218838;
}