.about-content {
    max-width: 700px;
    margin: 0 auto;
}

footer {
    background-color:#4B2C20 ; 
    color: #ffffff;           
    padding: 20px;
    text-align: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-image: url("");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

h1, h2, .logo {
    font-family: 'Playfair Display', serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.btn-wa {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: 0.3s;
}

.btn-wa:hover {
    background: #4e342e;
}

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-buttons {
    margin-top: 20px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #b08d6e;
}

.btn-secondary {
    border: 2px solid #fff;
    color: white;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--text-dark);
}

.container {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(78, 52, 46, 0.2);
}

.card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 ; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.1); 
}

.card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}


.coffee { background-image: url('https://images.unsplash.com/photo-1509042239860-f550ce710b93?auto=format&fit=crop&w=600'); }
.cake { background-image: url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?auto=format&fit=crop&w=600'); }
.pastry { background-image: url('https://images.unsplash.com/photo-1555507036-ab1f4038808a?auto=format&fit=crop&w=600'); }

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.card-price {
    color: #c2a382;
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-top: 15px;
}

.about {
    background: #efeae4;
    padding: 100px 8%;
    text-align: center;
    background: var(--text-dark);
    color: #ffffff;
    text-align: center;
    padding: 40px;
}

.socials { margin-top: 20px; color: var(--accent-color); }

@media (max-width: 768px) {
    .card-img {
        height: 200px; 
    }
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
        gap: 15px;
    }
}

.card {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.card-img {
    transition: transform 0.5s ease; 
}

.card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(78, 52, 46, 0.2); 
}

.card:hover .card-img {
    transform: scale(1.1); 
}

.card {
    overflow: hidden; 
}

.gallery-full {
    width: 100%;
    display: block; 
}

.gallery-box {
    width: 100%;
    position: relative;
    line-height: 0; 
}

.gallery-box img {
    width: 100%;
    height: auto; 
    display: block;
}

.label-keterangan {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(75, 44, 32, 0.8); 
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    line-height: normal;
}

.gallery-box {
    margin-bottom: 0; 
}

@media (max-width: 768px) {
    .label-keterangan {
        font-size: 0.8rem;
        bottom: 10px;
        left: 10px;
    }
}
