/* ================================================
   UAV BLOCKS CSS 
   ================================================ */

/* ================================================
   1. HERO SECTION
   ================================================ */

.uav-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.uav-hero * {
    box-sizing: border-box;
}

.uav-hero h1,
.uav-hero h2,
.uav-hero h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.uav-hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.uav-hero h2 {
    font-size: 36px;
    font-weight: 600;
}

.uav-hero p {
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Hero overlay */
.uav-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

/* Hero content wrapper */
.uav-hero .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

/* ================================================
   2. SECTION CONTAINER
   ================================================ */

.uav-section {
    width: 100%;
    box-sizing: border-box;
}

.uav-section * {
    box-sizing: border-box;
}

.uav-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.uav-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 40px;
    text-transform: uppercase;
    line-height: 1.2;
}

.uav-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}

.uav-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 15px;
}

/* ================================================
   3. CARDS GRID
   ================================================ */

.uav-card .card-link {
    color: #101828;
    font-size: 24px;
    font-family: 'Public Sans', sans-serif;
    font-weight: 500;
    line-height: 31.20px;
    word-wrap: break-word;
    text-decoration: none;
    display: inline-block;
    margin-top: 16px;
    transition: opacity 0.3s ease;
}

.uav-card .card-link:hover {
    opacity: 0.7;
}

.uav-cards {
    display: grid;
    gap: 30px;
    width: 100%;
}

/* Card базові стилі */
.uav-card {
    padding: 24px;
    border-radius: 10px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uav-card:hover {
    transform: translateY(-5px);
}

/* Vertical Layout (default) */
.uav-cards.layout-vertical .uav-card {
    display: flex;
    flex-direction: column;
}

.uav-cards.layout-vertical .card-icon {
    margin-bottom: 32px;
}

.uav-cards.layout-vertical .card-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

/* Horizontal Layout */
.uav-cards.layout-horizontal .uav-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.uav-cards.layout-horizontal .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.uav-cards.layout-horizontal .card-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.uav-cards.layout-horizontal .card-content {
    flex: 1;
}

/* Card Style: White */
.uav-card.card-white {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uav-card.card-white:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.uav-card.card-white h3 {
    color: #000000;
}

.uav-card.card-white p {
    color: #666666;
}

/* Card Style: Grey */
.uav-card.card-grey {
    background-color: #F4F4F5;
}

.uav-card.card-grey h3 {
    color: #101828;
}

.uav-card.card-grey p {
    color: #26272B;
}

/* Card Style: Bordered */
.uav-card.card-bordered {
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    box-shadow: none;
}

.uav-card.card-bordered:hover {
    border-color: #D1D5DB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.uav-card.card-bordered h3 {
    color: #000000;
}

.uav-card.card-bordered p {
    color: #666666;
}

/* Card Typography */
.uav-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.3;
}

.uav-card p {
    font-size: 16px;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Card Icon */
.uav-card .card-icon {
    display: block;
}

.uav-card .card-icon img {
    max-width: 100%;
    height: auto;
}

/* Card Button */
.uav-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3b82f6;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.uav-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.uav-button:active {
    transform: translateY(0);
}

/* ================================================
   4. ICON LIST
   ================================================ */

.uav-iconlist {
    display: grid;
    gap: 30px;
    width: 100%;
}

.uav-iconlist.layout-two-column {
    grid-template-columns: repeat(2, 1fr);
}

.uav-iconlist.layout-single-column {
    grid-template-columns: 1fr;
}

.iconlist-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.iconlist-item .item-icon {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
    min-width: 60px;
    text-align: center;
    background-color: #f0f9ff;
    padding: 15px;
    border-radius: 10px;
    flex-shrink: 0;
    line-height: 1;
}

.iconlist-item .item-content {
    flex: 1;
}

.iconlist-item .item-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: #000000;
    line-height: 1.3;
}

.iconlist-item .item-content p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
}

/* ================================================
   5. LOGOS GRID
   ================================================ */

.uav-logos {
    display: grid;
    gap: 30px;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.uav-logos .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
}

.uav-logos .logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.uav-logos .logo-item img:hover {
    transform: scale(1.05);
}

