/* 
 * Hijama Clinic Landing Page Styles
 * Islamic Style, Green & White Theme, Urdu RTL Optimized
 */

:root {
    --hc-primary: #059669; /* Emerald Green */
    --hc-primary-dark: #047857;
    --hc-primary-light: #d1fae5;
    --hc-secondary: #fcd34d; /* Subtle Gold/Yellow for accents */
    --hc-dark: #1f2937;
    --hc-light: #f9fafb;
    --hc-white: #ffffff;
    --hc-text: #374151;
    --hc-text-light: #6b7280;
    --hc-border: #e5e7eb;
    --hc-radius: 12px;
    --hc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hc-transition: all 0.3s ease;
}

.hc-wrapper {
    font-family: 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Noto Nastaliq Urdu', Arial, sans-serif;
    color: var(--hc-text);
    line-height: 2.0;
    font-size: 22px; /* Base size for Nastaliq */
    overflow-x: hidden;
    background-color: var(--hc-white);
}

.hc-wrapper h1, .hc-wrapper h2, .hc-wrapper h3, .hc-wrapper h4, .hc-wrapper h5, .hc-wrapper h6 {
    font-family: 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Noto Nastaliq Urdu', Arial, sans-serif;
    color: var(--hc-primary-dark);
    margin-top: 0;
    font-weight: normal;
}

.hc-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.hc-bg-light { background-color: var(--hc-light); }
.hc-bg-green-dark { background-color: var(--hc-primary-dark); color: var(--hc-white); }
.hc-light-text h2, .hc-light-text p { color: var(--hc-white) !important; }
.hc-align-right { text-align: right; }
.hc-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Dividers with Islamic touch */
.hc-divider {
    height: 3px;
    width: 60px;
    background-color: var(--hc-secondary);
    margin-top: 8px;
    margin-bottom: 24px;
    border-radius: 2px;
    position: relative;
}
.hc-divider.hc-center {
    margin-left: auto;
    margin-right: auto;
}
.hc-bg-white { background-color: var(--hc-white) !important; }

/* Buttons */
.hc-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--hc-transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 20px;
    text-align: center;
}

.hc-btn-primary {
    background-color: var(--hc-primary);
    color: var(--hc-white) !important;
}

.hc-btn-primary:hover {
    background-color: var(--hc-primary-dark);
    box-shadow: var(--hc-shadow);
}

.hc-btn-outline {
    background-color: transparent;
    color: var(--hc-primary) !important;
    border-color: var(--hc-primary);
}

.hc-btn-outline:hover {
    background-color: var(--hc-primary);
    color: var(--hc-white) !important;
}

.hc-btn-outline-white {
    background-color: transparent;
    color: var(--hc-white) !important;
    border-color: var(--hc-white);
}

.hc-btn-outline-white:hover {
    background-color: var(--hc-white);
    color: var(--hc-primary-dark) !important;
}

.hc-btn-large {
    padding: 14px 40px;
    font-size: 24px;
}

.hc-btn-block {
    display: block;
    width: 100%;
}

