/* Ana Sayfa Stilleri */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    background-size: 200% 200%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    animation: gradientShift 10s ease infinite;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(102,126,234,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: fadeIn 2s ease-out;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes ctaButtonShimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

@keyframes ctaButtonAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
    }
    50% {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 40px rgba(245, 87, 108, 0.4);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-offer {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-size: 200% 200%;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.8s both, ctaButtonAnimation 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: ctaButtonShimmer 3s ease-in-out infinite;
}

.cta-button:hover::before {
    animation: ctaButtonShimmer 1.5s ease-in-out infinite;
}

.cta-button:hover {
    animation: fadeInUp 0.8s ease-out 0.8s both, ctaButtonAnimation 2s ease-in-out infinite;
}

.guarantee-text {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 1s ease-out 1s both;
}

.guarantee-text i {
    color: #48bb78;
    margin-right: 8px;
    font-size: 1.4rem;
}

/* Geri Sayım Sayacı */
.countdown-banner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
    animation: fadeInUp 0.8s ease-out 0.1s both;
    margin-top: 20px;
}

.countdown-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 5px;
}

@media (max-width: 768px) {
    .countdown-banner {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .countdown-text {
        font-size: 0.95rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .countdown-separator {
        font-size: 1.2rem;
    }
    
    .countdown-timer {
        gap: 5px;
        padding: 12px 15px;
    }
}

/* Referanslar Slider */
.references-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.references-slider-container {
    background: transparent;
    border-radius: 10px;
    padding: 1px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.references-slider {
    display: flex;
    animation: slideLeft 30s linear infinite;
    gap: 1px;
    padding: 1px;
}

.references-slider:hover {
    animation-play-state: paused;
}

.reference-slide {
    flex-shrink: 0;
    width: 150px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, background 0.3s;
    margin: 1px;
    position: relative;
}

.reference-slide:hover {
    transform: scale(1.05);
    z-index: 10;
}

.reference-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.reference-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #f0f0f0;
    /* Eski tarayıcılar için fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Resim yüklenene kadar placeholder */
    min-height: 90px;
    /* Resim yüklenirken smooth transition */
    opacity: 1;
    transition: opacity 0.3s ease;
    /* Resim yüklenene kadar görünürlük */
    visibility: visible;
}

/* Resim yüklenirken veya hata durumunda */
.reference-image[src=""],
.reference-image:not([src]) {
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    opacity: 0.7;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Referanslar Grid (Referanslar Sayfası) */
.references-grid {
    margin-top: 40px;
}

.reference-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.reference-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.reference-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.reference-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.reference-card:hover .reference-grid-image {
    transform: scale(1.1);
}

.reference-card-body {
    padding: 20px;
}

.reference-card-body h5 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.reference-card-body p {
    margin: 0;
    font-size: 0.9rem;
}

/* Discount Section */
.discount-section {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f3e8ff 0%, #e0e7ff 100%);
    position: relative;
}

.discount-badge-link {
    text-decoration: none;
    display: inline-block;
}

.discount-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 1.4s both, bounce 1s ease-out 2.5s;
}

.discount-badge:hover {
    transform: scale(1.05);
    animation: pulse 0.5s ease-in-out;
}

.discount-number {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    line-height: 1;
    margin: 20px 0;
    animation: fadeInUp 1s ease-out 1.2s both, pulse 2s ease-in-out 2.5s infinite, gradientShift 3s ease infinite;
}

/* Form Section */
.form-section {
    background: white;
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.sector-selection {
    margin-bottom: 30px;
}

.sector-card {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.sector-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.sector-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.package-selection {
    margin-bottom: 30px;
}

.package-card {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.package-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.package-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.package-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.package-features li {
    padding: 5px 0;
    color: var(--text-light);
}

.package-features li:before {
    content: "✓ ";
    color: #48bb78;
    font-weight: bold;
    margin-right: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 12px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    color: white;
}

.whatsapp-info {
    background: #e6fffa;
    border-left: 4px solid #38b2ac;
    padding: 15px;
    border-radius: 5px;
    margin-top: 30px;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-buttons.left {
    left: 20px;
    bottom: 20px;
}

.floating-buttons.right {
    right: 20px;
    bottom: 20px;
}

.floating-buttons.center {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
}

.floating-button {
    width: auto;
    min-width: 70px;
    height: 70px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    position: relative;
}

.floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    color: white;
}

.floating-button-text {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.floating-button.search {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.floating-button.whatsapp {
    background: #25D366;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .discount-number {
        font-size: 5rem;
    }
    
    .references-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .reference-slide {
        width: 120px;
        height: 72px;
        min-width: 120px;
    }
    
    .reference-image {
        min-height: 72px;
    }
    
    .references-slider {
        gap: 8px;
    }
    
    .guarantee-text {
        font-size: 1.1rem;
    }
    
    .guarantee-text i {
        font-size: 1.2rem;
    }
    
    .floating-buttons {
        bottom: 15px;
    }
    
    .floating-buttons.left {
        left: 15px;
    }
    
    .floating-buttons.right {
        right: 15px;
    }
    
    .floating-button {
        min-width: 60px;
        height: 60px;
        font-size: 1.5rem;
        padding: 0 15px;
        gap: 8px;
    }
    
    .floating-button-text {
        font-size: 0.75rem;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .guarantee-text {
        font-size: 1rem;
    }
    
    .guarantee-text i {
        font-size: 1.1rem;
    }
    
    .reference-slide {
        width: 100px;
        height: 60px;
        min-width: 100px;
    }
    
    .reference-image {
        min-height: 60px;
    }
    
    .references-slider {
        gap: 6px;
    }
    
    .floating-button {
        min-width: 55px;
        height: 55px;
        font-size: 1.3rem;
        padding: 0 12px;
        gap: 6px;
    }
    
    .floating-button-text {
        font-size: 0.7rem;
    }
}

