/* General Styles */
* {
  margin: 0; padding: 0; box-sizing: border-box;
}

body {
  font-family: sans-serif; line-height: 1.6; background-color: #f4f4f4; color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none; color: #333;
}

img {
  max-width: 100%; height: auto;
}

button,
input,
select,
textarea {
  padding: 10px; border: 1px solid #ddd; border-radius: 5px;
}

button:hover,
input:hover,
select:hover,
textarea:hover {
  background-color: #f0f0f0;
}

/* Header Styles */
header {
  background: #fff; padding: 20px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); display: flex; justify-content: space-between; align-items: center;
}

/* .logo {
  font-weight: bold; font-size: 24px;
}

*/
.logo, nav {
  display: flex; align-items: center;
}

.logo img.logo-image {
  width: 40px; /* Adjust size as needed */ height: auto; margin-right: 10px;
}

nav ul {
  display: flex; list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none; color: black; font-weight: 500; padding: 10px 20px;
}

.book-now {
  background-color: black; color: white; padding: 10px 15px; border-radius: 5px;
}

/* Hero Section Styles */
.hero-section {
  background-image: url('path_to_image.jpg'); background-size: cover; background-position: center; height: 200px; position: relative;
}

.hero-section.overlay {
  background: rgba(0, 0, 0, 0.6); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.hero-section.content {
  color: white; text-align: center; position: relative; z-index: 2; top: 50%; transform: translateY(-50%);
}

.hero-section h1 {
  font-size: 50px; font-weight: bold;
}

/* Contact Section Styles */
.contact-section {
  display: flex; justify-content: space-between; padding: 50px 10%;
}

.contact-info,
.contact-form {
  flex: 1; margin-right: 30px;
}

.contact-info {
  max-width: 400px;
}

.social-icons a {
  margin-right: 15px; color: #000; font-size: 24px;
}

.social-icons a:hover {
  color: #777; /* Highlight color for hover */
}

.contact-form h2, .input-group {
  margin-bottom: 20px;
}

.input-group label, label, label {
  display: block; font-weight: bold; margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
  width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px;
}

.submit-btn {
  background-color: black; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer;
}

/* Photo Gallery Styles */
.photo-gallery, /* Video Gallery Styles */
.video-gallery {
  text-align: center; padding: 20px;
}

.photo-gallery h2, .video-gallery h2 {
  font-size: 2rem; margin-bottom: 20px;
}

.photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 1400px; margin: 0 auto; padding: 20px;
}

.photo-grid img {
  width: 100%; height: auto; object-fit: cover; border-radius: 10px;
}

.video-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto;
}

.video {
  position: relative; overflow: hidden; padding-top: 56.25%; /* Aspect ratio */
}

.video iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Real Estate Photography Section Styles */
.real-estate-photography {
  padding: 60px 30px; text-align: center; background-color: #f9f9f9;
}

.real-estate-photography h2, .packages h1 {
  font-size: 2.5rem; margin-bottom: 20px; font-weight: bold;
}

.real-estate-photography p, .s p.packages-title {
  font-size: 1.2rem; margin-bottom: 30px; color: #555;
}

.real-estate-gallery, /* Grid Layout for Service Cards */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
}

.real-estate-gallery img {
  width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services Section Styles */
.services {
  padding: 60px 30px; background-color: #fff; text-align: center;
}

.services h2 {
  font-size: 2.5rem; margin-bottom: 40px; font-weight: bold;
}

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}

.services-grid.service-box {
  padding: 20px; border: 1px solid #ddd; border-radius: 8px; transition: transform 0.3s ease;
}

.services-grid.service-box:hover {
  transform: translateY(-10px);
}

.services-grid.service-box h3 {
  font-size: 1.5rem; margin-bottom: 15px;
}

.services-grid.service-box p {
  font-size: 1rem; color: #666; margin-bottom: 15px;
}

.services-grid.service-box a {
  display: inline-block; padding: 10px 20px; background-color: #000; color: #fff; border-radius: 4px; text-decoration: none; transition: background-color 0.3s ease;
}

