/* Apple-Inspired Design for CleanZak */

/* CSS Variables */
:root {
    --primary-color: #00676C;
    --secondary-color: #004D52;
    --accent-color: #4D9DA6;
    --text-dark: #1d1d1f;
    --text-light: #86868b;
    --bg-light: #f5f5f7;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 18px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Typography - Apple Style */
h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-dark);
}

h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: var(--text-dark);
}

h3 {
    font-size: 32px;
    line-height: 1.125;
    font-weight: 600;
    letter-spacing: 0.004em;
    color: var(--text-dark);
}

p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 23px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    line-height: 1.1764;
    font-weight: 400;
    min-width: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 1px solid #e5e5e5;
}

.btn-outline:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
    min-width: 180px;
}

/* Header - Apple Style */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    z-index: 9999;
    height: 60px;
}

.navbar {
    height: 60px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand .logo-img {
    height: 45px;
    width: auto;
    transition: all 0.15s ease;
}

.nav-brand .logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.15s ease;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary-color);
}

.nav-cta .btn {
    font-size: 14px;
    padding: 8px 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 18px;
    height: 1px;
    background: var(--text-dark);
    transition: 0.15s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-image {
    position: absolute;
    opacity: 0.03;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.floating-image img {
    width: 120px;
    height: auto;
    filter: blur(0.5px);
}

.floating-image.img1 {
    top: 15%;
    left: 8%;
    animation: float1 8s ease-in-out infinite;
}

.floating-image.img2 {
    top: 65%;
    right: 12%;
    animation: float2 10s ease-in-out infinite;
}

.floating-image.img3 {
    bottom: 20%;
    left: 15%;
    animation: float3 9s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.02; }
    50% { transform: translateY(-30px) scale(1.05); opacity: 0.05; }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.025; }
    50% { transform: translateY(-40px) scale(1.08); opacity: 0.055; }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.02; }
    50% { transform: translateY(-35px) scale(1.06); opacity: 0.05; }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text-center {
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(19px, 2.5vw, 28px);
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 0 auto;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.slideshow {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 280px; /* Fixed height for the slideshow */
    margin: 0 auto;
    text-align: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-height: 280px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: drop-shadow(0 20px 40px rgba(0, 103, 108, 0.2));
    animation: heroImageFloat 4s ease-in-out infinite;
    object-fit: contain; /* Ensures image keeps proportions while fitting in container */
}

.slide.active {
    opacity: 1;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
}

@keyframes heroImageFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Hero Carousel Styles */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 0.08;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator.active,
.indicator:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.003em;
}

.section-subtitle,
.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
}

.service-image img {
    width: auto;
    height: auto;
    object-fit: contain;
    max-width: 90%;
    max-height: 90%;
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.6rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #00b4d8;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #5a6c7d;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 350px;
    object-fit: contain;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

/* Windows 11/10 style colored icons */
.contact-item:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #00A896 0%, #02C39A 100%);
}

.contact-item:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #F7931E 0%, #FFB85F 100%);
}

.contact-item:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #E63946 0%, #F77F85 100%);
}

.contact-item:nth-child(4) .contact-icon {
    background: linear-gradient(135deg, #4A90E2 0%, #7FB8E8 100%);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    font-size: 17px;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.15s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    font-size: 17px;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 103, 108, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer - Apple Style */
.footer {
    padding: 80px 0 40px;
    background: var(--text-dark);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 19px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-section p,
.footer-section a {
    color: #a1a1a6;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #a1a1a6;
    transition: all 0.15s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #424245;
    text-align: center;
    color: #a1a1a6;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content .container {
        padding: 0 1.5rem;
    }
    
    .hero-text-center {
        margin-bottom: 2.5rem;
    }
    
    .main-hero-img {
        max-width: min(450px, 75vw);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Tablets and below */
/* iPad and tablets */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    .hamburger {
        display: flex;
    }      .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        transition: left 0.3s ease;
        z-index: 9998;
    }
    
    .nav-menu.active {
        left: 0;
    }
      .nav-list {
        flex-direction: column;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 21px;
    }
    
    .nav-cta {
        margin-top: 40px;
    }
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content .container {
        padding: 0 1rem;
    }
    
    .hero-text-center {
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        gap: 1rem;
        margin-top: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
    }
    
    .main-hero-img {
        max-width: min(400px, 85vw);
    }
    
    /* Hide floating images on mobile for performance */
    .floating-image {
        display: none;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
      .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
      .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content .container {
        padding: 0 1rem;
    }
    
    .hero-text-center {
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .btn-large {
        max-width: 260px;
        padding: 0.8rem 1.2rem;
    }
    
    .main-hero-img {
        max-width: min(350px, 90vw);
    }
    
    .hero-image {
        margin-bottom: 1.5rem;
    }

    .features {
        padding: 60px 0;
    }
    
    .services {
        padding: 60px 0;
    }
      .about {
        padding: 60px 0;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .hero-content .container {
        padding: 0 0.8rem;
    }
    
    .main-hero-img {
        max-width: 95vw;
    }
    
    .btn-large {
        max-width: 240px;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.service-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