/* ================================================
   6. HELPER CLASSES
   ================================================ */

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

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

.text-right {
    text-align: right;
}

.text-white {
    color: #ffffff !important;
}

.text-black {
    color: #000000 !important;
}

.text-gray {
    color: #666666 !important;
}

.bg-dark {
    background-color: #2d3748;
}

.bg-very-dark {
    background-color: #1a202c;
}

.bg-light {
    background-color: #f7fafc;
}

.bg-white {
    background-color: #ffffff;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* ================================================
   7. SPECIAL CARDS (PRODUCT PORTFOLIO)
   ================================================ */

.uav-card.product-card {
    background-color: #1a202c;
    color: #ffffff;
    padding: 20px;
}

.uav-card.product-card h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.uav-card.product-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.uav-card.product-card li {
    color: #a0aec0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.uav-card.product-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #3b82f6;
    font-weight: 700;
}

.uav-card.product-card li:last-child {
    margin-bottom: 0;
}

/* ================================================
   8. RESPONSIVE DESIGN
   ================================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    /* Hero */
    .uav-hero {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        min-height: 300px !important;
    }
    
    .uav-hero h1 {
        font-size: 32px !important;
    }
    
    .uav-hero h2 {
        font-size: 24px !important;
    }
    
    .uav-hero p {
        font-size: 16px;
    }
    
    /* Section */
    .uav-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .uav-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    /* Cards Grid */

   
    .uav-cards {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Horizontal cards стають вертикальними на мобільних */
    .uav-cards.layout-horizontal .uav-card {
        flex-direction: column;
    }
    
    .uav-cards.layout-horizontal .card-icon {
        margin-bottom: 15px;
    }
    
    .uav-cards.layout-horizontal .card-icon img {
        width: 56px;
        height: 56px;
    }
    
    .uav-card {
        padding: 20px;
    }
    
    /* Icon List */
    .uav-iconlist {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .iconlist-item .item-icon {
        font-size: 24px;
        min-width: 50px;
        padding: 12px;
    }
    
    .iconlist-item .item-content h4 {
        font-size: 16px;
    }
    
    /* Logos Grid */
    .uav-logos {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
    }
    
    .uav-logos .logo-item {
        height: 80px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Hero */
    .uav-hero {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        min-height: 250px !important;
    }
    
    /* .uav-hero h1 {
        font-size: 28px !important;
    }
     */
    .uav-hero h2 {
        font-size: 22px !important;
    }
    
    .uav-hero p {
        font-size: 14px;
    }
    
    /* Section */
    .uav-section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    
    .uav-section h2 {
        font-size: 24px;
    }
    
    /* Cards */
    .uav-card {
        padding: 15px;
    }
    
    .uav-card h3 {
        font-size: 16px;
    }
    
    /* Icon List */
    .iconlist-item {
        gap: 15px;
    }
    
    .iconlist-item .item-icon {
        font-size: 20px;
        min-width: 40px;
        padding: 10px;
    }
    
    /* Logos Grid - 2 columns на дуже маленьких екранах */
    .uav-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .uav-logos .logo-item {
        height: 60px;
    }
    
    /* Buttons */
    .uav-button {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}

/* Desktop Large (1200px and above) */
@media (min-width: 1200px) {
    .uav-hero h1 {
        font-size: 56px;
    }
    
    .uav-section h2 {
        font-size: 36px;
    }
}

/* ================================================
   9. ALIGNMENT UTILITIES
   ================================================ */

/* Full Width */
.alignfull {
    width: calc(100vw - var(--scrollbar-width, 0px));
    max-width: none;
    margin-left: calc(-50vw + 50% + var(--scrollbar-width, 0px) / 2);
    margin-right: calc(-50vw + 50% + var(--scrollbar-width, 0px) / 2);
}

/* Wide Width */
.alignwide {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   10. PRINT STYLES
   ================================================ */

@media print {
    .uav-hero {
        break-inside: avoid;
    }
    
    .uav-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .uav-button {
        display: none;
    }
}

/* ================================================
   КІНЕЦЬ UAV BLOCKS CSS
   ================================================ */