:root {
    /* Bakery Theme */
    --color-primary: #1F5673;
    --color-secondary: #f5f5DC;
    --color-accent: #E6D5B8;
    --color-background: #FFF8F0;
    --color-text: #2C3E50;
    --color-light: #FDF6EC;
    --color-dark: #1A3A4A;
    --font-family: 'League Spartan', sans-serif;

    /* Warm Theme */
    /* 
    --color-primary: #8B4513;
    --color-secondary: #FFF8DC;
    */

    /* Modern Theme */
    /*
    --color-primary: #2C3E50;
    --color-secondary: #ECF0F1;
    */

    /* Rustic Theme */
    /*
    --color-primary: #5D4037;
    --color-secondary: #FAFAFA;
    */

    /* Mediterranean Theme */
    /*
    --color-primary: #1A5F7A;
    --color-secondary: #FFF5E6;
    */
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text);
}

/* Header & Navigation */
.header {
    background-color: var(--color-primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 160px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(31, 86, 115, 0.2);
    padding-top: 2rem;
    padding-bottom: 2rem;
    transition: all 0.3s ease;
}

.header-transparent {
    background-color: rgba(31, 86, 115, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(31, 86, 115, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo-image {
    height: 140px; /* Doubled from 70px */
    width: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
    filter: brightness(1.1);
}

.primary-navigation {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.primary-navigation a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.primary-navigation a:hover {
    opacity: 0.8;
}

.mobile-nav-toggle {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--color-primary);
    padding-top: 160px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(31, 86, 115, 0.8) 0%, var(--color-primary) 70%);
    z-index: 1;
}

.scattered-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.scattered-logo,
.scattered-favicon {
    position: absolute;
    opacity: 0.05;
    transition: transform 0.5s ease;
}

.scattered-logo {
    width: 180px;
    height: auto;
}

.scattered-favicon {
    width: 40px;
    height: auto;
}

/* Hero Logo Positions */
.hero .scattered-logo:nth-child(1) { top: 15%; left: 10%; transform: rotate(-15deg); }
.hero .scattered-logo:nth-child(2) { top: 60%; left: 25%; transform: rotate(20deg); }
.hero .scattered-logo:nth-child(3) { top: 30%; right: 15%; transform: rotate(-10deg); }
.hero .scattered-logo:nth-child(4) { bottom: 20%; right: 25%; transform: rotate(15deg); }
.hero .scattered-logo:nth-child(5) { top: 45%; left: 50%; transform: rotate(-5deg); }

/* Hero Favicon Positions */
.hero .scattered-favicon:nth-child(6) { top: 25%; left: 35%; transform: rotate(30deg); }
.hero .scattered-favicon:nth-child(7) { top: 40%; right: 40%; transform: rotate(-25deg); }
.hero .scattered-favicon:nth-child(8) { bottom: 30%; left: 15%; transform: rotate(20deg); }
.hero .scattered-favicon:nth-child(9) { top: 70%; right: 10%; transform: rotate(-15deg); }
.hero .scattered-favicon:nth-child(10) { top: 20%; right: 30%; transform: rotate(10deg); }
.hero .scattered-favicon:nth-child(11) { bottom: 15%; left: 40%; transform: rotate(-20deg); }
.hero .scattered-favicon:nth-child(12) { top: 50%; right: 20%; transform: rotate(25deg); }
.hero .scattered-favicon:nth-child(13) { bottom: 40%; right: 35%; transform: rotate(-10deg); }

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    color: var(--color-secondary);
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    opacity: 0.9;
    font-weight: 500;
}

.hero-image {
    position: relative;
    width: 520px;
    height: 520px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.hero-image::before {
    display: none;
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hero-image:hover .featured-image {
    transform: scale(1.2);
}

/* Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-primary);
    padding: 1rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.ticker-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile adjustments for ticker */
@media (max-width: 768px) {
    .ticker-wrap {
        padding: 0.75rem 0;
    }
    
    .ticker-item {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    
    .ticker {
        animation: ticker 15s linear infinite;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger {
        display: block;
        position: relative;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        width: 2rem;
        height: 3px;
        background-color: var(--color-secondary);
        transition: transform 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    .primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .primary-navigation.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-image {
        position: relative;
        width: 340px;
        height: 340px;
        max-width: 340px;
        margin: 0 auto;
        transform: none;
        transform-origin: center center;
        perspective: 1000px;
    }

    .hero-image::before {
        content: '';
        display: block;
        padding-top: 75%; /* 4:3 Aspect ratio */
    }

    .featured-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.1);
    }

    .logo-image {
        height: 100px; /* Doubled from 50px for mobile header */
    }

    .header {
        height: 120px; /* Increased for larger logo on mobile */
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Our Story Section */
.our-story {
    padding: 6rem 0;
    background-color: var(--color-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.story-text-content {
    position: relative;
    z-index: 2;
}

.story-text-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.story-intro {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--color-primary);
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.story-main {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-primary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.story-highlight {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    padding: 1.5rem;
    background-color: rgba(36, 75, 103, 0.1);
    border-radius: 8px;
    max-width: 500px;
}

.story-images {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1.75rem;
}

.founder-image {
    width: 340px;
    height: 510px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: absolute;
    transition: transform 0.3s ease;
}

.founder-image:hover {
    transform: scale(1.05);
}

.founder-1 {
    top: 50px;
    left: -20px;
    z-index: 2;
}

.founder-2 {
    top: 100px;
    left: 320px;
    z-index: 1;
}

.team-image {
    width: 425px;
    height: 306px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: absolute;
    transition: transform 0.3s ease;
    bottom: 50px;
    left: 660px;
    z-index: 3;
}

.team-image:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-text-content {
        padding: 0 1rem;
    }

    .story-main, .story-highlight {
        margin-left: auto;
        margin-right: auto;
    }

    .story-images {
        margin-top: 2rem;
        height: 500px;
        padding-left: 0.75rem;
    }

    .founder-image {
        width: 272px;
        height: 408px;
    }

    .founder-1 {
        left: -20px;
    }

    .founder-2 {
        left: 252px;
    }

    .team-image {
        width: 340px;
        height: 238px;
        left: 524px;
    }
}

@media (max-width: 768px) {
    .our-story {
        padding: 4rem 0;
    }

    .story-images {
        height: auto;
        padding-left: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: flex;
        gap: 1.5rem;
        position: static;
    }

    .founder-image,
    .team-image {
        position: static;
        margin: 0 auto;
        display: block;
    }

    .founder-image {
        width: 204px;
        height: 306px;
    }

    .team-image {
        width: 255px;
        height: 187px;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section {
    position: relative;
    padding-left: 1.5rem;
}

.footer-section:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p,
.footer-section address {
    font-style: normal;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-light);
    transition: transform 0.3s ease;
}

.social-links a:hover .social-icon {
    transform: translateY(-3px);
    fill: var(--color-secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-background img {
    position: absolute;
    opacity: 0.08;
}

.bg-logo {
    width: 160px;
}

.bg-favicon {
    width: 40px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-section:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding-left: 0;
    }

    .social-links {
        justify-content: center;
    }

    .footer-map {
        height: 200px;
    }
}

/* Menu Highlights Section */
.menu-highlights {
    padding: 6rem 0;
    background-color: white;
    overflow: hidden;
}

.highlights-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.menu-highlights h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.menu-carousel {
    position: relative;
    padding: 0 4rem;
}

.carousel-container {
    overflow: hidden;
    margin: 0 -1rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
}

.menu-item {
    flex: 0 0 calc(33.333% - 1.33rem);
    background: var(--color-light);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(31, 86, 115, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(31, 86, 115, 0.15);
}

.item-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.item-content {
    padding: 1.5rem;
}

.item-content h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.item-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    min-height: 3.2em;
}

.order-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-button:hover {
    transform: translateY(-2px);
    background-color: var(--color-dark);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.carousel-button:hover {
    background-color: #1a3a52;
}

@media (max-width: 1024px) {
    .menu-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .menu-highlights {
        padding: 4rem 0;
    }

    .menu-carousel {
        padding: 0 3rem;
    }

    .menu-item {
        flex: 0 0 100%;
    }

    .carousel-button {
        width: 2.5rem;
        height: 2.5rem;
    }

    .item-content p {
        min-height: auto;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.testimonials .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.testimonial-card {
    background-color: rgba(245, 245, 220, 0.9);
    border: 3px solid var(--color-primary);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 25px rgba(31, 86, 115, 0.15);
    transition: all 0.4s ease;
    transform-origin: center center;
    opacity: 1;
    transform: scale(1);
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(31, 86, 115, 0.25);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(31, 86, 115, 0.2);
    padding-top: 0.75rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-source {
    color: var(--color-primary);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Testimonials Responsive */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
}

.order-now-btn {
    display: block;
    margin: 2rem auto 0 auto;
    padding: 0.9rem 2.2rem;
    background: var(--color-primary);
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    border: 2.5px solid var(--color-secondary);
    border-radius: 32px;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(31, 86, 115, 0.15);
    transition: background 0.2s, color 0.2s, transform 0.2s, border 0.2s;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    vertical-align: middle;
}
.order-now-btn:hover, .order-now-btn:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
    border: 2.5px solid var(--color-primary);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(31, 86, 115, 0.18);
} 