.services-grid.service-box a:hover, .cta:hover, #clear-best-offer:hover, button:hover, .cta-buttons .cta:hover, .cta-buttons .cta:hover {
  background-color: #444;
}

/* Footer */
footer {
  background-color: #000; color: #fff; padding: 40px 30px;
}

footer .footer-grid, footer .footer-grid {
  display: flex; justify-content: space-between; flex-wrap: wrap;
}

footer .footer-grid div {
  flex-basis: 200px; margin-bottom: 20px;
}

footer .footer-grid div h4 {
  font-size: 1.2rem; margin-bottom: 15px;
}

footer .footer-grid div a {
  display: block; color: #bbb; text-decoration: none; margin-bottom: 10px;
}

footer .footer-grid div a:hover {
  color: #fff;
}

footer p, footer p {
  text-align: center; margin-top: 30px; font-size: 0.9rem;
}

/* General Header Styles */
header {
  display: flex; justify-content: space-between; align-items: center; padding: 20px; background-color: white; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a {
  text-decoration: none; color: black; padding: 10px 20px; font-weight: bold; position: relative;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none; position: absolute; background-color: white; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); min-width: 160px; z-index: 1;
}

.dropdown-content a {
  color: black; padding: 12px 16px; text-decoration: none; display: block; transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown on hover */
.dropdown:hover.dropdown-content, .step:not(.hidden), .step:not(.hidden) {
  display: block;
}

/* Dropdown Parent Menu Hover Effect */
.dropdown:hover > a {
  background-color: #f1f1f1; border-radius: 5px;
}

/* CTA Button */
.cta {
  background-color: black; color: white; padding: 10px 20px; text-decoration: none; font-weight: bold; border-radius: 5px; transition: background-color 0.3s ease;
}

.cta:hover, .area-btn:hover {
  background-color: #333;
}

/* Packages Section */
.packages {
  padding: 60px 30px; text-align: center;
}

.packages p {
  font-size: 1.2rem; margin-bottom: 40px;
}

/* Style for Title on the Packages Page */
.packages-title {
  font-size: 2.5rem; margin-bottom: 20px; font-weight: bold; color: #666; text-align: center; padding-top: 20px;
}

/* This can match the Services page style, adjust it accordingly */

/* Area Selection */
.area-selection {
  display: flex; justify-content: center; grid-gap: 20px; margin-bottom: 40px;
}

/* Style for Area Selection Buttons */
.area-btn {
  padding: 10px 25px; background-color: #333; color: #fff; border-radius: 4px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease; cursor: pointer; display: inline-block; border: none;
}

/* Add styles for the active button */
.area-btn.active {
  background-color: #444; /* Change background color for active state */ color: #fff; /* Ensure text is visible */ border: 2px solid #333; /* Optional: add a border for the active button */
}

/* Package Grid */
.package-grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 45px;
}

.package-card {
  border: 2px solid #ddd; padding: 20px; max-width: 280px; background-color: white; border-radius: 8px; transition: box-shadow 0.3s ease;
}

.package-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.package-card h2 {
  font-size: 1.5rem; margin-bottom: 20px;
}

.package-price {
  font-size: 2rem; font-weight: bold; color: #000;
}

.package-features {
  list-style-type: none; padding: 0;
}

.package-features li {
  font-size: 1rem; margin: 10px 0;
}

/* .package-features li::before {
  content: '✔'; margin-right: 10px; color: #00a896;
}

*/

.cta-buttons {
  display: flex; gap: 20px; margin-top: 20px;
}

.cta {
  padding: 10px 25px; background-color: #000; color: #fff; text-decoration: none; border-radius: 5px; font-weight: bold; transition: background-color 0.3s ease;
}

.cta.secondary, .cta.secondary:hover {
  background-color: #777;
}

.service-item {
  display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin: 2px 0;
}

.service-text, .service-image {
  flex: 1; padding: 20px;
}

.service-image img {
  max-width: 100%; border-radius: 8px;
}

.service-text h2 {
  font-size: 2rem; margin-bottom: 20px; color: #333;
}

