/* =========================================
   1. Reset and Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fdf6e3; /* Creamy background */
    color: #4e342e; /* Dark chocolate text */
    line-height: 1.6;
}

h1, h2 {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   2. Hero Section (Header) - Compact Version
   ========================================= */
.hero {
    background-color: #5d4037;
    color: #fff;
    /* Auto height + Padding = Fits content tightly without wasting space */
    height: auto; 
    min-height: unset;
    padding: 40px 20px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    /* Use the new font */
    font-family: 'Pacifico', cursive; 
    
    /* Cursive fonts usually need to be larger to be readable */
    font-size: 5.5rem; 
    
    /* A soft cream color looks great on the brown background */
    color: #fff8e1; 
    
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(62, 39, 35, 0.5); /* Adds a 3D effect */
}

/* Hero Contact Buttons (Phone/Email) */
.hero-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Standard Button Style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #d7ccc8;
    color: #3e2723;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #fff;
    cursor: pointer;
}

/* Social Buttons inside Hero (Specific Override) */
.hero .social-buttons {
    margin-top: 15px; /* Tighter gap than the footer version */
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================================
   3. Gallery Section (Lightbox Grid)
   ========================================= */
.gallery {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    /* Responsive columns: fits as many 150px columns as possible */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 150px; /* Fixed height for neat grid */
}

.gallery-grid a:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents squashing */
}

/* =========================================
   4. Global Social Buttons (Used in Header & Footer)
   ========================================= */
.social-btn {
    padding: 10px 20px; /* Slightly more compact */
    border-radius: 50px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
    font-size: 0.9rem;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.facebook {
    background-color: #1877F2;
}

.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* =========================================
   5. Contact Section & Footer
   ========================================= */
.contact {
    padding: 60px 20px;
    text-align: center;
    background-color: #efebe9;
}

/* Direct Contact Links (Footer Area) */
.direct-contact {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-link {
    font-size: 1.1rem;
    color: #4e342e;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #d7ccc8;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: #5d4037;
    color: #fff;
    border-color: #5d4037;
}

/* Desktop layout for contact links */
@media (min-width: 768px) {
    .direct-contact {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #3e2723;
    color: #d7ccc8;
    font-size: 0.9rem;
}