/* flashe.css */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --text-light: #f8f9fa;
    --text-muted: #b8c1ec;
    --border-color: #393e46;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow-color);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}
.nav a:hover {
    color: var(--accent-color);
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}
.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(108, 92, 231, 0.1) 0%, transparent 50%);
    z-index: -1;
}
.hero-content {
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: center;
}
.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    animation: fadeInUp 1s ease 0.2s both;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: none;
}
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}
.carousel {
    position: relative;
    height: 400px;
    transform-style: preserve-3d;
    margin: 0 auto;
}
.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 1.5s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-item.center {
    width: 350px;
    height: 350px;
    z-index: 3;
    transform: translate(-50%, -50%) scale(1);
}
.carousel-item.left {
    width: 250px;
    height: 250px;
    z-index: 2;
    transform: translate(-50%, -50%) translateX(-150px) scale(0.8);
    opacity: 1;
}
.carousel-item.right {
    width: 250px;
    height: 250px;
    z-index: 2;
    transform: translate(-50%, -50%) translateX(150px) scale(0.8);
    opacity: 1;
}
.carousel-item.back {
    width: 200px;
    height: 200px;
    z-index: 1;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
}
.btn-more {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    z-index: 10;
}
.btn-more:hover {
    background: #ff76a8;
    transform: translateX(-50%) translateY(-3px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--dark-card);
}
.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px var(--shadow-color);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}
.feature-item p {
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f0f23 100%);
}
.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.testimonial:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px var(--shadow-color);
}
.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.quote {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
}
.author {
    font-weight: 600;
    color: var(--accent-color);
    text-align: right;
}

/* Order Section */
.order-section {
    padding: 100px 0;
    background-color: var(--dark-card);
}
.order-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.order-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px var(--shadow-color);
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}
.form-group select option {
    background-color: var(--dark-card);
    color: var(--text-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

/* Governorate Dropdown */
.governorate-dropdown {
    position: relative;
}
.governorate-toggle {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    text-align: right;
    cursor: pointer;
    transition: var(--transition);
}
.governorate-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.governorate-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 46, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.governorate-list.active {
    display: block;
}
#governorate-search {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.governorate-options-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.governorate-options-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--text-light);
    background-color: #1a1a2e;
}
.governorate-options-list li:hover {
    background-color: var(--primary-color);
    color: white;
}
.delivery-note {
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
}
.delivery-note a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: var(--transition);
}
.delivery-note a:hover {
    color: var(--accent-color);
}

/* Cost Breakdown */
.cost-breakdown {
    background: rgba(108, 92, 231, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}
.cost-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cost-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.cost-item span:first-child {
    font-weight: 600;
}
.cost-item span:last-child {
    font-weight: 700;
    color: var(--accent-color);
}
.total-cost {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    padding: 15px 0 0 !important;
    border-top: 2px solid var(--accent-color) !important;
    margin-top: 20px !important;
}
.btn-order {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}
.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* Footer */
.footer {
    background-color: #0f0f23;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-logo p {
    color: var(--text-muted);
    line-height: 1.7;
}
.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}
.modal-content {
    background-color: var(--dark-card);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    animation: slideInDown 0.3s ease;
    border: 1px solid var(--border-color);
    max-height: 90vh;
    overflow-y: auto;
}
.close-modal {
    color: var(--text-muted);
    float: left;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    top: 15px;
    left: 20px;
}
.close-modal:hover {
    color: var(--accent-color);
}
.modal h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--accent-color);
}
.modal-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.modal-image-item {
    position: relative;
}
.modal-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow-color);
}
.modal-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}
.zoom-modal-content {
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
}
#zoomed-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}
.modal-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}
#unavailable-governorates-list {
    list-style: none;
    padding: 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}
#unavailable-governorates-list li {
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Animation Helpers */
.fade-in { animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 992px) {
    .hero { padding: 180px 0 60px; }
    .hero h2 { font-size: 2.5rem; }
    .carousel { height: 350px; }
    .carousel-item.center { width: 300px; height: 300px; }
    .carousel-item.left,
    .carousel-item.right { width: 220px; height: 220px; }
    .carousel-item.back { width: 180px; height: 180px; }
}
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 15px; }
    .nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero-content { text-align: center; margin: 0 auto 40px; }
    .cta-buttons { justify-content: center; }
    .btn-more {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 30px auto 0;
        display: block;
        width: fit-content;
    }
    .features-grid,
    .testimonials-container { grid-template-columns: 1fr; }
    .order-form-container { padding: 30px 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .modal-images-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .form-group label { font-size: 0.95rem; }
    .form-group input,
    .form-group select,
    .form-group textarea,
    .governorate-toggle { padding: 10px 12px; font-size: 0.9rem; }
    .cost-breakdown .cost-item span { font-size: 0.9rem; }
    .cost-breakdown .total-cost { font-size: 1.1rem !important; }
    .btn-order { padding: 12px; font-size: 1rem; }
}
@media (max-width: 576px) {
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .carousel { height: 300px; }
    .carousel-item.center { width: 250px; height: 250px; }
    .carousel-item.left,
    .carousel-item.right {
        width: 180px;
        height: 180px;
        transform: translate(-50%, -50%) scale(0.8) translateX(0) !important;
        opacity: 0.6;
    }
    .carousel-item.back { display: none; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .features h2,
    .testimonials h2,
    .order-section h2 { font-size: 2rem; }
    .modal-content { margin: 10% auto; padding: 20px; }
    .modal h3 { font-size: 1.5rem; }
    .cost-breakdown { padding: 15px; }
}
