/* Global Styles */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #FFD700;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 69, 19, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 69, 19, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 69, 19, 0);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.5s both;
}

.animate-slide-up {
    animation: fadeIn 1s ease-out 1s both;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-bounce:hover {
    animation: bounce 1s;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(139, 69, 19, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('images/artisanal-pastries.jpg') center/cover no-repeat;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: var(--background-light);
}

.about-section .row {
    margin-bottom: 4rem;
}

.about-section .row:last-child {
    margin-bottom: 0;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-container img {
    transition: transform 0.5s ease;
    border-radius: 15px;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.image-container:hover::after {
    opacity: 0.2;
}

/* Ambience Section */
.ambience-section {
    background: var(--white);
}

.ambience-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-img {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.gallery-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Reviews Section */
.reviews-section {
    background: var(--background-light);
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.stars {
    color: var(--accent-color);
}

.review-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.reviewer strong {
    color: var(--primary-color);
    font-weight: 600;
}

.reviewer small {
    color: var(--text-light);
    display: block;
    margin-top: 0.25rem;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-item {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-item:hover {
    background: var(--background-light);
    transform: translateY(-5px);
}

.contact-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

.footer .fa-heart {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        margin: 0.25rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .ambience-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
.section-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease-out forwards;
}

.section-content:nth-child(even) {
    animation-delay: 0.2s;
}

/* Interactive elements */
.btn, .nav-link, .review-card, .contact-item, .gallery-img {
    cursor: pointer;
}

/* Accessibility */
.btn:focus, .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, .footer {
        display: none;
    }
    
    .hero-section {
        height: auto;
        background: var(--white);
        color: var(--text-dark);
    }
    
    section {
        padding: 20px 0;
        break-inside: avoid;
    }
}

/* Hero Section - Updated to match other pages */
.hero-section {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('images/artisanal-pastries.jpg') center/cover no-repeat;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
