:root {
    --primary-color: #4CAF50;
    --primary-rgb: 76, 175, 80;
    --secondary-color: #45a049;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: bottom;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.cta-button, .order-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: background 0.3s;
}

.cta-button:hover, .order-button:hover {
    background: var(--secondary-color);
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.menu-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-image {
    height: 200px;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-content {
    padding: 20px;
}

.menu-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.order-button {
    width: 100%;
    justify-content: center;
}

/* About Section */
.about-section {
    padding: 100px 0;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-info {
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-item {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.location-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.location-link:hover {
    background: var(--secondary-color);
    color: var(--white) !important;
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    z-index: 1000;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Custom Mix Section */
.custom-mix-section {
    padding: 100px 0;
    background: var(--white);
}

.custom-mix-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.section-description {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.pricing-info {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 15px;
    text-align: center;
}

.pricing-info p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pricing-info ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0;
}

.pricing-info li {
    padding: 10px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 500;
}

.roll-info .pieces {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.custom-mix-builder {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.roll-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.roll-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
}

.roll-item:hover {
    transform: translateY(-5px);
}

.roll-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.roll-info {
    padding: 20px;
    text-align: center;
}

.roll-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.roll-info p {
    color: var(--text-color);
    margin-bottom: 10px;
}

.roll-info .price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.add-roll-btn {
    width: 60px;
    height: 60px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0 auto;
}

.add-roll-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Order Summary Styles */
.order-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin: 2rem 0;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.order-summary:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.summary-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.summary-section:hover {
    background-color: #fafafa;
    padding: 10px;
    margin: 0 -10px 2rem -10px;
    border-radius: 10px;
}

.summary-section:first-child {
    border: 2px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(var(--primary-rgb), 0.05);
}

.summary-section h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.summary-section p,
.summary-section ul {
    margin: 0;
}

.summary-section ul {
    padding-left: 1.2rem;
    list-style: none;
}

.summary-section li {
    margin-bottom: 0.3rem;
    color: var(--dark-gray);
}

#summary-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 15px 0;
    text-align: center;
    display: block;
}

/* Step navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Specific style for step 1 navigation */
#step-1 .step-navigation {
    justify-content: flex-end;
}

.prev-step, 
.next-step {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.prev-step {
    background-color: #f0f0f0;
    color: var(--dark-gray);
}

.prev-step:hover {
    background-color: #e0e0e0;
}

.next-step {
    background-color: var(--primary-color);
    color: white;
}

.next-step:hover {
    background-color: #45b66e;
}

.next-step:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Small screens */
@media (max-width: 480px) {
    .order-steps::before {
        height: 1px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .piece-selector {
        gap: 1rem;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preferences-container {
        grid-template-columns: 1fr;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Ensure the button in step 1 is still right-aligned on mobile */
    #step-1 .step-navigation {
        align-items: flex-end;
    }
    
    .prev-step, .next-step {
        width: 100%;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1.5rem;
    }
    
    .preference-card {
        padding: 1.5rem;
    }
    
    .order-step-content h3 {
        font-size: 1.5rem;
    }
    
    .order-step-content p {
        font-size: 1rem;
    }
}

/* Enhanced Order Summary Styles */
.ingredient-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
}

.ingredient-summary-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.ingredient-img-container {
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1;
}

.ingredient-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ingredient-icon {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid white;
    z-index: 2;
}

.ingredient-icon.love {
    background-color: var(--primary-color);
}

.ingredient-icon.no {
    background-color: #ff4d4d;
}

.preference-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
}

.preference-summary-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.preference-summary-item i {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

#summary-pieces {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.summary-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

@media (max-width: 480px) {
    .ingredient-summary-item,
    .preference-summary-item {
        padding: 6px;
    }
    
    .ingredient-img-container {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
    
    .ingredient-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
        bottom: -6px;
        right: -6px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        gap: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s;
        box-shadow: var(--shadow);
        padding: 0;
    }
    
    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .menu-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .order-steps {
        margin: 1.5rem 0;
        gap: 10px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .order-flow {
        padding: 1.5rem;
    }
    
    .piece-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .ingredients-grid,
    .preferences-container {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 1rem;
    }
    
    .preference-card {
        padding: 1rem;
    }
    
    .preference-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
}

/* Order Steps UI */
.order-steps {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.order-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-gray);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(80, 200, 120, 0.3);
}

.step.completed .step-number {
    background-color: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Order flow content */
.order-flow {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.order-step-content {
    display: none;
    animation: fadeIn 0.5s ease;
    padding: 2rem 0;
}

.order-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-step-content h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.order-step-content p {
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
}

/* Piece selector styles */
.piece-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.piece-option {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.piece-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.piece-option.selected {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(80, 200, 120, 0.2);
}

.piece-option img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.piece-option-details {
    padding: 1rem;
    text-align: center;
}

.piece-option-details h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.piece-option-details .price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

/* Ingredients grid styles */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.ingredient-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    padding-bottom: 10px;
}

.ingredient-item:hover {
    transform: translateY(-5px);
}

.ingredient-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.ingredient-item h4 {
    text-align: center;
    margin: 1rem 0;
    font-size: 1.1rem;
    padding: 0 10px;
}

.preference-buttons {
    display: flex;
    border-top: 1px solid #f0f0f0;
}

.pref-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.6rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.pref-btn:hover {
    background-color: rgba(0,0,0,0.03);
}

.pref-btn.active {
    background-color: rgba(0,0,0,0.05);
}

.pref-btn.love {
    color: #e91e63;
}

.pref-btn.love.active {
    background-color: rgba(233, 30, 99, 0.1);
}

.pref-btn.ok {
    color: #4caf50;
}

.pref-btn.ok.active {
    background-color: rgba(76, 175, 80, 0.1);
}

.pref-btn.no {
    color: #f44336;
}

.pref-btn.no.active {
    background-color: rgba(244, 67, 54, 0.1);
}

/* Preference legend */
.preference-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-item .pref-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.legend-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Preferences styles */
.preferences-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.preference-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.preference-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.preference-header i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.preference-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.toggle-container {
    display: flex;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.toggle-btn {
    flex: 1;
    border: none;
    background: white;
    padding: 0.7rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.toggle-btn:not(:last-child) {
    border-right: 1px solid rgba(0,0,0,0.1);
}

.toggle-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.tooltip:hover::after {
    visibility: visible;
    opacity: 1;
} 