@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;700&display=swap');

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.7;
}

headerx {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url('images/DolceHeader1.png') center/cover no-repeat;
    background-color: #f8f6f4;
    color: #2c1e16;
    text-align: center;
    padding: 5rem 1rem 4rem;
    border-bottom: 1px solid #e0e0e0;
}

header {
    /* Fallback color — very light cream/white for instant nice look */
    background-color: #fdfcfb;
    
    /* Very light overlay (almost transparent white) */
    background: 
    linear-gradient(rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.80)),
    url('images/DolceHeader1.png') center/cover no-repeat;
    
    color: #2c1e16;                /* Your dark brown — great contrast on light bg */
    text-align: center;
    padding: 5rem 1rem 4rem;
    border-bottom: 1px solid #e0e0e0;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    margin: 0 0 0.5rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

header p {
    font-size: 1.3rem;
    margin: 0.5rem 0 0;
    font-weight: 300;
    color: #4d4d4d;
}

section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #8b6f47;
    text-align: center;
    margin: 0 0 2rem;
    font-weight: 600;
}

#about, #offerings, #contact {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

ul li::before {
    content: "•";
    color: #8b6f47;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

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

.gallery-item {
    text-align: center;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.gallery-item p {
    margin: 1rem 0 0;
    font-size: 1.1rem;
    color: #4d4d4d;
    font-style: normal;
}

#contact p {
    text-align: center;
    font-size: 1.2rem;
}

footer {
    background-color: #f8f6f4;
    color: #4d4d4d;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

a {
    color: #8b6f47;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Logo in header */
.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Hero section - full-width, centered */
#hero {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    height: 500px;                    /* Increased for better proportions */
}


.hero-image {
    display: block;
    margin: 0 auto;           /* centers horizontally */
    max-width: 100%;          /* prevents overflow on mobile */
    height: auto;
    width: auto;              /* or set a max-width like 1200px if desired */
}

.hero-overlay {
    position: absolute;
    bottom: 2.5rem;                   /* Slightly more breathing room */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);  /* Darker for better text contrast */
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    text-align: center;
}

.hero-overlay h2 {
    margin: 0;
    color: white;
    font-size: 2.4rem;                /* Slightly larger for impact */
}

/* About section with owner photo */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1 1 60%;
}

.owner-photo {
    flex: 0 1 auto;
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    display: block;
}

/* General image fixes */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    section { padding: 0 1rem; margin: 3rem auto; }
    header { padding: 4rem 1rem 3rem; }

    #hero {
        height: 320px;                    /* Adjusted for mobile */
        width: 100%;
        margin-left: 0;
    }

    .hero-overlay {
        bottom: 1.5rem;
        padding: 1rem 1.8rem;
    }

    .hero-overlay h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        gap: 1rem;
    }

    .gallery-item img {
        aspect-ratio: 4/3;
        object-fit: cover;
        max-height: 220px;
    }

    .owner-photo {
        max-width: 70%;
        width: auto;
        max-height: 400px;
        object-fit: contain;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        max-width: 180px;
    }
}

/* Extra-small screens */
@media (max-width: 480px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }

    .gallery-item img {
        max-height: 180px;
    }

    .owner-photo {
        max-width: 80%;
        max-height: 350px;
    }
}