/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    index.css
    Created on : Dec 2, 2025, 3:59:25 a.m.
    Author     : Justin
*/

body {
    margin: 0;
    font-family: Georgia, serif;
    background-color: #142133; /* Navy blue old= #112137*/
}

.page-header {
    background-image: url("../images/banners/banner-home.png");
    background-size: cover;      /* makes it fill the area */
    background-position: center; /* keeps subject centered */
    height: 300px;               /* controls header height */
    position: relative;          /* REQUIRED for overlay */
    color: white;                /* header text color */
    display: flex;               /* allows centering */
    flex-direction: column;
    align-items: center;         /* vertically center text */
    justify-content: center;     /* horizontally center text */
    text-align: center;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;                    /* covers the entire block */
    background: rgba(0, 0, 0, 0.8);  /* black @ 50% transparency */
}

.page-header h1, .page-header h3 {
    position: relative;
    z-index: 1;   /* sits ABOVE the overlay */
}

.page-header h1 {
    font-size: 60px;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    color: #e7d9b1;
}

.page-header h3 {
    font-size: 30px;
    font-style: italic;
    opacity: 0.9;
    margin-top: 10px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}





.book-now-img {
    display: block;                   /* allows margin auto centering */
    margin: 40px auto;                /* vertical spacing and horizontal centering */
    max-width: 800px;                 /* caps the size */
    width: 90%;                        /* responsive for smaller screens */
    height: auto;                      /* keep aspect ratio */
    border-radius: 12px;               /* matches CTA / cards */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3); /* subtle shadow like other elements */
    transition: transform 0.3s ease;   /* optional hover effect */
}

.book-now-img:hover {
    transform: scale(1.02);           /* slight hover pop for interaction */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .book-now-img {
        max-width: 95%;               /* almost full width on small screens */
        margin: 20px auto;
    }
}
.cta-image {
    display: block;
    margin: 40px auto;
    max-width: 1000px;   /* bigger max width */
    width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.book-now-panel {
    padding: 20px;
    width: 60%;
    text-align: center;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.05); /* very subtle light overlay */
    backdrop-filter: blur(10px);            /* glass effect */
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.book-now-contact {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    color: #D3A417;                  /* gold accent */
    font-family: Georgia, serif;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-link:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

/* Mobile friendly */
@media (max-width: 600px) {
    .contact-link {
        font-size: 1.05rem;
    }
}





/* The features section aka "why choose us?" section */
.features-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px auto;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05); /* very subtle light overlay */
    backdrop-filter: blur(10px);            /* glass effect */
    color: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    flex: 1 1 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #D3A417;   /* gold accent */
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.08);
}






/* SERVICES SECTION */
.services {
    width: 90%;
    max-width: 1200px;
    margin: 4rem auto;
    text-align: center;
}

.services h2 {
    font-family: Georgia, serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #D3A417;
}

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

/* SERVICE CARD */
.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* FORCE image to fill entire card */
.service-card img {
    position: absolute;
    inset: 0;              /* top, right, bottom, left = 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;     /* THIS is the key */
    z-index: 0;
}

/* Overlay to darken image */
.service-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Text container on top */
.service-card .service-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
}

/* Heading & paragraph */
.service-card .service-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-card .service-text p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Hover effect */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 600px) {
    .services {
        margin: 3rem auto;
    }

    .service-card {
        min-height: 200px;
    }

    .service-card .service-text {
        padding: 1rem;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .service-card .service-text h3 {
        font-size: 1.25rem;
    }

    .service-card .service-text p {
        font-size: 0.95rem;
    }
}

/* Make entire service card clickable */
.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Cursor feedback */
.service-link .service-card {
    cursor: pointer;
}

/* Keep hover effects working */
.service-link:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Prevent link styling leaks */
.service-link:visited,
.service-link:active {
    color: inherit;
}

.service-link:hover .service-card img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}






/* ===========================
   WHOLE PAGE FADE + SLIDE UP
=========================== */

.page-fade {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpPage 1.1s ease forwards;
}

@keyframes fadeUpPage {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

