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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /* Mermer desenine benzer arka plan (hafif damar tonlarıyla) */
    background-color: #f4f4f4;
    background-image:
        radial-gradient(circle at 0 0, rgba(255,255,255,0.9), transparent 60%),
        radial-gradient(circle at 100% 0, rgba(255,255,255,0.9), transparent 60%),
        radial-gradient(circle at 0 100%, rgba(255,255,255,0.85), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(255,255,255,0.85), transparent 60%),
        linear-gradient(120deg, rgba(215,215,215,0.7), rgba(245,245,245,0.9)),
        linear-gradient(60deg, rgba(235,235,235,0.7), rgba(250,250,250,0.95)),
        /* İnce damar efektleri */
        repeating-linear-gradient(
            135deg,
            rgba(200,200,200,0.25),
            rgba(200,200,200,0.25) 1px,
            rgba(240,240,240,0.6) 3px,
            rgba(240,240,240,0.6) 5px
        );
    background-blend-mode: multiply;
    overflow-x: hidden;
}

:root {
    --heading-font-family: Arial, sans-serif;
}

/* Kullanıcının belirttiği başlıklar için sabit ortak font */
.uniform-heading {
    font-family: var(--heading-font-family) !important;
    font-weight: 800 !important;
}

/* Header ve Navigation */
header {
    background: linear-gradient(135deg, #1e8449, #27ae60);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

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

.logo h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: 1px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;

    /* Dikkat çeken üst header marka stili */
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12), 0 0 10px rgba(39, 174, 96, 0.25);
}

/* Alt header (footer) "CİHAN MERMER" aynı font ve boyutta */
.footer-content .footer-section:first-child h3 {
    font-family: Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: left;
    margin-left: 0;
}

.footer-content .footer-section:first-child p {
    text-align: left;
    margin-left: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.45rem 0.75rem;
    border-radius: 5px;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1abc9c;
    background-color: rgba(39, 174, 96, 0.18);
}

/* Main Content */
main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem 2rem; /* Üst boşluğu kaldır, yan ve alt kalsın */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    margin-top: -2rem; /* Ana sayfada üst boşluğu sıfırla */
    text-align: left;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features-content {
    max-width: 800px;
    margin: 0 auto;
}

.feature-section {
    /* Mezar Hakkında Bilinmesi Gerekenler kutuları - içi saydam, sadece ince çerçeve */
    background: transparent;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.feature-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-section p {
    color: #000;
    margin-bottom: 1rem;
}

.feature-section ul {
    list-style: none;
    padding-left: 0;
}

.feature-section li {
    padding: 0.5rem 0;
    color: #000;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.feature-section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.feature-section strong {
    color: #2c3e50;
}

.important-info {
    margin-top: 3rem;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    /* Sarı uyarı kutuları da hafif saydam olsun */
    background: rgba(255, 243, 205, 0.8);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.info-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-text h3 {
    color: #856404;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-text p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: var(--heading-font-family);
}

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

/* Sections */
section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--heading-font-family);
}

/* Service Grid */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    margin-top: 2rem;
}

.service-card {
    /* Tecrübemiz alanındaki 3 kutu - içi saydam, sadece renkli vurgu ve çerçeve */
    background: radial-gradient(circle at top left, rgba(52,152,219,0.18), transparent 60%),
                radial-gradient(circle at bottom right, rgba(46,204,113,0.18), transparent 60%),
                transparent;
    padding: 2.2rem 2rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
    border-color: rgba(52,152,219,0.5);
    background: radial-gradient(circle at top left, rgba(52,152,219,0.24), transparent 60%),
                radial-gradient(circle at bottom right, rgba(46,204,113,0.24), transparent 60%),
                transparent;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-card p {
    color: #444;
    margin-bottom: 0;
    font-size: 0.98rem;
}

/* Sayaçları öne çıkar */
.service-card .counter {
    color: #3498db;
    font-size: 1.6rem;
    font-weight: 800;
}

.service-card a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-card a:hover {
    color: #2980b9;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Galeri alanlarında görselleri satırda 4'lü göster */
.gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    /* Fotoğraf kartları - gözü yormayan, odaklı görünüm */
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.product-image {
    height: 200px;
    background: linear-gradient(45deg, #ecf0f1, #bdc3c7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.product-card h3 {
    padding: 1rem;
    color: #2c3e50;
    font-size: 1.2rem;
}

.product-card p {
    padding: 0 1rem 1rem;
    color: #7f8c8d;
}

.product-specs {
    padding: 0 1rem 1rem;
}

.product-specs p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.product-specs strong {
    color: #2c3e50;
}

.contact-btn {
    display: block;
    margin: 1rem;
    padding: 0.8rem;
    background: #27ae60;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: #1e8449;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.category-card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.category-card ul {
    list-style: none;
    padding-left: 0;
}

.category-card li {
    padding: 0.25rem 0;
    color: #7f8c8d;
    position: relative;
    padding-left: 1.5rem;
}

.category-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #7f8c8d;
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    color: #000;
}

.about-text h2,
.about-values h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--heading-font-family);
}

