@charset "UTF-8";

/* Main Stylesheet for تراحمو Donation App */

:root {
    --primary-green: #006633;
    --primary-red: #CE1126;
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --light-green: #E8F5E9;
    --light-red: #FFEBEE;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    --border-color: #DDDDDD;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    direction: rtl;
}

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

/* Header */
.main-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-black) 100%);
    color: var(--primary-white);
    padding: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-header {
    position: relative;
    background-image: url('/logo.php');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 51, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-logo {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 50%;
    border: 4px solid var(--primary-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Donation Section */
.donation-section {
    margin: 3rem 0;
}

.donation-card {
    background: var(--primary-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-red);
}

.donation-card h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.donation-content h3 {
    color: var(--primary-black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.donation-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--medium-gray);
}

/* Info Sections */
.info-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-title {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-red);
    text-align: center;
}

.donation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.detail-item {
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-white) 100%);
    border-radius: 10px;
    border-right: 4px solid var(--primary-green);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item strong {
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

.detail-item span:not(.detail-icon):not(.copy-hint) {
    color: var(--dark-gray);
    font-size: 1rem;
    word-break: break-word;
}

.detail-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    word-break: break-word;
}

.detail-item a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.copyable {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    background: var(--primary-white);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: inline-block;
    transition: background 0.3s;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.copyable:hover {
    background: var(--light-gray);
}

.copy-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin-top: 0.25rem;
    font-style: italic;
    font-family: 'Cairo', sans-serif;
}

.other-info-text {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}


/* Media Sections */
.media-section {
    margin: 3rem 0;
}

.media-section h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-red);
}

/* Placeholder Content */
.placeholder-content {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--primary-white);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
    margin: 2rem 0;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.placeholder-content h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.placeholder-content p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* Mobile Wallets Section */
.wallets-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 3px solid var(--primary-red);
}

.wallets-title {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.wallets-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wallet-card {
    background: var(--primary-white);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-red) 100%);
}

.wallet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.wallet-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-black) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.wallet-card:hover .wallet-icon {
    transform: scale(1.1) rotate(5deg);
}

.wallet-info {
    flex: 1;
    width: 100%;
}

.wallet-info h4 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-number-wrapper {
    width: 100%;
}

.wallet-number {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    word-break: break-word;
    color: var(--dark-gray);
}

.wallet-card .copyable {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-white) 100%);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: block;
    margin: 0;
}

.wallet-card .copyable:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-black) 100%);
    color: var(--primary-white);
    border-color: var(--primary-green);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
}

.wallet-card .copy-hint {
    display: block;
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-style: italic;
    font-family: 'Cairo', sans-serif;
    transition: color 0.3s;
    opacity: 0.8;
}

.wallet-card:hover .copy-hint {
    color: var(--primary-green);
    opacity: 1;
}

.wallet-card .copyable:hover ~ .copy-hint,
.wallet-card .copyable:hover + .copy-hint {
    color: rgba(255, 255, 255, 0.95);
}

.media-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.media-item {
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.media-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.media-video {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    background: var(--primary-black);
    border-radius: 8px;
    overflow: hidden;
}

/* Plyr Video Player Customization */
.plyr {
    border-radius: 8px;
    overflow: hidden;
}

.plyr__poster {
    background-size: cover;
}

.plyr--video {
    background: #000;
}

.video-item {
    position: relative;
}

.media-item h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    padding: 1rem 1.5rem 0.5rem;
    margin: 0;
}

.media-item p {
    color: var(--medium-gray);
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-header {
        min-height: 300px;
        padding: 2rem 0;
    }
    
    .hero-logo {
        max-width: 150px;
        max-height: 150px;
        margin-bottom: 1rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .donation-details {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .detail-item {
        padding: 1rem;
    }
    
    .copyable {
        font-size: 0.85rem;
        word-break: break-all;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .donation-card {
        padding: 1.5rem;
    }
    
    .photos-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .media-image {
        height: 200px;
    }
    
    .wallets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wallet-card {
        padding: 1.5rem;
    }
    
    .wallet-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
    
    .wallet-info h4 {
        font-size: 1.1rem;
    }
    
    .wallet-number {
        font-size: 1rem;
    }
    
    .wallet-card .copyable {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .media-video {
        max-height: 400px;
    }
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--primary-white);
}

.btn-primary:hover {
    background: #005022;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--medium-gray);
    color: var(--primary-white);
}

.btn-secondary:hover {
    background: var(--dark-gray);
}

.btn-danger {
    background: var(--primary-red);
    color: var(--primary-white);
}

.btn-danger:hover {
    background: #A00E1E;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