.service-text p {
  font-size: 1.1rem; color: #666; margin-bottom: 20px;
}

.service-text ul {
  list-style: none; padding-left: 0;
}

.service-text ul li {
  font-size: 1rem; color: #333; margin-bottom: 10px; display: flex; align-items: center;
}

/* Video Background Styling */
.video-background {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden;
}

.video-background iframe {
  position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; /* 16:9 aspect ratio */ min-height: 100vh; min-width: 177.78vh; transform: translate(-50%, -50%); pointer-events: none;
}

/* Hero Content Styling */
.hero {
  position: relative; display: flex; justify-content: center; align-items: center; height: 100vh; text-align: center; color: white; z-index: 1; padding: 20px;
}

.hero h1 {
  font-size: 3rem; margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem; margin-bottom: 20px;
}

.cta-buttons a {
  display: inline-block; padding: 10px 20px; background-color: rgba(0, 0, 0, 0.7); color: white; text-decoration: none; font-weight: bold; border-radius: 4px; transition: background 0.3s; margin: 5px;
}

.cta-buttons a:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* General Styles for the Section */
.services {
  text-align: center; padding: 50px 20px;
}

.services h2 {
  font-size: 2rem; margin-bottom: 10px;
}

.services p {
  font-size: 1rem; margin-bottom: 30px; color: #555;
}

/* Individual Service Box Styling */
.service-box {
  background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 20px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Service Icon Styling */
.service-icon, .form-group, .form-group {
  margin-bottom: 15px;
}

.service-icon img {
  width: 40px; height: 40px;
}

/* Service Title Styling */
.service-box h3 {
  font-size: 1.5rem; margin-bottom: 10px; color: #333;
}

/* Service Description */
.service-box p {
  font-size: 0.9rem; margin-bottom: 20px; color: #666;
}

/* Discover Button Styling */
.btn-discover {
  display: inline-block; padding: 10px 20px; border: 2px solid #000; border-radius: 5px; text-decoration: none; color: #000; font-size: 1rem; transition: background 0.3s ease, color 0.3s ease;
}

.btn-discover:hover {
  background: #000; color: #fff;
}

/*pack*/
/* Adjusted Packages Grid */
.package-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Increased min-width to make cards wider */ gap: 20px; /* Reduced gap between cards */ justify-items: center; max-width: 1200px; /* Optional: Set a maximum width for the grid */ margin: 0 auto; /* Center the grid horizontally */
}

/* Adjusted Package Card */
.package-card {
  border: 2px solid #ddd; padding: 30px; /* Increased padding for larger cards */ max-width: 350px; /* Optional: Set a fixed width for consistency */ background-color: white; border-radius: 10px; transition: box-shadow 0.3s ease; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Keep a subtle shadow */
}

.package-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow on hover */ transform: translateY(-3px); /* Smooth hover effect */
}

/* Package Card Content Adjustments */
.package-card h2 {
  font-size: 1.8rem; /* Slightly larger font for headings */ margin-bottom: 15px;
}

.package-icons {
  font-size: 2.2rem; /* Slightly larger icons */ margin-bottom: 20px;
}

.package-price {
  font-size: 2rem; font-weight: bold; color: #000; margin-bottom: 10px;
}

.package-price .save {
  font-size: 1rem; /* Adjusted font size for "Save" text */ color: #802222;
}

.package-features {
  list-style: none; padding: 0; margin-top: 10px; /* Reduced spacing */
}

.package-features li {
  font-size: 1rem; color: #555; margin-bottom: 8px; /* Reduced spacing between features */
}

.package-features li::before {
  content: '-'; color: #777; margin-right: 10px; font-weight: bold;
}

/* Buttons Spacing and Adjustments */
.area-selection {
  display: flex; justify-content: center; gap: 15px; /* Reduced spacing between buttons */ margin-bottom: 30px;
}

.area-btn {
  padding: 12px 30px; background-color: #fff; border: 2px solid #ddd; color: #999; border-radius: 5px; text-decoration: none; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.area-btn.active {
  background-color: #000; color: #fff; border-color: #000;
}

