/* GLOBAL STYLES */
body { 
    font-family: 'Lato', sans-serif; 
    margin: 0; 
    color: #333; 
    line-height: 1.6; 
}


/* --- UPDATED HEADER CSS --- */
header {
    background-color: #10115d; /* A dark slate blue */
    color: white;
}

/* 1. Header Container (Aligns 3 items side-by-side) */
.header-container {
    display: flex;
    justify-content: space-between; /* Spreads items evenly */
    align-items: center;          /* Vertically centers everything */
    max-width: 2000px;            /* Boundary to prevent stretching on huge monitors */
    margin: 0 auto;               /* Centers the container on the screen */
    width: 100%;                  /* Takes full allowed width */
                /* Side padding */
}

/* 2. Spacer and Search Container (Must be equal width for true centering) */
.header-spacer, .header-search {
    flex: 1;                     /* Both take up exactly 1/3 of the space */
    display: flex;
    align-items: center;
}

/* Spacer on the left remains empty */
.header-spacer {
    justify-content: flex-start;
}

/* Search bar on the right is aligned right */
.header-search {
    justify-content: flex-end; /* Aligns search bar to the right edge */
}

/* 3. Logo Container (Centers itself in the middle 1/3) */
.logo-container {
    flex: 0 0 auto;             /* Logo doesn't shrink or grow; takes only needed space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 250px;           /* Size adjusted to fit header */
    height: auto;
    border-radius: 50%;
    /* PLACEHOLDER LOGO */
    /*content: url('https://placehold.co/150x150/ffffff/2c3e50?text=LOGO');*/
}

/* 4. Search Bar Modern Styling */
.header-search form {
    display: flex;
    gap: 0;                     /* No gap for a cohesive pill shape */
    border: 1px solid rgba(255, 255, 255, 0.4); /* Subtle transparent white border */
    border-radius: 25px;        /* Rounded edges */
    overflow: hidden;           /* Clips contents to shape */
    background-color: rgba(255, 255, 255, 0.1); /* Slight white background hint */
}

.search-input {
    background-color: transparent;
    border: none;
    color: white;               /* White text input */
    padding: 10px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    width: 100px;               /* Text input width */
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6); /* Softened placeholder text */
}

.search-button {
    background-color: transparent;
    border: none;
    color: white;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;  /* All-caps button text */
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Hover highlight */
}

/* RESPONSIVENESS (Stacks items on mobile) */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column; /* Stack vertically */
        gap: 20px;
        padding: 0 20px;
    }
    
    .header-spacer {
        display: none;          /* Hide the spacer on mobile */
    }

    .header-search {
        width: 100%;            /* Search bar spans full width */
        justify-content: center; /* Centered search on mobile */
    }

    .search-input {
        width: 100%;            /* Input area spans full width */
    }
}
.header-text {
    padding: 40px;
    flex-grow: 1;
}

h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.8rem; 
    margin: 0 0 10px 0; 
}

/* GALLERY SECTION */
.gallery { 
    padding: 50px 20px; 
    max-width: 1000px; 
    margin: auto; 
    background-color: #FFF; 
}

.gallery h2 { 
    text-align: center; 
    font-family: 'Playfair Display', serif; 
    color: #333; 
    margin-bottom: 30px;
}

/* GRID & CARDS */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
}

.card { 
    border: 1px solid #eee; 
    padding: 15px; 
    text-align: center; 
    transition: 0.3s; 
}

.card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.card img { 
    width: 100%; 
    height: auto; 
    border-radius: 4px; 
}

/* ENQUIRY SECTION */
.enquiry { 
    background: #333; 
    color: white; 
    padding: 50px 20px; 
    text-align: center; 
}

.enquiry h2 { color: #FFF; font-family: 'Playfair Display', serif; }

form { 
    max-width: 500px; 
    margin: auto; 
    display: flex; 
    flex-direction: column; 
}

input, textarea { 
    margin-bottom: 15px; 
    padding: 12px; 
    border: none; 
    border-radius: 4px; 
}

button { 
    background: #0A145A; 
    color: white; 
    border: none; 
    padding: 15px; 
    cursor: pointer; 
    font-size: 1rem; 
    border-radius: 4px; 
}

button:hover { background: #bc936a; }

footer { text-align: center; padding: 20px; color: #777; }

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .logo {
        height: 250px;
        width: auto;
    }
}

