/* Root Variables - Black Theme */
:root {
    --primary-color: #212529;
    --secondary-color: #333;
    --accent-color: #212529;
    --accent-secondary: #000000;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #212529 0%, #000000 100%);
}

/* Full Width Wrapper */
.delivery-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.delivery-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.delivery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.delivery-title {
    font-size: 64px;
    font-weight: 300;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delivery-subtitle {
    font-size: 20px;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.accent-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
    margin: 0 auto;
    opacity: 0;
    animation: fadeInScale 0.8s ease 0.4s forwards;
}

/* Last Updated Banner */
.last-updated {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
}

/* Tab Navigation */
.tab-navigation {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.tab-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.tab-button {
    padding: 25px 40px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button:hover {
    color: var(--accent-color);
}

.tab-button.active {
    color: var(--accent-color);
}

.tab-button.active::after {
    transform: scaleX(1);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    width: 100%;
    display: none;
}

.content-section.active {
    display: block;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Content Typography */
.content-block {
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 300;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subsection-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 40px 0 20px;
    position: relative;
    padding-bottom: 15px;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #000000;
    border-radius: 2px;
}

.content-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* List Styles */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.styled-list li {
    position: relative;
    padding: 15px 0 15px 40px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 15px;
    width: 25px;
    height: 25px;
    background: rgba(33, 37, 41, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.styled-list li:hover {
    padding-left: 50px;
    background: rgba(33, 37, 41, 0.05);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.1), rgba(33, 37, 41, 0.05));
    border-left: 4px solid var(--accent-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 10px 10px 0;
}

.info-box-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    padding: 80px 0;
    margin-top: 80px;
    text-align: center;
    color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.contact-title {
    font-size: 48px;
    font-weight: 300;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: white;
    padding: 18px 50px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.contact-button:hover {
    background: #333333;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-button.secondary {
    background: transparent;
    border: 2px solid white;
    border-radius: 0;
}

.contact-button.secondary:hover {
    background: white;
    color: #000000;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* RTL Styles */
[dir="rtl"] .delivery-title {
    letter-spacing: normal;
}

[dir="rtl"] .subsection-title::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .styled-list li {
    padding-left: 0;
    padding-right: 40px;
}

[dir="rtl"] .styled-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .styled-list li:hover {
    padding-left: 0;
    padding-right: 50px;
}

[dir="rtl"] .info-box {
    border-left: none;
    border-right: 4px solid var(--accent-color);
    border-radius: 10px 0 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .delivery-hero {
        padding: 80px 0;
    }

    .delivery-title {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 32px;
    }

    .subsection-title {
        font-size: 24px;
    }

    .content-section {
        padding: 60px 0;
    }

    .tab-container {
        gap: 20px;
    }

    .tab-button {
        padding: 20px;
        font-size: 16px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-button {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 16px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .delivery-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 28px;
    }

    .content-text {
        font-size: 16px;
    }

    .tab-container {
        flex-direction: column;
        gap: 0;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }
}