/* Misyon / Vizyon / Değerler / Uzmanlık başlıkları daha vurucu olsun */
.team > h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p,
.about-values p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.about-values ul {
    list-style: none;
}

.about-values li {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

/* Ana sayfa Biz Kimiz / Misyon / Vizyon / Değerlerimiz alanında tüm metinleri siyah yap */
.about-content h2,
.about-content p,
.about-content li,
.about-content strong {
    color: #000;
}

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 0, 0, 0.15); /* 6 başlık için ince çerçeve */
}

/* Çevre Düzenleme ve Peyzaj kartı – içi saydam olsun */
.team-member.team-member-transparent {
    background: transparent;
    box-shadow: none;
}

.member-photo {
    width: 120px;
    height: 120px;
    /* Uzmanlık alanları görsellerinde çerçeve saydam kalsın */
    background: transparent;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}

.team-member p {
    color: #7f8c8d;
    font-size: 1.02rem;
    line-height: 1.65;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2,
.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

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

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

.contact-item a:hover {
    color: #2980b9;
}

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

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

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

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

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

.submit-btn {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Map Section */
.map-section {
    margin-top: 3rem;
}

.map-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(45deg, #ecf0f1, #bdc3c7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    border-radius: 5px;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #7f8c8d;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #2980b9;
}

/* Maintenance Plans */
.plan-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2rem;
}

.plan-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.plan-card.featured {
    border: 2px solid #3498db;
    transform: scale(1.05);
}

.plan-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2rem;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-card li {
    padding: 0.5rem 0;
    color: #7f8c8d;
    position: relative;
    padding-left: 1.5rem;
}

.plan-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2rem;
}

.step {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step p {
    color: #7f8c8d;
}

/* Benefit Grid */
.benefit-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    background: radial-gradient(circle at top left, rgba(52,152,219,0.18), transparent 60%),
                radial-gradient(circle at bottom right, rgba(46,204,113,0.18), transparent 60%),
                transparent;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #27ae60;
    box-shadow: none;
}

.benefit-item h3 {
    color: #000;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #000;
}

/* Custom Options */
.custom-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.option-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.option-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.option-item p {
    color: #7f8c8d;
}

