/* Temel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #388e3c;
    --secondary-color: #81c784;
    --accent-color: #ffd600;
    --text-primary: #232526;
    --text-secondary: #555;
    --bg-light: #f4f5f7;
    --bg-white: #ffffff;
    --success-color: #4caf50;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 10px rgba(56,142,60,0.07);
    --shadow-md: 0 4px 16px rgba(56,142,60,0.07);
    --shadow-lg: 0 8px 32px rgba(56,142,60,0.13);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--primary-color);
    padding: 0.7rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo h2 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.nav__subtitle {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--accent-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Styles */
.section {
    padding: 70px 0;
    scroll-margin-top: 90px;
}

.section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
}

.section__description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 110px 0 60px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero__description {
    font-size: 1.2rem;
    color: #e8f5e9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--accent-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: #fff176;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn--secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.profile-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.profile-card p {
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-motto {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-green-bg {
    background: var(--primary-color);
    color: #fff;
}

.about-green-bg .section__title,
.about-green-bg .section__description {
    color: #fff;
}

.about__container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}

.about__content {
    flex: 1 1 340px;
    min-width: 260px;
}

.about__img-wrapper {
    flex: 1 1 340px;
    min-width: 260px;
    display: flex;
    justify-content: center;
}

.about-text {
    margin-bottom: 2rem;
}

.about-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about-item:hover {
    transform: translateX(10px);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-info h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-info p {
    color: #e8f5e9;
}

.about-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.about-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
    color: var(--accent-color);
}

.about-quote blockquote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: #e8f5e9;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.service__card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service__card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.project-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.service__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service__description {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.6;
}

/* Products Section */
.products {
    background: var(--bg-white);
}

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

.success-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--success-color);
    position: relative;
}

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

.success-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.success-icon i {
    font-size: 2rem;
    color: var(--success-color);
}

.success-badge {
    background: var(--success-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.success-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.success-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.success-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.success-count,
.success-time {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact__container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}

.contact__info {
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 10px;
}

.contact__icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact__details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.contact__details p,
.contact__details a {
    color: var(--text-primary);
    text-decoration: none;
}

.contact__details a:hover {
    color: var(--accent-color);
}

.contact-form {
    flex: 1 1 320px;
    min-width: 260px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 2.5rem 0 1rem;
}

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

.footer__logo h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.footer__logo p {
    color: #e8f5e9;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer__links h4,
.footer__address h4 {
    margin-bottom: 0.7rem;
    color: var(--accent-color);
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.3rem;
}

.footer__links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--accent-color);
}

.footer__address p {
    color: #e8f5e9;
    font-size: 0.95rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid #e8f5e9;
    color: #e8f5e9;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff176;
    transform: translateY(-2px);
}

/* Promises Section */
.promises {
    background: var(--bg-white);
    padding: 60px 0;
}

.promises-content {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.promise-number {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
}

.promise-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.promise-item:hover .promise-number::after {
    opacity: 0.2;
    transform: scale(1.2);
}

.promise-text h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.promise-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
/* Küçük tablet ve büyük telefon */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .profile-card {
        width: 400px !important;
        height: 330px !important;
    }
    
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .nav__list {
        gap: 1rem;
    }
    
    .about__container,
    .contact__container,
    .footer__content {
        flex-direction: column;
        display: flex;
        gap: 2rem;
    }
    
    .about__img-wrapper,
    .about__content,
    .contact__info {
        width: 100%;
        max-width: 100%;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
    }
    
    .services__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav__list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav__list.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: 1.5rem;
    }
    
    .hero__description {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-card {
        width: 300px !important;
        height: 250px !important;
        margin: 0 auto;
    }

    .success-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .promises-content {
        gap: 1.5rem;
    }

    .promise-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .promise-number {
        align-self: center;
        font-size: 1.3rem;
        width: 50px;
        height: 50px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .contact__container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact__info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact__item {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .about-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .about-icon {
        align-self: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }

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

    .hero__title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .hero__description {
        font-size: 1rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .section {
        padding: 30px 0;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 250px;
    }

    .service__card {
        padding: 1.2rem;
    }

    .success-card {
        padding: 1.5rem;
    }

    .about-item {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer__logo h3 {
        font-size: 1rem;
    }

    .footer__address,
    .footer__links {
        font-size: 0.9rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .profile-card {
        width: 250px !important;
        height: 200px !important;
    }
    
    .hero-image {
        margin-top: 1rem;
    }
    
    .contact__item {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}

/* Extra small devices (phones in portrait mode) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero__title {
        font-size: 1.6rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .section__title {
        font-size: 1.6rem;
    }
    
    .profile-card {
        width: 200px !important;
        height: 160px !important;
    }
    
    .btn {
        max-width: 200px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .project-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service__title {
        font-size: 1.1rem;
    }
    
    .success-title {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .promise-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

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

.hero-text,
.hero-image,
.section__header,
.about-item,
.service__card,
.success-card,
.promise-item {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Touch and mobile optimizations */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button, a, .btn, .nav__link, .hamburger {
    -webkit-tap-highlight-color: rgba(56, 142, 60, 0.3);
    touch-action: manipulation;
    user-select: none;
}

input, textarea {
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    border-radius: 8px;
}

/* Prevent zoom on iOS Safari */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
textarea {
    font-size: 16px;
}

/* Better touch targets */
.nav__link, .btn, .contact__details a {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Improved mobile interactions */
.success-card, .service__card {
    transition: all 0.3s ease;
}

.success-card:hover, .service__card:hover {
    transform: translateY(-2px);
}

@media (hover: none) and (pointer: coarse) {
    .success-card:hover, .service__card:hover {
        transform: none;
    }
    
    .success-card:active, .service__card:active {
        transform: scale(0.98);
    }
    
    .btn:active {
        transform: scale(0.95);
    }
}

/* Landscape orientation for mobile */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .profile-card {
        width: 200px !important;
        height: 150px !important;
    }
}

/* Loading animations */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.show {
    opacity: 1;
    transform: translateY(0);
}
