/* Good Winds - CSS Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #21423d;
    background-color: #f4ece0;
    background-image: radial-gradient(circle at top left, rgba(255,255,255,0.9), transparent 30%),
                      radial-gradient(circle at bottom right, rgba(255,215,170,0.25), transparent 25%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background: linear-gradient(135deg, #0f8d8f 0%, #68c5c0 50%, #a3e4df 100%);
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.logo-link {
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.language-selector select {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Hero Sections */
.hero, .property-hero {
    background: linear-gradient(135deg, #7cd0d1 0%, #f7cfa6 45%, #f4d7bd 100%);
    color: #19423a;
    padding: 120px 0 80px;
    text-align: center;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"%3E%3Cpath fill="rgba(255,255,255,0.35)" d="M0 100 C 50 140 150 60 200 100 L200 0 L0 0 Z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: top right;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.property-hero .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.property-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.highlight {
    background: rgba(255, 255, 255, 0.85);
    color: #19423a;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* Properties Section */
.properties {
    padding: 80px 0;
    background: #fff5e6;
}

.properties-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
    color: #1f4d40;
}

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

.property-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(145, 195, 160, 0.25);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(23, 73, 67, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(23, 73, 67, 0.15);
}

.property-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
    font-size: 5rem;
    background: linear-gradient(180deg, #f8ead2 0%, #e9d5b3 100%);
    color: #1f4d40;
}

.property-content {
    padding: 30px;
}

.property-content h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #1f4d40;
}

.property-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.property-details span {
    font-size: 0.95rem;
    color: #666;
}

.property-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.property-actions {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2c9f92 0%, #6dd7c9 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(44, 159, 146, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(44, 159, 146, 0.35);
}

.btn-secondary {
    background: white;
    color: #2c9f92;
    border: 2px solid #2c9f92;
}

.btn-secondary:hover {
    background: #2c9f92;
    color: white;
}

.btn-secondary:hover {
    box-shadow: 0 10px 20px rgba(44, 159, 146, 0.18);
}

/* Property Gallery */
.property-gallery {
    padding: 80px 0;
    background: #fff7ed;
}

.property-gallery h2 {
    margin-bottom: 35px;
    color: #1f4d40;
    text-align: center;
    font-size: 2.4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    cursor: pointer;
}

.manual-section {
    padding: 80px 0;
    background: #fff2e4;
}

.manual-section.manual-alt {
    background: #e7f3ed;
}

.manual-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 18px 40px rgba(28, 84, 73, 0.08);
}

.manual-section h2 {
    margin-bottom: 24px;
    color: #1f4d40;
}

.manual-section ul {
    margin-left: 1.4rem;
    padding-left: 1.2rem;
    list-style: disc;
    color: #4c6659;
}

.manual-section p {
    margin-bottom: 20px;
    color: #4c6659;
    line-height: 1.8;
}

.image-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.image-row img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(28, 84, 73, 0.08);
}

.card-small {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(250, 226, 191, 0.9));
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(28, 84, 73, 0.08);
    border: 1px solid rgba(143, 165, 141, 0.22);
}

.card-small h3 {
    margin-bottom: 15px;
    color: #1f4d40;
}

.manual-content a {
    color: #197f6c;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999;
}

.lightbox.hidden {
    display: none;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
    margin-top: 12px;
    color: #f5f5f5;
    font-size: 0.95rem;
    text-align: center;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
    line-height: 38px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Property Details */
.property-details {
    padding: 80px 0;
    background: #fff4e8;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.description h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1f4d40;
}

.description p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.description h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: #333;
}

.amenities-list {
    list-style: none;
    padding: 0;
}

.amenities-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

/* Calendar */
.availability-calendar {
    background: #fffaef;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(47, 97, 86, 0.08);
}

.availability-calendar h2 {
    margin-bottom: 25px;
    color: #1f4d40;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-btn {
    background: #2c9f92;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s, transform 0.3s;
}

.calendar-btn:hover {
    background: #34b3a7;
    transform: translateY(-1px);
}

#calendar-title {
    font-size: 1.3rem;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-day.available {
    background: #e8f5e8;
    color: #2e7d32;
}

.calendar-day.available:hover {
    background: #c8e6c9;
}

.calendar-day.occupied {
    background: #ffebee;
    color: #c62828;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.day-name {
    font-weight: bold;
    background: #667eea;
    color: white;
    cursor: default;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.available {
    background: #e8f5e8;
    border: 1px solid #2e7d32;
}

.legend-color.occupied {
    background: #ffebee;
    border: 1px solid #c62828;
}

.legend-color.selected {
    background: #e3f2fd;
    border: 1px solid #1e88e5;
}

.calendar-day.selected-range {
    background: #bbdefb;
    color: #0d47a1;
}

.calendar-day.selection-start,
.calendar-day.selection-end {
    box-shadow: inset 0 0 0 3px rgba(30, 136, 229, 0.8);
}

.booking-panel {
    margin-top: 30px;
    padding: 25px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.booking-panel h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
    color: #333;
}

.booking-panel p {
    margin-bottom: 18px;
    color: #555;
}

.booking-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.booking-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: #333;
}

.booking-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-form input:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
    outline: none;
}

.booking-form .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.booking-form .booking-note {
    margin-top: 12px;
    color: #666;
    font-size: 0.92rem;
}

.booking-message {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.booking-message.success {
    color: #155724;
    background: #d4edda;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #c3e6cb;
}

.booking-message.error {
    color: #721c24;
    background: #f8d7da;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #f5c6cb;
}

@media (max-width: 860px) {
    .booking-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Location Info */
.location-info {
    padding: 80px 0;
    background: #f8f9fa;
}

.location-info h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #333;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.location-features li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    color: #666;
}

.map-placeholder {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-placeholder p {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Contact Sections */
.contact, .contact-cta {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.contact h2, .contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.contact p, .contact-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-block;
    padding: 15px 30px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
}

.contact-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .nav-links {
        margin-top: 20px;
        gap: 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .property-highlights {
        flex-direction: column;
        gap: 15px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .property-actions {
        flex-direction: column;
    }

    .calendar-controls {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .properties-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        gap: 2px;
    }

    .calendar-day {
        font-size: 12px;
    }
}