@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    background-image: url('/images/Gemini_Generated_Image_aehbrgaehbrgaehb.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #1a1a1a;
    overflow-y: auto;
    min-height: 100vh;
    position: relative;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform;
    backface-visibility: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.1);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: #000000;
    color: #ffffff;
    padding: 25px 20px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: shine 8s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translate(-25%, -25%) scale(1); opacity: 0; }
    50% { transform: translate(0%, 0%) scale(1.1); opacity: 1; }
}

/* Logo */
.logo {
    font-size: 32px;
    font-weight: 900;
    color: #B02040;
    margin-bottom: 12px;
    letter-spacing: 4px;
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    text-shadow: 
        0 0 10px rgba(176, 32, 64, 0.8),
        0 0 20px rgba(176, 32, 64, 0.6),
        0 0 30px rgba(176, 32, 64, 0.4),
        2px 2px 0px rgba(255, 255, 255, 0.3),
        -2px -2px 0px rgba(255, 255, 255, 0.3),
        2px -2px 0px rgba(255, 255, 255, 0.3),
        -2px 2px 0px rgba(255, 255, 255, 0.3);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.header h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 13px;
    font-weight: 400;
    color: #ffe682;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

/* Main Content */
.main-content {
    padding: 25px 20px;
}

/* Intro Section */
.intro {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #333333;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    isolation: isolate;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    border-radius: 16px;
}

.intro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.intro::after {
    display: none;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.testimonial {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: #ffffff;
    font-style: italic;
    font-weight: 400;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 2;
}

.testimonial::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 30px;
    color: #ffffff;
    opacity: 0.5;
}

.testimonial::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -15px;
    font-size: 30px;
    color: #ffffff;
    opacity: 0.5;
}

/* Buttons */
.btn-realizations {
    display: block;
    width: 100%;
    margin: 18px auto 0;
    padding: 16px 30px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.btn-realizations::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-realizations:hover::before {
    left: 100%;
}

.btn-realizations:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    background: #1a1a1a;
}

.btn-realizations:active {
    transform: translateY(0);
}

/* Gallery - Başlangıçta gizli */
.gallery {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    margin-bottom: 0;
    opacity: 0;
}

.gallery.active {
    max-height: 600px;
    margin-bottom: 18px;
    opacity: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe6e9;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #0984e3;
    z-index: 10;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.1) 0%, rgba(116, 185, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:empty::after {
    content: '📷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    opacity: 0.3;
}

/* Contact Intro */
.contact-intro {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 24px 20px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #333333;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-intro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-intro::before {
    content: '💬';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    opacity: 0.2;
}

.contact-text {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 18px 0 0 0;
    padding: 16px 30px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    letter-spacing: 0.2px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-whatsapp:hover::before {
    width: 300px;
    height: 300px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
    transform: translateY(-1px);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Message Button */
.btn-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 18px 0 0 0;
    padding: 16px 30px;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}

.btn-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-message:hover::before {
    left: 100%;
}

.btn-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.8) !important;
}

.btn-message:active {
    transform: translateY(0);
}

.message-icon {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact-section {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 16px;
}

.contact-info {
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.6;
}

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

.contact-label {
    font-weight: 600;
    margin-right: 8px;
}

.contact-value {
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #74b9ff;
}

/* Blog Section */
.blog-section {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.blog-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.blog-content {
    color: #ffffff;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}

.blog-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 12px;
    text-align: center;
}

.blog-text {
    font-size: 14px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 14px;
    text-align: center;
}

.blog-text:last-child {
    margin-bottom: 0;
}

.blog-text strong {
    font-weight: 600;
    color: #ffffff;
}

.blog-link:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Parquets Section */
.parquets-section {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.parquets-section:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-color: #333333;
}

.parquets-text {
    font-size: 13px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.parquets-label {
    font-weight: 600;
    color: #ffffff;
    margin-right: 6px;
}

/* Useful Links Section */
.useful-links {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.useful-links:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-color: #333333;
}

.links-text {
    font-size: 13px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.links-label {
    font-weight: 600;
    color: #ffffff;
    margin-right: 6px;
}

/* Responsive - Küçük ekranlar */
@media (max-width: 400px) {
    .header {
        padding: 25px 18px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .main-content {
        padding: 22px 18px;
    }
    
    .intro {
        padding: 20px 16px;
    }
    
    .intro-text {
        font-size: 15px;
    }
    
    .btn-realizations,
    .btn-whatsapp {
        font-size: 16px;
        padding: 16px 28px;
    }
    
    .gallery-grid {
        gap: 8px;
    }
    
    .useful-links {
        padding: 10px 14px;
    }
    
    .links-text {
        font-size: 11px;
    }
}

/* Landscape mode */
@media (orientation: landscape) and (max-height: 600px) {
    .header {
        padding: 20px 20px;
    }
    
    .header h1 {
        font-size: 22px;
    }
    
    .main-content {
        padding: 18px 20px;
    }
    
    .intro {
        margin-bottom: 15px;
        padding: 18px 16px;
    }
    
    .intro-text {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .gallery.active {
        max-height: 350px;
    }
    
    .btn-realizations,
    .btn-whatsapp {
        padding: 15px 28px;
    }
    
    .useful-links {
        padding: 10px 14px;
        margin-bottom: 15px;
    }
    
    .links-text {
        font-size: 11px;
    }
}

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

.intro,
.btn-realizations,
.contact-intro,
.btn-whatsapp,
.useful-links,
.parquets-section,
.contact-section,
.blog-section {
    animation: slideUp 0.5s ease-out forwards;
}

.intro { animation-delay: 0.1s; }
.btn-realizations { animation-delay: 0.15s; }
.contact-intro { animation-delay: 0.2s; }
.btn-whatsapp { animation-delay: 0.25s; }
.useful-links { animation-delay: 0.3s; }
.parquets-section { animation-delay: 0.33s; }
.contact-section { animation-delay: 0.35s; }
.blog-section { animation-delay: 0.4s; }

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.image-modal.active {
    display: flex !important;
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-prev {
    left: 20px;
}

.modal-nav-next {
    right: 20px;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInImage 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: opacity 0.2s ease;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-close {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    .modal-nav-prev {
        left: 10px;
    }

    .modal-nav-next {
        right: 10px;
    }

    .modal-content {
        width: 95%;
        height: 85%;
    }

    .modal-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 16px;
    }
}

