/* Yiğit Metal Alüminyum Hizmet Açıklama Eklentisi - Frontend CSS */

.ymha-hizmet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ymha-hizmet-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ymha-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ymha-main-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

.ymha-hizmet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.ymha-hizmet-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
    position: relative;
}

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

.ymha-hizmet-card-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ymha-hizmet-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.ymha-hizmet-number {
    background: rgba(255,255,255,0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-left: 15px;
    flex-shrink: 0;
}

.ymha-hizmet-card-content {
    padding: 25px;
}

.ymha-hizmet-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

.ymha-hizmet-description p {
    margin: 0 0 15px 0;
}

.ymha-hizmet-description p:last-child {
    margin-bottom: 0;
}

.ymha-hizmet-card-footer {
    background: #f8f9fa;
    padding: 15px 25px;
    border-top: 1px solid #e9ecef;
}

.ymha-hizmet-company {
    text-align: center;
}

.ymha-company-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.ymha-call-to-action {
    margin-top: 50px;
    text-align: center;
}

.ymha-cta-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.ymha-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    pointer-events: none;
}

.ymha-cta-content {
    position: relative;
    z-index: 2;
}

.ymha-cta-card h3 {
    font-size: 2.2rem;
    margin: 0 0 30px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #3498db, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.ymha-cta-card h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.ymha-cta-card h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(52, 152, 219, 0.3) 20%, 
        rgba(231, 76, 60, 0.5) 50%, 
        rgba(52, 152, 219, 0.3) 80%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.ymha-cta-card h3:hover::before {
    left: 100%;
}

.ymha-cta-card h3:hover::after {
    opacity: 1;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.ymha-cta-card h3:hover {
    text-shadow: 
        0 0 10px rgba(52, 152, 219, 0.8),
        0 0 20px rgba(231, 76, 60, 0.6),
        0 0 30px rgba(52, 152, 219, 0.4),
        2px 2px 4px rgba(0,0,0,0.3);
    transform: scale(1.02);
}

.ymha-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.ymha-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.ymha-advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ymha-advantage-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.ymha-advantage-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ecf0f1;
}

.ymha-advantage-text p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    color: #bdc3c7;
}

.ymha-cta-footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255,255,255,0.2);
}

.ymha-cta-message {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 25px 0;
    color: #ecf0f1;
}

.ymha-cta-message strong {
    color: #f39c12;
    font-weight: 700;
}

.ymha-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ymha-cta-highlight {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none;
}

.ymha-cta-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(45deg, #c0392b, #e67e22);
    color: white;
    text-decoration: none;
}

.ymha-cta-highlight:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.ymha-cta-highlight:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

/* Kopyalama Uyarısı */
.ymha-copy-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #e74c3c;
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.ymha-copy-warning h4 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.ymha-copy-warning p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* Hover Efektleri */
.ymha-hover-effect {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .ymha-hizmet-container {
        padding: 15px;
    }
    
    .ymha-main-title {
        font-size: 2rem;
    }
    
    .ymha-main-subtitle {
        font-size: 1rem;
    }
    
    .ymha-hizmet-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ymha-hizmet-card-header {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .ymha-hizmet-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .ymha-hizmet-number {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .ymha-hizmet-card-content {
        padding: 20px;
    }
    
    .ymha-hizmet-description {
        font-size: 0.95rem;
    }
    
    .ymha-cta-card {
        padding: 25px;
    }
    
    .ymha-cta-card h3 {
        font-size: 1.8rem;
    }
    
    .ymha-advantages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ymha-advantage-item {
        padding: 15px;
    }
    
    .ymha-advantage-icon {
        font-size: 2rem;
    }
    
    .ymha-advantage-text h4 {
        font-size: 1.1rem;
    }
    
    .ymha-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .ymha-cta-highlight {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ymha-hizmet-container {
        padding: 10px;
    }
    
    .ymha-main-title {
        font-size: 1.8rem;
    }
    
    .ymha-hizmet-card-header {
        padding: 12px;
    }
    
    .ymha-hizmet-card-content {
        padding: 15px;
    }
    
    .ymha-hizmet-description {
        font-size: 0.9rem;
    }
    
    .ymha-cta-card {
        padding: 20px;
    }
    
    .ymha-cta-card h3 {
        font-size: 1.6rem;
    }
    
    .ymha-advantage-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .ymha-advantage-icon {
        font-size: 1.8rem;
    }
    
    .ymha-cta-message {
        font-size: 1rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ymha-hizmet-card {
    animation: fadeInUp 0.6s ease-out;
}

.ymha-hizmet-card:nth-child(1) { animation-delay: 0.1s; }
.ymha-hizmet-card:nth-child(2) { animation-delay: 0.2s; }
.ymha-hizmet-card:nth-child(3) { animation-delay: 0.3s; }
.ymha-hizmet-card:nth-child(4) { animation-delay: 0.4s; }
.ymha-hizmet-card:nth-child(5) { animation-delay: 0.5s; }
.ymha-hizmet-card:nth-child(6) { animation-delay: 0.6s; }

/* Yazdırma Stilleri */
@media print {
    .ymha-hizmet-container {
        user-select: text;
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
    }
    
    .ymha-hizmet-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .ymha-hizmet-card-header {
        background: #f5f5f5 !important;
        color: #333 !important;
    }
}

/* Yüksek kontrast modu */
@media (prefers-contrast: high) {
    .ymha-hizmet-card {
        border: 2px solid #000;
    }
    
    .ymha-hizmet-card-header {
        background: #000 !important;
        color: #fff !important;
    }
}

/* Karanlık mod desteği */
@media (prefers-color-scheme: dark) {
    .ymha-hizmet-container {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .ymha-hizmet-card {
        background: #2d2d2d;
        border-color: #444;
    }
    
    .ymha-hizmet-description {
        color: #ccc;
    }
    
    .ymha-hizmet-card-footer {
        background: #333;
        border-color: #555;
    }
}