/* General Grid Layout for Centering */
.packages {
  text-align: center; padding: 60px 30px; background-color: #fff;
}

.packages h1 {
  font-size: 2.5rem; margin-bottom: 15px; font-weight: bold;
}

/* Packages Page - Scoped Styles */
.packages-page .individual-services, /* General Section Styles */
.policy-section {
  padding: 30px; text-align: center; background-color: #f9f9f9;
}

.packages-page .individual-services h1, h1, h1 {
  font-size: 2.5rem; margin-bottom: 20px; font-weight: bold; color: #333;
}

/* Grid for Rows */
.packages-page .services-grid {
  display: flex; flex-direction: column; gap: 5px;
}

/* Each Row */
.packages-page .service-row {
  display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; /* Ensure rows wrap on smaller screens */
}

/* Service Items */
.packages-page .service-item {
  flex: 1; min-width: 200px; /* max-width: 300px; */ padding: 5px; border: 2px solid #ddd; border-radius: 10px; background-color: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); text-align: center; display: flex; flex-direction: column; /* Ensures vertical stacking of name and price */ align-items: center; justify-content: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.packages-page .service-item:hover {
  transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.packages-page .service-item h2 {
  font-size: 1.5rem; margin-bottom: 10px; /* Space between name and price */ color: #333;
}

.packages-page .service-price {
  font-size: 1.1rem; font-weight: bold; color: #000; margin: 0; /* Remove any default margin */
}

/* General Section Styles */
section {
  padding: 30px; text-align: center; /* background-color: #f9f9f9; */
}

h2, h2 {
  font-size: 1.8rem; margin: 5px 0; font-weight: bold; color: #333;
}

p, p {
  font-size: 1rem; line-height: 1.6; color: #555;
}

/* Travel Costs Section */
.travel-costs {
  padding: 30px; background-color: #f9f9f9;
}

.travel-costs h2 {
  font-size: 1.5rem; margin-bottom: 20px; font-weight: bold; text-align: center; color: #333;
}

.travel-layout {
  display: flex; align-items: flex-start; gap: 20px; max-width: 900px; margin: 0 auto;
}

.travel-layout img {
  max-width: 500px; /* Size of the image */ height: auto; border-radius: 10px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.travel-description {
  flex: 1; text-align: left;
}

.travel-description p {
  font-size: 1rem; line-height: 1.6; color: #555; margin-bottom: 10px;
}

.travel-description h2 {
  font-size: 1.5rem; margin: 20px 0 10px; color: #333;
}

.travel-locations {
  list-style: none; padding: 0; margin: 0;
}

.travel-locations li {
  font-size: 1rem; color: #333; margin-bottom: 8px;
}

/* book*/
/* 1 */
.step, .step.hidden {
  display: none;
}

#clear-best-offer {
  margin-top: 10px; padding: 8px 12px; background-color: #777; color: white; border: none; border-radius: 4px; cursor: pointer;
}

/**/
#client-details {
  max-width: 800px; margin: 0 auto; padding: 20px;
}

h2, h3 {
  font-size: 1.5em; margin-bottom: 15px;
}

input, textarea, input, textarea {
  width: 100%; padding: 10px; margin-bottom: 5px; border: 1px solid #ccc; border-radius: 5px;
}

textarea, textarea {
  height: 100px;
}

small {
  display: block; font-size: 0.85em; color: #666;
}

.terms-and-conditions, .terms-and-conditions {
  margin-top: 20px;
}

.terms-and-conditions input[type="checkbox"], /* Input and label alignment */
.offer-item input, .service-item input, .offer-item input, .service-item input, .terms-and-conditions input[type="checkbox"] {
  margin-right: 10px;
}

.terms-and-conditions a, .terms-and-conditions a {
  color: #007bff; text-decoration: none;
}

.terms-and-conditions a:hover, .terms-and-conditions a:hover, footer a:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex; justify-content: space-between; margin-top: 20px;
}

button {
  padding: 10px 15px; font-size: 1em; border: none; border-radius: 5px; cursor: pointer;
}

