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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-dark);
    overflow-x: hidden;
}

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

/* Header styles */
header {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 400px;
    height: auto;
}

h1 {
    font-size: 2.5em;
    color: #8B4513;
    margin-bottom: 10px;
}

.motto {
    font-size: 1.2em;
    color: #666;
    font-style: italic;
}

/* Custom styles to complement Bootstrap */
:root {
    --primary-color: #2C1810;
    --secondary-color: #8B4513;
    --accent-color: #D2691E;
    --light-color: #F5F5F5;
    --dark-color: #1A1A1A;
    --text-color: #E0E0E0;
    --background-dark: #121212;
}

/* Navbar customization */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-dots {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-dot {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-dot .dot {
    width: 12px;
    height: 12px;
    background-color: var(--text-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.nav-dot .label {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.nav-dot:hover .label,
.nav-dot.active .label {
    opacity: 1;
    transform: translateX(0);
}

.nav-dot:hover .dot,
.nav-dot.active .dot {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Hero section */
.hero {
    height: 100vh;
    background-image: url('/images/background_bread_1920x1282.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-color);
}

.motto {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Section titles */
.section-title {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* About section */
.about {
    background-color: var(--dark-color);
    position: relative;
}

.image-frame {
    position: relative;
    padding: 10px;
    background: var(--accent-color);
    border-radius: 10px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: rotate(0deg);
}

.image-frame img {
    border-radius: 5px;
    width: 100%;
    height: auto;
}

/* Products section */
.products {
    background-color: var(--background-dark);
}

.product-story {
    margin-bottom: 100px;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-content .lead {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

/* Locations section */
.locations {
    background-color: var(--dark-color);
}

.location-card {
    background: var(--background-dark);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--accent-color);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--text-color);
}

.location-card h3 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.location-card p {
    color: var(--text-color);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-nav {
        display: none;
    }

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

    .motto {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .product-story {
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .motto {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* Section padding */
section {
    padding: 5rem 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
} 