/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 300px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 80px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav-logo-img {
    width: 70px;
    height: 44px;
    margin-right: 10px;
    object-fit: contain;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    opacity: 1;
    visibility: visible;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    max-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 100px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Banner 4:3 oranı için */
.banner-bg {
    background: url('../images/banner.webp') center center/cover no-repeat;
    aspect-ratio: 4 / 3;
    min-height: 375px;
    max-height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* WebP destekleyen tarayıcılar için */
@supports (background-image: url('../images/banner.webp')) {
    .banner-bg {
        background: url('../images/banner.webp') center center/cover no-repeat;
    }
}

/* WebP desteklemeyen tarayıcılar için fallback */
@supports not (background-image: url('../images/banner.webp')) {
    .banner-bg {
        background: url('../images/banner.jpg') center center/cover no-repeat;
    }
}

@media (max-width: 768px) {
    .banner-bg {
        background: url('../images/banner-mobile.webp') center center/cover no-repeat;
        min-height: 450px;
        aspect-ratio: 4 / 3;
    }
    
    /* Mobilde WebP destekleyen tarayıcılar için */
    @supports (background-image: url('../images/banner-mobile.webp')) {
        .banner-bg {
            background: url('../images/banner-mobile.webp') center center/cover no-repeat;
        }
    }
    
    /* Mobilde WebP desteklemeyen tarayıcılar için fallback */
    @supports not (background-image: url('../images/banner-mobile.webp')) {
        .banner-bg {
            background: url('../images/banner-mobile.jpg') center center/cover no-repeat;
        }
    }
    
    .hero-overlay {
        background: rgba(20, 20, 20, 0.2);
    }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(20, 20, 20, 0.15);
    z-index: 1;
}

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

.hero-text {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 40px 48px 32px 48px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 3;
    min-width: 400px;
    min-height: 150px;
    margin: 20px 0;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-text {
        padding: 28px 20px 24px 20px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: none;
        min-width: auto;
        width: 100%;
        margin: 0;
        max-width: 500px;
        margin-top: 40px;
    }
    .hero-text h1 {
        font-size: 32px;
    }
    .hero-text p {
        font-size: 18px;
    }
}

.hero-buttons {
    gap: 1.5rem;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

    .about {
    padding: 5rem 0;
    background: #f8f9fa;
    min-height: 400px;
    margin-top: 60px;
}
    
    @media (max-width: 768px) {
        .about {
            margin-top: 40px;
        }
    }
    
    @media (max-width: 480px) {
        .about {
            margin-top: 30px;
        }
    }

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 300px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    min-height: 100px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-weight: bold;
}

.feature-icon-img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #7f8c8d;
    line-height: 1.6;
}

.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
}

.service-icon-text {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
    height: 51.2px;
}

.references {
    padding: 3rem 0;
    background: #f8f9fa;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.reference-logo {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    width: 280px;
    height: 160px;
    min-width: 280px;
    min-height: 160px;
}

.reference-logo:hover {
    transform: translateY(-3px);
}

.reference-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    width: 120px;
    height: 80px;
    object-fit: contain;
}

/* Rams Türkiye logosu için özel boyutlar */
.rams-img {
    width: 140px !important;
    height: 32px !important;
    max-height: 32px !important;
    object-fit: contain;
}

/* Asya Grup logosu için özel boyutlar */
.asya-img {
    width: 100px !important;
    height: 74px !important;
    max-height: 74px !important;
    object-fit: contain;
}

/* Logo kutularının ortalı olması için */
.rams-logo,
.asya-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

/* Mobil için farklı boyutlar */
@media (max-width: 768px) {
    .reference-logo {
        width: 100%;
        height: 120px;
        min-width: 100%;
        min-height: 120px;
        padding: 1.5rem;
    }
    
    .rams-img {
        width: 180px !important;
        height: 50px !important;
        max-height: 50px !important;
    }
    
    .asya-img {
        width: 100px !important;
        height: 74px !important;
        max-height: 74px !important;
    }
}

.gallery {
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img, .gallery-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 16/9;
    min-height: 250px;
    max-height: 250px;
    margin: 0;
    display: block;
}

.gallery-video {
    background: #000;
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Mobil için gallery resimlerinin doğru aspect ratio */
@media (max-width: 768px) {
    .gallery-img, .gallery-video {
        aspect-ratio: 430/242; /* Gerçek resim oranı: 1.78 */
        height: auto;
        min-height: 200px;
        max-height: 300px;
        margin: 0;
        display: block;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
}

.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: bold;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #7f8c8d;
    margin: 0;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #27ae60;
}

.toast.error {
    border-left: 4px solid #e74c3c;
}

.toast.info {
    border-left: 4px solid #3498db;
}

.toast-icon {
    font-size: 1.2rem;
}

/* Loading states */
.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    min-width: 50px;
    min-height: 50px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-button {
    animation: pulse 2s infinite;
}

/* reCAPTCHA container */
.recaptcha-container {
    margin-bottom: 1.5rem;
}

.recaptcha-container .g-recaptcha {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .recaptcha-container .g-recaptcha {
        transform: scale(0.9);
        transform-origin: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.hero-text,
.service-card,
.feature,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.6);
}


.service-btn {
    display: inline-block;
    background: #27ae60; /* Yeşil */
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}
.contact-item:hover {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-logo-img {
        width: 50px;
        height: 32px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: all 0.25s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        clip-path: inset(0 0 100% 0);
    }

    .nav-menu.active {
        top: 80px;
        opacity: 1;
        visibility: visible;
        clip-path: inset(0 0 0% 0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 0 65px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .references-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .hero {
        padding-top: 90px;
        padding-bottom: 60px;
    }
    
    .hero-text {
        padding: 24px 15px 20px 15px;
        width: 100%;
        margin: 0;
        max-width: 400px;
        margin-top: 40px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .references-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
} 

