/* Anasayfa CSS - style.css */

/* Genel Stiller ve Değişkenler */
:root {
    --primary-color: #630002;
    --primary-light: #f2c57f;
    --secondary-color: #630002;
    --accent-color: #ebc49b;
    --text-color: #4a3c30;
    --light-text: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #3a0001;
    --bg-gray: #f1dfc9;
    --primary-gradient: linear-gradient(135deg, #630002 0%, #8a0002 100%);
    --accent-gradient: linear-gradient(135deg, #f2c57f 0%, #ebc49b 100%);
    --font-main: 'Poppins', 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 10px rgba(99, 0, 2, 0.08);
    --shadow: 0 10px 30px rgba(99, 0, 2, 0.12);
    --shadow-lg: 0 15px 40px rgba(99, 0, 2, 0.15);
    --border-radius: 12px;
    --border-radius-sm: 6px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(99, 0, 2, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 0, 2, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 0, 2, 0.3);
}

/* Header Stili */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 35px;
    position: relative;
}

.nav-menu a {
    font-weight: 500;
    color: var(--secondary-color);
    padding: 8px 0;
    position: relative;
    font-size: 1rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu li.active a::after {
    width: 100%;
}

.nav-menu li.active a {
    color: var(--primary-color);
}

/* Mobil Menü Animasyonu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hamburger menü animasyonu */
.bar.active:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-color);
}

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

.bar.active:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Mobil menü açık durumu */
.nav-menu.active {
    left: 0;
    padding: 100px 0 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(241, 223, 201, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-menu.active::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background-image: url('../images/logow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(99, 0, 2, 0.7), rgba(99, 0, 2, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    padding: 200px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero Video Background */
#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(99, 0, 2, 0.7), rgba(99, 0, 2, 0.7)), linear-gradient(135deg, rgba(242, 197, 127, 0.3) 0%, rgba(235, 196, 155, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
    padding: 16px 40px;
    font-size: 1rem;
}

/* Öne Çıkan Çalışmalar */
.portfolio {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 400px;
    background-color: var(--bg-light);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(99, 0, 2, 0.9) 0%, rgba(99, 0, 2, 0.7) 50%, rgba(99, 0, 2, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
    transition: var(--transition);
}

.portfolio-item:hover .video-overlay {
    background: linear-gradient(to top, rgba(99, 0, 2, 0.7) 0%, rgba(99, 0, 2, 0.4) 50%, rgba(99, 0, 2, 0.1) 100%);
}

.portfolio-item:hover .video-container {
    opacity: 1;
}

.video-info {
    color: var(--light-text);
    z-index: 3;
    transition: var(--transition);
}

.video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-content {
    text-align: center;
    padding: 30px;
    color: #78909c;
    font-style: italic;
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--bg-light);
    padding: 50px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent-gradient);
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-card p {
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.05rem;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(rgba(99, 0, 2, 0.8), rgba(99, 0, 2, 0.8)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--light-text);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 197, 127, 0.2) 0%, rgba(235, 196, 155, 0.2) 100%);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--light-text);
    padding: 90px 0 0;
}

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

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: var(--border-radius-sm);
}

.footer-logo p {
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent-gradient);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(242, 197, 127, 0.3);
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.95rem;
}

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

/* Responsive Tasarım */
@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .cta h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(241, 223, 201, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-menu li {
        margin: 0;
        padding: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        transition-delay: calc(0.1s * var(--i, 0));
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li a {
        font-size: 1.5rem;
        font-weight: 600;
        display: inline-block;
        padding: 8px 0;
        color: var(--primary-color);
    }

    .hero {
        padding: 160px 0 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta h2 {
        font-size: 2.2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo img {
        max-width: 180px;
        margin: 0 auto 20px;
    }
    
    .footer-logo p {
        margin: 0 auto;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.8rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
    
    .footer-logo img {
        max-width: 160px;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: auto;
    visibility: hidden;
    animation: slideIn 0.5s ease forwards, float 4s ease-in-out infinite;
}

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

.whatsapp-btn-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.whatsapp-btn-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 0.7;
    animation: pulse 2s infinite;
    z-index: -1;
    box-shadow: 0 0 8px 2px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-icon i {
    font-size: 22px;
    color: white;
}

.whatsapp-btn-text {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.whatsapp-btn-text::after {
    content: 'Hemen Mesaj Gönderin';
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Animation for the button */
.whatsapp-btn.bounce {
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* Entrance animation */
@keyframes slideIn {
    0% {
        transform: translateX(100px) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translateX(-10px) scale(1.05);
    }
    80% {
        transform: translateX(5px) scale(0.98);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.whatsapp-btn {
    animation: slideIn 0.5s ease forwards;
}

/* Hover effect */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    border-radius: 12px;
    transition: all 0.6s ease;
    z-index: 1;
}

.whatsapp-btn:hover::before {
    width: 200%;
    left: -50%;
}

/* Responsive Styles for WhatsApp Button */
@media screen and (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
    
    .whatsapp-btn-icon {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .whatsapp-btn-icon i {
        font-size: 18px;
    }
    
    .whatsapp-btn-text {
        font-size: 13px;
    }
    
    .whatsapp-btn-text::after {
        font-size: 10px;
    }
}

@media screen and (max-width: 576px) {
    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
    }
    
    .whatsapp-btn-icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .whatsapp-btn-icon i {
        font-size: 16px;
    }
    
    .whatsapp-btn-text {
        font-size: 12px;
    }
    
    .whatsapp-btn-text::after {
        font-size: 9px;
    }
}

.whatsapp-btn-icon.rotate-animation {
    animation: rotate 1s ease-in-out;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-30deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(30deg); }
    100% { transform: rotate(0deg); }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
} 