/* ============================================
   PIZZA VERA - Italian Authentic Pizza
   Theme: Dark Italian Premium
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --primary: #c75b2a;
    --primary-light: #e07b3a;
    --gold: #c9a227;
    --gold-light: #ddb94d;
    --text-main: #f0e6d2;
    --text-muted: #a89b8c;
    --border: #2a2a2a;
    --border-gold: #3d3220;
    --success: #2d6a4f;
    --danger: #9b2335;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: linear-gradient(90deg, #1a0f0a 0%, #0f0f0f 100%);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.6rem 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar a {
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar a:hover {
    color: var(--gold-light);
}

.top-bar .btn-small {
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid var(--primary);
}

.top-bar .btn-small:hover {
    background: transparent;
    color: var(--primary-light);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-gold);
    padding: 0.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo img {
    height: 55px;
    width: auto;
    filter: brightness(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .btn-nav {
    background: var(--primary);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    border: 1px solid var(--primary);
}

.nav-links .btn-nav:hover {
    background: transparent;
    color: var(--primary-light) !important;
}

.nav-links .btn-nav::after {
    display: none;
}

.mobile-toggle {
    display: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a0f0a 50%, #0f0f0f 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,15,10,0.9) 0%, rgba(15,15,15,0.95) 50%, rgba(26,15,10,0.9) 100%);
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    height: 100%;
    min-height: 400px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-image .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.8);
    color: var(--gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-gold);
}

.hero-content {
    text-align: right;
}

.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(199, 91, 42, 0.15);
    color: var(--primary-light);
    padding: 0.4rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(199, 91, 42, 0.3);
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .slogan {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-family: 'Amiri', serif;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.9;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.stat-box .number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.stat-box .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-light);
    box-shadow: 0 5px 20px rgba(199, 91, 42, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #0f0f0f;
}

.btn-gold {
    background: var(--gold);
    color: #0f0f0f;
    border-color: var(--gold);
    font-weight: 800;
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    background: rgba(199, 91, 42, 0.15);
    color: var(--primary-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(199, 91, 42, 0.3);
}

.section-title {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   MENU / CARDS GRID
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
}

.card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.badge-temp {
    background: rgba(155, 35, 53, 0.9);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-origin {
    background: rgba(0,0,0,0.75);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-body {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.card-meta .time {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-body h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.card-body .subtitle {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.card-ingredients {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.card-ingredients .ing-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.ing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ing-tag {
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-light);
    padding: 0.25rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid var(--border-gold);
}

/* ============================================
   FEATURES / PILLARS
   ============================================ */
.pillars-section {
    background: linear-gradient(180deg, #0f0f0f 0%, #14100a 50%, #0f0f0f 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: var(--gold);
}

.pillar-card h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.pillar-card .en-name {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 1rem;
    font-weight: 600;
}

.pillar-link:hover {
    color: var(--gold-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: 4rem 0;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cta-box .slogan {
    color: var(--primary-light);
    font-size: 1.2rem;
    font-family: 'Amiri', serif;
    margin-bottom: 1.5rem;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(199, 91, 42, 0.1);
}

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

.alert {
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.alert-success {
    background: rgba(45, 106, 79, 0.2);
    color: #52b788;
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(155, 35, 53, 0.2);
    color: #e63946;
    border: 1px solid var(--danger);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0a0a0a;
    border-top: 2px solid var(--border-gold);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 0.5rem;
}

.footer-logo h3 {
    color: var(--gold);
    font-size: 1.5rem;
}

.footer-logo p {
    color: var(--primary-light);
    font-family: 'Amiri', serif;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gold);
    color: #0f0f0f;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-body {
    background: var(--bg-dark);
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid var(--border-gold);
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.admin-sidebar .logo {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.admin-sidebar .logo img {
    height: 50px;
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 0.5rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    border-radius: 10px;
    font-weight: 600;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(199, 91, 42, 0.15);
    color: var(--primary-light);
}

.admin-main {
    margin-right: 260px;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-header h1 {
    color: var(--gold);
    font-size: 1.6rem;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    color: var(--gold);
    font-weight: 700;
    background: rgba(201, 162, 39, 0.05);
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-new {
    background: rgba(199, 91, 42, 0.2);
    color: var(--primary-light);
}

.status-read {
    background: rgba(45, 106, 79, 0.2);
    color: #52b788;
}

/* Login page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a0f0a 100%);
}

.login-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-box img {
    height: 80px;
    margin-bottom: 1rem;
}

.login-box h2 {
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.login-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: -1;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .admin-sidebar {
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .admin-main {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(15, 15, 15, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-gold);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content .slogan {
        font-size: 1.3rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        min-width: 100px;
        padding: 1rem;
    }
}
