/* =====================================================================
   Aristella — Gallery & Menu tiles (v2)
   Every selector below is namespaced with "arst-" and is only ever
   referenced by gallery.html, menu.html, breakfast.html,
   primary-menu.html, dinner.html and beverages.html.
   Load this file AFTER assets/css/style.css. Nothing in style.css
   defines any "arst-" class, so nothing here can be overridden by it
   and nothing here can affect any other page on the site.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Gallery portfolio grid  (gallery.html)
   --------------------------------------------------------------------- */

.arst-gallery-section {
    background: #0d141a;
    padding: 110px 0;
}

.arst-gallery-head {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.arst-gallery-head span {
    display: block;
    color: #c89b63;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.arst-gallery-head h2 {
    color: #f5e3cf;
    font-size: 52px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    margin-bottom: 18px;
}

.arst-gallery-head p {
    color: #d7d7d7;
    line-height: 1.9;
    font-size: 17px;
    font-family: 'DM Sans', sans-serif;
}

.arst-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.arst-gallery-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    background: #10161c;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.arst-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.arst-gallery-tile:hover img {
    transform: scale(1.08);
}

.arst-gallery-tile-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0) 100%);
}

.arst-gallery-tile-caption h3 {
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
    .arst-gallery-section { padding: 80px 0; }
    .arst-gallery-head h2 { font-size: 40px; }
    .arst-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
    .arst-gallery-section { padding: 60px 0; }
    .arst-gallery-head { margin-bottom: 40px; }
    .arst-gallery-head h2 { font-size: 32px; }
    .arst-gallery-head p { font-size: 15px; }
    .arst-gallery-grid { grid-template-columns: 1fr; gap: 18px; }
    .arst-gallery-tile { aspect-ratio: 16 / 11; }
}

/* ---------------------------------------------------------------------
   2. Menu category tiles  (menu.html)
   --------------------------------------------------------------------- */

.arst-menucat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.arst-menucat-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    background: #10161c;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.arst-menucat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.arst-menucat-card:hover img {
    transform: scale(1.08);
}

.arst-menucat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px 22px;
    background: linear-gradient(to top, rgba(6, 10, 14, 0.92) 0%, rgba(6, 10, 14, 0.2) 60%, rgba(6, 10, 14, 0) 100%);
}

.arst-menucat-overlay i {
    color: #d5a15d;
    font-size: 22px;
    margin-bottom: 10px;
}

.arst-menucat-overlay h3 {
    color: #f4e1c7;
    font-family: "Abhaya Libre", sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.arst-menucat-overlay span {
    color: #cdd8e0;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

@media (max-width: 991px) {
    .arst-menucat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
    .arst-menucat-grid { grid-template-columns: 1fr; gap: 18px; }
    .arst-menucat-card { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------------
   3. Menu item grid  (breakfast.html, primary-menu.html, dinner.html,
      beverages.html — same shared layout, different content)
   --------------------------------------------------------------------- */

.arst-menuitems-section {
    background: #07131d;
    padding: 90px 0 100px;
}

.arst-menuitems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.arst-menuitems-card {
    background: linear-gradient(180deg, #0d1c29, #091420);
    border: 1px solid rgba(213, 161, 93, 0.18);
    border-radius: 12px;
    padding: 34px 30px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.arst-menuitems-card:hover {
    transform: translateY(-5px);
    border-color: rgba(213, 161, 93, 0.45);
}

.arst-menuitems-card-title {
    color: #f4e1c7;
    font-size: 24px;
    font-family: "Abhaya Libre", serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin: 0 0 26px;
    padding-bottom: 16px;
    position: relative;
}

.arst-menuitems-card-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 44px;
    height: 2px;
    background: #d5a15d;
}

.arst-menuitems-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.arst-menuitems-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arst-menuitems-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.arst-menuitems-name {
    color: #ffe8d0;
    font-size: 17px;
    font-family: "Abhaya Libre", serif;
    font-weight: 500;
}

.arst-menuitems-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(213, 161, 93, 0.4);
    margin: 0 8px;
    transform: translateY(-4px);
}

.arst-menuitems-price {
    color: #d7a160;
    font-size: 16px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

.arst-menuitems-desc {
    color: #b0c0d0;
    font-size: 13.5px;
    font-family: "DM Sans", sans-serif;
    line-height: 1.45;
    padding-right: 10px;
}

@media (max-width: 1024px) {
    .arst-menuitems-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 768px) {
    .arst-menuitems-section { padding: 60px 0; }
    .arst-menuitems-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 480px) {
    .arst-menuitems-name { font-size: 16px; }
    .arst-menuitems-price { font-size: 15px; }
    .arst-menuitems-card { padding: 28px 22px; }
}
