/* ===============================================
   Policy Pages Styles - Haneen Nemer
   Shared styles for Privacy, Return, and Terms pages
   =============================================== */

/* Hero Section */
.policy-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: calc(70px + 50px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.policy-hero .hero-content {
    position: relative;
    z-index: 1;
}

.policy-hero .hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.policy-hero .hero-logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
}

.policy-hero .hero-logo img:hover {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
    transform: scale(1.05);
}

.policy-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 12px 30px;
    border-radius: 50px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.policy-hero .hero-badge i {
    color: #d4af37;
    font-size: 20px;
}

.policy-hero .hero-badge span {
    color: #d4af37;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.policy-hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.policy-hero .hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 30px 0;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.policy-hero .title-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Content Section */
.policy-content {
    padding: 80px 0;
    background: #fff;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Intro Section */
.policy-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.policy-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.policy-intro .last-updated {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.policy-intro .last-updated i {
    color: #d4af37;
}

/* Policy Sections */
.policy-section {
    position: relative;
    margin-bottom: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.policy-section:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.policy-section .section-number {
    position: absolute;
    top: -20px;
    right: 40px;
    background: linear-gradient(135deg, #d4af37 0%, #c19a2e 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.policy-section .section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(212, 175, 55, 0.2);
}

.policy-section .section-title i {
    color: #d4af37;
    font-size: 32px;
}

.policy-section .section-content {
    color: #555;
    line-height: 1.8;
}

.policy-section .section-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

.policy-section .section-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
}

.policy-section .section-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: right;
}

.policy-section .section-content ul li {
    padding: 12px 30px 12px 0;
    position: relative;
    font-size: 17px;
    line-height: 1.8;
}

.policy-section .section-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 15px;
    color: #d4af37;
    font-size: 14px;
}

.policy-section .section-content strong {
    color: #1a1a2e;
    font-weight: 600;
}

.policy-section .section-content a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.policy-section .section-content a:hover {
    color: #c19a2e;
    text-decoration: underline;
}

/* Info Boxes */
.highlight-box,
.info-box,
.warning-box {
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.highlight-box i,
.info-box i,
.warning-box i {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.highlight-box p,
.info-box p,
.warning-box p {
    margin: 0;
    flex: 1;
}

.highlight-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.highlight-box i {
    color: #d4af37;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid rgba(33, 150, 243, 0.3);
}

.info-box i {
    color: #2196f3;
}

.warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid rgba(255, 152, 0, 0.3);
}

.warning-box i {
    color: #ff9800;
}

.warning-box ul {
    margin: 10px 0 0 0;
}

.warning-box ul li::before {
    content: '\f06a';
    color: #ff9800;
}

/* Steps Container (for Return Policy) */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-item .step-number {
    background: linear-gradient(135deg, #d4af37 0%, #c19a2e 100%);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.step-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px 0;
}

.step-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.policy-contact {
    margin-top: 80px;
}

.contact-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.contact-box > * {
    position: relative;
    z-index: 1;
}

.contact-box i {
    font-size: 50px;
    color: #d4af37;
    margin-bottom: 20px;
}

.contact-box h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

.contact-box p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 30px 0;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #c19a2e 100%);
    color: #1a1a2e;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c19a2e 0%, #a88b28 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn i {
    font-size: 18px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-hero {
        padding: calc(70px + 30px) 0 60px;
    }

    .policy-hero .hero-logo img {
        height: 80px;
    }

    .policy-hero .hero-title {
        font-size: 32px;
    }

    .policy-hero .hero-subtitle {
        font-size: 16px;
    }

    .policy-content {
        padding: 60px 0;
    }

    .policy-intro,
    .policy-section {
        padding: 30px 20px;
    }

    .policy-section .section-number {
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .policy-section .section-title {
        font-size: 22px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .policy-section .section-title i {
        font-size: 28px;
    }

    .policy-section .section-content p,
    .policy-section .section-content ul li {
        font-size: 16px;
    }

    .policy-section .section-content h3 {
        font-size: 20px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 40px 25px;
    }

    .contact-box h3 {
        font-size: 26px;
    }

    .contact-box p {
        font-size: 16px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .policy-hero .hero-title {
        font-size: 26px;
    }

    .policy-hero .hero-badge {
        padding: 10px 20px;
    }

    .policy-hero .hero-badge span {
        font-size: 14px;
    }

    .policy-section .section-title {
        font-size: 20px;
    }
}
