/* ========================================
   YILDIZ GARTEN UND LANDSCHAFTSBAU
   Minimalistisches Premium Design
   ======================================== */

/* --- CSS VARIABLES --- Neue Farbpalette */
:root {
    /* Neue neutrale Premium-Palette */
    --taupe-dark: #474242;
    --sage-green: #8F9995;
    --warm-gold: #BC985F;
    --off-white: #F5F2EC;
    --white: #FFFFFF;
    
    /* Text */
    --text-primary: #474242;
    --text-secondary: #6B7280;
    
    /* Shadows */
    --shadow: 0 10px 40px rgba(71, 66, 66, 0.08);
    --shadow-hover: 0 20px 60px rgba(71, 66, 66, 0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--off-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage-green);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--sage-green);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #7A8884;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--sage-green);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-hover);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sage-green);
    line-height: 1.2;
}

.company-tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--sage-green);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('Start.jpeg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(71, 66, 66, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 850px;
    padding: 0 20px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.hero-title .highlight {
    color: var(--warm-gold);
}


.hero-text {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-image-accent {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    border: 3px solid var(--sage-green);
    border-radius: 20px;
    z-index: -1;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item i {
    color: var(--sage-green);
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    background: var(--off-white);
}

.services-slideshow {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.services-slides-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: var(--white);
}

.services-slides-track {
    display: flex;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
    align-items: stretch;
}

.services-grid {
    display: none; /* Hide old grid */
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--warm-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(143, 153, 149, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--sage-green);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(71, 66, 66, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-green);
    font-size: 1.2rem;
    transform: scale(0);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage-green);
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Projects Enhanced */
.projects-section {
    background: var(--off-white);
    padding: 110px 0;
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--warm-gold), transparent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--warm-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.15) rotate(1deg);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(71, 66, 66, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    gap: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-green);
    font-size: 1.3rem;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.project-card:hover .project-link {
    transform: scale(1) translateY(0);
}

.project-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.project-card:hover .project-overlay i {
    opacity: 1;
    transform: translateY(0);
}

.project-content {
    padding: 35px;
    position: relative;
}

.project-category {
    position: absolute;
    top: -20px;
    left: 25px;
    background: var(--sage-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow);
    animation: slideInUp 0.6s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--off-white);
    color: var(--text-primary);
    padding: 120px 0;
    position: relative;
}

.testimonials-section .section-subtitle {
    color: var(--sage-green);
}

.testimonials-section .section-title {
    color: var(--text-primary);
    font-size: 3.2rem;
    font-weight: 700;
}

.testimonials-slideshow {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slides-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: var(--white);
}

.slides-track {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    flex: 0 0 100%;
    display: flex;
    gap: 40px;
    padding: 60px 40px;
    align-items: stretch;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(71, 66, 66, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.testimonial-info {
    margin-bottom: 30px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--off-white);
}

.testimonial-info h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.testimonial-info span {
    color: var(--text-secondary);
    font-size: 1rem;
    display: block;
}

.stars {
    margin-top: 8px;
}

.stars i {
    color: var(--warm-gold);
    font-size: 1.1rem;
}

.testimonial-content i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    display: block;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Navigation */
.nav-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 40px 0;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--sage-green);
    transform: scale(1.2);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid #E5E7EB;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 10;
}

.nav-arrow:hover {
    background: var(--off-white);
    color: var(--sage-green);
    box-shadow: var(--shadow-hover);
    transform: translateY(-50%) scale(1.05);
}

.prev {
    left: -30px;
}