/* Header */
.hc-header {
    background-color: var(--hc-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hc-header .hc-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.hc-logo {
    font-size: 32px;
    color: var(--hc-primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hc-logo i {
    color: var(--hc-primary);
}

.hc-logo span {
    color: var(--hc-text-light);
    font-size: 24px;
}

.hc-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.hc-nav a {
    color: var(--hc-text);
    text-decoration: none;
    font-size: 22px;
    transition: var(--hc-transition);
}

.hc-nav a:not(.hc-btn):hover {
    color: var(--hc-primary);
}

/* Hero Section */
.hc-hero {
    position: relative;
    padding: 120px 0;
    background-image: linear-gradient(rgba(4, 120, 87, 0.85), rgba(4, 120, 87, 0.85)), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--hc-white);
    text-align: center;
}

.hc-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hc-hero h1 {
    color: var(--hc-white);
    font-size: 70px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hc-hero p {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--hc-primary-light);
}

.hc-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Common Section Styles */
.hc-section {
    padding: 80px 0;
}

.hc-section-header {
    margin-bottom: 50px;
}

.hc-section-header h2 {
    font-size: 50px;
    margin-bottom: 5px;
}

.hc-section-header.hc-center {
    text-align: center;
}

.hc-section-header p {
    font-size: 24px;
    color: var(--hc-text-light);
}

/* Grids */
.hc-grid {
    display: grid;
    gap: 30px;
}

.hc-grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.hc-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.hc-grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Split Section (About) */
.hc-split {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hc-split-text {
    flex: 1;
}

.hc-split-text p {
    font-size: 24px;
    margin-bottom: 20px;
}

.hc-split-image {
    flex: 1;
}

.hc-image-wrapper img {
    width: 100%;
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow-lg);
    border: 5px solid var(--hc-white);
}

/* Icon Cards (Benefits) */
.hc-icon-card {
    background: var(--hc-white);
    padding: 30px;
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
    text-align: center;
    transition: var(--hc-transition);
    border-bottom: 3px solid transparent;
}

.hc-icon-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--hc-primary);
    box-shadow: var(--hc-shadow-lg);
}

.hc-card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--hc-primary-light);
    color: var(--hc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px auto;
}

.hc-icon-card h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hc-icon-card p {
    font-size: 20px;
    color: var(--hc-text-light);
    margin: 0;
}

/* Service Cards */
.hc-service-card {
    background: var(--hc-white);
    border-radius: var(--hc-radius);
    overflow: hidden;
    box-shadow: var(--hc-shadow);
}

.hc-service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hc-service-content {
    padding: 25px;
}

.hc-service-content h3 {
    font-size: 32px;
    color: var(--hc-primary);
    margin-bottom: 10px;
}

/* Why Choose Us Features */
.hc-feature {
    text-align: center;
}

.hc-feature i {
    font-size: 40px;
    color: var(--hc-secondary);
    margin-bottom: 15px;
}

.hc-feature h4 {
    color: var(--hc-white);
    font-size: 30px;
    margin-bottom: 10px;
}

.hc-feature p {
    color: var(--hc-primary-light);
    font-size: 20px;
}

/* Testimonials */
.hc-testimonial {
    background: var(--hc-light);
    padding: 40px;
    border-radius: var(--hc-radius);
    border-right: 4px solid var(--hc-primary); /* Right border for RTL */
}

.hc-quote-icon {
    color: var(--hc-primary-light);
    font-size: 40px;
    margin-bottom: 15px;
}

.hc-testimonial p {
    font-size: 26px;
    font-style: italic;
    margin-bottom: 20px;
}

.hc-author h4 {
    font-size: 26px;
    margin: 0;
}

.hc-author span {
    color: var(--hc-text-light);
    font-size: 20px;
}

/* Pricing */
.hc-price-card {
    background: var(--hc-white);
    padding: 40px 30px;
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
    text-align: center;
    position: relative;
    border: 1px solid var(--hc-border);
}

.hc-price-card.hc-popular {
    border: 2px solid var(--hc-primary);
    transform: scale(1.05);
    box-shadow: var(--hc-shadow-lg);
}

.hc-popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--hc-primary);
    color: var(--hc-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 18px;
}

.hc-price-card h3 {
    font-size: 34px;
    margin-bottom: 15px;
}

.hc-price {
    font-size: 40px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: var(--hc-primary-dark);
    margin-bottom: 25px;
    direction: ltr;
    display: inline-block;
}

.hc-price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: right;
}

.hc-price-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--hc-light);
    font-size: 22px;
}

.hc-price-card i {
    color: var(--hc-primary);
    margin-left: 10px; /* Left margin for RTL */
}

