/* 
   Style for Barqia Landing Page
   Premium Event Photography & Production (Kuwait)
   Developed with Modern Aesthetics: Dark Navy & Gold Theme
*/

:root {
    --bg-primary: #080d1a;
    --bg-secondary: #0d162d;
    --bg-card: rgba(16, 28, 54, 0.65);
    --bg-card-hover: rgba(22, 38, 72, 0.85);
    --border-color: rgba(212, 175, 55, 0.2);
    --border-color-hover: rgba(212, 175, 55, 0.5);
    
    /* Luxury Gold Gradients */
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa7c11;
    --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Text colors */
    --text-light: #ffffff;
    --text-muted: #a0aec0;
    --text-gold: #e5c158;
    
    /* Fonts */
    --font-primary: 'Tajawal', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & RTL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-primary);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Utility Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gold {
    color: var(--text-gold);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 13, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-normal);
}

header.scrolled {
    padding: 8px 0;
    background: rgba(8, 13, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition-normal);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--gold-glow);
    transition: var(--transition-normal);
}

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

.logo-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--gold-primary);
    letter-spacing: 1px;
    margin-top: 4px;
}

.drawer-header-item {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: var(--gold-gradient);
    color: #080d1a;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: var(--gold-glow);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(13, 22, 45, 0.4) 0%, rgba(8, 13, 26, 0.95) 80%);
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
    filter: scale(1.1);
    animation: zoomBg 20s infinite alternate;
}

@keyframes zoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
}

.hero-badge i {
    font-size: 14px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.2;
    font-weight: 800;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #080d1a;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--gold-glow);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-card-stack {
    position: relative;
    width: 320px;
    height: 400px;
}

.hero-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    transition: var(--transition-slow);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-1 {
    transform: rotate(-6deg) translate(-15px, 0);
    z-index: 2;
}

.hero-card-2 {
    transform: rotate(6deg) translate(15px, 15px);
    z-index: 1;
    opacity: 0.7;
}

.hero-card-stack:hover .hero-card-1 {
    transform: rotate(-3deg) translate(-25px, -10px);
}

.hero-card-stack:hover .hero-card-2 {
    transform: rotate(3deg) translate(25px, 20px);
    opacity: 0.9;
}

/* Features Grid */
.features-section {
    position: relative;
    z-index: 5;
    margin-top: -60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(13, 22, 45, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.02) 70%);
    border: 1px dashed var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.05) 70%);
    transform: rotateY(180deg);
}

.feature-icon-wrapper i {
    font-size: 26px;
    color: var(--gold-light);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* About Us Section */
.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-img-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    height: 240px;
    transition: var(--transition-normal);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.about-img-box:hover img {
    transform: scale(1.05);
}

.about-img-large {
    grid-column: span 2;
    height: 280px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-tag {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--gold-gradient);
}

.section-title {
    font-size: 38px;
    line-height: 1.3;
}

.about-text {
    color: var(--text-muted);
    font-size: 16px;
}

.about-bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
}

.bullet-item i {
    color: var(--gold-primary);
    font-size: 18px;
}

/* Offers (Packages) Section - REORGANIZED FOR FULL WIDTH AND PROFESSIONALISM */
.offers-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.offers-section .container {
    max-width: 1400px;
}

.offers-tabs-wrapper {
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn:hover {
    border-color: var(--gold-primary);
    color: var(--text-light);
    background: rgba(212, 175, 55, 0.05);
}

.tab-btn.active {
    background: var(--gold-gradient);
    color: #080d1a;
    border-color: transparent;
    box-shadow: var(--gold-glow);
}

/* Package Details Layout - Reorganized to span Full Width */
.package-container {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.package-container.active {
    display: block;
}

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

.package-grid {
    display: grid;
    grid-template-columns: 1fr; /* 100% width grid */
    gap: 32px;
    align-items: start;
    width: 100%;
}

.package-main-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    width: 100%;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 24px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 20px;
}

.package-title-group h3 {
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 800;
}

.package-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.package-price-tag {
    text-align: left;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--gold-primary);
    padding: 10px 24px;
    border-radius: 16px;
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.05);
}

