:root {
    --primary: #ce1212;
    --primary-light: #e61414;
    --primary-dark: #a50e0e;
    --secondary: #212529;
    --accent: #ffc107;
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ======================
   HEADER & NAVIGATION
   ====================== */
#header {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

#header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    font-weight: 700;
    color: #F9CD64;
    margin: 0;
}

.logo span {
    color: var(--secondary);
}

.navbar {
    padding: 0;
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary);
    padding: 8px 15px !important;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #F9CD64;
}

.nav-link:hover:after,
.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: #F9CD64;
}

/* Fix for profile dropdown - Click instead of hover */
.nav-user-dropdown {
    position: relative;
}

.nav-user-dropdown .dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 0;
    margin-top: 15px;
    min-width: 220px;
    display: none;
    position: absolute;
    right: 0;
    background: white;
    z-index: 1000;
}

/* Add this class to show dropdown */
.nav-user-dropdown .dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(206, 18, 18, 0.1);
    color: #F9CD64;
    padding-left: 25px;
}

.nav-user-info {
    background: linear-gradient(135deg, #F9CD64 0%, var(--primary-dark) 100%);
    padding: 20px;
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.nav-user-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.nav-user-info .status {
    font-size: 0.85rem;
    opacity: 0.9;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #F9CD64;
    color: white;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 50px;
    background: rgba(206, 18, 18, 0.1);
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile:hover {
    background: rgba(206, 18, 18, 0.15);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #F9CD64;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ======================
   BREADCRUMBS SECTION
   ====================== */
.breadcrumbs {
    padding: 140px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/beriyth.png');
    background-size: cover;
    background-position: center center;
    color: white;
    text-align: center;
}

.breadcrumbs h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
}

.breadcrumbs p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 30px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.breadcrumb-nav a {
    color: var(--accent);
    opacity: 0.8;
}

.breadcrumb-nav a:hover {
    opacity: 1;
    color: white;
}

.breadcrumb-nav .separator {
    opacity: 0.5;
}

/* ======================
   CONTACT SECTION
   ====================== */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 3rem;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.contact-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #F9CD64, var(--accent));
    border-radius: 2px;
}

.contact-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid #F9CD64;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(206, 18, 18, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: #F9CD64;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    background: #F9CD64;
    color: white;
    transform: rotateY(360deg);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.contact-info-card p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 1.1rem;
}

.contact-info-card a {
    color: #F9CD64;
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 50px;
    position: relative;
}

.contact-form-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #F9CD64, var(--accent));
}

.contact-form-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
}

.contact-form-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #F9CD64;
}

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

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    border-color: #F9CD64;
    box-shadow: 0 0 0 3px rgba(206, 18, 18, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: #F9CD64;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(206, 18, 18, 0.3);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.map-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.map-iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-info {
    padding: 40px;
    background: white;
}

.map-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
}

.map-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #F9CD64;
}

.map-info p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.map-info p i {
    color: #F9CD64;
    margin-right: 10px;
    width: 20px;
}

/* ======================
   FOOTER
   ====================== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 100px 0 40px;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: white;
    margin-bottom: 25px;
    display: block;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1.15rem;
    line-height: 1.9;
    max-width: 90%;
}

.footer-heading {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #F9CD64;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #F9CD64;
    padding-left: 10px;
}

.footer-links a i {
    width: 25px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-link:hover {
    background: #F9CD64;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 50px;
    margin-top: 80px;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* ======================
   ANIMATIONS
   ====================== */
.fade-in {
    animation: fadeIn 0.8s ease;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */
@media (max-width: 1200px) {
    .contact-container,
    .map-container {
        max-width: 1100px;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        margin-top: 15px;
    }
    
    .user-profile {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }
    
    .breadcrumbs h2 {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-card {
        padding: 40px 30px;
    }
    
    .map-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 120px 0 50px;
    }
    
    .breadcrumbs h2 {
        font-size: 2.5rem;
    }
    
    .contact-section,
    .contact-form-section,
    .map-section {
        padding: 60px 0;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .map-iframe {
        height: 350px;
    }
    
    .map-info {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 28px;
    }
    
    .breadcrumbs {
        padding: 100px 0 40px;
    }
    
    .breadcrumbs h2 {
        font-size: 2.2rem;
    }
    
    .contact-container,
    .map-container {
        padding: 0 20px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .contact-form-title {
        font-size: 1.8rem;
    }
    
    .form-control {
        padding: 12px 15px;
    }
    
    .btn-submit {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Animation for staggered loading */
.slide-up:nth-child(1) { animation-delay: 0.1s; }
.slide-up:nth-child(2) { animation-delay: 0.2s; }
.slide-up:nth-child(3) { animation-delay: 0.3s; }