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

body {
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    color: #888;
    line-height: 1.6;
    margin: 0;
    background: #f5f5f5;
}

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

/* Header */
header {
    background: #e6f2fa;
    padding: 8px 0 0;
    border-bottom: 0;
    min-height: 176px;
    width: 100%;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    text-align: center;
    width: 100%;
    position: relative;
}

.logo {
    height: auto;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.header-info {
    position: absolute;
    right: 15px;
    top: 90px;
    text-align: left;
}

.header-tagline {
    color: #26474d;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.header-phone {
    color: #26474d;
    font-size: 24px;
    font-weight: 700;
    font-family: Verdana, Geneva, sans-serif;
    margin: 0;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNiAxMEMzIDEwIDEgMTIgMSAxNUMxIDE4IDMgMjAgNiAyMEgxOEMyMSAyMCAyMyAxOCAyMyAxNUMyMyAxMiAyMSAxMCAxOCAxMEg2WiIgc3Ryb2tlPSIjMjY0NzRkIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=) no-repeat 0px 10px;
    padding: 5px 0 5px 30px;
    min-height: 30px;
}

.header-email {
    font-size: 18px;
    font-weight: 500;
    text-transform: lowercase;
    padding-left: 30px;
}

.header-email a {
    color: #26474d;
    text-decoration: none;
}

/* Navigation */
nav {
    background: #26464d;
    padding: 0;
    height: 60px;
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0;
    height: 60px;
}

nav li {
    margin: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 60px;
    padding: 0 20px;
    display: block;
    transition: color 0.3s;
}

nav a:hover {
    color: #72787c;
}

/* Slider */
.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 25px;
    text-align: center;
    height: 30%;
    top: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-caption h3 {
    margin: 0 0 10px 0;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.slide-caption p {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

.slide-caption a {
    color: #fff;
    background: #547eaf;
    padding: 10px 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s;
}

.slide-caption a:hover {
    background: #26464d;
}

/* Properties Section */
.properties {
    padding: 60px 0;
    background: #f5f5f5;
}

.properties h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #393939;
    font-size: 48px;
    font-weight: 700;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.property-card {
    background: white;
    overflow: hidden;
    position: relative;
    max-width: 390px;
    margin: 0 auto;
}

.property-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.property-info {
    position: absolute;
    z-index: 999;
    top: 105px;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    font-size: 18px;
    color: #fff;
    text-align: center;
}

.property-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.property-info p {
    margin: 0 0 15px 0;
    color: #fff;
}

.property-info a {
    background: #69a1c0;
    padding: 4px 15px;
    font-size: 18px;
    color: #FFF;
    text-decoration: none;
    margin-top: 10px;
    line-height: 15px;
    display: inline-block;
    transition: background 0.3s;
}

.property-info a:hover {
    background: #26464d;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #f5f5f5;
}

.about h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #757678;
    font-size: 36px;
    font-weight: 700;
}

.about > p {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 40px;
    font-size: 18px;
    padding: 0 50px;
    color: #888;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.about-item {
    text-align: center;
    padding: 20px;
}

.about-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 15px;
}

.about-item h3 {
    color: #26474d;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

.about-item p {
    font-size: 16px;
    line-height: 20px;
    color: #888;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(../images/beach-grass-bg.jpg) center/cover no-repeat;
    padding: 60px 0;
    color: white;
    text-align: center;
    min-height: 395px;
    position: relative;
}

.testimonials h2 {
    margin-bottom: 30px;
    font-size: 51px;
    font-weight: 500;
    color: #FFF;
    padding: 50px 0 0 0;
}

.testimonials p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: 500;
    color: #FFF;
    font-style: italic;
}

.testimonials .author {
    font-style: italic;
    font-size: 24px;
    text-align: right;
    max-width: 800px;
}

/* Footer */
footer {
    background: #343e44;
    color: #72787c;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #495157;
}

footer nav {
    background: #343e44;
}

footer nav ul {
    margin-bottom: 20px;
    flex-wrap: wrap;
}

footer .copyright {
    margin-top: 20px;
    font-size: 14px;
    color: #72787c;
}

footer .copyright a {
    color: #72787c;
    text-decoration: underline;
}

/* Content Pages */
.page-content {
    padding: 60px 0;
    background: #fff;
}

