/* ===================================================
   AMR RESTAURANTS - BASE STYLES
   Core structural styles for the website
   =================================================== */

/* ===== GENERAL RESETS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
    position: relative;
}

section.no-padding {
    padding: 0;
}

/* ===== HEADER BASE STYLES ===== */
.header-h2 {
    position: relative;
    z-index: 1000;
}

.topbar {
    padding: 12px 0;
}

.tb-dark {
    background: #2C2C2C;
    color: #fff;
}

.tb-iconbox ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.tb-iconbox ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.tb-iconbox ul li a:hover {
    color: #C9A227;
}

.tb-iconbox ul li a i {
    color: #C9A227;
}

.tb-iconbox ul li a span i {
    display: block;
    font-size: 11px;
    font-style: italic;
    color: rgba(255,255,255,0.6);
}

/* Navigation */
.nav-warp-h2 {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navi-warp-home-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.navi-level-1 {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navi-level-1 > li > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navi-level-1 > li > a:hover,
.navi-level-1 > li.active > a {
    color: #722F37;
    background: rgba(114, 47, 55, 0.08);
}

.btn-menu-mobile {
    display: none;
    font-size: 24px;
    color: #722F37;
    padding: 10px;
}

/* ===== SUB-HEADER / PAGE BANNER ===== */
.sub-header {
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.9) 0%, rgba(44, 44, 44, 0.95) 100%), 
                url('images/bg-content/sh-services.jpg') center/cover no-repeat;
    padding: 100px 0 60px;
    text-align: center;
    color: #fff;
}

.sub-header span {
    display: block;
    font-size: 14px;
    letter-spacing: 3px;
    color: #C9A227;
    margin-bottom: 10px;
}