.next {
    right: -30px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-section .section-title {
        font-size: 2.5rem;
    }
    
    .slide {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .testimonial-card {
        padding: 40px 30px;
    }
    
    .nav-arrow {
        width: 45px;
        height: 45px;
    }
    
    .prev {
        left: -20px;
    }
    
    .next {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .testimonial-img {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-info h4 {
        font-size: 1.2rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
}

/* Contact Section */
.contact-section {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(143, 153, 149, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.contact-item a,
.contact-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--sage-green);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-green);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--sage-green);
    color: var(--white);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--off-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    background: var(--white);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    display: block;
    color: #DC2626;
    font-size: 0.85rem;
    margin-top: 5px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
}

/* --- FOOTER --- */
.footer {
    background: var(--taupe-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    margin-bottom: 25px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-brand .logo-img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-brand .logo-text {
    gap: 2px;
    align-items: flex-start;
}

.footer-brand .company-name {
    font-size: 1.6rem;
}

.footer-brand .company-tagline {
    font-size: 0.8rem;
}

.footer-brand p {
    opacity: 0.8;
    max-width: 320px;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-top: 20px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--warm-gold);
    border-radius: 2px;
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-services a {
    opacity: 0.75;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    padding: 3px 0;
}

.footer-links a:hover,
.footer-services a:hover {
    opacity: 1;
    color: var(--warm-gold);
    transform: translateX(5px);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--sage-green);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-contact a:hover {
    color: var(--warm-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--sage-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    /* Tablet optimizations */
    .container {
        padding: 0 25px;
    }
    .section {
        padding: 80px 0;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.4rem;
    }
    .about-content h3, .contact-info h3 {
        font-size: 1.8rem;
    }
    .about-grid, .contact-grid {
        gap: 50px;
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        justify-items: center;
    }
    .service-slide {
        padding-left: 30px;
        padding-right: 30px;
        justify-content: center;
    }
    .slide {
        padding: 50px;
        gap: 30px;
        justify-content: center;
    }
    .prev {
        left: calc(50% - 80px);
    }
    .next {
        right: calc(50% - 80px);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        justify-items: center;
    }
}

@media (max-width: 768px) {
    /* Mobile optimizations - everything stacks vertically, larger touch targets */
    html {
        font-size: 16px;
    }
    .container {
        padding: 0 15px;
    }
    .section {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-description {
        font-size: 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    .hero-text {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        min-height: 48px;
        padding: 16px 24px;
        width: 100%;
        justify-content: center;
    }
    
    /* Navigation */
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80vw;
        max-width: 350px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 120px 30px 30px;
        gap: 25px;
        box-shadow: var(--shadow-hover);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        backdrop-filter: blur(20px);
        overflow-y: auto;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(71, 66, 66, 0.1);
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        order: -1;
    }
    .about-image-accent {
        display: none;
    }
    .about-content h3 {
        font-size: 1.6rem;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Services Slider */
    .service-slide {
        padding: 0 20px;
        gap: 20px;
    }
    .service-card {
        padding: 30px 20px;
    }
    .service-icon {
        width: 70px;
        height: 70px;
    }
    .service-icon i {
        font-size: 1.8rem;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .project-image {
        height: 250px;
    }
    
    /* Testimonials */
    .slide {
        flex-direction: column !important;
        gap: 25px;
        padding: 40px 20px;
    }
    .testimonial-card {
        padding: 35px 25px;
    }
    .testimonial-info h4 {
        font-size: 1.2rem;
    }
    .testimonial-content p {
        font-size: 1.1rem;
    }
    .prev {
        left: -15px;
    }
    .next {
        right: -15px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info h3 {
        font-size: 1.6rem;
    }
    .contact-form-wrapper {
        padding: 30px 25px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    /* Small phone refinements */
    .container {
        padding: 0 12px;
    }
    .section {
        padding: 50px 0;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .about-content h3, .contact-info h3 {
        font-size: 1.4rem;
    }
    .service-card {
        padding: 25px 18px;
    }
    .testimonial-card {
        padding: 30px 20px;
    }
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    .logo-img {
        height: 40px;
    }
    .company-name {
        font-size: 1.2rem;
    }
    .project-image {
        height: 220px;
    }
    /* Ensure no clipping */
    .service-icon {
        width: 65px;
        height: 65px;
    }
}
