/* =============================================
   STYLE.CSS - WeGoLampedusa
   ============================================= */

/* =============================================
   RESET & VARIABLES
   ============================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

:root {
    /* Colori principali */
    --primary-color: #0D47A1;
    --primary-color-rgb: 13, 71, 161;
    --primary-dark: #072F6B;
    --primary-light: #5E92F3;
    --secondary-color: #FF8500;
    --secondary-light: #FFA733;
    
    /* Colori neutri */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E0E0E0;
    --dark-gray: #767676;
    --text-color: #333333;
    --light-text: #555555;
    
    /* Colori di supporto */
    --accent-orange: #FF8500;
    --accent-yellow: #FFB703;
    --sunset-red: #E63946;
    --dark-blue: #03045E;
    --light-blue: #00B4D8;
    
    /* Background */
    --light-bg: #f5f7fa;
}

/* =============================================
   BASE STYLES
   ============================================= */
body {
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

iframe{
    width: 100%;
    height: 100%;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    background-color: var(--dark-blue);
}

header.scrolled .main-nav{
    background-color: var(--dark-blue);
    transition: all 0.3s linear;
}

header.scrolled .logo, header.scrolled .main-nav ul li a{
    color: var(--white);
    transition: all 0.2s linear;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-icon {
    margin-right: 8px;
    color: var(--accent-orange);
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--accent-orange);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-orange), var(--sunset-red));
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(230, 57, 70, 0.4);
    color: var(--white);
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1060;
    margin-left: auto;
    padding: 0;
}

.toggle-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-icon:before,
.toggle-icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.toggle-icon:before {
    top: -8px;
}

.toggle-icon:after {
    bottom: -8px;
}

.mobile-menu-toggle.active .toggle-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .toggle-icon:before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .toggle-icon:after {
    transform: rotate(-45deg);
    bottom: 0;
}

.mobile-cta {
    display: none;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(3, 4, 94, 0.6)), url('../img/hero.png') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding-top: 70px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(-50px);
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    color: var(--white);
}

.hero span {
    color: var(--accent-yellow);
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.3s ease-out;
    color: var(--white);
}

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

/* Inner pages hero */
.page-hero {
    height: 50vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(3, 4, 94, 0.7));
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
}

.page-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    color: var(--white);
}

.page-hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.3s ease-out;
    color: var(--white);
}

/* =============================================
   SEARCH SECTION
   ============================================= */
.search-section {
    background-color: var(--white);
    padding: 0;
    position: relative;
    z-index: 10;
}

.search-container {
    max-width: 1200px;
    margin: -80px auto 40px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    transform: translateY(50px);
}

.search-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--dark-blue);
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items: flex-end;
}

.search-group {
    flex: 1 1 200px;
}

.search-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.search-input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.search-button {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1 1 200px;
}

.search-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light h2, 
.section-header.light p {
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 28px;
}

/* =============================================
   PROPERTY CARDS & GRIDS
   ============================================= */
.featured-properties {
    background-color: var(--light-gray);
}

.properties-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.property-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

.property-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.property-location {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.property-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 15px;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.feature i {
    margin-right: 8px;
    color: var(--primary-color);
}

.property-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: var(--accent-yellow);
    margin-right: 10px;
}

.property-rating span {
    font-size: 14px;
    color: var(--dark-gray);
}

.property-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
    margin-top: auto;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.per-night {
    font-size: 14px;
    color: var(--dark-gray);
    margin-left: 5px;
}