/* About Preview */
.about-preview {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.about-preview h2 {
    margin-bottom: 1rem;
}

.about-preview p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.learn-more {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.learn-more:hover {
    background: #2980b9;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e8449, #27ae60);
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

/* Footer'da ilk sütundaki metinleri sola hizala */
.footer-content .footer-section:first-child {
    text-align: left;
    justify-self: start;
    align-self: start;
    margin-right: auto;
}

/* Footer'da son sütundaki (İletişim) metinleri sağa hizala */
.footer-content .footer-section:last-child {
    text-align: right;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-size: 1.02rem;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #34495e;
    color: #ffffff;
    font-size: 1.02rem;
}

.hero-content {
    text-align: left;
}

/* Ana sayfa hero aşağı kaydır oku */
.scroll-down {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(39, 174, 96, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27ae60;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: scroll-bounce 1.8s infinite ease-in-out;
}

.scroll-down:hover {
    opacity: 1;
    transform: translate(-50%, -48%);
}

.scroll-down span {
    font-size: 1.2rem;
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -44%);
    }
}

/* Ana sayfa hero rozetleri: 35+ Yıl Tecrübe / 12.000+ Tamamlanan Proje */
.hero-badges {
    position: absolute;
    left: 60%;
    top: 10%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
}

.hero-badge {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid rgba(39, 174, 96, 0.9);
    /* Sadece saydam çerçeve – arka planı NET kalsın */
    background: radial-gradient(circle, rgba(39,174,96,0.12), rgba(39,174,96,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: hero-badge-pulse 2.8s ease-in-out infinite;
}

.hero-badge-inner {
    text-align: center;
    color: #27ae60;
    text-shadow: none;
}

.hero-badge-number {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-badge-text {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-badge-secondary .hero-badge-number {
    font-size: 1.8rem;
}

.hero-badge-number-prefix {
    font-size: 1.4rem;
    font-weight: 800;
    margin-left: 2px;
}

@keyframes hero-badge-pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }
    50% {
        transform: translateY(-50%) scale(1.04);
        box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    }
}

@media (max-width: 768px) {
    .hero-badges {
        left: 50%;
        top: auto;
        bottom: 10%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 360px;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        padding: 0 0.75rem;
    }

    .hero-badge {
        width: 92px;
        height: 92px;
        animation: none;
    }

    .hero-badge-number {
        font-size: 1.45rem;
    }

    .hero-badge-secondary .hero-badge-number {
        font-size: 1.25rem;
    }

    .hero-badge-number-prefix {
        font-size: 1rem;
    }

    .hero-badge-text {
        font-size: 0.74rem;
        line-height: 1.2;
    }
}

/* Lightbox (tam ekran galeri) */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

.lightbox-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.lightbox-whatsapp {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    z-index: 2100;
}

.lightbox-whatsapp:hover {
    background: #1ea952;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Galeri küçük kutucuklardaki fotoğraflar (önceki boyutlarını koru) */
.gallery-grid .gallery-image {
    width: 100%;
    height: 320px !important;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid .product-card:hover .gallery-image {
    transform: scale(1.03);
}

/* Ana sayfa en alt kart görseli */
.card-image-section {
    margin-top: 3rem;
}

.card-location-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
}

.card-image-wrapper {
    max-width: 400px;
    margin: 1.5rem 0 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
}

.location-map-wrapper {
    max-width: 520px;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.location-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.location-map-wrapper h3 {
    margin: 0;
    color: #2c3e50;
}

.location-map-wrapper p {
    margin-bottom: 1rem;
    color: #000;
    font-weight: 500;
}

.location-directions-btn {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #3498db;
    background: #3498db;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.location-directions-btn:hover {
    background: #fff;
    color: #3498db;
    box-shadow: 0 0 0 1px #3498db;
}

@media (max-width: 768px) {
    .card-location-row {
        flex-direction: column;
        align-items: center;
    }

    .location-map-wrapper {
        max-width: 100%;
    }

    .location-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Header'daki Adres Tarifi Al butonu için ufak ayar */
.header-directions-btn {
    margin-left: 1rem;
}

/* Header'daki WhatsApp butonu */
.header-whatsapp-btn {
    margin-left: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #25d366;
    background: #25d366;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.header-whatsapp-btn::before {
    content: "🟢";
    font-size: 0.9rem;
}

.header-whatsapp-btn:hover {
    background: #fff;
    color: #25d366;
    box-shadow: 0 0 0 1px #25d366;
}

@media (max-width: 768px) {
    .header-directions-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 0.55rem 0;
    }

    .hero,
    .video-section {
        width: 100% !important;
        margin: 0 !important;
        left: auto !important;
        right: auto !important;
    }

    /* Anasayfa hero görseli mobilde kırpılmadan sığsın */
    .hero {
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center top !important;
        min-height: 68vh !important;
    }

    .nav-menu {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
        width: 100%;
        align-items: center;
        overflow: hidden;
        padding-bottom: 0;
        margin: 0;
        white-space: normal;
        scrollbar-width: thin;
    }

    .nav-menu li {
        flex: 1 1 auto;
        min-width: 0;
        display: inline-flex;
        justify-content: center;
    }
    
    nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.5rem 0.7rem;
        align-items: center;
    }

    .logo {
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-grid,
    .category-grid,
    .feature-grid,
    .faq-grid,
    .custom-options {
        grid-template-columns: 1fr;
    }

    /* Flex'e çevrilen kart alanlarını mobilde tek sütuna zorla */
    .service-grid,
    .team-grid,
    .plan-grid,
    .process-steps,
    .benefit-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .service-card,
    .team-member,
    .plan-card,
    .step,
    .benefit-item {
        width: 100%;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    main {
        padding: 1rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }

    .logo h1 {
        font-size: 1.35rem;
        padding: 0.25rem 0.45rem;
        text-align: center;
    }

    .nav-menu a {
        font-size: 0.82rem;
        padding: 0.34rem 0.42rem;
        white-space: normal;
        text-align: center;
        line-height: 1.15;
    }

    .header-directions-btn,
    .header-whatsapp-btn {
        order: 3;
        align-self: center;
        font-size: 0.74rem;
        padding: 0.28rem 0.5rem;
        margin: 0.1rem 0.15rem 0;
    }

    .footer-content .footer-section:first-child h3 {
        font-size: 1.65rem;
    }

    .uniform-heading {
        font-size: 1.9rem !important;
    }

    .lightbox-image {
        max-width: 94%;
        max-height: 70%;
    }

    .lightbox-prev,
    .lightbox-next,
    .lightbox-close {
        font-size: 1.35rem;
        padding: 0.35rem 0.7rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        right: 8px;
        top: 8px;
    }

    .lightbox-whatsapp {
        bottom: 12px;
        font-size: 0.92rem;
        padding: 0.62rem 1rem;
    }

    footer {
        padding: 1.6rem 0 0.55rem;
        margin-top: 2rem;
    }

    .footer-content {
        gap: 0.8rem;
        padding: 0 0.9rem;
    }

    .footer-section h3 {
        margin-bottom: 0.45rem;
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a,
    .footer-bottom {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 0.75rem 0.8rem;
        margin-top: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }

    .uniform-heading {
        font-size: 1.65rem !important;
    }

    .gallery-grid .gallery-image {
        height: 200px !important;
    }

    .logo h1 {
        font-size: 1.18rem;
    }

    .nav-menu a {
        font-size: 0.76rem;
        padding: 0.3rem 0.35rem;
    }

    .hero {
        min-height: 58vh !important;
        background-size: contain !important;
    }

    footer {
        padding: 1.2rem 0 0.45rem;
    }

    .footer-section h3 {
        font-size: 0.95rem;
    }

    .footer-section p,
    .footer-section a,
    .footer-bottom {
        font-size: 0.84rem;
    }
}
