/* Tanagm Packages Widget Styles */
.tanagm-packages-section {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    direction: rtl;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.packages-header {
    text-align: center;
    margin-bottom: 50px;
}

.packages-header h2 {
    color: #B99470;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

.packages-header p {
    color: #333;
    font-weight: 600;
}

.packages-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.package-card {
    flex: 1;
    min-width: 320px;
    background: #FCFBF8;
    border-radius: 250px 250px 15px 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.package-alcove {
    background: #FCFBF8;
    border-radius: 250px 250px 15px 15px;
    padding: 50px 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-alcove.has-shadow {
    box-shadow: inset 0 12px 25px rgba(185, 148, 112, 0.15);
}

.package-alcove.has-image {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    box-shadow: none;
}

.package-alcove h3 {
    color: #A67C52;
    font-size: 26px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.package-alcove .subtitle {
    color: #A67C52;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: right;
}

.features-list li {
    color: #A67C52;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.package-pricing {
    text-align: center;
    padding: 25px 0;
    color: #A67C52;
}

.package-pricing.dual-price {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 14px;
    color: #C2A38A;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.price-amount span {
    font-size: 16px;
    margin-right: 5px;
    font-weight: normal;
}

.book-btn {
    background-color: #B99470;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.book-btn:hover {
    background-color: #A67C52;
    color: white;
}

.packages-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    color: #A67C52;
    font-size: 16px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .package-card {
        min-width: 100%;
    }
}


/* Main Contact Widget Styles */
.tanagm-main-contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    direction: rtl;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    align-items: center;
}

.tanagm-form-side {
    flex: 1;
    min-width: 300px;
}

.tanagm-contact-title {
    font-size: 36px;
    font-weight: bold;
    color: #C09371;
    margin-bottom: 10px;
}

.tanagm-contact-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

body .tanagm-contact-form input[type="text"],
body .tanagm-contact-form input[type="email"],
body .tanagm-contact-form textarea {
    width: 100% !important;
    background-color: transparent !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #D5C1B2 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 15px 0 10px 0 !important;
    font-size: 15px !important;
    color: #888 !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color 0.3s;
    text-align: right !important;
}

body .tanagm-contact-form input[type="text"]:focus,
body .tanagm-contact-form input[type="email"]:focus,
body .tanagm-contact-form textarea:focus {
    border-bottom-color: #C09371 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

body .tanagm-contact-form input::placeholder,
body .tanagm-contact-form textarea::placeholder {
    color: #C4A792 !important;
    text-align: right !important;
    font-size: 14px !important;
}

.form-submit-wrapper {
    text-align: right;
    margin-top: 30px;
}

.tanagm-contact-btn {
    background-color: #C09371;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.3s;
}

.tanagm-contact-btn:hover {
    opacity: 0.9;
}

/* Info Card Styles */
.tanagm-info-side {
    flex: 1;
    min-width: 300px;
}

.tanagm-info-card {
    background-color: #C09371;
    border-radius: 10px;
    padding: 40px;
    color: #fff;
    position: relative;
}

.tanagm-info-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: right;
    font-weight: bold;
}

.tanagm-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tanagm-info-list li {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* RTL: icon on right, text on left */
    margin-bottom: 25px;
    gap: 15px;
}

.tanagm-info-list .info-text {
    font-size: 15px;
    direction: ltr; /* Keeps phone/email readable */
    text-align: right;
}

.tanagm-info-list .info-icon {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-line {
    position: absolute;
    bottom: 20px;
    left: 40px;
    right: 40px;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
}

/* Phone Bar Widget Styles */
.tanagm-phone-bar-container {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    direction: rtl;
    max-width: 600px;
    margin: 0 auto;
}

.tanagm-phone-bar-wrapper {
    display: flex;
    border: 2px solid #BA8E6B;
    border-radius: 50px;
    overflow: hidden;
    height: 60px;
}

.bar-input-area {
    flex: 1;
}

.tanagm-phone-input {
    width: 100%;
    height: 100%;
    background-color: #BA8E6B;
    border: none;
    color: #fff;
    padding: 0 25px;
    font-size: 18px;
    font-family: inherit;
    outline: none;
}

.tanagm-phone-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.bar-btn-area {
    flex-shrink: 0;
}

.tanagm-phone-btn {
    height: 100%;
    background-color: #FCFBF8;
    color: #BA8E6B;
    border: none;
    padding: 0 40px;
    font-size: 18px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s;
}

.tanagm-phone-btn:hover {
    background-color: #f0eadd;
}

/* Response Messages */
.tanagm-form-response {
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}
.tanagm-form-response.success { color: #2ecc71; }
.tanagm-form-response.error { color: #e74c3c; }

@media (max-width: 768px) {
    .tanagm-main-contact-wrapper {
        flex-direction: column-reverse;
    }
}


/* Hero Slider Widget */
.tanagm-hero-swiper-container {
    width: 100%;
    position: relative;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    direction: rtl;
}

.tanagm-hero-swiper {
    width: 100%;
    height: 80vh;
}

.tanagm-hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.tanagm-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Soft gradient from bottom to make text readable */
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.tanagm-hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.tanagm-hero-right {
    flex: 1;
    min-width: 300px;
}

.tanagm-hero-title {
    color: #fff;
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.tanagm-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tanagm-hero-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tanagm-hero-btn-primary {
    background-color: #B98B66;
    color: #fff;
}

.tanagm-hero-btn-primary:hover {
    background-color: #a47653;
}

.tanagm-hero-btn-secondary {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.tanagm-hero-btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

.tanagm-hero-left {
    flex-shrink: 0;
}

.tanagm-hero-stats {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px 30px;
    gap: 25px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-num {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-text {
    color: #fff;
    font-size: 14px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .tanagm-hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .tanagm-hero-content-wrapper {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    
    .tanagm-hero-buttons {
        justify-content: center;
    }
    
    .tanagm-hero-stats {
        width: 100%;
        justify-content: space-between;
        padding: 20px;
    }
}
