/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 120px;   /* Try 30px–60px depending on your design */
    width: auto;    /* Keeps the aspect ratio */
    object-fit: contain;  /* Ensures it doesn’t stretch weird */
}


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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0066cc;
}

main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 5%;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

/* Hero Section */
.hero {
    background-image: url('images/mfhome.png');
    background-size: cover;
    background-position: center;
    height: 100vh; /* full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
}

.cta-button {
    margin-top: 1.5rem;
    background-color: #00bcd4;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0097a7;
}


.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
}

/* Booking Form */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.booking-form h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Products Page */
.products h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #0066cc;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
}

.product-card h2 {
    padding: 1rem 1rem 0;
    color: #0066cc;
}

.product-card p {
    padding: 0 1rem;
    margin: 0.5rem 0;
}

.product-card .specs {
    padding: 0 1rem 1rem;
    list-style-type: none;
}

.product-card .specs li {
    margin-bottom: 0.3rem;
}

.product-card .cta-button {
    display: block;
    margin: 0 auto 1.5rem;
    text-align: center;
    width: 80%;
}

/* About Page */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about h1 {
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.about p {
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Page */
.contact h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #0066cc;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-info {
    background-color: #0066cc;
    color: white;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
}

.social-links img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .about, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

/* FAQ Section Styling */
.faq {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.faq h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #333;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item h2 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #005f7f; /* Match your branding or adjust */
}

.faq-item p,
.faq-item ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.faq-item ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

@media (max-width: 600px) {
    .faq h1 {
        font-size: 1.6rem;
    }

    .faq-item h2 {
        font-size: 1.1rem;
    }

    .faq-item {
        padding: 1rem;
    }
}

/* Accordion FAQ Styling */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-question {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #f2f2f2;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.accordion-question::after {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-question.active::after {
    content: '−';
}

.accordion-question:hover {
    background-color: #e9e9e9;
}

.accordion-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background-color: #fff;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-answer p,
.accordion-answer ul {
    margin: 1rem 0;
    color: #444;
    line-height: 1.6;
}

.accordion-answer ul {
    padding-left: 1.5rem;
}

.accordion-question.active + .accordion-answer {
    max-height: 500px; /* Arbitrary large number to allow expansion */
    padding-bottom: 1rem;
}
