/*
Theme Name: Arghavan
Theme URI: https://arghavanplus.com
Author: arghavan
Author URI: https://arghavanplus.com
Description: Responsive WordPress theme for Arghavan cafe.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arghavan
Tags: cafe, restaurant, responsive, elementor, custom-menu
*/

/* ========== Open Hours ========== */
.open-hours {
    background: #f5c518;
    color: #1a1a1a;
    padding: 14px 28px;
    border-radius: 50px;
    margin: 20px auto 12px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.4);
    max-width: 300px;

}

.open-hours .open-title {
    font-size: 1.15rem;
}

.open-hours .hours {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 4px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ========== Nav Buttons ========== */
.main-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #1a1a1a;
	text-decoration: none !important;
    border-radius: 40px;
    padding: 14px 36px;
    margin: 12px auto;
    max-width: 270px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.22);
}

.main-nav-buttons a {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 7px 0;
    text-align: center;
	text-decoration: none !important;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.main-nav-buttons a:hover {
    color: #f5c518;
}

.main-nav-buttons .plus,
.bottom-buttons .plus {
    color: #f5c518;
    font-size: 1.25rem;
    font-weight: 400;
}

/* ========== Brand ========== */
.brand-section {
    text-align: center;
    padding: 28px 20px 18px;
    max-width: 460px;
    margin: 0 auto;
}

.brand-logo {
    margin-bottom: 15px;
    text-align: center;
	padding: 0 16px
	width: 100%;
	box-sizing: border-box;
}

.brand-logo-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}
.brand-logo span {
    font-size: 1.3rem;
    vertical-align: super;
}

.brand-desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

.show-map-btn {
    display: inline-block;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 30px;
	text-decoration: none !important;
    padding: 10px 26px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #333;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.show-map-btn:hover {
    border-color: #f5c518;
    background: #fffef5;
}

/* ========== Map ========== */
.map-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 18px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: #f0e6d0;
}

.map-container iframe {
    width: 100%;
    height: 210px;
    border: 0;
    display: block;
}

/* ========== Address ========== */
.address-block {
    text-align: center;
    font-size: 0.84rem;
    color: #666;
    padding: 0 18px 22px;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ========== Bottom Buttons ========== */
.bottom-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 14px 36px;
    margin: 8px auto 25px;
    max-width: 270px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.22);
}

.bottom-buttons a {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    padding: 7px 0;
    text-align: center;
	text-decoration: none !important;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bottom-buttons a:hover {
    color: #f5c518;
}

/* ========== Join Us ========== */
.join-section {
    text-align: center;
    padding: 8px 20px 50px;
}

.join-section h2 {
    font-size: 1.7rem;
    color: #f5c518;
    margin-bottom: 6px;
}

.join-section p {
    color: #666;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.get-more-btn {
    display: inline-block;
    background: #fff;
    border: 2px solid #f5c518;
    border-radius: 30px;
    padding: 10px 26px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

.get-more-btn:hover {
    background: #f5c518;
    color: #1a1a1a;
}

/* ========== MENU PAGE ========== */
.menu-page {
    max-width: 580px;
    margin: 0 auto;
    padding: 20px 14px 60px;
    background: #faf7f2;
    min-height: 100vh;
}

.menu-header {
    text-align: center;
    margin-bottom: 22px;
}

.menu-header h1 {
    font-size: 1.7rem;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.menu-header p {
    color: #777;
    font-size: 0.9rem;
}

/* Category Buttons - Horizontal Reel */
.category-filters {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 30px;
    padding: 8px 15px;
    overflow-x: auto; 
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; 
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    cursor: grab;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.category-btn {
    background: #fff;
    border: 2px solid #e0d8c8;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    transition: all 0.25s;
    white-space: nowrap;
    flex-shrink: 0; 
    scroll-snap-align: start; 
    user-select: none;
}

.category-btn:hover,
.category-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #f5c518;
}

/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.35s ease;
}

.menu-item.open {
    box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}

/* Collapsed header */
.menu-item-header {
    display: flex;
	flex-direction: row-reverse;
    align-items: stretch;
    cursor: pointer;
    min-height: 92px;
    transition: background 0.2s;
}

.menu-item-header:hover {
    background: #fdfbf7;
}

.menu-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    text-align: right;
}

.menu-item-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.menu-item-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #c9a227;
}

.menu-item-thumb {
    width: 100px;
    min-width: 100px;
    background: #f0ebe3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.thumb-placeholder {
    font-size: 1.8rem;
    opacity: 0.4;
}

.thumb-placeholder.large {
    font-size: 3rem;
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0ebe3;
}

/* Expanded body - animation container */
.menu-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                padding 0.4s ease;
    opacity: 0;
    background: #fdfbf7;
}

.menu-item.open .menu-item-body {
    max-height: 600px;
    opacity: 1;
    padding: 0 16px 22px;
}

