* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f8fb;
}

header {
    background: #0a3d62;
    color: white;
    padding: 15px;
    text-align: center;
}

nav {
    background: #074173;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    transition: 0.3s;
}

nav a:hover {
    background: #0a3d62;
    border-radius: 5px;
}

.slideshow {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 1s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section {
    padding: 40px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
}

.boats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.boat-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.boat-card:hover {
    transform: scale(1.05);
}

.boat-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc; 
}

button {
    padding: 10px;
    background: #0a3d62;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #074173;
}

footer {
    background: #0a3d62;
    color: white;
    text-align: center;
    padding: 15px;
}

@media(max-width: 600px) {
    .slideshow {
        height: 250px;
    }
}
header p {
    font-size: 14px;
    opacity: 0.8;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.hero-text h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.cta-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #0a3d62;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.cta-btn:hover {
    background: #074173;
}

.reviews {
    background: #eaf3fb;
}

.review {
    margin: 20px auto;
    max-width: 500px;
}

.cta {
    background: #0a3d62;
    color: white;
}

.boat-card h3 {
    padding: 10px;
}

.boat-card p {
    padding: 0 10px 10px;
    color: #555;
}

.boat-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.payment-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.payment-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 350px;
    text-align: center;
    position: relative;
}

.payment-box h2 {
    margin-bottom: 20px;
}

.payment-box input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.payment-box button {
    margin-top: 15px;
    width: 100%;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

#paymentMessage {
    margin-top: 15px;
    font-weight: bold;
    color: green;
} 


.contact-hero {
    height: 300px;
    background: url("yacht.jpg") center/cover no-repeat;
    position: relative;
}

.contact-overlay {
    background: rgba(0,0,0,0.6);
    height: 100%;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 20px;
}

.contact-overlay h2 {
    font-size: 50px;
    margin-bottom: 10px;
}

.contact-overlay p {
    font-size: 18px;
}

.contact-section {
    padding: 60px 20px;
}

.contact-container {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form,
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 20px;
    color: #0a3d62;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.contact-form button {
    padding: 14px;
    background: #00a8ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #0097e6;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 17px;
}

@media(max-width: 768px) {

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-overlay h2 {
        font-size: 35px;
    }

}