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

/* ========== Variables ========== */
:root {
    /* Colors derived from Logo */
    --primary-color: #d8b4e2;     /* Açık Lila */
    --primary-dark: #c084fc;      /* Canlı Lila */
    --secondary-color: #a855f7;   /* Koyu Lila */
    --secondary-dark: #7e22ce;    /* Derin Lila */
    
    --bg-color: #ffffff;          /* Logo ile Uyumlu Beyaz Arka Plan */
    --text-color: #4c1d95;        /* Lila Metin */
    --text-light: #7e22ce;        /* Açık Lila Metin */
    --white: #ffffff;
    
    /* WhatsApp Green */
    --whatsapp-color: #25D366;
    --whatsapp-dark: #128C7E;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ========== Header ========== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

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

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

.header-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1527515637-ef91cdef5896?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    display: flex;
    padding-top: 130px;
    padding-bottom: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 35, 126, 0.9) 0%, rgba(26, 35, 126, 0.6) 50%, rgba(0, 188, 212, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 700px;
    margin: auto;
}

.hero-content .subtitle {
    display: inline-block;
    background-color: rgba(0, 188, 212, 0.2);
    border: 1px solid var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

/* ========== Features Overview ========== */
.features-section {
    padding: 60px 0;
    background-color: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(0, 188, 212, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== Section Headers ========== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    font-weight: 700;
}

.separator {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 20px;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

/* ========== Services Section ========== */
.services {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.service-btn i {
    transition: var(--transition);
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* ========== Process Section ========== */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background-color: rgba(0, 188, 212, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 15px;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 0 0 5px rgba(0, 188, 212, 0.2);
    z-index: 2;
}

.timeline-content {
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    border-left: 4px solid var(--secondary-color);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--bg-color);
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 15px;
}

/* ========== Carpet Types Section ========== */
.carpet-types-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.carpet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.carpet-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.carpet-tag i {
    color: var(--whatsapp-color);
    font-size: 16px;
}

.carpet-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========== FAQ Section ========== */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover, .faq-question.active {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: var(--white);
    border-top: 1px solid transparent;
}

.faq-question.active + .faq-answer {
    border-top: 1px solid rgba(0,0,0,0.03);
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-light);
    font-size: 15px;
    margin-top: 15px;
}

/* ========== CTA Section ========== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 70px 0;
    color: var(--white);
    text-align: center;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.instagram-btn {
    border-color: var(--white);
    color: var(--white);
}

.instagram-btn:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* ========== Footer ========== */
.footer {
    background-color: var(--secondary-dark); /* Derin lila arka plan */
    color: var(--bg-color);
    padding-top: 70px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-img {
    max-height: 90px;
    width: auto;
    background-color: #ffffff;
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #94a3b8;
    margin: 20px 0;
    font-size: 14px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-col ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #94a3b8;
}

.contact-col ul li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #581c87; /* Biraz daha koyu bir lila */
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #e9d5ff; /* Uçuk lila text */
    font-size: 14px;
}

/* ========== Floating WhatsApp ========== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1);
}

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

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding: 90px 40px 40px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .features-section {
        margin-top: 0;
        padding-top: 40px;
    }

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

    .hero {
        align-items: flex-start;
        padding-top: 130px;
        padding-bottom: 60px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-icon {
        left: 0;
    }

    .timeline-item {
        padding-left: 70px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero {
        text-align: center;
        background-position: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        align-items: flex-start;
        align-self: flex-start; margin-left: auto; margin-right: auto;
    }
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}