.sub-header h3 {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.breadcrumb li {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.breadcrumb li a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb li a:hover {
    color: #C9A227;
}

.breadcrumb li.active {
    color: #C9A227;
}

/* ===== SERVICES / MENU LIST ===== */
.services-list-warp {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.item-service-list {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-service-list:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.item-service-list figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    height: 250px;
}

.item-service-list figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.item-service-list:hover figure img {
    transform: scale(1.1);
}

.item-service-list figure figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.box-sum-service {
    padding: 25px;
}

.box-sum-service p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Buttons */
.ot-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-sub-color {
    background: #722F37;
    color: #fff;
    border: 2px solid #722F37;
}

.btn-sub-color:hover {
    background: transparent;
    color: #722F37;
}

/* ===== NEWSLETTER / SUBSCRIBE SECTION ===== */
.bg-subcr-1 {
    background: linear-gradient(135deg, #722F37 0%, #4A1D23 100%);
    padding: 60px 0;
}

.subcribe-warp {
    text-align: center;
}

.sub-text-subcri {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-subcri {
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
}

.form-subcri .form-group {
    display: block;
    width: 100%;
}

.form-subcri label small {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    display: block;
}

.form-subcri label small span {
    color: #C9A227;
}

.form-subcri .form-control {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: #fff;
    padding: 12px 20px;
    margin-top: 8px;
}

.form-subcri .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.btn-subcrib {
    background: #C9A227;
    color: #2C2C2C;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subcrib:hover {
    background: #fff;
}

/* Newsletter Opt-in */
.bg-subcr-1 .opt-in-box {
    margin-top: 15px;
}

.bg-subcr-1 .opt-in-box label {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bg-subcr-1 .opt-in-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C9A227;
}

/* ===== FOOTER ===== */
.f-bg-dark {
    background: #2C2C2C;
    padding: 70px 0 40px;
}

.title-on-dark h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.title-on-dark h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #C9A227;
    border-radius: 2px;
}

.title-on-dark .bottom-title {
    display: none;
}

.widget-footer-text p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.widget-footer-list-link ul li {
    margin-bottom: 10px;
}

.widget-footer-list-link ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    padding-left: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.widget-footer-list-link ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #C9A227;
}

.widget-footer-list-link ul li a:hover {
    color: #C9A227;
    padding-left: 20px;
}

.icon-link-list-icon li {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.icon-link-list-icon li i {
    color: #C9A227;
    width: 18px;
    margin-top: 3px;
}

.icon-link-list-icon li a {
    color: rgba(255,255,255,0.7);
}

.icon-link-list-icon li a:hover {
    color: #C9A227;
}

/* ===== COPYRIGHT ===== */
.cr-h1 {
    background: #1a1a1a;
    padding: 20px 0;
}

.copyright-warp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-list-link ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-list-link ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.copyright-list-link ul li a:hover {
    color: #C9A227;
}

.copyright-text p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin: 0;
}

/* ===== BACK TO TOP ===== */
#to-the-top {
    width: 50px;
    height: 50px;
    background: #722F37;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

#to-the-top.active {
    opacity: 1;
    visibility: visible;
}

#to-the-top:hover {
    background: #C9A227;
    transform: translateY(-5px);
}

/* ===== FORM ELEMENTS ===== */
.form-control {
    border: 2px solid #eee;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #722F37;
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
    outline: none;
}

/* ===== FAQ STYLES ===== */
.faq-warp .panel-group {
    margin: 0;
}

.faq-warp .panel {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-warp .panel-heading {
    background: #fff;
    padding: 0;
}

.faq-warp .panel-title {
    margin: 0;
}

.faq-warp .panel-title a {
    display: block;
    padding: 20px 50px 20px 25px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.faq-warp .panel-title a::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #C9A227;
    font-weight: 300;
}

.faq-warp .panel-title a[aria-expanded="true"]::after {
    content: '−';
}

.faq-warp .panel-title a:hover,
.faq-warp .panel-title a[aria-expanded="true"] {
    color: #722F37;
    background: #f9f9f9;
}

.faq-warp .panel-body {
    padding: 25px;
    background: #f9f9f9;
    color: #666;
    line-height: 1.8;
    border-top: 1px solid #eee;
}

/* ===== CONTACT PAGE ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-iconbox {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.contact-iconbox:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.contact-iconbox i {
    font-size: 48px;
    color: #722F37;
    margin-bottom: 20px;
    display: block;
}

.contact-iconbox h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-iconbox p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.contact-form {
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.contact-form .form-control {
    margin-bottom: 20px;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .opt-in-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.contact-form .opt-in-box label {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-form .opt-in-box input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #722F37;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    padding: 60px 0;
}

.about-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid #C9A227;
    border-radius: 16px;
    z-index: -1;
}

.about-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-text {
    padding-left: 40px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.about-text .subtitle {
    color: #C9A227;
    font-style: italic;
    font-size: 16px;
    margin-bottom: 25px;
}

.about-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* ===== COUNTER STATS ===== */
.counter-section {
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.9) 0%, rgba(44, 44, 44, 0.95) 100%),
                url('images/bg-content/cb-h3.jpg') center/cover no-repeat;
    padding: 80px 0;
}

.counter-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.counter-item .icon {
    font-size: 40px;
    color: #C9A227;
    margin-bottom: 15px;
}

.counter-item .counter {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.counter-item p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.quote-section p {
    font-size: 28px;
    color: #333;
    font-weight: 300;
    margin-bottom: 25px;
}

.quote-section p span {
    color: #722F37;
    font-weight: 600;
}

/* ===== PRELOADER ===== */
.royal_preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FAF7F2;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.royal_preloader_text {
    font-size: 28px;
    font-weight: 700;
    color: #722F37;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navi-level-1 {
        display: none;
    }
    
    .btn-menu-mobile {
        display: block;
    }
    
    .about-text {
        padding-left: 0;
        padding-top: 40px;
    }
    
    .about-img::before {
        display: none;
    }
    
    .services-list-warp {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }
    
    .sub-header {
        padding: 80px 0 50px;
    }
    
    .sub-header h3 {
        font-size: 28px;
    }
    
    .services-list-warp {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .copyright-warp {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright-list-link ul {
        justify-content: center;
    }
    
    .form-subcri .form-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-subcri .form-control {
        width: 100%;
    }
}

/* ===== MOBILE MENU OVERRIDES ===== */
#mm-menu {
    background: #2C2C2C;
}

#mm-menu a {
    color: rgba(255,255,255,0.9);
}

#mm-menu .mm-listview > li > a {
    padding: 15px 20px;
    color: rgba(255,255,255,0.9);
}

#mm-menu .mm-listview > li.active > a {
    color: #C9A227;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.bg-light {
    background: #f9f9f9;
}

.bg-white {
    background: #fff;
}