.price-currency {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.price-value {
    font-size: 46px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
}

/* Package details categories grid - side-by-side but wider */
.package-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.package-cat-box {
    background: rgba(8, 13, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-normal);
}

.package-cat-box:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(8, 13, 26, 0.7);
    transform: translateY(-2px);
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.cat-header i {
    font-size: 22px;
    color: var(--gold-primary);
}

.cat-title {
    font-size: 19px;
    font-weight: 700;
}

.cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-item {
    display: block;
    position: relative;
    padding-right: 24px;
    font-size: 15px;
    color: var(--text-light); /* Explanation in white */
    line-height: 1.7;
}

.cat-item i {
    position: absolute;
    right: 0;
    top: 4px;
    color: var(--gold-primary);
    font-size: 13px;
}

.cat-item strong {
    color: var(--text-gold); /* Primary element in gold */
    font-weight: 700;
}

.package-freebies-box {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(170, 124, 17, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.freebie-icon {
    font-size: 36px;
    color: var(--gold-primary);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.4)); }
}

.freebie-text h4 {
    font-size: 17px;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.freebie-text p {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* Beautiful package bottom bar for actions & highlights */
.package-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.package-footer-highlights {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--text-muted);
}

.highlight-item i {
    color: var(--gold-primary);
    font-size: 12px;
}

.package-footer-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.whatsapp-order-btn {
    background: #25d366;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background: #20ba59;
}

.call-order-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.call-order-btn:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

/* Services Grid Section */
.services-section {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, rgba(8,13,26,1) 0%, rgba(8,13,26,0) 100%);
}

.service-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Interactive Event Calculator */
.calculator-section {
    background: var(--bg-secondary);
    position: relative;
}

.calc-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-label i {
    font-size: 18px;
}

/* Custom Styled Select and Range Inputs */
.calc-select {
    background: rgba(8, 13, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-primary);
    outline: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.calc-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.calc-select option {
    background: var(--bg-secondary);
    color: var(--text-light);
}

.checkbox-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(8, 13, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
    user-select: none;
}

.checkbox-label:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(8, 13, 26, 0.6);
}

.checkbox-label input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkbox-label input::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #080d1a;
    font-size: 11px;
    display: none;
}

.checkbox-label input:checked {
    background: var(--gold-gradient);
    border-color: transparent;
}

.checkbox-label input:checked::before {
    display: block;
}

.checkbox-label.checked {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.calc-results {
    background: rgba(8, 13, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.result-header h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.result-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.breakdown-row.total {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold-light);
    margin-top: 8px;
}

.calc-whatsapp-btn {
    width: 100%;
}

/* Contact & Address Section */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-details h4 {
    font-size: 16px;
    font-weight: 700;
}

.info-details p, .info-details a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.5;
}

.info-details a:hover {
    color: var(--gold-primary);
}

/* Map Container */
.map-container {
    height: 100%;
    min-height: 420px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0.95;
    transition: var(--transition-normal);
}

/* Map marker overlay pin with logo inside */
.map-marker-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    pointer-events: auto; /* Let clicks toggle tooltips */
}

.custom-map-pin {
    width: 65px;
    height: 65px;
    background: #080d1a;
    border: 3px solid var(--gold-primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gold-glow), 0 10px 20px rgba(0,0,0,0.5);
    animation: bounceMarker 2s infinite alternate;
}

.custom-map-pin img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transform: rotate(45deg); /* Counter rotate back to vertical */
    object-fit: cover;
    border: 2px solid #080d1a;
    background: #ffffff;
}

@keyframes bounceMarker {
    0% { transform: translateY(0) rotate(-45deg); }
    100% { transform: translateY(-12px) rotate(-45deg); }
}

.marker-pulse {
    position: absolute;
    width: 30px;
    height: 8px;
    background: rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    bottom: -12px;
    z-index: -1;
    animation: pulseCircle 1.5s infinite;
}

@keyframes pulseCircle {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.map-tooltip {
    position: absolute;
    top: 50px;
    background: rgba(8, 13, 26, 0.96);
    border: 1px solid var(--gold-primary);
    padding: 16px 20px;
    border-radius: 12px;
    width: 250px;
    z-index: 20;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    text-align: right;
    animation: popIn 0.3s ease forwards;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.map-tooltip-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
}

.map-tooltip-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.map-action-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.map-btn {
    background: rgba(8, 13, 26, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--text-light);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-normal);
}

.map-btn:hover {
    background: var(--gold-gradient);
    color: #080d1a;
    box-shadow: var(--gold-glow);
}