button#reserve-without-paying {
  background-color: #f8f9fa; color: #333;
}

button#reserve-without-paying:hover {
  background-color: #e2e6ea;
}

button#continue-to-payment {
  background-color: #007bff; color: white;
}

button#continue-to-payment:hover {
  background-color: #0056b3;
}

/* Flexbox for container */
.services-container {
  display: flex; flex-wrap: wrap; justify-content: space-between; margin: 20px 0;
}

/* Columns styling */
.best-offer, .individual-services {
  flex: 0 0 48%; /* Each column takes 48% width */ margin-bottom: 20px;
}

/* Styling for total price */
.total-price, .total-price {
  text-align: center; font-size: 1.5rem; font-weight: bold; margin: 20px 0;
}

/* Вирівнювання чекбоксів і тексту в одному рядку */
.offer-item, .service-item, .offer-item {
  display: flex; align-items: center; margin: 10px 0;
}

/* Чекбокси перед текстом */
.offer-item input, .service-item input {
  margin-right: 10px; /* Простір між чекбоксом і текстом */ flex-shrink: 0; /* Забезпечує стабільне розташування чекбоксу */ position: relative; /* Для точного вирівнювання */
}

/* Текст після чекбоксу */
.offer-item label, .service-item label {
  margin: 0; line-height: 1.5; /* Вирівнювання тексту по вертикалі */
}

.service-it {
  margin: 100px 0;
}

/* Забезпечення однакової ширини колонок */
.best-offer, .individual-services {
  flex: 0 0 48%; /* Розподіл колонок */ text-align: left;
}

/* Центрування заголовків */
.best-offer h3, .individual-services h3, .service-text {
  text-align: center; margin-bottom: 15px;
}

/* Стабільне відображення у всіх браузерах */
input[type="checkbox"], input[type="radio"] {
  appearance: none; /* Забираємо стандартний вигляд чекбоксу */ width: 16px; height: 16px; border: 1px solid #ccc; border-radius: 3px; display: inline-block; margin: 0; vertical-align: middle; cursor: pointer;
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
  background-color: #007bff; border-color: #007bff;
}

/* Steps Styling */
.step {
  padding: 20px; display: none;
}

.services-container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin: 20px 0;
}

.best-offer, .individual-services {
  flex: 0 0 48%; margin-bottom: 20px;
}

.best-offer h3, .individual-services h3 {
  margin-bottom: 15px; text-align: center;
}

service-item {
  display: flex; align-items: center; margin: 100px 0;
}

/* Buttons Styling */
button {
  background-color: #777; color: white; border: none; border-radius: 4px; padding: 10px 15px; cursor: pointer; margin-top: 10px;
}

.navigation-buttons button {
  margin: 10px 5px;
}

/* Appointment Summary */
.appointment-summary {
  background-color: #f9f9f9; padding: 20px; border: 1px solid #ddd; margin-bottom: 20px;
}

.appointment-summary h3 {
  margin-top: 0;
}

/* Form Styling */
form {
  max-width: 600px; margin: 0 auto;
}

/* Footer Styling */
footer {
  background-color: #333; color: white; padding: 20px; text-align: center;
}

footer .footer-grid div {
  flex: 0 0 18%; margin-bottom: 20px;
}

footer a {
  color: #ff5722; text-decoration: none;
}

/* Google Maps Integration */
#map {
  height: 300px; width: 100%; margin-top: 20px; border: 1px solid #ddd;
}

/* Змінюємо лише колір заливки стандартного чекбокса */
input[type="checkbox"]:checked {
  background-color: #777; /* Замість синього */ border-color: #444; /* Рамка для активного стану */
}

/* Базовий стиль для радіокнопок */
input[type="radio"] {
  appearance: none; /* Вимикаємо стандартний вигляд */ width: 20px; height: 20px; border: 2px solid #ccc; border-radius: 50%; /* Робимо круглу форму */ background-color: #f0f0f0; cursor: pointer;
}

/* Стиль для активного стану (вибраного пакета) */
input[type="radio"]:checked {
  background-color: #777; /* Колір заливки активної кнопки */ border-color: #444; /* Колір рамки */ position: relative;
}