.view-property-btn {
    display: block;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-property-btn:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* =============================================
   FEATURES & WHY CHOOSE US
   ============================================= */
.why-choose-us {
    background-color: var(--white);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

.feature-icon i {
    font-size: 32px;
    color: var(--white);
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.feature-box p {
    font-size: 15px;
    color: var(--dark-gray);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
    background: linear-gradient(rgba(0, 119, 182, 0.9), rgba(3, 4, 94, 0.9)), url('../img/hero.png') center/cover fixed;
    color: var(--white);
}

.testimonials-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    flex: 0 0 33%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
    margin-bottom: 20px;
}

.quote-icon {
    color: rgba(255, 255, 255, 0.2);
    font-size: 40px;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-rating {
    color: var(--accent-yellow);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--white);
}

.author-info span {
    font-size: 14px;
    opacity: 0.8;
    color: var(--white);
}

/* =============================================
   WEATHER SECTION
   ============================================= */
.weather-section {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.weather-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.weather-loading, .weather-error {
    text-align: center;
    padding: 2rem;
}

.weather-loading i, .weather-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.weather-error i {
    color: var(--sunset-red);
}

.current-weather {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.current-weather-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.current-weather-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.weather-date {
    color: var(--dark-gray);
}

.current-weather-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.weather-icon img {
    width: 100px;
    height: 100px;
}

.weather-temp {
    text-align: center;
}

.weather-temp h4 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.weather-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.weather-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weather-detail i {
    color: var(--primary-color);
}

.weather-forecast {
    display: flex;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.forecast-day {
    flex: 0 0 calc(100% / 7 - 1rem);
    min-width: 100px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.forecast-day:hover {
    transform: translateY(-5px);
}

.forecast-day h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.forecast-day img {
    width: 50px;
    height: 50px;
    margin: 0.5rem 0;
}

.forecast-temp {
    display: flex;
    justify-content: space-around;
}

.max-temp {
    color: var(--primary-color);
    font-weight: 600;
}

.min-temp {
    color: var(--dark-gray);
}

/* =============================================
   CALL TO ACTION
   ============================================= */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/cta-bg.jpg') center/cover fixed;
    text-align: center;
    color: var(--white);
    padding: 5rem 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--sunset-red));
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* =============================================
   SERVICES
   ============================================= */
.services-section {
    padding: 4rem 0;
}

.service-category {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.25rem;
}

.service-card p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* =============================================
   PROPERTY AMENITIES
   ============================================= */
.property-amenities {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#lista-strutture .property-amenities{
    box-shadow: none;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.amenity {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amenity:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.amenity i {
    font-size: 1rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    padding: 10px;
}

.amenity span {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Compact amenities for property cards */
.property-amenities-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.property-amenities-compact .amenity {
    display: flex;
    align-items: center;
    font-size: 12px;
    background-color: var(--light-gray);
    padding: 4px 8px;
    border-radius: 50px;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.property-amenities-compact .amenity i {
    margin-right: 4px;
    color: var(--primary-color);
    font-size: 11px;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
}

/* =============================================
   GALLERY & LIGHTBOX
   ============================================= */
.property-gallery {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 2;
}

.gallery-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-nav button:hover {
    background: var(--primary-color);
    color: #fff;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    background: #fff;
}

.gallery-thumbnail {
    aspect-ratio: 1;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gallery-thumbnail.active,
.gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav button:hover {
    background: var(--primary-color);
}

/* =============================================
   PROPERTY FILTER & LISTING
   ============================================= */
.properties-section {
    padding: 60px 5%;
    background-color: var(--light-gray);
}

.properties-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Sidebar filters */
.properties-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-container {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.filter-title {
    font-size: 20px;
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.filter-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input {
    width: calc(50% - 10px);
}

.price-separator {
    color: var(--dark-gray);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
}

.filter-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.filter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reset-button {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background-color: var(--light-gray);
}

/* Property controls */
.properties-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.properties-title {
    font-size: 24px;
    color: var(--dark-blue);
}

.properties-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control label {
    font-weight: 500;
}

.sort-control select {
    padding: 8px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    background-color: var(--white);
}

.view-control {
    display: flex;
    gap: 5px;
}

.view-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-button:hover,
.view-button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.properties-list .property-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    margin: 1rem 0;
    height: auto;
}

.properties-list .property-image {
    height: 100%;
}

.no-results-message {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.alert-message {
    padding: 2rem;
}

.alert-message i {
    font-size: 3rem;
    color: var(--sunset-red);
    margin-bottom: 1rem;
}

.alert-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* =============================================
   PROPERTY DETAIL PAGE
   ============================================= */
.property-detail {
    padding: 1rem;
    background-color: var(--light-bg);
}

.property-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.property-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Property description */
.property-description {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.property-description h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.8rem;
    position: relative;
}

.property-description h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

.property-description h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

.property-description h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.property-description p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.property-description ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.property-description ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.property-description ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

/* Property solutions */
.property-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}

.solution-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.solution-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.solution-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 1.5rem 1.5rem 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.solution-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 1.5rem 1.2rem;
    flex-grow: 1;
}

.solution-card ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0 1.5rem 1.5rem;
}

.solution-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.solution-card ul li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.solution-card .cta-button {
    margin: 0 1.5rem 1.5rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    text-align: center;
    width: calc(100% - 3rem);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.solution-card .cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
}

/* Sidebar elements */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.price-info {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #444;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--sunset-red);
}

.form-group.full-width {
    grid-column: span 2;
}

.booking-form .cta-button,
.form-submit .cta-button {
    margin-top: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.booking-form .cta-button:hover,
.form-submit .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.property-map {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.property-map h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-container {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.property-contact {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.property-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.contact-info p i {
    width: 30px;
    color: var(--primary-color);
}

/* =============================================
   CONTACT & FORM PAGES
   ============================================= */
.contact-section {
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Request Info Form */
.request-info-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.request-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.request-form-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.request-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
    margin-top: 1rem;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(var(--primary-color-rgb), 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.2);
}

.submit-button:disabled:hover {
    transform: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Icon animation for submit button */
.submit-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(4px);
}

/* Contact form privacy checkbox spacing */
.contact-form .checkbox-container {
    margin: 1.5rem 0 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form .checkbox-container a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-form .checkbox-container a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive submit button */
@media (max-width: 768px) {
    .submit-button {
        padding: 14px 30px;
        font-size: 15px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .submit-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Confirmation message */
.confirmation-message {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.confirmation-icon {
    color: var(--primary-color);
    font-size: 5rem;
    margin-bottom: 2rem;
}

.confirmation-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.confirmation-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.back-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.back-button {
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* Checkbox Style */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 5% 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-column p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

footer .contact-info {
    background: none;
    padding: 0;
    box-shadow: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-info li i {
    margin-right: 15px;
    margin-top: 5px;
    color: var(--accent-orange);
    width: auto;
    height: auto;
    background: none;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin: 0;
}


/* Footer bottom responsive layout */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    margin: 0;
    opacity: 0.7;
}

.developer-credit {
    font-size: 14px;
    opacity: 0.6 !important;
}

.developer-credit a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

/* Responsive adjustments for footer bottom */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .developer-credit {
        font-size: 13px;
    }
}


/* =============================================
   POLICY PAGES STYLES
   ============================================= */

/* Container generale per le pagine policy */
#cookie-policy,
#privacy-policy,
#terms-content {
    max-width: 900px;
    margin: 5rem auto;
    padding: 2rem 1.5rem;
    background-color: var(--white);
    line-height: 1.7;
}

/* Titoli principali delle policy */
#cookie-policy h1,
#privacy-policy h1,
#terms-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

#cookie-policy h1::after,
#privacy-policy h1::after,
#terms-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Sottotitoli */
#cookie-policy h2,
#privacy-policy h2,
#terms-content h2 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2.5rem 0 1.2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

#cookie-policy h3,
#privacy-policy h3,
#terms-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

/* Paragrafi */
#cookie-policy p,
#privacy-policy p,
#terms-content p {
    color: var(--light-text);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Liste */
#cookie-policy ul,
#cookie-policy ol,
#privacy-policy ul,
#privacy-policy ol,
#terms-content ul,
#terms-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

#cookie-policy ul li,
#cookie-policy ol li,
#privacy-policy ul li,
#privacy-policy ol li,
#terms-content ul li,
#terms-content ol li {
    color: var(--light-text);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
}

#cookie-policy ul li::before,
#privacy-policy ul li::before,
#terms-content ul li::before {
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    top: 0;
}

/* Evidenziazione testo importante */
#cookie-policy strong,
#privacy-policy strong,
#terms-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Link nelle policy */
#cookie-policy a,
#privacy-policy a,
#terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

#cookie-policy a:hover,
#privacy-policy a:hover,
#terms-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Tabelle per policy */
#cookie-policy table,
#privacy-policy table,
#terms-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

#cookie-policy table thead,
#privacy-policy table thead,
#terms-content table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

#cookie-policy table th,
#privacy-policy table th,
#terms-content table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

#cookie-policy table td,
#privacy-policy table td,
#terms-content table td {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--light-text);
    font-size: 0.9rem;
}

#cookie-policy table tbody tr:hover,
#privacy-policy table tbody tr:hover,
#terms-content table tbody tr:hover {
    background-color: var(--light-gray);
}

#cookie-policy table tbody tr:last-child td,
#privacy-policy table tbody tr:last-child td,
#terms-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Separatori HR */
#cookie-policy hr,
#privacy-policy hr,
#terms-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 3rem 0;
    border-radius: 2px;
}

/* Box informativi */
.policy-info-box {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05), rgba(255, 133, 0, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.policy-info-box::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.2rem;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.policy-info-box p {
    margin-left: 2rem;
    margin-bottom: 0;
    color: var(--text-color);
}

/* Responsive design per policy */
@media (max-width: 768px) {
    #cookie-policy,
    #privacy-policy,
    #terms-content {
        padding: 1.5rem 1rem;
    }
    
    #cookie-policy h1,
    #privacy-policy h1,
    #terms-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    #cookie-policy h2,
    #privacy-policy h2,
    #terms-content h2 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem;
    }
    
    #cookie-policy table,
    #privacy-policy table,
    #terms-content table {
        font-size: 0.85rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    #cookie-policy table thead,
    #cookie-policy table tbody,
    #cookie-policy table tr,
    #cookie-policy table td,
    #cookie-policy table th,
    #privacy-policy table thead,
    #privacy-policy table tbody,
    #privacy-policy table tr,
    #privacy-policy table td,
    #privacy-policy table th,
    #terms-content table thead,
    #terms-content table tbody,
    #terms-content table tr,
    #terms-content table td,
    #terms-content table th {
        display: block;
    }
    
    #cookie-policy table tr,
    #privacy-policy table tr,
    #terms-content table tr {
        border: 1px solid var(--medium-gray);
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 0.5rem;
        background-color: var(--white);
        white-space: normal;
    }
    
    #cookie-policy table td,
    #privacy-policy table td,
    #terms-content table td {
        border: none;
        padding: 0.5rem;
        position: relative;
        padding-left: 40%;
    }
    
    #cookie-policy table td::before,
    #privacy-policy table td::before,
    #terms-content table td::before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 0.5rem;
        width: 35%;
        padding-right: 0.5rem;
        font-weight: 600;
        color: var(--primary-color);
        text-align: left;
    }
    
    #cookie-policy ul,
    #cookie-policy ol,
    #privacy-policy ul,
    #privacy-policy ol,
    #terms-content ul,
    #terms-content ol {
        padding-left: 1.5rem;
    }
    
    .policy-info-box {
        padding: 1rem;
    }
    
    .policy-info-box p {
        margin-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    #cookie-policy,
    #privacy-policy,
    #terms-content {
        padding: 1rem 0.5rem;
    }
    
    #cookie-policy h1,
    #privacy-policy h1,
    #terms-content h1 {
        font-size: 1.8rem;
    }
    
    #cookie-policy h2,
    #privacy-policy h2,
    #terms-content h2 {
        font-size: 1.2rem;
        padding-left: 0.8rem;
    }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f8f9fa;
  color: #000;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  z-index: 9999;
}

.cookie-banner p {
  margin: 0 0 0.5rem;
}

.cookie-banner button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}
 

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
    background-color: var(--light-gray);
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
    margin-top: 70px;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: var(--dark-gray);
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--secondary-color);
}

