/* Cloud Technology Digital Solutions - Static Website CSS */
/* Minimalist Black & White Design inspired by 1847formen.com */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-outline {
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
}

.btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
}

.btn-outline-light {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #1a1a1a;
}

.btn-solid {
    background: #1a1a1a;
    color: #fff;
}

.btn-solid:hover {
    background: #333;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

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

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: #ccc;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

.nav-link .arrow {
    font-size: 8px;
    margin-left: 4px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #ccc;
    font-size: 13px;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #333;
    color: #fff;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 11px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

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

.hero-bg, .cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay, .cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content, .cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(36px, 6vw, 72px);
    color: #fff;
    margin-bottom: 20px;
}

.hero-content p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 4px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    margin-top: 8px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
}

.page-hero-small {
    height: 50vh;
    min-height: 350px;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    color: #fff;
    margin-bottom: 10px;
}

.page-hero p {
    color: #ccc;
    font-size: 16px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* Grid */
.grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

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

/* Dark Section */
.dark-section {
    background: #1a1a1a;
    color: #fff;
}

.dark-section h2, .dark-section h3 {
    color: #fff;
}

.dark-section p {
    color: #999;
}

/* Light Section */
.bg-light {
    background: #f5f5f5;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

/* Intro Section */
.intro-content h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 20px;
}

.intro-content h2 span {
    font-weight: 600;
}

.intro-content p {
    color: #666;
    margin-bottom: 15px;
}

.intro-content .btn {
    margin-top: 15px;
}

.intro-image img {
    width: 100%;
    height: auto;
}

/* Services Overview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

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

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

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

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.service-card:hover .service-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.service-overlay h3 {
    color: #fff;
    font-size: clamp(18px, 2vw, 24px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border: 1px solid #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    color: #fff;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.feature p {
    font-size: 14px;
    color: #999;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial {
    text-align: center;
}

.stars {
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial p {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.client strong {
    display: block;
    margin-bottom: 5px;
}

.client span {
    font-size: 14px;
    color: #999;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 48px);
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    color: #ccc;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 60px 0 30px;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
}

.footer-links a {
    display: block;
    color: #ccc;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-about p {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-social a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: right;
}

.footer-bottom p {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 50;
    width: 80px;
    height: 100px;
    background: #1a1a1a;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.floating-contact:hover {
    transform: scale(1.05);
    background: #333;
}

/* Content Blocks */
.content-block h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 20px;
}

.content-block p {
    color: #666;
    margin-bottom: 15px;
}

.image-block img {
    width: 100%;
    height: auto;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #ddd;
}

.value-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: #666;
}

/* Service Detail */
.service-detail {
    gap: 60px;
}

.service-detail.reverse .image-block {
    order: 2;
}

.service-detail.reverse .content-block {
    order: 1;
}

.feature-list {
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #999;
}

/* Contact Page */
.contact-grid {
    gap: 60px;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    resize: vertical;
}

.form-status {
    padding: 15px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* Contact Info */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-icon {
    color: #999;
    flex-shrink: 0;
}

.info-item h4 {
    font-family: system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    font-size: 14px;
}

/* Thank You Page */
.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.thank-you-icon {
    color: #28a745;
    margin-bottom: 30px;
}

.thank-you-section h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.thank-you-section p {
    color: #666;
    margin-bottom: 30px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail.reverse .image-block,
    .service-detail.reverse .content-block {
        order: unset;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a1a1a;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 10px 0 0 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .floating-contact {
        width: 60px;
        height: 75px;
        right: 16px;
        bottom: 60px;
        font-size: 9px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .text-center-mobile {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 11px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