/* Галочка або кастомний символ для вибраного стану */
input[type="radio"]:checked::after {
  content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; /* Маленьке коло всередині */ background-color: white; position: absolute; top: 4px; /* Розташування кола всередині */ left: 4px;
}

/* Ефект при наведенні курсора */
input[type="radio"]:hover {
  background-color: #ddd; /* Світліший фон при наведенні */ border-color: #aaa; /* Зміна кольору рамки */
}

/* terms */

.container-terms,.container-prep {
  max-width: 800px; margin: 20px auto; padding: 20px; background-color: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); border-radius: 5px;
}

.container-terms h1,
.container-prep  h1 {
  font-size: 2em; margin-bottom: 20px; font-weight: bold; color: #333;
}

.container-terms h3,
.container-prep  h3 {
  font-size: 1em; margin-bottom: 10px;
}

.container-terms p,
.container-prep  p {
  font-size: 0.8em; display: block; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; unicode-bidi: isolate;
}

/* Стилі тільки для .page-container */
.page-container {
  display: flex; flex-direction: column; min-height: 100vh; /* Гарантує, що контейнер займає всю висоту сторінки */
}

.page-container header {
  flex-shrink: 0;
}

.page-container main {
  flex: 1; /* Розтягує основний контент, щоб він займав залишковий простір */
}

.page-container footer {
  flex-shrink: 0; background-color: #333; color: white; text-align: center; padding: 20px;
}

.confirmation {
  text-align: center; padding: 20px; margin: 50px auto; max-width: 600px; background-color: #f4f4f4; border: 1px solid #ccc; border-radius: 10px;
}

.confirmation h2 {
  color: green; margin-bottom: 15px;
}

.work-header {
  text-align: center; margin: 20px;
}

.work h2 {
  font-size: 1.7em; color: #444;
}

.drone-video {
  max-width: 700px; margin: 0 auto;
}

.footer-social-icons {
  margin-top: 10px; display: flex; justify-content: center; gap: 15px;
}

.footer-social-icons a {
  color: #fff; font-size: 24px; transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #ff5722; /* Highlight color for hover */
}

