/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fdb822;
    --secondary-color: #382722;
    --text-color: #696969;
    --bg-color: #ffffff;
    --footer-bg: #dd9933;
    --font-main: 'Lato', Arial, sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
h4 { font-size: 1.2rem; line-height: 1.5; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Icons */
.icon-location::before,
.icon-phone::before,
.icon-email::before,
.icon-facebook::before,
.icon-instagram::before,
.icon-arrow-up::before,
.icon-sandwich::before,
.icon-bread::before,
.icon-cookie::before,
.icon-pastry::before {
    font-style: normal;
    margin-right: 8px;
}

.icon-location::before { content: "??"; }
.icon-phone::before { content: "??"; }
.icon-email::before { content: "??"; }
.icon-facebook::before { content: "f"; }
.icon-instagram::before { content: "??"; }
.icon-arrow-up::before { content: "?"; }
.icon-sandwich::before { content: "??"; }
.icon-bread::before { content: "??"; }
.icon-cookie::before { content: "??"; }
.icon-pastry::before { content: "??"; }

/* Header Styles */
.main-header {
    position: relative;
    z-index: 1000;
}

.top-bar {
    background-color: #000000;
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Navigation */
.main-nav {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 30px;
    flex: 1;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-wrapper a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    color: #555555;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-wrapper a:hover,
.nav-wrapper a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.logo {
    flex: 0 0 120px;
    text-align: center;
    margin: 0 20px;
}

.logo img {
    max-width: 120px;
    height: auto;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    color: #555555;
    border-bottom: 1px solid #efefef;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary-color);
}

.mobile-menu.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--footer-bg);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(104,79,64,0.7) 0%, rgba(253,184,34,0.7) 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 5px 15px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 700;
}

.hero-content p {
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
}

/* Page Header */
.page-header {
    background-color: var(--footer-bg);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    font-size: 3rem;
}

/* Products & Services Section */
.products-services {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-box {
    background: #ffffff;
    padding: 45px 30px 40px;
    border-radius: 8px;
    box-shadow: 0 0 74px rgba(10,10,10,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 80px rgba(10,10,10,0.15);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.service-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-box p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* About Content */
.about-content {
    padding: 40px 0 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    order: 1;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.about-image {
    order: 2;
    position: sticky;
    top: 100px;
    max-width: 400px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 74px rgba(10,10,10,0.07);
}

/* Confections Content */
.confections-content {
    padding: 60px 0;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.intro-text h2 {
    margin-bottom: 15px;
}

.intro-text .note-text {
    color: var(--secondary-color);
    font-style: italic;
    margin-top: 20px;
}

.confection-category {
    margin-bottom: 60px;
}

.category-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.confection-items {
    display: grid;
    gap: 30px;
}

.confection-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.confection-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.confection-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.confection-item p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

.dietary-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

.dietary-tag.gf {
    background-color: #4CAF50;
    color: #ffffff;
}

.dietary-tag.v {
    background-color: #2196F3;
    color: #ffffff;
}

.dietary-key {
    background: linear-gradient(135deg, rgba(104,79,64,0.1) 0%, rgba(253,184,34,0.1) 100%);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.dietary-key h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.dietary-key p {
    font-size: 1.1rem;
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 0 74px rgba(10,10,10,0.07);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.product-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.specialty-section {
    margin-bottom: 60px;
}

.specialty-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.specialty-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.specialty-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(104,79,64,0.1) 0%, rgba(253,184,34,0.1) 100%);
    border-radius: 8px;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: #ffffff;
    padding: 30px 0 15px;
}

.footer-content-centered {
    text-align: center;
    margin-bottom: 15px;
}

.footer-contact-large {
    margin-bottom: 15px;
}

.footer-phone,
.footer-email {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-phone i,
.footer-email i {
    font-size: 1.3rem;
    color: #ffffff;
}

.footer-phone a,
.footer-email a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.footer-phone a:hover,
.footer-email a:hover {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-links-large {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.social-links-large a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: var(--text-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links-large a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

.social-links-large svg {
    width: 28px;
    height: 28px;
}

.social-links-large .social-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px 0 12px 0;
}

.footer-bottom-centered {
    text-align: center;
    font-size: 18px;
}

.footer-bottom-centered p {
    margin: 0;
}

/* Hide mobile break on desktop */
.mobile-break {
    display: none;
}

/* Legacy footer styles - keep for backwards compatibility */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 120px;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
}

.footer-contact h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.copyright p {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
}

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-section {
    margin-top: 40px;
}

.social-section h4 {
    margin-bottom: 15px;
}

.social-section .social-links-large {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-section .social-links-large a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    background-color: #f9f9f9;
    border-radius: 4px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.social-section .social-links-large a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.social-section .social-links-large .social-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 74px rgba(10,10,10,0.07);
}

.contact-form-wrapper h2 {
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #efefef;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #cf2e2e;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    align-self: flex-start;
    cursor: pointer;
    border: none;
}

.form-success {
    background: linear-gradient(135deg, rgba(104,79,64,0.1) 0%, rgba(253,184,34,0.1) 100%);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.form-success h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal.show {
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.success-modal.show .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        flex: 1;
        text-align: left;
    }

    .content-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-text {
        order: 1;
    }

    .about-image {
        position: static;
        order: 2;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
.top-bar-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

    .hero {
        height: 160px;
        padding: 20px 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .logo {
        flex: 0 0 100px;
    }

    .logo img {
        max-width: 100px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .services-grid,
    .products-grid,
    .specialty-grid {
        grid-template-columns: 1fr;
    }

    .footer-content,
    .footer-content-centered {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .footer-bottom,
    .footer-bottom-centered {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-phone,
    .footer-email {
        font-size: 1.2rem;
    }
    
    .social-links-large {
        flex-wrap: nowrap;
        gap: 15px;
    }
    
    /* Show mobile break on small screens */
    .mobile-break {
        display: block;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .hero-content h1 {
        font-size: 2rem;
    }

    .service-box,
    .product-card {
        padding: 30px 20px;
    }
}
