/* Download Centar Styles */

/* Hero Section */
.download-hero {
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

.download-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #AB844E;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.download-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #4A4A4A;
    line-height: 1.6;
}

/* Download Cards Section */
.download-cards-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

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

.download-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 20px 0;
}

/* Download Card */
.download-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a1a2e, #16213e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.download-card:hover::before {
    transform: scaleX(1);
}

/* Card Icon */
.download-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.download-card-icon svg {
    width: 50px;
    height: 50px;
    color: #ffffff;
}

/* Card Title */
.download-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.download-card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #16213e;
    transition: width 0.3s ease;
}

.download-card:hover .download-card-title {
    color: #16213e;
}

.download-card:hover .download-card-title::after {
    width: 100%;
}

/* Card Description */
.download-card-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Download Modal */
.download-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.download-modal-overlay.active {
    display: flex;
}

.download-modal {
    background: #fff;
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.download-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.download-modal-close:hover {
    color: #1a1a2e;
}

.download-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.download-modal-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.download-modal-field {
    margin-bottom: 20px;
}

.download-modal-field label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.download-modal-field label span {
    color: #AB844E;
}

.download-modal-field input[type="email"] {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.download-modal-field input[type="email"]:focus {
    border-color: #AB844E;
}

.download-modal-consent {
    margin-bottom: 28px;
}

.download-modal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.download-modal-checkbox input[type="checkbox"] {
    display: none;
}

.download-modal-checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-top: 2px;
    transition: all 0.2s;
    position: relative;
}

.download-modal-checkbox input:checked ~ .download-modal-checkmark {
    background: #AB844E;
    border-color: #AB844E;
}

.download-modal-checkbox input:checked ~ .download-modal-checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.download-modal-consent-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.download-modal-error {
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 6px;
}

.download-modal-btn {
    width: 100%;
    padding: 15px;
    background: #AB844E;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.5px;
}

.download-modal-btn:hover {
    background: #9a7340;
    transform: translateY(-1px);
}

@media screen and (max-width: 560px) {
    .download-modal {
        padding: 40px 24px;
    }

    .download-modal-title {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .download-hero {
        padding: 100px 20px 60px;
    }

    .download-hero-title {
        font-size: 2.5rem;
    }

    .download-hero-subtitle {
        font-size: 1rem;
    }

    .download-cards-section {
        padding: 60px 20px;
    }

    .download-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-card {
        padding: 40px 25px;
    }

    .download-card-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .download-hero-title {
        font-size: 2rem;
    }

    .download-card-icon {
        width: 80px;
        height: 80px;
    }

    .download-card-icon svg {
        width: 40px;
        height: 40px;
    }

    .download-card-title {
        font-size: 1.3rem;
    }

    .download-card-description {
        font-size: 0.9rem;
    }
}