/* Appointment Section */
.hc-appointment-wrapper {
    display: flex;
    background: var(--hc-white);
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow-lg);
    overflow: hidden;
}

.hc-appointment-info {
    flex: 1;
    background: var(--hc-primary-dark);
    color: var(--hc-white);
    padding: 50px;
}

.hc-appointment-info h2 {
    color: var(--hc-white);
}

.hc-appointment-info p {
    color: var(--hc-primary-light);
}

.hc-contact-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hc-contact-item i {
    font-size: 24px;
    color: var(--hc-secondary);
    margin-top: 5px;
}

.hc-contact-item h4 {
    color: var(--hc-white);
    margin: 0 0 5px 0;
    font-size: 26px;
}

.hc-contact-item p {
    margin: 0;
    font-size: 20px;
}

.hc-form-container {
    flex: 1.5;
    padding: 50px;
}

.hc-form-group {
    margin-bottom: 20px;
}

.hc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
    color: var(--hc-dark);
}

.hc-form-group input,
.hc-form-group select,
.hc-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--hc-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 20px;
    background-color: var(--hc-light);
}

.hc-form-group input:focus,
.hc-form-group select:focus,
.hc-form-group textarea:focus {
    outline: none;
    border-color: var(--hc-primary);
    background-color: var(--hc-white);
}

/* Footer */
.hc-footer {
    background-color: var(--hc-dark);
    color: var(--hc-white);
    padding: 50px 0 20px 0;
    text-align: center;
}

.hc-footer-content {
    margin-bottom: 30px;
}

.hc-footer .hc-logo {
    justify-content: center;
    color: var(--hc-white);
}

.hc-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hc-social a {
    color: var(--hc-white);
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--hc-transition);
}

.hc-social a:hover {
    background: var(--hc-primary);
}

.hc-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: var(--hc-text-light);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .hc-split { flex-direction: column; }
    .hc-appointment-wrapper { flex-direction: column; }
    .hc-price-card.hc-popular { transform: none; }
}

@media (max-width: 768px) {
    .hc-nav { display: none; }
    .hc-hero h1 { font-size: 50px; }
    .hc-hero-buttons { flex-direction: column; }
    .hc-section-header h2 { font-size: 40px; }
    .hc-form-container { padding: 30px 20px; }
    .hc-appointment-info { padding: 30px 20px; }
}

/* Admin Portal UI */
.hc-admin-wrapper {
    background: var(--hc-white);
    padding: 30px;
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
    margin-top: 20px;
    font-family: 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Noto Nastaliq Urdu', Arial, sans-serif;
}

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

.hc-admin-header h2 {
    margin: 0;
    font-size: 36px;
    color: var(--hc-primary-dark);
}

.hc-admin-packages-list {
    display: grid;
    gap: 20px;
}

.hc-admin-pkg-card {
    background: var(--hc-light);
    padding: 20px;
    border-radius: var(--hc-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--hc-border);
}

.hc-admin-pkg-info h4 {
    margin: 0 0 5px 0;
    font-size: 26px;
}

.hc-admin-pkg-info p {
    margin: 0;
    color: var(--hc-text-light);
    font-size: 20px;
    font-family: Arial, sans-serif;
}

.hc-admin-pkg-actions {
    display: flex;
    gap: 10px;
}

.hc-admin-pkg-actions button {
    padding: 8px 15px;
    font-size: 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.hc-edit-btn {
    background: var(--hc-secondary);
    color: var(--hc-dark);
}

.hc-delete-btn {
    background: #ef4444;
    color: white;
}

/* Admin Modal */
.hc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-modal-content {
    background: var(--hc-white);
    padding: 30px;
    border-radius: var(--hc-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.hc-close {
    position: absolute;
    top: 15px;
    left: 20px; /* RTL so close is on left */
    font-size: 28px;
    cursor: pointer;
    color: var(--hc-text-light);
}

.hc-close:hover {
    color: var(--hc-dark);
}
