/* RESET & GLOBAL STYLES */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
}

html,
body {
	width: 100%;
	overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Body background color */
body {
	background-color: #ffffff;
}

html {
	scroll-behavior: smooth;
}
/* Preloader styles */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 1;
	transition: opacity 0.5s ease;
}

#main-content {
	display: none;
}

.preloader-logo {
	width: 20%;
	max-width: 200px;
	border-radius: 10%;
}

/* ---------------------------------------------------- */
/* NAVIGATION SECTION - CLEAN VERSION */
/* ---------------------------------------------------- */

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.98);
	padding: 6px 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.navbar {
	width: 85%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;

	position: relative;
}

.logo {
	width: 55px;
	cursor: pointer;
	border-radius: 7px;
	align-items: center;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
}

/* Desktop Navigation */
.notsidebar {
	display: flex;
	align-items: center;
	gap: 15px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.notsidebar li {
	position: relative;
}

.notsidebar li a {
	text-decoration: none;
	
	color: #333;
	font-weight: 600;
	font-size: 15px;
	padding: 12px 15px;
	border-radius: 8px;
	transition: all 0.3s ease;
	display: inline-block;
	text-transform: uppercase;
}

.notsidebar li:not(.dropdown):hover a {
	background: rgba(0, 0, 0, 0.03);
}

.notsidebar li a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 8px;
	left: 15px;
	background-color: #333;
	transition: width 0.3s ease;
}

.notsidebar li a:hover::after {
	width: calc(100% - 30px);
}

/* Dropdown Styles */
.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #fff;
	min-width: 200px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 8px 0;
	z-index: 10;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
}

.dropdown:hover .dropdown-content {
	display: block;
}

/* Keep underline for main nav items */
.notsidebar>li:not(.dropdown)>a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 8px;
	left: 15px;
	background-color: #333;
	transition: width 0.3s ease;
}

.notsidebar>li:not(.dropdown)>a:hover::after {
	width: calc(100% - 30px);
}

.dropdown-content a {
	padding: 10px 20px;
	color: #555;
	display: block;
	transition: all 0.2s ease;
	text-transform: uppercase;
	font-size: 15px;
	margin: 0 auto;
}

.dropdown-content a::after {
	display: none !important;
	/* This removes the underline */
}


.dropdown-content a:hover {
	background: rgba(0, 0, 0, 0.03);
}

/* Menu Button */
.menu-button {
	display: none;
	cursor: pointer;
	padding: 10px;
	margin-left: 10px;
}

.menu-button svg {
	display: block;
	transition: transform 0.3s ease;
}

.menu-button:hover svg {
	transform: scale(1.1);
}

/* Mobile Sidebar */
.sidebar {
	position: fixed;
	top: 0;
	right: -300px;
	height: 100vh;
	width: 280px;
	z-index: 9999;
	background-color: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	padding: 25px;
	transition: right 0.4s ease;
	list-style: none;
	margin: 0;
}

.sidebar.open {
	right: 0;
}

.sidebar li {
	margin: 8px 0;
}

.sidebar li a {
	padding: 5px 5px;
	border-radius: 8px;
	display: flex;
	transition: all 0.3s ease;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 16px;
}

.sidebar li a:hover {
	background: rgba(0, 0, 0, 0.05);
}

.close-btns {
	align-self: flex-end;
	margin-bottom: 20px !important;
	cursor: pointer;
	padding: 8px;
}

/* Mobile Dropdown */
.dropdown-content-mobile {
	max-height: 0;
	overflow: hidden;
	padding-left: 15px;
	transition: max-height 0.4s ease;
	list-style: none;
	margin: 0;
	
}

.mobile-dropdown.active .dropdown-content-mobile {
	max-height: 300px;
}

.dropdown-content-mobile li {
	margin: 8px 0;
}

.dropdown-content-mobile a {
	padding: 8px 15px;
	font-size: 15px;
	color: #555;
}

/* Responsive Rules */
@media screen and (max-width: 899px) {
	.hideOnMobile {
		display: none !important;
	}

	.menu-button {
		display: block !important;
	}
}

@media screen and (min-width: 900px) {
	.sidebar {
		display: none !important;
	}
}

/* ---------------------------------------------------- */
/* Banner Styling */

.banner {
	width: 100%;
	height: 30vh;
	display: flex;
	justify-content: center;
	align-items: center;

	background-image: linear-gradient(rgba(60, 71, 72, 0.411), rgb(8, 7, 7)),
		url("./img/riviera3.webp");
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	transition: background-image 8s ease-in-out; /* Smoother and slower transition */
	margin-bottom: 20px; /* Adjust the value as needed */
}

.banner-slides {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
	overflow: hidden;
}

.banner-slides img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	opacity: 0;
	transition: opacity 3s ease-in-out;
}

.banner-slides img.active {
	opacity: 1;
}

.content {
	text-align: center;
	color: #fff;
	padding: 20px;
}

