/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0B0F14;
    color: #D8DEE4;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #00B4FF;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    min-height: 44px; /* Touch-friendly */
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
    width: 18px;
    height: 18px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px; /* Touch-friendly */
    min-height: 44px;
    justify-content: center;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://corludesigngarage.com/uploads/cdg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 20, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 180, 255, 0.2);
    color: #00B4FF;
    border: 1px solid rgba(0, 180, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #00B4FF 0%, #47E3FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #94A3B8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 44px; /* Touch-friendly */
    min-width: 120px;
    font-size: 1rem;
}

.btn-primary {
    background: #00B4FF;
    color: white;
}

.btn-primary:hover {
    background: #0099E0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 180, 255, 0.3);
}

.btn-outline {
    border: 2px solid #94A3B8;
    color: #94A3B8;
}

.btn-outline:hover {
    border-color: #00B4FF;
    color: #00B4FF;
    background: rgba(0, 180, 255, 0.1);
}

.btn-success {
    background: #10B981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #94A3B8;
}

/* Sections */
section {
    padding: 4rem 0;
}

.services-preview {
    background: #1E293B;
}

.why-us {
    background: #0B0F14;
}

.featured-projects {
    background: #1E293B;
}

.contact-cta {
    background: linear-gradient(135deg, #0B0F14 0%, #1E293B 50%, #0B0F14 100%);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 180, 255, 0.2);
    color: #00B4FF;
    border: 1px solid rgba(0, 180, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid #374151;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.service-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.service-description {
    color: #94A3B8;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.service-price {
    display: inline-block;
    background: rgba(0, 180, 255, 0.2);
    color: #00B4FF;
    border: 1px solid rgba(0, 180, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.service-link {
    display: block;
    background: #374151;
    color: #94A3B8;
    text-align: center;
    padding: 0.75rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    min-height: 44px;
    line-height: 1.4;
}

.service-link:hover {
    background: #00B4FF;
    color: white;
}

/* Why Us Section */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.why-us-text p {
    font-size: 1.125rem;
    color: #94A3B8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #00B4FF 0%, #47E3FF 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.feature-content h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: #94A3B8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
}

.experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #00B4FF 0%, #47E3FF 100%);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.experience-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.experience-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid #374151;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.project-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #00B4FF;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #94A3B8;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-content {
    background: #1E293B;
    border: 1px solid #374151;
    border-radius: 1rem;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    position: relative;
    overflow: hidden;
}

.project-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.project-modal-close {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modal-close:hover {
    background: #374151;
    color: white;
}

.project-modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    margin-bottom: 1.5rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.carousel-slides {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.carousel-nav:hover {
    background: rgba(0, 180, 255, 0.8);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #00B4FF;
}

/* Contact CTA */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #94A3B8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
}

/* Contact icons */
.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #00B4FF 0%, #47E3FF 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
}

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

.contact-details p {
    color: #94A3B8;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #1E293B;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94A3B8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #FCB045);
    border-color: #E1306C;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-services a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #00B4FF;
}

.footer-contact .contact-info {
    text-align: left;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.footer-contact .contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    background: transparent;
    margin: 0;
    color: #00B4FF;
    border-radius: 0;
}

.footer-contact .contact-item span,
.footer-contact .contact-item a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-contact .contact-item a:hover {
    color: #00B4FF;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #94A3B8;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-bottom-links a:hover {
    color: #00B4FF;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #94A3B8;
    font-size: 1rem;
}

.loading-spinner::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 180, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00B4FF;
    animation: spin 1s ease-in-out infinite;
    margin-left: 0.75rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(71, 85, 105, 0.3);
    }

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

    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Mobile */
    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Grid Adjustments */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Experience Badge */
    .experience-badge {
        position: static;
        margin: 1rem auto 0 auto;
        width: 6rem;
        height: 6rem;
    }

    .experience-number {
        font-size: 1.25rem;
    }

    .experience-text {
        font-size: 0.75rem;
    }

    /* Contact Info */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-contact .contact-info {
        text-align: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Project Modal Mobile */
    .project-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }

    .project-modal-header {
        padding: 1rem;
    }

    .project-modal-title {
        font-size: 1.25rem;
    }

    .project-modal-body {
        padding: 1rem;
    }

    .carousel-slide img {
        height: 250px;
    }

    .carousel-nav {
        padding: 0.5rem;
        min-width: 40px;
        min-height: 40px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 0.5rem;
    }

    .carousel-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-container {
        padding: 1rem;
    }

    .nav-brand a {
        font-size: 1.25rem;
    }

    .whatsapp-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

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

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Stats */
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Service Cards */
    .service-content {
        padding: 1rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    /* Project Cards */
    .project-content {
        padding: 1rem;
    }

    .project-title {
        font-size: 1.1rem;
    }

    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    /* Carousel */
    .carousel-slide img {
        height: 200px;
    }
    
    .carousel-indicators {
        gap: 0.25rem;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
}

/* Animation Classes */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.hamburger:focus,
.project-modal-close:focus,
.carousel-nav:focus {
    outline: 2px solid #00B4FF;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .service-card,
    .project-card {
        border-width: 2px;
    }
}

/* ==== Contact page compact mode ==== */
.page-header--sm{
  padding: 4rem 0 2rem;               /* 8rem→4rem */
}

.contact-section--compact{
  padding: 2rem 0;                    /* 4rem→2rem */
}
.contact-section--compact .contact-content{
  gap: 2rem;                          /* 4rem→2rem */
  grid-template-columns: 1.25fr .75fr;/* form daha geniş, bilgi dar */
}

/* Kutuların iç boşlukları küçülsün */
.contact-section--compact .contact-form-container,
.contact-section--compact .contact-info-container{
  padding: 1.25rem;                   /* 2rem→1.25rem */
}

/* Başlık ve metinleri biraz küçült */
.contact-section--compact .section-header h2{
  font-size: 1.25rem;                 /* ~20px */
  margin-bottom: .25rem;
}
.contact-section--compact .section-header p{
  font-size: .95rem;
  margin-bottom: .5rem;
}

/* Form elemanları kompakt */
.contact-section--compact .form-group label{ font-size: .9rem; }
.contact-section--compact .form-group input,
.contact-section--compact .form-group select,
.contact-section--compact .form-group textarea{
  padding: .6rem .85rem;
  font-size: .95rem;
}
.contact-section--compact .btn-full{
  padding: .8rem;
  font-size: 1rem;
}

/* Bilgi kartları daha sıkı */
.contact-section--compact .contact-info-item{
  padding: .75rem;                    /* 1rem→.75rem */
}
.contact-section--compact .contact-info-icon{
  width: 2.25rem; height: 2.25rem;    /* 3rem→2.25rem */
  font-size: 1rem;                    /* 1.25rem→1rem */
}

/* Harita bölümü küçük */
.map-section--sm{ padding: 2.5rem 0; }/* 4rem→2.5rem */
.map-section--sm .map-placeholder{ height: 280px; } /* 400→280 */

/* Mobile fix: İletişim sayfasında sütunları tek kolona düşür */
@media (max-width: 992px){
  .contact-section--compact .contact-content{
    grid-template-columns: 1fr !important; /* iki kolonu kır, tek kolon yap */
    gap: 1.25rem;
  }
  .contact-section--compact .contact-form-container,
  .contact-section--compact .contact-info-container{
    padding: 1rem; /* kutu iç boşluklarını küçült */
  }
}