@media (max-width: 768px) {
  header { flex-direction: column; /* Стовпчик для мобільних */ align-items: center;
}

.logo {
  justify-content: center; order: 1; /* Логотип зверху */ margin-bottom: 10px;
}

nav {
  justify-content: center; flex-wrap: wrap; order: 2; /* Навігація після логотипу */ justify-content: center;
}

nav a {
  display: inline-block; margin: 5px;
}

.cta {
  order: 3; /* Кнопка знизу */ margin-top: 10px; align-self: center;
}

/* Hero Section */
  .hero {
  padding: 30px 10px;
}

.hero h1 {
  font-size: 1.5rem;
}

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

/* Services Section */
  .services {
  display: flex; flex-direction: column; align-items: center;
}

.service-it {
  margin: 10px 0;
}

.service-item {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 30px;
}

.service-image {
  max-width: 90%;
}

.service-image iframe,
 .service-image img {
  max-width: 100%; height: auto; display: block; margin: 0 auto;
}

/* Вирівнювання кнопок */
.cta-buttons {
  display: flex; justify-content: center; gap: 10px; margin-top: 10px; max-width: 350px; /* Фіксована ширина для уніфікації */ width: 100%; /* Відповідність контейнеру */
}

.cta-buttons .cta {
  flex: 1; text-align: center; padding: 10px 15px; background-color: #333; color: white; border-radius: 5px; text-decoration: none; transition: background-color 0.3s ease;
}

.service-image iframe, .service-image iframe {
  max-width: 100%; height: auto; display: block; margin: 0 auto; border: none;
}

/* Вирівнювання тексту в сервісах */
.service-text ul {
  padding-left: 0; /* Забираємо внутрішній відступ у списку */ margin-left: 0; /* Забираємо зовнішній відступ у списку */ list-style-position: inside; /* Переносимо маркери списку всередину */
}

.service-text ul li {
  margin: 5px 0; /* Відступи між пунктами для естетики */ text-align: left; /* Вирівнювання тексту до лівого краю */
}

/* Вирівнювання загальних текстових блоків */
.service-text p, .service-text ul, .service-text li {
  margin: 0 auto; /* Центруємо текст у межах контейнера */ padding: 0; /* Видаляємо зайві відступи */
}

/* Packages Section */
  .package-grid, /* Footer */
  .footer-grid {
  flex-direction: column; align-items: center;
}

.package-card {
  width: 90%; margin-bottom: 20px;
}

/* Packages: Travel Costs */
  .area-selection {
  flex-direction: column; align-items: center; gap: 10px;
}

.area-btn {
  width: 90%;
}

/* Travel Costs Layout: Stack image above text */
  .travel-costs .travel-layout {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.travel-costs .travel-layout img {
  max-width: 100%; height: auto; margin-bottom: 15px; /* Add space below the image */
}

.travel-costs .travel-layout .travel-description {
  padding: 0 15px; text-align: center; /* Center-align text */
}

.travel-locations {
  padding-left: 0; /* Remove default padding */ list-style-position: inside; /* Align bullet points with text */
}

}

@media (max-width: 480px) {
  /* Header Adjustments */ header { padding: 10px 5px;
}

.cta {
  padding: 10px;
}

/* Hero Section */
  .hero h1 {
  font-size: 1.2rem;
}

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

/* Services Section */
  .services-grid, /* Packages Section */
  .package-grid {
  gap: 10px; flex-direction: column; align-items: center;
}

.service-box, .package-card {
  padding: 15px; width: 100%;
}

.cta {
  width: 90%; /* Для уніфікації розміру кнопок на мобільних пристроях */ text-align: center;
}

.cta-buttons {
  display: flex; justify-content: center; gap: 10px; margin-top: 10px; max-width: 300px; /* Менша фіксована ширина для вузьких екранів */ width: 100%;
}

.cta-buttons .cta {
  flex: 1; text-align: center; padding: 8px 12px; font-size: 14px; /* Зменшення розміру тексту для кнопок */ background-color: #333; color: white; border-radius: 5px; text-decoration: none; transition: background-color 0.3s ease;
}

/* Packages: Travel Costs */
  .area-selection {
  flex-direction: column; gap: 10px;
}

.area-btn {
  width: 100%;
}}

.disabled-service {
  opacity: 0.5; /* Зробити прозорішою */
  pointer-events: none; /* Зробити неклікбальною */
  cursor: not-allowed; /* Зміна курсору */
}


.offer, .service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px;
  border-bottom: 1px solid #ccc;
}

.offer span:first-child, .service span:first-child {
  flex-grow: 1;
}

.offer span:last-child, .service span:last-child {
  margin-left: 5px; /* Відступ для ціни */
}

.offer label, .service label {
  display: flex;
  align-items: center;
  margin: 5px; /* Вирівнюємо */
}

input[type="radio"] + .custom-radio, input[type="checkbox"] + .custom-checkbox {
  margin-right: 10px; /* Простір між чекбоксом/радіокнопкою і текстом */
}
/* Modern checkboxes and radio buttons styling */
input[type="radio"], input[type="checkbox"] {
  display: none; /* Hide original inputs */
}

input[type="radio"] + label:before, input[type="checkbox"] + label:before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border: 2px solid #777;
  border-radius: 3px;
  background-color: #fff;
  vertical-align: middle;
}

input[type="radio"] + label:before {
  border-radius: 50%; /* Round for radio buttons */
}

input[type="radio"]:checked + label:before,
input[type="checkbox"]:checked + label:before {
  background-color: #444;
  content: '\2713'; /* Checkmark */
  color: #fff;
  text-align: center;
  line-height: 15px;
}

.package-note {
  font-size: 0.85rem !important; /* Smaller than the feature list */
  color: #777; /* Muted text color */
  margin-top: 50px; /* Add spacing from the features list */
  margin-bottom: 2px !important;
  text-align: center; /* Align the note to the center */
}