.content h1 {
	font-size: 59px; /* Original font size */
	margin-top: 80px;
	animation: fadeInDown 1s ease; /* Animation */
	font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.button-group {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	animation: fadeInUp 1.4s ease; /* Animation */
}

button {
	width: 200px; /* Original width */
	padding: 15px; /* Original padding */
	text-align: center;
	border-radius: 25px; /* Original border radius */
	font-weight: bold;
	border: 2px solid #63698b; /* Original border color */
	background: transparent; /* Original background */
	color: #fff; /* Original text color */
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, background-color 0.3s ease;
	margin: 7px 15px; /* Add horizontal spacing for big screens */
}

span {
	background: #4a5b5878; /* Original hover background */
	height: 100%;
	width: 0;
	border-radius: 25px;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
	transition: width 0.5s ease;
}

button:hover span {
	width: 100%;
}

button:hover {
	border: none;
	transform: scale(1.05);
	background-color: #4a5b5878;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.content h1 {
		font-size: 3rem;
	}

	.content p {
		font-size: 1rem;
	}

	button {
		width: 180px;
		padding: 12px 0;
	}

	.button-group {
		flex-direction: column; /* Stack buttons vertically */
		gap: 20px; /* Vertical gap between buttons */
	}
}

@media (max-width: 480px) {
	.content h1 {
		font-size: 2rem;
	}

	.content p {
		font-size: 0.9rem;
	}

	button {
		width: 150px;
		padding: 10px 0;
	}

	.button-group {
		flex-direction: column;
		align-items: center;
		gap: 25px; /* More vertical space between buttons */
	}
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* banner end */

/*--------------------------------------------------*/

/*contact form*/

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideInLeft {
	from {
		transform: translateX(-100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/*aana lidhe phone screen na nav ma problem aave che inquire and contact naj nav ma only . logo pela set nai thato pachad thi thao che nav no logo. other wise ok j che.*/
@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes glow {
	from {
		box-shadow: 0 0 8px rgba(142, 68, 173, 0.5);
	}
	to {
		box-shadow: 0 0 16px rgba(142, 68, 173, 0.7);
	}
}

/* Main Wrapper */
.communication-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 1200px;
	padding: 20px;
	margin: auto;
	animation: fadeIn 1.5s ease-in-out;
}

.animation-slide-left {
	animation: slideInLeft 1s ease-in-out;
}

.animation-slide-right {
	animation: slideInRight 1s ease-in-out;
}

/* Query Block */
.query-block {
	flex: 1;
	max-width: 48%;
	margin: 10px;
	justify-content: center;
}

.query-block h2 {
	font-size: 32px;
	margin-bottom: 15px;
	color: #34495e;
	text-align: center;
}

.form-communication input,
.form-communication textarea {
	width: 95%;
	padding: 10px;
	margin: 8px 0;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 14px;
	background: #f8f9fa;
	transition: all 0.3s ease;
}

.form-communication input:focus,
.form-communication textarea:focus {
	border-color: #3498db;
	animation: glow 0.5s infinite alternate;
	outline: none;
}

.form-communication textarea {
	resize: none;
}

.form-communication button {
	padding: 12px 20px;
	font-size: 14px;
	background: linear-gradient(135deg, #3498db, #8e44ad);
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.form-communication button:before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.3);
	transition: left 0.5s ease;
}

.form-communication button:hover {
	background: linear-gradient(135deg, #8e44ad, #3498db);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-communication button:hover:before {
	left: 0;
}

/* Details and Map Section */
.details-map-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 48%;
	justify-content: center;
}

.contact-details,
.map-container {
	background: #ecf0f1;
	border-radius: 12px;
	padding: 15px;
	box-shadow: 0 4px 8px rgba(130, 129, 129, 0.1);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details:hover,
.map-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-details h2,
.map-container h2 {
	font-size: 32px;
	margin-bottom: 15px;
	color: #34495e;
}

.contact-details p {
	margin: 8px 0;
	font-size: 16px;
	color: #2c3e50;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-details p i {
	margin-right: 10px;
	color: #3498db;
	font-size: 20px;
}

.location-map iframe {
	width: 100%;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgb(129, 128, 128);
	transition: box-shadow 0.3s ease;
}

.location-map iframe:hover {
	box-shadow: 0 4px 20px rgba(52, 152, 219, 0.6);
}

/* Adjustments for Big Screens */
@media (min-width: 1024px) {
	.communication-wrapper {
		display: flex;
		align-items: stretch;
	}

	.query-block,
	.details-map-section {
		display: flex;
		flex-direction: column;
		height: auto;
	}
}

/* Adjustments for Small Screens */
@media (max-width: 800px) {
	.communication-wrapper {
		flex-direction: column;
		padding: 15px;
	}

	.query-block,
	.details-map-section {
		max-width: 100%;
	}

	.form-communication button {
		padding: 12px;
	}

	.location-map iframe {
		height: 250px;
	}
}

@media (max-width: 480px) {
	.communication-wrapper {
		padding: 10px;
	}

	.query-block h2,
	.contact-details h2,
	.map-container h2 {
		font-size: 20px;
	}

	.form-communication button {
		font-size: 12px;
		padding: 10px;
	}
}



.form-communication select {
	width: 95%;
	padding: 10px;
	margin: 8px 0;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 14px;
	background: #f8f9fa;
	transition: all 0.3s ease;
	color: #34495e;
	cursor: pointer;
}

.form-communication select:focus {
	border-color: #3498db;
	animation: glow 0.5s infinite alternate;
	outline: none;
}