.page-content h1 {
    color: #26474d;
    margin-bottom: 30px;
    text-align: center;
    font-size: 48px;
    font-weight: 700;
}

.page-content h2 {
    color: #26474d;
    margin: 30px 0 15px;
    font-size: 36px;
    font-weight: 700;
}

.page-content h3 {
    color: #26474d;
    margin: 20px 0 10px;
    font-size: 20px;
}

.page-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #454545;
}

/* Testimonials Page */
.testimonial-item {
    background: #f9f9f9;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 4px solid #69a1c0;
}

.testimonial-item h3 {
    margin-top: 0;
    font-size: 22px;
    font-weight: 500;
    color: #424242;
    font-style: italic;
    margin-bottom: 20px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjUiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCA2NSAxMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2LjVMNiAwTDcuNSA2LjVMNiAxM0wwIDYuNU02LjUgNi41TDEyLjUgMEwxNCA2LjVMMTIuNSAxM0w2LjUgNi41TTEzIDYuNUwxOSAwTDIwLjUgNi41TDE5IDEzTDEzIDYuNU0xOS41IDYuNUwyNS41IDBMMjcgNi41TDI1LjUgMTNMMTkuNSA2LjVNMjYgNi41TDMyIDBMMzMuNSA2LjVMMzIgMTNMMjYgNi41IiBmaWxsPSIjZTc3MTFiIi8+PC9zdmc+) no-repeat right;
    padding-right: 70px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 18px;
    color: #424242;
}

.testimonial-author {
    font-weight: bold;
    color: #26474b;
    font-style: italic;
    font-size: 18px;
}

/* FAQ Page */
.faq-section {
    margin-bottom: 40px;
}

.faq-item {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.faq-item h3 {
    color: #26474d;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.faq-item p {
    margin: 0 0 10px;
    line-height: 1.8;
}

.faq-item ul, .faq-item ol {
    margin: 10px 0 10px 25px;
}

/* Explore Page */
.explore-section {
    margin-bottom: 50px;
}

.explore-section h2 {
    color: #26474d;
    border-bottom: 2px solid #69a1c0;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.explore-item {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.explore-item h3 {
    color: #26474d;
    margin-top: 0;
    margin-bottom: 10px;
}

.explore-item p {
    margin-bottom: 10px;
}

.explore-item a {
    color: #69a1c0;
    text-decoration: none;
}

.explore-item a:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    padding: 20px;
}

.contact-info h2 {
    font-size: 18px;
    font-weight: 800;
    color: #000;
}

.contact-info p {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.contact-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-details p {
    margin: 10px 0;
}

.contact-form-section {
    padding: 20px;
}

.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 50px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 5px;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    background: transparent;
    color: #000;
}

.form-group textarea {
    border: 1px solid #e7e7e7;
    padding: 12px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #69a1c0;
}

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

.btn-submit, .btn-reset {
    padding: 20px 50px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    color: #FFFFFF;
}

.btn-submit {
    background: #f6402b;
}

.btn-submit:hover {
    background: #d63620;
}

.btn-reset {
    background: #6c757d;
}

.btn-reset:hover {
    background: #5a6268;
}

/* Terms Page */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-content h2 {
    color: #26474d;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.terms-content h3 {
    color: #26474d;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

.terms-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.terms-content ol, .terms-content ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.terms-content li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .header-info {
        position: static;
        text-align: center;
        margin-top: 10px;
        width: 100%;
    }
    
    .header-phone {
        background: none;
        padding-left: 0;
    }
    
    .header-email {
        padding-left: 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 919px) {
    nav ul {
        flex-direction: column;
        height: auto;
        gap: 0;
    }
    
    nav {
        height: auto;
    }
    
    nav a {
        line-height: 50px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-tagline {
        display: none;
    }
    
    .slider {
        height: 300px;
    }
    
    .slide-caption h3 {
        font-size: 24px;
    }
    
    .slide-caption p {
        font-size: 18px;
    }
    
    .properties h1 {
        font-size: 36px;
    }
    
    .about > p {
        padding: 0 20px;
    }
    
    .property-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .btn-submit, .btn-reset {
        width: 100%;
    }
    
    .testimonials h2 {
        font-size: 36px;
    }
}