.menu-item-expanded {
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.expanded-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Name above the photo */
.expanded-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.15s;
}

.menu-item.open .expanded-name {
    opacity: 1;
    transform: translateY(0);
}

/* Photo area - image comes from right to center */
.expanded-photo-area {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    align-items: start;
}

.expanded-image {
    grid-column: 1 / -1;
    justify-self: center;
    width: 180px;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    background: #f0ebe3;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    /* Animation: start from right */
    transform: translateX(80px) scale(0.85);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1),
                opacity 0.4s ease;
}

.menu-item.open .expanded-image {
    transform: translateX(0) scale(1);
    opacity: 1;
}

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

/* Price bottom-left of photo */
.expanded-price {
    grid-column: 1;
    font-size: 1.15rem;
    font-weight: 700;
    color: #c9a227;
    text-align: right;
    padding-right: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s ease 0.25s;
}

.menu-item.open .expanded-price {
    opacity: 1;
    transform: translateY(0);
}

/* Details bottom-right of photo */
.expanded-desc {
    grid-column: 2;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
    text-align: right;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s ease 0.3s;
}

.menu-item.open .expanded-desc {
    opacity: 1;
    transform: translateY(0);
}

.expanded-desc p {
    margin-bottom: 8px;
}

.audio-player-wrapper {
    margin-top: 10px;
}

.audio-player-wrapper audio {
    width: 100%;
    height: 36px;
    border-radius: 8px;
}

.audio-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
    display: block;
}

/* No items */
.no-items {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* ========== CONTACT & RESERVE ========== */
.page-content {
    max-width: 540px;
    margin: 0 auto;
    padding: 40px 18px 80px;
    text-align: center;
}

.page-content h1 {
    font-size: 1.7rem;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.page-content p {
    color: #555;
    margin-bottom: 14px;
    line-height: 1.7;
}

.contact-form,
.reserve-form {
    background: #fff;
    border-radius: 18px;
    padding: 24px 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-align: right;
    margin-top: 22px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e8e0d0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #faf7f2;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f5c518;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #1a1a1a;
    color: #f5c518;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px;
    border-radius: 50px;
    margin-top: 8px;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #333;
}

/* ========== Header (inner pages) ========== */
.site-header {
    background: #1a1a1a;
    padding: 8px 16px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 52px; 
    min-height: 52px;
}


.site-header .logo,
.site-header .custom-logo-link {
    display: flex;
    align-items: center;
    order: 2; 
    margin: 0;
    padding: 0;
}

.site-header .logo img,
.site-header .custom-logo-link img,
.site-header .custom-logo {
    max-height: 36px !important; 
    width: auto !important;
    height: auto !important;
    display: block;
}


.site-header .back-home {
    order: 1;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
	text-decoration: none !important;
    border: 1px solid #555;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}

.site-header .back-home:hover {
    border-color: #f5c518;
    color: #f5c518;
}

/* ========== Footer ========== */
.site-footer {
	width: 100%;
	max-width: 100%;
	margin: 0;
    text-align: center;
    padding: 25px 0;
    background: #1a1a1a;
    color: #aaa;
    font-size: 0.84rem;
	box-sizing: border-box;
}

.site-footer a {
    color: #f5c518;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .hero-cup-wrapper {
        max-width: 380px;
    }

    .cup-logo {
        font-size: 3.2rem;
    }

    .cup-tagline {
        font-size: 1.5rem;
    }

    .main-nav-buttons,
    .bottom-buttons {
        max-width: 340px;
        flex-direction: row;
        justify-content: center;
        gap: 18px;
        padding: 14px 28px;
    }

    .main-nav-buttons a,
    .bottom-buttons a {
        font-size: 0.98rem;
    }

    .map-container {
        max-width: 460px;
    }

    .map-container iframe {
        height: 260px;
    }

    .menu-page {
        max-width: 680px;
        padding: 28px 22px 80px;
    }

    .menu-item-header {
        min-height: 110px;
    }

    .menu-item-thumb {
        width: 120px;
        min-width: 120px;
    }

    .expanded-image {
        width: 220px;
        height: 220px;
    }

    .expanded-photo-area {
        max-width: 480px;
        margin: 0 auto;
    }

    .category-btn {
        padding: 11px 22px;
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 30px;
    }

    .hero-cup-wrapper {
        max-width: 360px;
        order: 1;
    }

    .hero-content-side {
        max-width: 360px;
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }

    .open-hours {
        margin-top: 0;
    }

    .brand-section {
        max-width: 100%;
        order: 3;
        flex-basis: 100%;
    }

    .map-container,
    .address-block,
    .bottom-buttons,
    .join-section {
        order: 4;
    }

    .menu-page {
        max-width: 760px;
    }
}

/* Utility */
.hidden {
    display: none !important;
}
