/* ========================================
   FILE: css/main.css
   Universal styles across all pages
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
}

/*header styling*/
header {
    background: linear-gradient(135deg, rgb(0, 168, 107, 0.70) 0%, rgb(227, 35, 50, 0.70) 100%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 75px;
    width: auto;
}

.logo-text h1 {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
}

.logo-text p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-style: italic;
}

/* Header Social Icons */
.header-social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-social-icons a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
}

.header-social-icons a:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.header-social-icons svg {
    width: 24px;
    height: 24px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: white;
    color: #00a86b;
}

/* Desktop Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: rgba(255,255,255,0.7);
}

nav a.active {
    border-bottom: 2px solid white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 103;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* Hamburger to X animation */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Hamburger X button inside mobile overlay */
.mobile-menu-overlay .hamburger {
    display: flex !important;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 104;
    width: 30px;
    height: 30px;
}

.mobile-menu-overlay .hamburger span {
    background: #8b6f47;
}

/* Mobile Menu Logo */
.mobile-menu-logo {
    text-align: center;
    padding: 4rem 0 2rem;
    width: 100%;
}

.mobile-menu-logo img {
    width: 120px;
    height: auto;
}

/* Mobile Navigation */
.mobile-menu-overlay nav {
    padding: 0;
    width: 100%;
}

.mobile-menu-overlay nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.mobile-menu-overlay nav a {
    font-size: 1.50rem;
    padding: 0.5rem 2rem;
    color: #8b6f47;
    display: block;
    text-align: center;
}

.mobile-menu-overlay nav a:hover {
    color: #00a86b;
}

/* Mobile Social Icons */
.mobile-social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 0;
    width: 100%;
}

.mobile-social-icons a {
    color: #8b6f47;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-social-icons a:hover {
    color: #00a86b;
    transform: scale(1.1);
}

.mobile-social-icons svg {
    width: 30px;
    height: 30px;
}

/* Mobile Language Toggle */
.mobile-menu-overlay .language-toggle {
    text-align: center;
    padding-bottom: 2rem;
    width: 100%;
}

.mobile-menu-overlay .lang-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 111, 71, 0.1);
    color: #8b6f47;
    border: 2px solid #8b6f47;
}

.mobile-menu-overlay .lang-btn:hover {
    background: #8b6f47;
    color: white;
}

/* Main Content - Add padding for fixed header */
main {
    min-height: calc(100vh - 200px);
    padding-top: 110px;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-header {
    background: white;
    color: #8b6f47;
    text-align: center;
    padding: 4rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* Universal Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.hidden-top {
    opacity: 0;
    transform: translateY(-50px);
}

.animate-on-scroll.hidden-bottom {
    opacity: 0;
    transform: translateY(50px);
}

/* Footer Styles */
footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #00a86b;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

/* Menu Page Styles */
.menu-section {
    margin-bottom: 4rem;
}

.menu-section h2 {
    color: #e32332;
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #00a86b;
    padding-bottom: 0.5rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.menu-item h3 {
    color: #8b6f47;
    margin-bottom: 0.5rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
}

.menu-item .price {
    display: inline-block;
    background: #00a86b;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #e32332;
    margin-bottom: 1rem;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-section ul {
    list-style-position: inside;
    color: #666;
}

.about-section li {
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h2 {
    color: #00a86b;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info h2:first-child {
    margin-top: 0;
}

.map-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Legal/Privacy Page */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #e32332;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00a86b;
}

.legal-section h3 {
    color: #8b6f47;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* Verification Page */
.verification-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.verification-box {
    max-width: 600px;
    width: 100%;
    padding: 3rem;
    text-align: center;
}

.verification-box .success,
.verification-box .error,
.verification-box .loading {
    padding: 2rem;
    border-radius: 10px;
}

.verification-box .success {
    background: #d4edda;
    color: #155724;
}

.verification-box .error {
    background: #f8d7da;
    color: #721c24;
}

.verification-box .loading {
    background: #d1ecf1;
    color: #0c5460;
}

.verification-box h2 {
    margin-bottom: 1rem;
}

.verification-box .btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: #00a86b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.verification-box .btn:hover {
    background: #008c5a;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #e32332;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(227, 35, 50, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    z-index: 99;
    -webkit-tap-highlight-color: transparent;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .scroll-top:hover {
        background: #c41f2a;
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(227, 35, 50, 0.5);
    }
}

.scroll-top:active {
    transform: translateY(-2px);
}

/* Responsive - Mobile breakpoint at 900px */
@media (max-width: 1024px) {
    header {
        padding: 0.75rem 0;
    }

    .header-content {
        padding: 0 1rem;
    }

    .logo img {
        height: 60px;
    }

    .logo-text {
        display: none;
    }

    .header-social-icons {
        gap: 0.5rem;
    }

    .header-social-icons svg {
        width: 20px;
        height: 20px;
    }

    .header-social-icons a {
        padding: 0.3rem;
    }

    .header-right {
        gap: 1rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .header-right nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    main {
        padding-top: 90px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .menu-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 2rem 1rem;
    }

    .scroll-top {
        bottom: 100px;
        right: 16px;
    }
}
/* ========================================
   Facebook Messenger Floating Button
   ======================================== */

.messenger-bubble {
    position: fixed;
    bottom: 200px;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0084FF 0%, #0066CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.4);
    z-index: 98;
    transition: all 0.3s ease;
    cursor: pointer;
}

.messenger-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.6);
}

.messenger-bubble:active {
    transform: scale(0.95);
}

.messenger-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.messenger-text {
    position: absolute;
    right: 70px;
    background: white;
    color: #0084FF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.messenger-bubble:hover .messenger-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile styles */
@media (max-width: 768px) {
    .messenger-bubble {
        bottom: 80px;
        right: 1rem;
        width: 56px;
        height: 56px;
    }
    
    .messenger-icon {
        width: 28px;
        height: 28px;
    }
    
    /* Hide text on mobile - just show icon */
    .messenger-text {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .messenger-bubble {
        width: 50px;
        height: 50px;
        bottom: 175px;
    }
    
    .messenger-icon {
        width: 26px;
        height: 26px;
    }
}

/* Animation for attention */
@keyframes messenger-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.messenger-bubble {
    animation: messenger-pulse 2s ease-in-out infinite;
}

.messenger-bubble:hover {
    animation: none;
}

/* Accessibility - Focus state */
.messenger-bubble:focus {
    outline: 3px solid rgba(0, 132, 255, 0.5);
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .messenger-bubble {
        animation: none;
        transition: none;
    }
    
    .messenger-text {
        transition: none;
    }
}