* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fefaf5;
    font-family: 'Poppins', sans-serif;
    color: #3e2a21;
    scroll-behavior: smooth;
}

/* warm scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5e6d3;
}
::-webkit-scrollbar-thumb {
    background: #c17a3a;
    border-radius: 10px;
}

/* animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 7%;
    background: rgba(254, 250, 245, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #b5632c;
}
.logo i {
    color: #d48c3a;
    margin-right: 5px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: #5a3a28;
    font-weight: 500;
    transition: 0.3s;
}
.nav-links a:hover {
    color: #b5632c;
}
.menu-icon {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #b5632c;
}

/* hero section */
.hero {
    min-height: 100vh;
    background: linear-gradient(115deg, #fef5e8 40%, rgba(254, 245, 232, 0.9) 100%), url('https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=2072&auto=format') center/cover;
    display: flex;
    align-items: center;
    padding: 0 7%;
    position: relative;
}
.hero-content {
    max-width: 600px;
}
.image img{
    width: 520px;
    height: auto;
    margin-left: 220px;
}
.hero-badge {
    display: inline-block;
    background: #e6c8a3;
    padding: 5px 18px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #7a4316;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
.hero h1 {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    line-height: 1.2;
    color: #4a2a1a;
}
.hero h1 span {
    color: #c57c3a;
    border-bottom: 3px solid #c57c3a;
    display: inline-block;
}
.hero p {
    font-size: 1rem;
    margin: 1.5rem 0 2rem;
    opacity: 0.85;
    line-height: 1.6;
}
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-primary, .btn-outline {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.btn-primary {
    background: #c57c3a;
    color: #fff;
    box-shadow: 0 6px 14px rgba(197, 124, 58, 0.3);
}
.btn-primary:hover {
    background: #d48f50;
    transform: scale(1.03);
}
.btn-outline {
    border: 2px solid #c57c3a;
    color: #5a3a28;
}
.btn-outline:hover {
    background: #c57c3a;
    color: white;
}

.section {
    padding: 90px 7%;
}
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #4a2a1a;
}
.section-title span {
    color: #c57c3a;
    border-bottom: 4px solid #e6c8a3;
    padding-bottom: 8px;
    padding-top: 8px;
}

.treats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}
.treat-card {
    background: white;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    cursor: pointer;
}
.treat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(197, 124, 58, 0.15);
}
.treat-img {
    height: 230px;
    overflow: hidden;
}
.treat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.treat-card:hover .treat-img img {
    transform: scale(1.06);
}
.treat-info {
    padding: 1.5rem;
    text-align: center;
}
.treat-info h3 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}
.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c57c3a;
    margin: 8px 0;
}
.order-treat {
    background: #f7ede2;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}
.order-treat:hover {
    background: #c57c3a;
    color: white;
}

.features-bakery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.feature-b {
    background: white;
    text-align: center;
    padding: 1.8rem;
    border-radius: 60px;
    width: 210px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}
.feature-b i {
    font-size: 2.2rem;
    color: #c57c3a;
    margin-bottom: 1rem;
}
.feature-b:hover {
    transform: translateY(-5px);
    background: #fff9f0;
}

/* Tab styling */
.tab-btn {
    background: #f7ede2;
    border: 1px solid #edd6bd;
    padding: 10px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    color: #5a3a28;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.tab-btn:hover {
    background: #e6c8a3;
    border-color: #c57c3a;
}
.active-tab {
    background: #c57c3a;
    color: white;
    border-color: #c57c3a;
    box-shadow: 0 4px 12px rgba(197,124,58,0.3);
}
.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}
.active-content {
    display: block;
}

.testi-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
}
.testi-card {
    background: #fff;
    border-radius: 35px;
    padding: 1.8rem;
    width: 280px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.testi-card i {
    color: #c57c3a;
    font-size: 1.8rem;
}
.stars {
    color: #f4b942;
    margin: 10px 0;
}

/* order form */
.order-pastry {
    background: #fff6ed;
    border-radius: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2.5rem;
    border: 1px solid #f0e0ce;
}
.number-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.order-info {
    flex: 1;
}
.order-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-method {
    display: flex;
    gap: 1rem;
    margin: 0;
}
.order-method label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
    background: white;
    border-radius: 60px;
    transition: all 0.2s ease;
    border: 1.5px solid #edd6bd;
    font-size: 1rem;
    text-align: center;
    line-height: 1;
    margin: 0;
}
.order-method label:hover {
    background: #f7ede2;
    border-color: #c57c3a;
}
.order-method input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #c57c3a;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.order-method label:has(input:checked) {
    background: #c57c3a20;
    border-color: #c57c3a;
    color: #c57c3a;
}

.order-form input, .order-form select, .order-form textarea {
    background: white;
    border: 1px solid #edd6bd;
    padding: 14px 18px;
    border-radius: 60px;
    color: #3e2a21;
    font-size: 0.95rem;
    width: 100%;
}
.order-form textarea {
    border-radius: 25px;
}
.order-form button {
    background: #c57c3a;
    border: none;
    padding: 14px;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    color: white;
}
.order-form button:hover {
    background: #d48f50;
    transform: scale(1.02);
}
#custAddress:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5e6d3;
}

.demo-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #c57c3a, #dba46a);
    color: #fff;
    padding: 16px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease forwards;
    cursor: pointer;
    text-align: center;
    max-width: 90%;
    line-height: 1.4;
}
.demo-toast small {
    font-size: 0.7rem;
    opacity: 0.9;
}

footer {
    background: #2c1c12;
    color: #f0dfce;
    text-align: center;
    padding: 50px 5% 30px;
}
.footer-logo {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    margin-top: 20px;
    color: #dba46a;
}
footer p {
    margin-bottom: 20px;
}
.footer-id {
    color: #dba46a;
    text-decoration: none;
}
.social-bake i {
    font-size: 1.5rem;
    margin: 0 12px;
    color: #dba46a;
    transition: 0.2s;
}
.social-bake i:hover {
    transform: translateY(-3px);
}

/* responsive */
@media (max-width: 850px) {
    .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    left: auto;
    width: 70%;
    height: 100vh;
    background: #fffaf5;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 2rem;
    transition: 0.4s;
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    }
    .nav-links a {
    display: block;
    padding: 15px 0;
    font-size: 1rem;
    border-bottom: 2px solid #e6c8a3;
    }
    .nav-links a:hover {
    color: #c57c3a;
    border-bottom-color: #c57c3a;
    padding-left: 5px;
    }
    .nav-links.active {
    right: 0;
    }
    .menu-icon {
    display: block;
    }
    .hero h1 {
    font-size: 2.6rem;
    }
    .section-title {
    font-size: 1.7rem;
    }
    .order-pastry {
    flex-direction: column;
    padding: 1.8rem;
    gap: 1.5rem;
    }
    .order-info {
    text-align: center;
    }
    .number-contact {
    justify-content: center;
    }
    .image{
        display: none;
    }
}

@media (max-width: 600px) {
    .demo-toast {
    font-size: 0.8rem;
    padding: 12px 20px;
    }
    .order-method label {
    padding: 10px 12px;
    font-size: 0.85rem;
    }
    .order-form input, .order-form select, .order-form textarea {
    padding: 10px 14px;
    font-size: 0.85rem;
    }
    .image{
        display: none;
    }
}

@media (max-width: 480px) {
    .order-pastry {
    padding: 1.2rem;
    border-radius: 35px;
    }
    .order-method {
    flex-direction: column;
    gap: 0.6rem;
    }
    .order-method label {
    width: 100%;
    padding: 10px 0;
    }
    .image{
        display: none;
    }
}