/* Footer styling */
footer {
    background-color: #050811;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 60px 0 30px 0;
    position: relative;
    z-index: 5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr repeat(2, 0.5fr) 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--gold-primary);
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-link-item a:hover {
    color: var(--gold-primary);
    padding-right: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-btn:hover {
    background: var(--gold-gradient);
    color: #080d1a;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copy-text {
    font-size: 13px;
    color: var(--text-muted);
}

.developer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.developer-badge a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}

.developer-badge a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Floating Elements (WhatsApp & Call) */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: var(--transition-normal);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.floating-whatsapp {
    background-color: #25d366;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-call {
    background: var(--gold-gradient);
    color: #080d1a;
    box-shadow: var(--gold-glow);
}

.floating-btn-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(8, 13, 26, 0.95);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    transform: translateX(-5px);
}

/* Animations Triggered on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-badge {
        align-self: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-images {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        min-height: 350px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .container {
        padding: 0 16px;
    }
    
    /* Hero section refinements */
    .hero-section {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 50px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
        gap: 16px;
    }
    .hero-title {
        font-size: 30px;
        line-height: 1.4;
    }
    .hero-desc {
        font-size: 15px;
        line-height: 1.7;
    }
    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-visual {
        order: -1;
        max-width: 380px;
        margin: 0 auto;
    }
    .image-stack {
        height: 280px;
    }
    
    /* Header & Navigation */
    .nav-container {
        padding: 12px 16px;
    }
    
    header.scrolled .nav-container {
        padding: 8px 16px;
    }
    
    .logo-img {
        width: 44px;
        height: 44px;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 9px;
        margin-top: 2px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001; /* Keep above navigation drawer */
    }
    
    /* Sleek Native Mobile App Slide-in Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px; /* Fully hidden offscreen */
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #0d162d 0%, #080d1a 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 90px 20px 40px 20px;
        gap: 14px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
        border-left: 1px solid rgba(212, 175, 55, 0.15);
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .drawer-header-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        padding-bottom: 16px;
        margin-bottom: 16px;
        list-style: none;
    }
    
    .drawer-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    
    .drawer-header img {
        width: 65px !important;
        height: 65px !important;
        border-radius: 12px;
        border: 2px solid var(--gold-primary);
        box-shadow: var(--gold-glow);
    }
    
    .drawer-header-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .drawer-title {
        font-size: 18px;
        font-weight: 800;
        color: var(--text-light);
    }
    
    .drawer-subtitle {
        font-size: 11px;
        color: var(--gold-primary);
    }
    
    .nav-menu li {
        list-style: none;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.02);
        background: rgba(255, 255, 255, 0.01);
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-muted);
        transition: var(--transition-normal);
        box-sizing: border-box;
    }
    
    .nav-link::after {
        display: none !important;
    }
    
    .nav-link:hover, .nav-link.active {
        color: var(--gold-primary);
        background: rgba(212, 175, 55, 0.08);
        border-color: rgba(212, 175, 55, 0.25);
        transform: translateX(-5px);
    }
    
    .nav-btn {
        width: 100% !important;
        margin-top: 10px;
        justify-content: center;
        padding: 12px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    /* Reset negative margin on mobile to fix quick contact overlap */
    .features-section {
        margin-top: 30px !important;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Services section refinement */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Interactive Event Calculator Mobile Overhaul */
    .calculator-section .container {
        padding: 0 12px;
    }
    
    .calc-box {
        padding: 24px 16px;
        border-radius: 20px;
        margin-top: 25px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .calc-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .calc-inputs {
        gap: 20px;
    }
    
    .calc-group {
        gap: 8px;
    }
    
    .calc-label {
        font-size: 15px;
    }
    
    .calc-select {
        padding: 12px 16px;
        font-size: 15px;
        width: 100%;
    }
    
    .checkbox-options {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .checkbox-label {
        padding: 14px 16px;
        font-size: 14px;
        justify-content: space-between;
    }
    
    .calc-results {
        padding: 20px 16px;
        border-radius: 16px;
        gap: 16px;
        margin-top: 10px;
    }
    
    .result-header h4 {
        font-size: 18px;
    }
    
    .result-breakdown {
        padding: 16px 0;
        gap: 10px;
    }
    
    .breakdown-row {
        font-size: 13px;
    }
    
    .breakdown-row.total {
        font-size: 18px;
        padding-top: 10px;
    }
    
    .calc-whatsapp-btn {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }
    
    /* Packages & Offers Mobile Overhaul */
    .offers-section .container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    .offers-tabs-wrapper {
        margin-top: 20px;
    }
    
    /* Swipable Category Bar (app-like navigation) */
    .tabs-nav {
        display: flex !important;
        justify-content: flex-start;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 4px 4px 12px 4px;
        margin-bottom: 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        width: 100%;
    }
    
    .tabs-nav::-webkit-scrollbar {
        display: none;
    }
    
    .tabs-nav li {
        flex-shrink: 0;
        scroll-snap-align: start;
        list-style: none;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.03);
        white-space: nowrap;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Cards layout adjustments */
    .package-container {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .package-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    
    .package-main-info {
        padding: 24px 16px;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .package-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .package-title-group h3 {
        font-size: 20px;
        text-align: center;
    }
    
    .package-badge {
        font-size: 12px;
        text-align: center;
        justify-content: center;
        line-height: 1.4;
    }
    
    .package-price-tag {
        align-self: center;
        width: 100%;
        background: rgba(212, 175, 55, 0.05);
        border: 1px solid rgba(212, 175, 55, 0.15);
        padding: 12px 16px;
        border-radius: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }
    
    .price-currency {
        font-size: 12px;
    }
    
    .price-value {
        font-size: 26px;
    }
    
    .package-sections-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .package-cat-box {
        padding: 18px 14px;
        border-radius: 16px;
    }
    
    .cat-title {
        font-size: 15px;
    }
    
    .cat-item {
        font-size: 13.5px;
        padding-right: 20px;
    }
    
    .cat-item i {
        font-size: 11px;
        top: 5px;
    }
    
    .package-freebies-box {
        grid-column: span 1 !important;
        padding: 14px;
        border-radius: 16px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .freebie-icon {
        font-size: 24px;
    }
    
    .freebie-text h4 {
        font-size: 14px;
        text-align: center;
    }
    
    .freebie-text p {
        font-size: 12.5px;
        text-align: center;
        line-height: 1.5;
    }
    
    .package-footer-bar {
        margin-top: 20px;
        padding-top: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .package-footer-highlights {
        gap: 8px;
        justify-content: center;
        width: 100%;
    }
    
    .highlight-item {
        padding: 6px 12px;
        font-size: 11.5px;
    }
    
    .package-footer-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .package-footer-actions a {
        width: 100% !important;
        justify-content: center;
        box-sizing: border-box;
    }
    
    /* Footer styles: 2 columns on mobile */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px 16px;
    }
    .footer-col {
        gap: 12px;
    }
    .footer-desc {
        font-size: 12.5px;
        line-height: 1.5;
    }
    .footer-links {
        gap: 8px;
    }
    .footer-link-item a {
        font-size: 13px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .floating-actions {
        bottom: 16px;
        left: 16px;
    }
    
    .floating-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

/* ==========================================================================
   Barqia Calendar & Modals Styles (تحديد الحفل)
   ========================================================================== */

/* Calendar Section Base Styling */
.calendar-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.calendar-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.calendar-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 20px;
}

.calendar-btn {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-normal);
}

.calendar-btn:hover {
    background: var(--gold-primary);
    color: #000000;
    box-shadow: var(--gold-glow);
    transform: scale(1.05);
}

.calendar-month-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    aspect-ratio: 1.1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
    min-height: 85px;
}

.calendar-day:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day.today {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-day.today::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

.day-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
}

/* Event Booking on Day */
.calendar-day.booked {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(170, 124, 17, 0.05) 100%);
    border: 1.5px solid var(--gold-primary);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
    animation: goldPulseBorder 3s infinite;
}

@keyframes goldPulseBorder {
    0% { border-color: rgba(212, 175, 55, 0.7); box-shadow: 0 0 5px rgba(212, 175, 55, 0.15); }
    50% { border-color: rgba(212, 175, 55, 1); box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
    100% { border-color: rgba(212, 175, 55, 0.7); box-shadow: 0 0 5px rgba(212, 175, 55, 0.15); }
}

.day-event-indicator {
    background: var(--gold-primary);
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.day-event-indicator i {
    font-size: 10px;
}

/* Calendar Legend & Actions */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.booked {
    background: var(--gold-primary);
    box-shadow: 0 0 5px var(--gold-primary);
}

.legend-dot.today {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.5);
}

.calendar-actions-bar {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.btn-primary-calendar {
    background: linear-gradient(135deg, var(--gold-primary) 0%, #aa7c11 100%);
    color: #000000;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary-calendar:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.45);
}

/* Modals Core Styling */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.custom-modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-content.max-width-invite {
    max-width: 500px;
}

.animate-modal {
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-body {
    padding: 30px;
    flex-grow: 1;
}

/* Form Styling */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-input {
    background: rgba(8, 13, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition-normal);
}

.form-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Template Selection Grid */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 5px;
}

.template-option {
    cursor: pointer;
    position: relative;
    display: block;
}

.template-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.template-preview-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition-normal);
}

.template-preview-wrapper img {
    width: 100%;
    aspect-ratio: 0.7;
    object-fit: cover;
    border-radius: 8px;
}

.template-preview-wrapper span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.template-option:hover .template-preview-wrapper {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.02);
}

.template-option input:checked + .template-preview-wrapper {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.template-option input:checked + .template-preview-wrapper span {
    color: var(--gold-primary);
}

.form-error-msg {
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid rgba(255, 75, 75, 0.3);
    color: #ff5555;
    padding: 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
}

.form-success-msg {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    padding: 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
}

/* Canvas Details & Loader */
.canvas-container-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas-loader {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.canvas-loader i {
    font-size: 40px;
}

.canvas-loader p {
    font-size: 14px;
    color: var(--text-muted);
}

.event-info-details-box {
    margin: 15px 0 25px 0;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 16px;
}

.event-info-details-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.event-info-details-box p {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.event-info-details-box p i {
    font-size: 13px;
}

/* Responsive Overrides for Calendar */
@media (max-width: 768px) {
    .calendar-wrapper {
        padding: 20px;
    }
    
    .calendar-month-title {
        font-size: 18px;
    }
    
    .calendar-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .calendar-weekdays {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .calendar-day {
        aspect-ratio: 1;
        min-height: auto;
        padding: 6px;
        border-radius: 8px;
    }
    
    .day-number {
        font-size: 13px;
    }
    
    .day-event-indicator {
        font-size: 9px;
        padding: 2px 4px;
        gap: 2px;
    }
    
    .day-event-indicator span {
        display: none; /* Hide 'زواج' text on tiny screens, show icon only */
    }
    
    .calendar-legend {
        font-size: 12px;
        gap: 15px;
        margin-top: 15px;
    }
    
    .btn-primary-calendar {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Custom Details Card - Digital Invitation */
.custom-details-card {
    background: radial-gradient(circle at center, rgba(17, 17, 17, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%) !important;
    border: 2px solid var(--gold-primary) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 15px rgba(212, 175, 55, 0.1) !important;
    border-radius: 16px !important;
    padding: 30px 20px !important;
    position: relative !important;
    overflow: hidden !important;
}

.custom-details-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('assets/images/logo.png') !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 180px !important;
    opacity: 0.03 !important;
    pointer-events: none !important;
}

.wedding-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--gold-gradient) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2) !important;
}

.custom-details-card h4 {
    font-family: 'Amiri', serif !important;
    font-size: 28px !important;
    color: var(--text-gold) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    margin-bottom: 15px !important;
}

.details-divider {
    width: 60px !important;
    height: 2px !important;
    background: var(--gold-primary) !important;
    margin: 15px auto !important;
    position: relative !important;
}

.details-divider::before, .details-divider::after {
    content: '♦' !important;
    position: absolute !important;
    color: var(--gold-primary) !important;
    font-size: 10px !important;
    top: -6px !important;
}
.details-divider::before { left: -10px !important; }
.details-divider::after { right: -10px !important; }

.greeting-text {
    font-family: 'Amiri', serif !important;
    font-size: 18px !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
    line-height: 1.6 !important;
}

.details-row {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.detail-item {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(212,175,55,0.15) !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    color: #ffffff !important;
}

.detail-item strong {
    color: var(--text-gold) !important;
}


/* Carousel Nav in Modal */
.carousel-nav {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 15px;
    margin-bottom: 20px !important;
}
.carousel-nav .calendar-btn {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-nav .calendar-btn:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
