:root {
    --primary: #004d59;
    --secondary: #e0f7f9;
    --accent: #007c91;
    --dark: #00333d;
    --light: #ffffff;
    --text: #1a1a1a;
    --shadow: 0 4px 12px rgba(0, 77, 89, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  
}

body{
    color: var(--text);
    text-align: center;
}

header {
    box-shadow: var(--shadow);
    position: sticky; /* or use fixed if you want it always visible even after scroll */
    top: 0;
    z-index: 999; /* ensures header stays on top of other elements */
    background-color: white; /* prevents transparency issues */
}


.offer-bar {
    background-color: var(--accent);
    color: var(--light);
    text-align: center;
    padding: 0.5rem;
    font-size: 12px;
    font-weight: bold;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.logo img {
    height: 80px;
    max-width: 100%;
}

.right-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.order-btn {
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 0.7rem 2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.3s, color 0.3s;
    border-radius: 30px;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
}

.our-products{
    background-color: rgba(255, 255, 0, 0.308);
}

.order-btn:hover {
    background-color: var(--accent);
    color: var(--light);
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-bar a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-bar a:hover {
    color: var(--accent);
}

.nav-bar::after {
    content: '';
    display: block;
    margin-top: 0.8rem;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 2px;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform 0.8s ease;
}

.slide {
    min-width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2rem;
    color: var(--light);
}

.slide img {
 max-width: 400px; 
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.1);
}

.slide-content {
    max-width: 500px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.slide-content a , .order-left a {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: var(--shadow);
    transition: background 0.3s, color 0.3s;
}

.slide-content a:hover , .order-left a:hover{
    background-color: var(--accent);
    color: var(--light);
}

.slide:nth-child(1) {
    background: linear-gradient(to right, #004d59, #000);
}

.slide:nth-child(2) {
    background: linear-gradient(to right, #3498db, #000);
}

.slide:nth-child(3) {
    background: linear-gradient(to right, #e67e22, #000);
}

.slide:nth-child(4) {
    background: linear-gradient(to right, #9b59b6, #000);
}

.menu-section {
    max-width: 1050px;
    margin: 0 auto;
    padding: 2rem;
}

.menu-section h2{
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.menu-section p {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.menu-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.menu-items {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.menu-item {
    flex: 0 0 300px;
    max-width: 300px;
    max-height: 700px;
    padding: 1rem;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.menu-item:hover img {
    transform: scale(1.1);
}

.menu-item-name {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.menu-item:nth-child(1) { background: var(--primary); }
.menu-item:nth-child(2) { background: var(--primary); }
.menu-item:nth-child(3) { background: var(--primary); }
.menu-item:nth-child(4) { background: var(--primary); }
.menu-item:nth-child(5) { background: var(--primary); }
.menu-item:nth-child(6) { background: var(--primary); }

.promises-section {
    position: relative;
    text-align: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    margin-bottom: 3rem;
}

.promises-header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
    z-index: 2;
}

.promises-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.promises-header p {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.8;
}

.promises-bg {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background-color: var(--secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.promises-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/halfcir.png');
    background-position: center;
    opacity: 0.1; 
    z-index: 0;
}

.promises-content {
    position: relative;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 100px;
    z-index: 2;
}

.promise {
    flex: 0 0 30%;
    background: var(--light);
    padding: 2rem 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.promise:hover {
    transform: translateY(-10px);
}

.promise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.promise h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.promise p {
    font-size: 1rem;
    color: var(--text);
}



.cake-slider-section {
    position: relative;
    padding: 2rem 0;
    background-color: var(--accent);
    overflow: hidden;
    margin-bottom: 50px;
}

.cake-slider-section > * {
    position: relative;
    z-index: 1;
}

.cake-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.cake-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: scrollCakes 40s linear infinite;
}

.cake-track img {
    height: 200px;
    width: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.cake-track img:hover {
    transform: scale(1.05);
}


/* Match existing layout */
.b2b-points h3 {
    font-size: 1.3rem;
    color: #013a3a;
    margin-bottom: 10px;
    font-weight: 600;
}

.b2b-points ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.b2b-points ul li {
    font-size: 1rem;
    color: #333;
     list-style: none;
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}


.sub-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 10px;
    color: #444;
}

.order-info {
    margin-top: 15px;
    font-weight: 600;
    color: #013a3a;
}

.contact-line {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #444;
}

.contact-line a {
    color: #013a3a;
    text-decoration: none;
    font-weight: 500;
}

.hero-button {
    background-color: #013a3a;
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.hero-button:hover {
    background-color: #025c5c;
}

@keyframes scrollCakes {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.cake-event-hero {
    background: linear-gradient(to right, #93c572 50%, #93c572 50%);
    font-family: 'Georgia', serif;
    width: 100%;
    padding: 0;
    margin: 0;
}

.cake-event-container {
    display: flex;
    background-color: #c7ad8f;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
}

.cake-event-left {
    flex: 1;
    padding: rem;

}

.cake-event-left h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.cake-event-left p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-button {
    background-color: var(--dark);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.cake-event-right {
    flex: 1;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.cake-frame {
    width: 100%;
    height: auto;
}

.cake-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.order-section {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(to right, #004d59, #000);
    color: #fff;
    padding: 40px;
    align-items: center;
    justify-content: center;
}

.order-left {
    flex: 1;
    padding: 20px;
    max-width: 500px;
}

.order-left h2 {
    font-size: 30px;
}

.order-left p {
    font-size: 16px;
    line-height: 1.6;
}

.order-left img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    transition: transform 0.2s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.order-section {
    width: 100%;
    background: linear-gradient(135deg, #004d59, #000);
    padding: 60px 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    width: 100%;
    gap: 2rem;
}

.order-left {
    flex: 1;
    max-width: 480px;
}

.order-left h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.order-left p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

.order-btn {
    display: inline-block;
    background: #d9f8ff;
    color: #004d59;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: #ffefc7;
    color: #000;
    transform: translateY(-2px);
}

.order-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cake-image-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cake-image-box img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.cake-image-box img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-image: url('../images/footer.png');
    color: var(--light);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-about p{
    margin-top: 10px;
}

.footer-logo {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--light);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004d59;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Products Page Styles */
.products-hero {
    background: linear-gradient(rgba(0, 77, 89, 0.8), rgba(0, 77, 89, 0.8)), url('../images/products-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.products-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    background-color: var(--secondary);
}

.category-btn {
    background-color: white;
    border: 2px solid var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary);
    color: white;
}

.products-container {
    max-width: 2200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.category-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 3rem 0 1.5rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    width: 100%;
    height: 50% !important;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.product-btn:hover {
    background-color: var(--accent);
}

/* Popup styles */
body.popup-active {
    overflow: hidden;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-form-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: sticky;
    top: 10px;
    margin-left: 350px;
    margin-top: -150px;
    font-size: 24px;
    cursor: pointer;
}

.popup-form-container form {
    display: flex;
    flex-direction: column;
}

.popup-form-container select,
.popup-form-container input,
.popup-form-container textarea,
.popup-form-container button {
    margin-bottom: 12px;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.popup-form-container button {
    background-color: #02aadd;
    color: white;
    border: none;
    cursor: pointer;
}

.popup-form-container .sumbtn:hover {
    background-color: #007b8a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quantity-weight-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.counter-group {
    flex: 1;
    text-align: center;
}

/* Vertical counter design */
.vertical-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #000;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    width: 100%;
    max-width: 100px;
    max-height: 30px;
    margin: 0 auto;
}

.vertical-counter button {
    all: unset;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    user-select: none;
}

.vertical-counter span {
    margin: 5px 0;
}

.form-product-image {
    text-align: center;
    margin-bottom: 1rem;
}

#formProductImage {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.price-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007c91;
    margin: 10px 0;
    padding: 10px;
    background-color: #e0f7f9;
    border-radius: 5px;
}

/* Admin Styles */
.admin-header {
    background: #004d59;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav {
    background: #007c91;
    padding: 1rem;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.admin-nav a:hover {
    background: #005a6b;
}

.container {
    padding: 2rem;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    background: white;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #004d59;
    color: white;
}

.btn {
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 0.2rem;
    display: inline-block;
}

.btn-edit {
    background: #ffc107;
    color: black;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-add {
    background: #28a745;
    color: white;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Login Styles */
.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

.login-container h2 {
    text-align: center;
    color: #004d59;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    background: #004d59;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #007c91;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide img {
        max-width: 500px;
    }
    
    .products-hero h1 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .slide {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        height: auto;
        padding: 3rem 1rem;
    }
    
    .slide img {
        max-width: 80%;
        margin-top: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .menu-item {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .promise {
        flex: 0 0 45%;
        margin-bottom: 1.5rem;
    }
    
    .cake-event-left h2 {
        font-size: 2.2rem;
    }
    
   .order-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .order-left, .order-right {
        max-width: 100%;
    }

    .order-btn {
        margin-top: 10px;
    }
    
    .products-hero {
        padding: 4rem 1.5rem;
    }
    
    .products-hero h1 {
        font-size: 2.2rem;
    }
    
    .products-hero p {
        font-size: 1.1rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .categories {
        padding: 1.5rem;
    }
    
    .category-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }
    
    .nav-bar {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .nav-bar.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .right-content {
        width: 100%;
        justify-content: space-between;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .menu-section h2 {
        font-size: 2rem;
    }
    
    .menu-slider {
        padding: 0.5rem;
    }
    
    .menu-item {
        flex: 0 0 250px;
        max-width: 250px;
    }
    
    .promises-content {
        flex-direction: column;
    }
    
    .promise {
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
    }
    
    .cake-event-container {
        flex-direction: column;
        text-align: center;
    }

    .cake-event-left,
    .cake-event-right {
        padding: 1rem;
    }

    .cake-event-left h2 {
        font-size: 2rem;
    }

    .cake-frame {
        clip-path: none;
        background: none;
        padding: 0;
    }

    .cake-frame img {
        border-radius: 15px;
    }
    
    .cake-track img {
        height: 150px;
    }
    
    .order-left, .order-right {
        padding: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .products-hero {
        padding: 3rem 1rem;
    }
    
    .products-hero h1 {
        font-size: 2rem;
    }
    
    .products-hero p {
        font-size: 1rem;
    }
    
    .categories {
        padding: 1rem;
    }
    
    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 60px;
    }
    
    .order-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .slide {
        padding: 2rem 1rem;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .slide-content a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .menu-section {
        padding: 1rem;
    }
    
    .menu-section h2 {
        font-size: 1.8rem;
    }
    
    .menu-item {
        flex: 0 0 220px;
        max-width: 220px;
    }
    
    .menu-item-name {
        font-size: 1.2rem;
    }
    
    .promises-section {
        padding: 4rem 1rem 2rem;
    }
    
    .cake-track img {
        height: 120px;
    }
    
    .order-section {
        padding: 20px;
    }
    
    .order-left h2 {
        font-size: 24px;
    }
    
    .order-left p {
        font-size: 14px;
    }
    
    footer {
        padding: 2rem 1rem;
    }
    
    .products-hero {
        padding: 2.5rem 1rem;
    }
    
    .products-hero h1 {
        font-size: 1.8rem;
    }
    
    .categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-img {
        height: 200px;
    }
    
    .popup-form-container {
        padding: 15px;
    }
}

@media (max-width: 400px) {
    .offer-bar {
        font-size: 10px;
        padding: 0.3rem;
    }
    
    .slide-content h1 {
        font-size: 1.3rem;
    }
    
    .menu-item {
        flex: 0 0 200px;
        max-width: 200px;
    }
    
    .cake-track img {
        height: 100px;
    }
    
    .order-right {
        padding: 15px;
    }
    
    .products-hero h1 {
        font-size: 1.6rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .product-btn {
        padding: 0.6rem 1rem;
    }
}

/* New Page Styles */
.page-hero {
    background: linear-gradient(rgba(0, 77, 89, 0.8), rgba(0, 77, 89, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    /* font-family: 'Playfair Display', serif; */
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.nav-bar {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-bar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-bar.active {
        right: 0;
    }
    
    .nav-bar a {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-text h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.values-section {
    margin: 4rem 0;
}

.values-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-section {
    margin: 4rem 0;
}

.team-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 5px solid var(--secondary);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.achievements-section {
    background: var(--secondary);
    padding: 4rem 0;
}

.achievements-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.achievement {
    text-align: center;
    padding: 2rem;
}

.achievement-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.achievement-text {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.contact-info {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-info p {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.6rem;
    color: var(--accent);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-text h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-text p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Social Links */
.social-contact {
    margin-top: 2rem;
    text-align: center;
}

.social-contact h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    background: var(--primary);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* Form Card */
.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0f7f9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--accent);
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    margin-top: 4rem;
}

.map-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.map-container {
    background: var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Responsive Layout */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Privacy Policy Styles */
.privacy-content {
    padding: 4rem 0;
    line-height: 1.8;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-section h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.privacy-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

.privacy-section a {
    color: var(--accent);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .values-grid,
    .team-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 1rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content,
    .privacy-content {
        padding: 2rem 0;
    }
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background-color: var(--primary);
  color: var(--light);
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: none; /* hidden by default */
}

#scrollTopBtn:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
}