.breadcrumb-current {
    color: var(--dark-gray);
    font-weight: 500;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .properties-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
        width: 36px;
        height: 36px;
        
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header.scrolled .toggle-icon, header.scrolled .toggle-icon::before, header.scrolled .toggle-icon::after{
        background-color: var(--accent-orange);
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo-icon {
        margin-right: 6px;
    }
    
    .desktop-cta {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .main-nav ul li {
        margin: 0 0 15px;
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
        text-align: left;
        position: relative;
        z-index: 1051;
    }
    
    .mobile-cta {
        display: inline-block;
        width: 100%;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .header-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .hero {
        height: 85vh;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .properties-layout {
        grid-template-columns: 1fr;
    }
    
    .properties-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .property-layout {
        grid-template-columns: 1fr;
    }
    
    /* Search Form Optimization */
    .search-container {
        padding: 25px 15px;
        margin: -60px auto 30px;
        transform: translateY(40px);
    }
    
    .search-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-group {
        width: 100%;
        flex: none;
        margin-bottom: 0;
    }
    
    .search-group label {
        font-size: 15px;
        margin-bottom: 5px;
    }
    
    .search-input {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        height: 48px;
    }
    
    .search-button {
        width: 100%;
        margin-top: 5px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .page-hero-title {
        font-size: 32px;
    }
    
    .page-hero-subtitle {
        font-size: 16px;
    }
    
    .search-container {
        padding: 20px 15px;
        margin: -50px auto 30px;
    }
    
    .properties-container {
        grid-template-columns: 1fr;
    }

    .property-detail{
        background-color: var(--white);
    }

    .properties-layout, .property-layout, .property-solutions{
        display: flex;
        flex-direction: column;
    }

    .properties-controls{
        display: none;
    }

    .property-amenities{
        padding: 0;
        box-shadow: none;
    }

    .amenity{
        margin: 0.5rem 0;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        flex-direction: column;
    }
    
    .testimonial-card {
        flex: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-slider {
        height: 250px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .request-form {
        grid-template-columns: 1fr;
    }
    
    .request-form .form-group.full-width,
    .request-form .form-submit {
        grid-column: 1;
    }
    
    .properties-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .properties-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Weather Widget Mobile Optimization */
    .current-weather-body {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .weather-details {
        justify-content: center;
        gap: 2rem;
    }
    
    .forecast-day {
        flex: 0 0 calc(100% / 3 - 1rem);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .page-hero-title {
        font-size: 28px;
    }
    
    .main-nav {
        width: 280px;
        padding: 90px 20px 20px;
    }
    
    .main-nav ul li a {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .gallery-slider {
        height: 200px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-nav button,
    .lightbox-nav button {
        width: 35px;
        height: 35px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        padding: 20px 12px;
        margin: -50px auto 25px;
    }
    
    .search-container h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .search-group label {
        font-size: 14px;
    }
    
    .search-input, 
    .search-button {
        font-size: 14px;
        height: 45px;
    }
    
    .forecast-day {
        flex: 0 0 calc(100% / 2 - 1rem);
    }
}

/* Fix per iOS */
@supports (-webkit-touch-callout: none) {
    body.menu-open {
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

.price-info, .property-price{
    display: none;
}