/* Home Page Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a7d8f 50%, #3eaab4 100%);
    overflow: hidden;
    padding: 3rem 1.5rem 3rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(253, 185, 19, 0.2);
    color: #FDB913;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 span {
    color: #FDB913;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

.police-badge {
    width: 200px;
    height: 200px;
    background: #1e3156;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.badge-circle {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #1e3156;
}

.crown {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.badge-icon {
    font-size: 3rem;
}

.badge-text {
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 0.25rem;
    text-align: center;
}

/* Services Section */
.services {
    padding: 3rem 1.5rem;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2847;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: #FDB913;
    margin: 0 auto 1rem;
}

.section-description {
    text-align: center;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Announcements Section */
.announcements {
    padding: 3rem 1.5rem;
    background: white;
}

.announcements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.announcements-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.announcements-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2847;
}

.announcement-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s;
    border: 2px solid #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.announcement-item:hover {
    border-color: #2a7d8f;
    box-shadow: 0 4px 16px rgba(42, 125, 143, 0.15);
    transform: translateY(-2px);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.announcement-meta {
    flex: 1;
}

.announcement-badge {
    background: linear-gradient(135deg, #2a7d8f, #3eaab4);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(42, 125, 143, 0.3);
}

.announcement-date {
    font-size: 0.8rem;
    color: #2a7d8f;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-date::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #2a7d8f;
    border-radius: 50%;
}

.announcement-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2847;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.announcement-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.announcement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f8f9fa;
}

.announcement-category {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-arrow {
    color: #2a7d8f;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s;
}

.announcement-item:hover .announcement-arrow {
    transform: translateX(5px);
}

.view-all-btn {
    background: white;
    border: 1.5px solid #dee2e6;
    color: #1a2847;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 44px;
}

.view-all-btn:hover {
    border-color: #2a7d8f;
    color: #2a7d8f;
}

.stats-panel {
    background: white;
    padding: 0;
}

.stats-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2847;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2a7d8f;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.quick-links-panel {
    background: #1e3156;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.quick-links-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.quick-links-panel a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.quick-links-panel a:last-child {
    border-bottom: none;
}

.quick-links-panel a:hover {
    padding-left: 10px;
    color: #FDB913;
}

/* Contact Section */
.contact {
    padding: 3rem 1.5rem;
    background: #f8f9fa;
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2847;
    margin-bottom: 0.5rem;
}

.contact-description {
    color: #6c757d;
    font-size: 0.95rem;
}

.contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2a7d8f;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #1a2847;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-item-content {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.7;
    padding-left: 1.75rem;
}

.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2847;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.btn-submit {
    background: #1e3156;
    color: white;
    width: 100%;
    padding: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 48px;
}

.btn-submit:hover {
    background: #2a7d8f;
}

/* Desktop Styles */
@media (min-width: 769px) {
    h1 {
        font-size: 3rem;
    }

    .hero {
        padding: 4rem 3rem 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text {
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .police-badge {
        width: 280px;
        height: 280px;
    }

    .badge-circle {
        width: 220px;
        height: 220px;
    }

    .crown {
        font-size: 2rem;
    }

    .badge-icon {
        font-size: 4rem;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .services {
        padding: 4rem 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .announcements {
        padding: 4rem 3rem;
    }

    .announcements-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .announcement-item {
        padding: 2rem;
    }

    .announcement-title {
        font-size: 1.25rem;
    }

    .contact {
        padding: 4rem 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .announcement-item {
        min-height: 44px;
    }

    .view-all-btn {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
