/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ve Navigasyon */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5aa0;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2c5aa0;
}

.nav-link.lang {
    background: #2c5aa0;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.nav-link.lang:hover {
    background: #1e3f73;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Dil Seçici */
.language-switcher {
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.language-btn:hover {
    background: #1e3f73;
    transform: translateY(-2px);
}

.language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .language-btn i {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e9ecef;
}

.language-dropdown:hover .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
    font-size: 14px;
}

.language-option:hover {
    background: #f8f9fa;
    color: #2c5aa0;
}

.language-option.active {
    background: #e3f2fd;
    color: #2c5aa0;
    font-weight: 600;
}

.language-option .flag {
    font-size: 16px;
}

.language-option .name {
    flex: 1;
}

/* Sabit İletişim Butonları */
.fixed-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fixed-phone-btn,
.fixed-whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

.fixed-phone-btn {
    background: #007bff;
    color: white;
}

.fixed-phone-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
}

.fixed-whatsapp-btn {
    background: #25D366;
    color: white;
}

.fixed-whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Pulse animasyonu */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.btn-primary:hover {
    background: transparent;
    color: #ff6b35;
    border-color: #ff6b35;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 20px;
}

/* Maxima ve Ahşap Stand Sections */
.maxima-section {
    background: #f8f9fa;
}

.ahsap-section {
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.gallery {
    display: flex;
    justify-content: center;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

/* Hakkımızda Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-item h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-item p {
    color: #666;
    line-height: 1.7;
}

/* İletişim Section */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 5px;
}

.contact-item h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: #2c5aa0;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Instagram link özel stil */
.contact-item a[href*="instagram"] {
    color: #E4405F;
    font-weight: 600;
}

.contact-item a[href*="instagram"]:hover {
    color: #C13584;
    text-decoration: none;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.contact-item .fa-instagram {
    color: #E4405F;
}

/* Telefon linklerinin stilini iyileştir */
.contact-item a[href^="tel"] {
    display: inline-block;
    margin-bottom: 5px;
    color: #2c5aa0;
    font-weight: 500;
}

.contact-item a[href^="tel"]:hover {
    color: #1e3f73;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* İletişim Formu */
.contact-form-wrapper {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.contact-form-wrapper h3 {
    color: #2c5aa0;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Referanslar Section */
.references-section {
    background: #2c5aa0;
    color: white;
}

.references-section .section-header h2 {
    color: white;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.reference-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.reference-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.reference-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80px;
    color: #666;
    text-align: center;
}

.reference-placeholder i {
    font-size: 24px;
    margin-bottom: 5px;
    color: #999;
}

.reference-placeholder span {
    font-size: 12px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1e3f73;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    flex: 1;
}

.footer-social {
    display: flex;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-link:hover {
    background: #E4405F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 64, 95, 0.3);
}

.social-link i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        order: 2;
    }
    
    .footer-social {
        order: 1;
    }
}

/* İletişim Sonuç Sayfası */
.contact-result {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.success-message,
.error-message {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 500px;
}

.success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.error-message i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.success-message h2,
.error-message h2 {
    color: #333;
    margin-bottom: 20px;
}

.error-message ul {
    text-align: left;
    margin: 20px 0;
    color: #dc3545;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobil dil seçici */
    .language-switcher {
        width: 100%;
        margin-top: 10px;
    }
    
    .language-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
    
    .language-options {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .language-dropdown:hover .language-options {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    /* Mobil sabit butonlar */
    .fixed-contact-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .fixed-phone-btn,
    .fixed-whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-item {
        max-width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .reference-item {
        padding: 15px;
        min-height: 100px;
    }
    
    .reference-item img {
        max-height: 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about-item,
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reference-item {
        padding: 20px;
        min-height: 80px;
    }
    
    .reference-item img {
        max-height: 50px;
    }
    
    .success-message,
    .error-message {
        padding: 40px 30px;
        margin: 20px;
    }
}
